Developer Documentation

LibraryItemsCreateSpecVmHomeStorage

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


Properties

Required Property Name Type Description
required datastore string

Identifier of the datastore for the virtual machine template’s configuration and log files. This field is currently required. When LibraryItems.CreateSpecVmHomeStorage.storage-policy is also specified and is incompatible with the LibraryItems.CreateSpecVmHomeStorage.datastore, then the virtual machine template 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 LibraryItemsCreateSpecVmHomeStoragePolicy

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

Feedback

Was this page helpful?