getPlacementGroupList
    • PDF

    getPlacementGroupList

    • PDF

    Article Summary

    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 NameRequired StatusTypeRestrictionsDescription
    regionCodeNoStringRegion 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.NNoList<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
    placementGroupNameNoStringThe name of the physical batch group
    You can search by filtering with the name of the physical batch group.
    responseFormatTypeNoStringFormat 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?

    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.