vcenter vm template library items: create spec disk storage policy

The create_spec_disk_storage_policy structure defines the storage policy specification for a virtual machine template'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 a virtual machine template's disk. This attribute was added in vSphere API 6.8.

Policy type for a virtual machine template'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.

Optional
policy string Identifier for 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.