Vm_Storage_Policy_VmHomePolicySpec

Vm_Storage_Policy_VmHomePolicySpec
Vm_Storage_Policy_VmHomePolicySpec

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

JSON Example
{
    "type": "string",
    "policy": "string"
}
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.

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.