Can be used in a VPC environment.
Overview
This searches the physical batch group details using the physical batch group number.
Request
Request parameter
| Parameter Name | Required Status | Type | Restrictions | Description |
|---|---|---|---|---|
| regionCode | No | String | Region Code You can decide the region where the physical batch group details will be queried. The regionCode can be obtained through the getRegionList action. Default: Select the first region of the getRegionList query results. |
|
| placementGroupNo | Yes | String | Physical batch group number The placementGroupNo can be obtained through the getPlacementGroupList action. |
|
| responseFormatType | No | String | Format type for the response result Options : xml | json Default : xml |
Response
Response data type
- PlacementGroupList type
| PlacementGroupList extends CommonResponse |
|---|
| private Integer totalRows; |
| private List<PlacementGroup> placementGroupList = new ArrayList<>(); |
| PlacementGroup |
|---|
| private String placementGroupNo; |
| private String placementGroupName; |
| private CommonCode placementGroupType; |
Example
Request example
ncloud vserver getPlacementGroupDetail --regionCode KR --placementGroupNo ***61
Response example
<getPlacementGroupDetailResponse>
<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>
</getPlacementGroupDetailResponse>