setMemberServerImageSharingPermission
    • PDF

    setMemberServerImageSharingPermission

    • PDF

    記事の要約

    Classic環境で利用できます。

    概要

    会員サーバイメージの共有権限設定

    説明

    会員サーバイメージ共有権限を設定します。

    リクエストパラメータ

    パラメータ名必須の有無タイプ制約事項説明
    memberServerImageNoYesString- 会員サーバイメージ番号
    memberServerImageNoは、getMemberServerImageListアクションを通じて取得可能
    targetLoginIdListNoList<String>- 対象ログインIDリスト
    会員サーバイメージを共有する対象のログインIDリストを指定
    targetLoginIdを入力しない場合、すべての共有設定が削除される
    例) targetLoginIdList "id1@email.com" targetLoginIdList "id2@email.com"

    レスポンスデータのタイプ

    • MemberServerImageListタイプ
    MemberServerImageList extends CommonResponse
    private Integer totalRows;
    private List memberServerImageList = new ArrayList();
    MemberServerImage
    private String memberServerImageNo;
    private String memberServerImageName;
    private String memberServerImageDescription;
    private String originalServerInstanceNo;
    private String originalServerProductCode;
    private String originalServerName;
    private CommonCode originalBaseBlockStorageDiskType;
    private String originalServerImageProductCode;
    private String originalOsInformation;
    private String originalServerImageName;
    private String memberServerImageStatusName;
    private CommonCode memberServerImageStatus;
    private CommonCode memberServerImageOperation;
    private CommonCode memberServerImagePlatformType;
    private Region region;
    private Zone zone;
    private Date createDate;
    private Integer memberServerImageBlockStorageTotalRows;
    private Long memberServerImageBlockStorageTotalSize;
    private CommonCode shareStatus;
    private SharedLoginIdList sharedLoginIdList;

    呼び出し

    ncloud server setMemberServerImageSharingPermission --memberServerImageNo ***112 --targetLoginIdList "test-***@naver.com"
    

    レスポンス

    {
      "setMemberServerImageSharingPermissionResponse": {
        "requestId": "1800b9df-e185-48c5-963a-3336d05b7d51",
        "returnCode": "0",
        "returnMessage": "success",
        "totalRows": 1,
        "memberServerImageList": [
          {
            "memberServerImageNo": "***112",
            "memberServerImageName": "test-***",
            "memberServerImageDescription": "",
            "originalServerInstanceNo": "***5058",
            "originalServerProductCode": "SPSVRSSD00000003",
            "originalServerName": "test-***",
            "originalBaseBlockStorageDiskType": {
              "code": "NET",
              "codeName": "Network Storage"
            },
            "originalServerImageProductCode": "SPSW0LINUX000046",
            "originalOsInformation": "CentOS 7.3 (64-bit)",
            "originalServerImageName": "centos-7.3-64",
            "memberServerImageStatusName": "created",
            "memberServerImageStatus": {
              "code": "CREAT",
              "codeName": "NSI CREATED state"
            },
            "memberServerImageOperation": {
              "code": "NULL",
              "codeName": "NSI NULLOP"
            },
            "memberServerImagePlatformType": {
              "code": "LNX64",
              "codeName": "Linux 64 Bit"
            },
            "createDate": "2021-06-30T18:58:51+0900",
            "region": {
              "regionNo": "1",
              "regionCode": "KR",
              "regionName": "Korea"
            },
            "memberServerImageBlockStorageTotalRows": 1,
            "memberServerImageBlockStorageTotalSize": 53687091200,
            "shareStatus": {
              "code": "SHARE",
              "codeName": "NSI Share SHARE State"
            },
            "sharedLoginIdList": [
              "test-***@naver.com"
            ]
          }
        ]
      }
    }
    
    <setMemberServerImageSharingPermissionResponse>
      <requestId>1800b9df-e185-48c5-963a-3336d05b7d51</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <memberServerImageList>
        <memberServerImage>
          <memberServerImageNo>***112</memberServerImageNo>
          <memberServerImageName>test-***</memberServerImageName>
          <memberServerImageDescription/>
          <originalServerInstanceNo>***5058</originalServerInstanceNo>
          <originalServerProductCode>SPSVRSSD00000003</originalServerProductCode>
          <originalServerName>test-***</originalServerName>
          <originalBaseBlockStorageDiskType>
            <code>NET</code>
            <codeName>Network Storage</codeName>
          </originalBaseBlockStorageDiskType>
          <originalServerImageProductCode>SPSW0LINUX000046</originalServerImageProductCode>
          <originalOsInformation>CentOS 7.3 (64-bit)</originalOsInformation>
          <originalServerImageName>centos-7.3-64</originalServerImageName>
          <memberServerImageStatusName>created</memberServerImageStatusName>
          <memberServerImageStatus>
            <code>CREAT</code>
            <codeName>NSI CREATED state</codeName>
          </memberServerImageStatus>
          <memberServerImageOperation>
            <code>NULL</code>
            <codeName>NSI NULLOP</codeName>
          </memberServerImageOperation>
          <memberServerImagePlatformType>
            <code>LNX64</code>
            <codeName>Linux 64 Bit</codeName>
          </memberServerImagePlatformType>
          <createDate>2021-06-30T18:58:51+0900</createDate>
          <region>
            <regionNo>1</regionNo>
            <regionCode>KR</regionCode>
            <regionName>Korea</regionName>
          </region>
          <memberServerImageBlockStorageTotalRows>1</memberServerImageBlockStorageTotalRows>
          <memberServerImageBlockStorageTotalSize>53687091200</memberServerImageBlockStorageTotalSize>
          <shareStatus>
            <code>SHARE</code>
            <codeName>NSI Share SHARE State</codeName>
          </shareStatus>
          <sharedLoginIdList>
            <sharedLoginId>test-***@naver.com</sharedLoginId>
          </sharedLoginIdList>
        </memberServerImage>
      </memberServerImageList>
    </setMemberServerImageSharingPermissionResponse>
    

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

    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.