vcenter vm template library items: deploy spec disk storage

The deploy_spec_disk_storage structure contains the storage specification for disks in the virtual machine. 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 for the datastore associated the deployed virtual machine's disk. 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 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 deploy_spec_disk_storage_policy Storage policy for the deployed virtual machine's disk. 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 deployed virtual machine's disk is created with the default storage policy associated with the datastore.