VmTemplate_LibraryItems_DeploySpecDiskStorage

VmTemplate_LibraryItems_DeploySpecDiskStorage
VmTemplate_LibraryItems_DeploySpecDiskStorage

The LibraryItems.DeploySpecDiskStorage structure contains the storage specification for disks in the virtual machine.

JSON Example
{
    "datastore": "string",
    "storage_policy": {
        "type": "string",
        "policy": "string"
    }
}
string
datastore
Required

Identifier for the datastore associated the deployed virtual machine's disk. This field is currently required. If LibraryItems.DeploySpecDiskStorage.storage-policy is also specified and is incompatible with the LibraryItems.DeploySpecDiskStorage.datastore, then the disk will be flagged as being out of compliance with the specified storage policy.

When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: Datastore. When operations return a value of this structure as a result, the field will be an identifier for the resource type: Datastore.

storage_policy
Optional

The LibraryItems.DeploySpecDiskStoragePolicy structure describes the storage policy specification for the deployed virtual machine's disks.