FileBackedVirtualDiskSpec

FileBackedVirtualDiskSpec
FileBackedVirtualDiskSpec

Specification used to create a file based virtual disk

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "diskType": "string",
    "adapterType": "string",
    "capacityKb": 0,
    "profile": [
        {
            "_typeName": "string"
        }
    ],
    "crypto": {
        "_typeName": "string"
    },
    "sectorFormat": "string"
}
integer As int64 As int64
capacityKb
Required

Specify the capacity of the virtual disk in Kb.

profile
Optional

Virtual Disk Profile requirement.

Profiles are solution specifics. Profile Based Storage Management is a vSphere server extension. The API users who want to provision VMs using Storage Profiles, need to interact with it. This is an optional parameter and if user doesn't specify profile, the default behavior will apply.

crypto
Optional

Encryption options for the new virtual disk.

string
sectorFormat
Optional

Optional sector format.

If not specified, an appropriate default format will be choosen by the storage system. If available, native_512 is preferred. For the list of supported values, see DatastoreSectorFormatEnum.

Since: vSphere API Release 9.0.0.0