VMware Cloud Director API - DiskAttachOrDetachParams
DiskAttachOrDetachParamsType
- Element:
- DiskAttachOrDetachParams
- Type:
- DiskAttachOrDetachParamsType
- Namespace:
- http://www.vmware.com/vcloud/v1.5
- Description:
- Parameters for attaching or detaching an independent disk.
- Since:
- 5.1
- Schema:
- disk.xsd
- Media type(s):
-
application/vnd.vmware.vcloud.diskAttachOrDetachParams+xml
application/vnd.vmware.vcloud.diskAttachOrDetachParams+json
- Extends:
- VCloudExtensibleType
- XML Representation:
-
<DiskAttachOrDetachParams xmlns="http://www.vmware.com/vcloud/v1.5">
<Disk href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
<BusNumber> xs:int </BusNumber>
<UnitNumber> xs:int </UnitNumber>
</DiskAttachOrDetachParams>
-
Elements
-
Element Type Required Modifiable Since Deprecated Description BusNumber int No always 5.1 Bus number on which to place the disk controller. If empty or missing, the system assigns a bus number and a unit number on that bus. Disk ReferenceType Yes always 5.1 A reference to the disk to attach or detach. UnitNumber int No always 5.1 Unit number (slot) on the bus specified by BusNumber. Ignored if BusNumber is empty or missing. VCloudExtension VCloudExtensionType No always 5.1 An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services. -
Operations
-
CRUD Operation Description Since Deprecated as input POST /vApp/{id}/disk/action/attach Attach a disk to a VM. 5.1 as input POST /vApp/{id}/disk/action/detach Detach a disk from a VM. 5.1