vcenter vm hardware disk: vmdk create spec
The
vmdk_create_spec
structure provides a specification for creating a new VMDK file to be used as a backing for a virtual disk. The virtual disk will be stored in the same directory as the virtual machine's configuration file.Representations:
{
"capacity": 1,
"name": "string"
}
"capacity": 1,
"name": "string"
}
<?xml version="1.0" ?>
<ns0:VmdkCreateSpec xmlns:ns0="http://vmware.com/vcenter/vm/hardware/disk" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<name>string</name>
<capacity>1</capacity>
</ns0:VmdkCreateSpec>
<ns0:VmdkCreateSpec xmlns:ns0="http://vmware.com/vcenter/vm/hardware/disk" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<name>string</name>
<capacity>1</capacity>
</ns0:VmdkCreateSpec>
Attributes:
Name | Type | Description |
---|---|---|
Optional | ||
name | string | Base name of the VMDK file. The name should not include the '.vmdk' file extension. Optional. If unset, a name (derived from the name of the virtual machine) will be chosen by the server. |
capacity | long | Capacity of the virtual disk backing in bytes. Optional. If unset, defaults to a guest-specific capacity. |