setMemberServerImageSharingPermission
- 印刷する
- PDF
setMemberServerImageSharingPermission
- 印刷する
- PDF
記事の要約
この要約は役に立ちましたか?
ご意見ありがとうございます
Classic環境で利用できます。
概要
会員サーバイメージの共有権限設定
説明
会員サーバイメージ共有権限を設定します。
リクエストパラメータ
パラメータ名 | 必須の有無 | タイプ | 制約事項 | 説明 |
---|---|---|---|---|
memberServerImageNo | Yes | String | - 会員サーバイメージ番号 memberServerImageNoは、getMemberServerImageListアクションを通じて取得可能 | |
targetLoginIdList | No | List<String> | - 対象ログインIDリスト 会員サーバイメージを共有する対象のログインIDリストを指定 targetLoginIdを入力しない場合、すべての共有設定が削除される 例) targetLoginIdList "id1@email.com" targetLoginIdList "id2@email.com" |
レスポンスデータのタイプ
- MemberServerImageListタイプ
MemberServerImageList extends CommonResponse |
---|
private Integer totalRows; |
private List |
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>
この記事は役に立ちましたか?