removeNasVolumeAccessControl

Prev Next

Available in VPC

Remove the access control set on the NAS volume instance using the server instance number.

Syntax

The removeNasVolumeAccessControl syntax is as follows:

./ncloud vnas removeNasVolumeAccessControl \
    --nasVolumeInstanceNo <nas-volume-instance-no> \
    --serverInstanceNoList <server-instance-no-list> \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running removeNasVolumeAccessControl.

Required options

The following options are required for removeNasVolumeAccessControl.

Options Type Required Description
--nasVolumeInstanceNo String Required NAS volume instance number
  • Access control settings can only be configured for NAS volume instances where the volume allocation protocol type is NFS.
  • See getNasVolumeInstanceList.
--serverInstanceNoList List Required Server instance number
  • You can enter multiple items separated by spaces (e.g., --serverInstanceNoList 1234 2345).
  • See getServerInstanceList.

Common options

For information about the options common to all vnas subcommands, see NAS (VPC) options.

Examples

If the request to remove access control is successful, the configuration information for the NAS volume instance and the information about the remaining servers with access permission are returned.

Command

The command example is as follows:

./ncloud vnas removeNasVolumeAccessControl \
    --nasVolumeInstanceNo 10234567 \
    --serverInstanceNoList 34567890 \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "removeNasVolumeAccessControlResponse": {
    "totalRows": 1,
    "nasVolumeInstanceList": [
      {
        "nasVolumeInstanceNo": "10234567",
        "nasVolumeInstanceStatus": {
          "code": "CREAT",
          "codeName": "NAS creation status"
        },
        "nasVolumeInstanceOperation": {
          "code": "NULL",
          "codeName": "NAS NULL OP"
        },
        "nasVolumeInstanceStatusName": "created",
        "createDate": "2026-08-19T11:32:32+0900",
        "nasVolumeDescription": "Test NAS volume",
        "mountInformation": "192.0.2.10:/n123456_testnas01",
        "volumeAllotmentProtocolType": {
          "code": "NFS",
          "codeName": "NFS"
        },
        "volumeName": "n123456_testnas01",
        "volumeTotalSize": 536870912000,
        "volumeSize": 483183820800,
        "snapshotVolumeConfigurationRatio": 10.0,
        "snapshotVolumeConfigPeriodType": {
          "code": "DAY",
          "codeName": "Daily"
        },
        "snapshotVolumeConfigDayOfWeekType": {
          "code": "-1",
          "codeName": "Everyday"
        },
        "snapshotVolumeConfigTime": 1,
        "snapshotVolumeSize": 53687091200,
        "isSnapshotConfiguration": true,
        "isEventConfiguration": false,
        "regionCode": "KR",
        "zoneCode": "KR-2",
        "nasVolumeServerInstanceNoList": [],
        "isEncryptedVolume": false,
        "nasVolumeInstanceCustomIpList": [],
        "isReturnProtection": false
      }
    ],
    "requestId": "",
    "returnCode": "0",
    "returnMessage": "success"
  }
}