Vm_Storage_Policy_DiskPolicySpec
The Policy.DiskPolicySpec structure provides a specification for the storage policy to be associated with the virtual disks.
{
"type": "string",
"policy": "string"
}
The Policy.DiskPolicySpec enumerated type defines the choices for how to specify the policy to be associated with a virtual disk.
USE_SPECIFIED_POLICY : Use the specified policy (see Policy.DiskPolicySpec.policy).
USE_DEFAULT_POLICY : Use the default storage policy of the datastore.
Storage Policy identification. This field is optional and it is only relevant when the value of Policy.DiskPolicySpec.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.vcenter.StoragePolicy. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vcenter.StoragePolicy.