removeServerImageSharingPermission
    • PDF

    removeServerImageSharingPermission

    • PDF

    記事の要約

    VPC環境で利用できます。

    概要

    サーバイメージの共有権限を削除します。

    リクエスト

    リクエストパラメータ

    パラメータ名要否タイプ制約事項説明
    regionCodeNoString- リージョンコード
    共有権限を追加する会員サーバイメージインスタンスのリージョン(Region)を決定できる
    regionCodeは、getRegionListアクションを通じて取得可能
    Default: getRegionList照会結果の最初のリージョンを選択
    serverImageNoYesString- サーバイメージ番号
    serverImageNoは、getServerImageListアクションを通じて取得可能
    targetLoginIdList.NYesList<String>- 対象ログイン IDリスト
    会員サーバイメージを共有する対象のログイン IDリストを指定
    ex) targetLoginIdList.1=id1@email.com&targetLoginIdList.2=id2@email.com

    レスポンス

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

    • ServerImageListタイプ
    ServerImageList extends CommonResponse
    private Integer totalRows;
    private List<ServerImage> serverImageList = new ArrayList<>();
    ServerImage
    private String serverImageNo;
    private String serverImageName;
    private String serverImageDescription;
    private CommonCode serverImageType;
    private CommonCode hypervisorType;
    private CommonCode cpuArchitectureType;
    private CommonCode osCategoryType;
    private CommonCode osType;
    private String serverImageStatusName;
    private CommonCode serverImageStatus;
    private CommonCode serverImageOperation;
    private String serverImageProductCode;
    private Date createDate;
    private CommonCode shareStatus;
    private SharedLoginIdList sharedLoginIdList;
    private List<BlockStorageMapping> blockStorageMappingList;
    BlockStorageMapping
    private Integer order;
    private String blockStorageSnapshotInstanceNo;
    private String blockStorageSnapshotInstanceName;
    private Long blockStorageSize;
    private String blockStorageName;
    private CommonCode blockStorageVolumeType;
    private Long iops;
    private Long throughput;
    private Boolean isEncryptedVolume;

    リクエスト例

    ncloud vserver addServerImageSharingPermission --serverImageNo ***4605 --targetLoginIdList "test-***@naver.com"
    

    レスポンス例

    <getServerImageListResponse>
      <requestId></requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <serverImageList>
        <serverImage>
          <serverImageNo>***5847</serverImageNo>
          <serverImageName>test-***</serverImageName>
          <serverImageDescription></serverImageDescription>
          <serverImageType>
            <code>NCP</code>
            <codeName>NCP Server Image</codeName>
          </serverImageType>
          <hypervisorType>
            <code>XEN</code>
            <codeName>XEN</codeName>
          </hypervisorType>
          <cpuArchitectureType>
            <code>X86_64</code>
            <codeName>x86 64bit</codeName>
          </cpuArchitectureType>
          <osCategoryType>
            <code>LINUX</code>
            <codeName>LINUX</codeName>
          </osCategoryType>
          <osType>
            <code>CENTOS</code>
            <codeName>CENTOS</codeName>
          </osType>
          <productCode>SW.VSVR.OS.LNX64.CNTOS.0703.B050</productCode>
          <serverImageStatus>
            <code>CREAT</code>
            <codeName>Server created state</codeName>
          </serverImageStatus>
          <serverImageOperation>
            <code>NULL</code>
            <codeName>NULL OP</codeName>
          </serverImageOperation>
          <serverImageStatusName>created</serverImageStatusName>
          <createDate>2020-08-24T10:34:27+0900</createDate>
          <blockStorageMappingList>
            <blockStorageMapping>
              <order>0</order>
              <blockStorageSize>53687091200</blockStorageSize>
              <blockStorageVolumeType>
                <code>HDD</code>
                <codeName>HDD</codeName>
              </blockStorageVolumeType>
              <isEncryptedVolume>false</isEncryptedVolume>
            </blockStorageMapping>
          </blockStorageMappingList>
          <shareStatus>
            <code>SHARE</code>
            <codeName>NSI Share SHARE State</codeName>
          </shareStatus>
          <sharedLoginIdList>
            <sharedLoginId>test-***@naver.com</sharedLoginId>
          </sharedLoginIdList>
        </serverImage>
      </serverImageList>
    </getServerImageListResponse>
    

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

    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.