VmTemplateLibraryItemsDeploySpecVmHomeStorage

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


Properties

Required Property Name Type Description
required datastore string

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.

optional storage_policy VmTemplateLibraryItemsDeploySpecVmHomeStoragePolicy

Storage policy for the deployed virtual machine’s configuration and log files. If unset, LibraryItems.DeploySpecVmHomeStorage.datastore must be specified and the deployed virtual machine’s configuration and log files are created with the default storage policy associated with the LibraryItems.DeploySpecVmHomeStorage.datastore.

JSON Example

{
    "datastore": "string"
}
Feedback

Was this page helpful?