createPlacementGroup
- Print
- PDF
createPlacementGroup
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
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 name | Required | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region 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 | |
placementGroupName | No | String | Min : 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. |
placementGroupTypeCode | No | String | Type code of the physical placement group Options : AA (Anti-Affinity) Default : AA | |
responseFormatType | No | String | Format 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
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>
Was this article helpful?