vcenter vm template library items: create spec vm home storage

The create_spec_vm_home_storage structure defines the storage specification for a virtual machine template's configuration and log files. Warning: This structure is available as technical preview. It may be changed in a future release.

Representation:

{
    "datastore""obj-103",
    "storage_policy"{
        "policy""obj-103",
        "type""USE_SPECIFIED_POLICY"
    }
}

Attributes:

Name Type Description
Optional
datastore string Identifier of the datastore for the virtual machine template's configuration and log files. Warning: This attribute is available as technical preview. It may be changed in a future release.

Optional. This field is currently required. If unset, storage_policy must be set. The server picks a datastore that is compatible with the specified storage policy.

If both datastore and storage_policy are specified, and the storage policy is incompatible with the 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.
storage_policy create_spec_vm_home_storage_policy Storage policy for the virtual machine template's configuration and log files. Warning: This attribute is available as technical preview. It may be changed in a future release.

Optional. If unset, datastore must be specified and the virtual machine template's configuration and log files are created with the default storage policy associated with the datastore.