Documentation Index

Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

removeServerImageSharingPermission

Prev Next

VPC環境で利用できます。

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

構文

removeServerImageSharingPermission構文は次の通りです。

./ncloud vserver removeServerImageSharingPermission \
    --serverImageNo <server-image-no> \
    --targetLoginIdList <target-login-id-list> \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

オプション

removeServerImageSharingPermissionの実行時に指定できるオプションについて説明します。

必須オプション

removeServerImageSharingPermissionの必須オプションです。

オプション タイプ 必須の有無 説明
--serverImageNo String Required サーバイメージ番号
--targetLoginIdList List Required NAVERクラウドプラットフォームのアカウントログイン IDリスト
  • スペースで区切って複数入力可能 (例: --targetLoginIdList id1@example.com id2@example.com)

共通オプション

vserverコマンドで共通して使用するオプションについては、Server (VPC)のオプションをご参照ください。

サーバイメージからの共有権限削除リクエストが成功すると、サーバイメージの識別情報と、残りの共有対象リストが返されます。

コマンド

コマンドの例は次の通りです。

./ncloud vserver removeServerImageSharingPermission \
    --serverImageNo 45678901 \
    --targetLoginIdList recipient@example.com \
    --regionCode KR \
    --output json

出力

出力の例は次の通りです。

{
  "removeServerImageSharingPermissionResponse": {
    "totalRows": 1,
    "serverImageList": [
      {
        "serverImageNo": "45678901",
        "serverImageName": "test-server-image-01",
        "serverImageDescription": "Test server image",
        "serverImageType": {
          "code": "SELF",
          "codeName": "SELFサーバイメージ"
        },
        "serverImageLifeCyclePhase": {
          "code": "IN_SERVICE",
          "codeName": "In Service"
        },
        "hypervisorType": {
          "code": "KVM",
          "codeName": "KVM"
        },
        "cpuArchitectureType": {
          "code": "X86_64",
          "codeName": "x86 64bit"
        },
        "osCategoryType": {
          "code": "LINUX",
          "codeName": "LINUX"
        },
        "osType": {
          "code": "NAVIX",
          "codeName": "NAVIX"
        },
        "serverImageStatus": {
          "code": "CREAT",
          "codeName": "NSI CREATED state"
        },
        "serverImageOperation": {
          "code": "NULL",
          "codeName": "NSI NULL OP"
        },
        "serverImageStatusName": "created",
        "shareStatus": {
          "code": "NULL",
          "codeName": "NSI Share NULL State"
        },
        "blockStorageMappingList": [
          {
            "order": 0,
            "blockStorageSnapshotInstanceNo": 90123456,
            "blockStorageSnapshotName": "n01234567890abcd",
            "blockStorageSize": 10737418240,
            "blockStorageVolumeType": {
              "code": "CB1",
              "codeName": "Common BlockStorage 1"
            },
            "iops": 100,
            "throughput": 104857600,
            "isEncryptedVolume": false
          }
        ],
        "sharedLoginIdList": [],
        "serverImageProductCode": "SW.VSVR.OS.LNX64.NAVIX.09.G003",
        "createDate": "2026-05-14T16:25:00+0900",
        "platformCategoryCode": "OS"
      }
    ],
    "requestId": "29012345-6789-0123-2345-901234567890",
    "returnCode": "0",
    "returnMessage": "success"
  }
}