createPlacementGroup
    • PDF

    createPlacementGroup

    • PDF

    Article Summary

    Can be used in a VPC environment.

    Overview

    This creates the physical batch group number to which the server instance belongs.

    Request

    Request parameter

    Parameter NameRequired StatusTypeRestrictionsDescription
    regionCodeNoStringRegion Code
    You can decide the region where the physical batch group will be created.
    The regionCode can be obtained through the getRegionList action.
    Default: Select the first region of the getRegionList query results.
    placementGroupNameNoStringMin : 3, Max : 30
    Only lowercase letters, numbers, and special characters "-" are allowed and it must start with an alphabetic character.
    Name of the physical batch group to be created
    Default: NAVER Cloud Platform automatically assigns it.
    placementGroupTypeCodeNoStringType code of the physical batch group
    Options : AA (Anti-Affinity)
    Default : AA
    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 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?

    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.