getPlacementGroupList
- Print
- PDF
getPlacementGroupList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Can be used in a VPC environment.
Overview
This searches the physical batch group number to which the server instance (VM) belongs.
Request
Request parameter
Parameter Name | Required Status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region Code You can decide the region where the list of physical batch group will be queried. The regionCode can be obtained through the getRegionList action. Default: Select the first region of the getRegionList query results. | |
placementGroupNoList.N | No | List<String> | List of the physical batch group numbers You can search by filtering with the physical batch group number. The placementGroupNo can be obtained through the getPlacementGroupList action. ex) --placementGroupNoList 1234 2345 | |
placementGroupName | No | String | The name of the physical batch group You can search by filtering with the name of the physical batch group. | |
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 getPlacementGroupList --regionCode KR --placementGroupNoList ***61 --placementGroupName test-***
Response example
<getPlacementGroupListResponse>
<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>
</getPlacementGroupListResponse>
Was this article helpful?