Disks

Update a disk object

Perform operations like init, resize etc. on a disk

patch/disks/{DiskId}

Request

Path parameters

DiskIdstring required

Disk identifier

Query parameters

nodenamestring

If specified, the operation will be performed from the indicated node. Else, a node with connectivity to the disk will be chosen internally. Error will be returned for a nodename specified which does not have connectivity to the particular disk.

dgnamestring

Name of diskgroup to which disk belongs

Request body

DiskIdstring

Disk identifier

Namestring

Disk name

LunSizestring

LUN size of the disk (use "auto" keyword to claim all additional space in case of disk resize)

TotalUsableSizestring

Length of the public region of the disk

DiskgroupNamestring

Name of diskgroup or pool

DiskgroupStatestring

State of the diskgroup(imported/deported)

State'online' | 'offline'

State of the disk(online/offline). State will be offline in case disk is in error state.

MediaFormatstring

Media format of the disk

Initializedboolean

Specifies if the disk is initialized or not (use "true" in case of PATCH to setup a disk and "false" to unsetup a disk)

Privlenstring

Length of the private region of the disk (default size of this area will be 32MB if not specified during disk setup PATCH operation)

Udidstring

Unique identifier of disk

Numpathsinteger

Number of paths of disk

PathsPath[]

A list consisting of a map of Native path as key and Hardware path as it's corresponding value.

Sectorsizeinteger

Sector size in bytes

Mediatypestring

Mediatype of disk (hdd/ssd)

Flagsstring

Flags set on the disk

Attributestring

Attributes of disk

HostConnectivity'fullshared' | 'partialshared' | 'local'

Type of the disk like fullshared, partialshared or local.

FreeSizestring

Available/free size in a disk

DmpDevicestring

Metadevice name that represents the multiple paths to a disk

Response

The request has succeeded.

detailstring

Error details.

statusinteger

http code

Changes

No recorded changes to this operation across all 1 revision of this API.