vcenter vm storage policy: vm home policy spec

The vm_home_policy_spec structure provides a specification for the storage policy to be associated with the virtual machine home's directory. This structure was added in vSphere API 6.7

Representation:

{
    "policy""obj-103",
    "type""USE_SPECIFIED_POLICY"
}

Attributes:

Name Type Description
Required
type string Policy type to be used while performing update operation on the virtual machine home's directory. This attribute was added in vSphere API 6.7

Defines the choices for how to specify the policy to be associated with the virtual machine home's directory. This enumeration was added in vSphere API 6.7 Value is one of:
USE_SPECIFIED_POLICY: Use the specified policy (see vcenter.vm.storage.policy.vm_home_policy_spec.policy). This constant was added in vSphere API 6.7
USE_DEFAULT_POLICY: Use the default storage policy of the datastore. This constant was added in vSphere API 6.7

Optional
policy string Storage Policy identification. This attribute was added in vSphere API 6.7

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.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.