VslmAttachDiskRequestType

VslmAttachDiskRequestType
VslmAttachDiskRequestType

The parameters of VslmAttachDisk_Task.

This structure may be used only with operations rendered under /vslm.

JSON Example
{
    "id": {
        "_typeName": "string",
        "id": "string"
    },
    "vm": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "controllerKey": 0,
    "unitNumber": 0
}
id
Required

This data object type describes an identifier class which is globally unique to identify the associated object.

vm
Required

Reference to an instance of the VirtualMachine managed object.

integer As int32 As int32
controllerKey
Optional

Key of the controller the disk will connect to. It can be unset if there is only one controller (SCSI or SATA) with the available slot in the virtual machine. If there are multiple SCSI or SATA controllers available, user must specify the controller; if there is no available controllers, a MissingController fault will be thrown.

integer As int32 As int32
unitNumber
Optional

The unit number of the attached disk on its controller. If unset, the next available slot on the specified controller or the only available controller will be assigned to the attached disk.