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.

removePlacementGroupServerInstance

Prev Next

VPC環境で利用できます。

物理配置グループからサーバインスタンスを削除します。

構文

removePlacementGroupServerInstance構文は次の通りです。

./ncloud vserver removePlacementGroupServerInstance \
    --placementGroupNo <placement-group-no> \
    --serverInstanceNo <server-instance-no> \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

オプション

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

必須オプション

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

オプション タイプ 必須の有無 説明
--placementGroupNo String Required 物理配置グループ番号
--serverInstanceNo String Required サーバインスタンス番号

共通オプション

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

物理配置グループでのサーバインスタンス削除リクエストが成功すると、削除されたサーバインスタンスの識別情報と構成情報が返されます。

コマンド

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

./ncloud vserver removePlacementGroupServerInstance \
    --placementGroupNo 91234567 \
    --serverInstanceNo 34567890 \
    --regionCode KR \
    --output json

出力

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

{
  "removePlacementGroupServerInstanceResponse": {
    "totalRows": 1,
    "serverInstanceList": [
      {
        "serverInstanceNo": "34567890",
        "serverName": "test-server-01",
        "cpuCount": 2,
        "memorySize": 8589934592,
        "platformType": {
          "code": "LNX64",
          "codeName": "Linux 64 Bit"
        },
        "loginKeyName": "test-login-key-01",
        "serverInstanceStatus": {
          "code": "RUN",
          "codeName": "サーバ RUN状態"
        },
        "serverInstanceOperation": {
          "code": "NULL",
          "codeName": "サーバ NULL OP"
        },
        "serverInstanceStatusName": "running",
        "createDate": "2026-04-28T13:01:30+0900",
        "uptime": "2026-04-28T13:03:43+0900",
        "serverImageProductCode": "SW.VSVR.OS.LNX64.NAVIX.09.G003",
        "serverProductCode": "SVR.VSVR.AMD.STAND.C002.M008.G003",
        "isProtectServerTermination": false,
        "zoneCode": "KR-1",
        "regionCode": "KR",
        "vpcNo": "12345678",
        "subnetNo": "23456789",
        "networkInterfaceNoList": [
          "56789012"
        ],
        "serverInstanceType": {
          "code": "STAND",
          "codeName": "Standard"
        },
        "baseBlockStorageDiskType": {
          "code": "NET",
          "codeName": "ネットワークストレージ"
        },
        "baseBlockStorageDiskDetailType": {
          "code": "SSD",
          "codeName": "SSD"
        },
        "hypervisorType": {
          "code": "KVM",
          "codeName": "KVM"
        },
        "serverImageNo": "45678901",
        "serverSpecCode": "s2-g3a",
        "eventList": [],
        "isPreInstallGpuDriver": false
      }
    ],
    "requestId": "e5f6a7b8-c9d0-1234-ef01-567890123456",
    "returnCode": "0",
    "returnMessage": "success"
  }
}