MENU
      createPlacementGroup

        createPlacementGroup


        Article summary

        Can be used in a VPC environment.

        Overview

        This creates a physical batch group to which the server instance (VM) belongs.

        Request

        Request parameters

        Parameter nameRequiredTypeRestrictionsDescription
        regionCodeNoStringRegion code
        You can decide the region in which a physical placement group will be created.
        regionCode can be obtained through the getRegionList action.
        Default: Select the first region of the getRegionList search results
        placementGroupNameNoStringMin : 3, Max : 30
        Only lower case characters, numbers, and special character (-) are allowed, and it has to start with an English letter.
        The name of the physical placement group to be created
        Default: NAVER Cloud Platform automatically grants it.
        placementGroupTypeCodeNoStringType code of the physical placement group
        Options : AA (Anti-Affinity)
        Default : AA
        responseFormatTypeNoStringFormat type of the response results
        Options : xml | json
        Default : xml

        Response

        Response body

        Example

        Request Example

        GET {API_URL}/createPlacementGroup
        ?regionCode=KR
        &placementGroupName=test-***
        &placementGroupTypeCode=AA
        HTTP

        Response Example

        <createPlacementGroupResponse>
          <requestId></requestId>
          <returnCode>0</returnCode>
          <returnMessage>success</returnMessage>
          <totalRows>1</totalRows>
          <placementGroupList>
            <placementGroup>
              <placementGroupNo>***61</placementGroupNo>
              <placementGroupName>test-***</placementGroupName>
              <placementGroupType>
                <code>AA</code>
                <codeName>Anti-Affinity</codeName>
              </placementGroupType>
            </placementGroup>
          </placementGroupList>
        </createPlacementGroupResponse>
        XML

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.