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.

getPlacementGroupDetail

Prev Next

Available in VPC

Get details of a physical placement group.

Syntax

The getPlacementGroupDetail syntax is as follows:

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

Options

This section describes the options available when running getPlacementGroupDetail.

Required options

The following options are required for getPlacementGroupDetail.

Options Type Required Description
--placementGroupNo String Required Physical placement group number

Common options

For information about the options common to all vserver subcommands, see Server (VPC) options.

Examples

If the request to retrieve physical placement group details is successful, the group's identification information and type are returned.

Command

The command example is as follows:

./ncloud vserver getPlacementGroupDetail \
    --placementGroupNo 91234567 \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "getPlacementGroupDetailResponse": {
    "totalRows": 1,
    "placementGroupList": [
      {
        "placementGroupNo": "91234567",
        "placementGroupName": "test-pg-01",
        "placementGroupType": {
          "code": "AA",
          "codeName": "Anti-Affinity"
        }
      }
    ],
    "requestId": "c3d4e5f6-a7b8-9012-cdef-345678901234",
    "returnCode": "0",
    "returnMessage": "success"
  }
}