vcenter vm template library items: deploy spec disk storage policy

The deploy_spec_disk_storage_policy structure describes the storage policy specification for the deployed virtual machine's disks. This structure was added in vSphere API 6.8.

Representation:

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

Attributes:

Name Type Description
Required
type string Policy type to be used when creating the deployed virtual machine's disk. This attribute was added in vSphere API 6.8.

Policy type for the deployed virtual machine's disk. This enumeration was added in vSphere API 6.8. Value is one of:
USE_SPECIFIED_POLICY: Use the specified policy. This constant was added in vSphere API 6.8.
USE_SOURCE_POLICY: Use the storage policy that is associated with the corresponding disk in the source virtual machine template. This constant was added in vSphere API 6.8.

Optional
policy string Identifier of the storage policy to use. This attribute was added in vSphere API 6.8.

Optional. It is only relevant when type has value USE_SPECIFIED_POLICY. This field is optional and it is only relevant when the value of type is USE_SPECIFIED_POLICY.When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.spbm.StorageProfile. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.spbm.StorageProfile.