VmTemplate_LibraryItems_DeploySpecVmHomeStorage

VmTemplate_LibraryItems_DeploySpecVmHomeStorage
VmTemplate_LibraryItems_DeploySpecVmHomeStorage

The LibraryItems.DeploySpecVmHomeStorage structure defines the storage specification for a deployed virtual machine's configuration and log files.

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

Identifier of the datastore for the deployed virtual machine's configuration and log files. This field is currently required. When LibraryItems.DeploySpecVmHomeStorage.storage-policy is also specified and is incompatible with the LibraryItems.DeploySpecVmHomeStorage.datastore, then the deployed virtual machine 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.DeploySpecVmHomeStoragePolicy structure defines the storage policy specification for the deployed virtual machine's configuration and log files.