MENU
      createPlacementGroup

        createPlacementGroup


        기사 요약

        VPC 환경에서 이용 가능합니다.

        개요

        서버 인스턴스(VM)가 소속되는 물리 배치 그룹을 생성합니다.

        요청

        요청 파라미터

        파라미터명필수 여부타입제약 사항설명
        regionCodeNoString- 리전 코드
        물리 배치 그룹이 생성될 리전(Region) 결정 가능
        regionCode는 getRegionList 액션을 통해 획득 가능
        Default : getRegionList 조회 결과의 첫 번째 리전을 선택
        placementGroupNameNoStringMin : 3, Max : 30
        소문자, 숫자, "-"의 특수문자만 허용하며 알파벳 문자로 시작함
        - 생성할 물리 배치 그룹 이름
        Default : NAVER Cloud Platform가 자동으로 부여
        placementGroupTypeCodeNoString- 물리 배치 그룹 유형 코드
        Options : AA (Anti-Affinity)
        Default : AA
        responseFormatTypeNoString- 응답 결과의 포맷 타입
        Options : xml | json
        Default : xml

        응답

        응답 바디

        예시

        요청 예시

        GET {API_URL}/createPlacementGroup
        ?regionCode=KR
        &placementGroupName=test-***
        &placementGroupTypeCode=AA
        HTTP

        응답 예시

        <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>
        XML

        이 문서가 도움이 되었습니까?

        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.