VmStoragePolicyDiskPolicySpec

The Policy.DiskPolicySpec structure provides a specification for the storage policy to be associated with the virtual disks.


Properties

string
policy Optional

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.


type Required

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.

Possible values are: USE_SPECIFIED_POLICYUSE_DEFAULT_POLICY

JSON Example

{
	"type": "USE_SPECIFIED_POLICY"
}

Feedback

Was this page helpful?