VmStoragePolicyVmHomePolicySpec

The Policy.VmHomePolicySpec structure provides a specification for the storage policy to be associated with the virtual machine home’s directory.


Properties

string
policy Optional

Storage Policy identification. This field is optional and it is only relevant when the value of Policy.VmHomePolicySpec.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.VmHomePolicySpec.PolicyType enumerated type defines the choices for how to specify the policy to be associated with the virtual machine home’s directory.
USE_SPECIFIED_POLICY : Use the specified policy (see Policy.VmHomePolicySpec.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?