createPlacementGroup
    • PDF

    createPlacementGroup

    • PDF

    Article Summary

    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
    

    レスポンス例

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

    この記事は役に立ちましたか?

    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.