vcenter VM: disk relocate spec
Document-based disk relocate spec. This structure was added in vSphere API 7.0.0.0.
Representation:
{
"datastore" : "obj-103",
"storage_policy" : {
"policy" : "obj-103"
}
}
"datastore" : "obj-103",
"storage_policy" : {
"policy" : "obj-103"
}
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
storage_policy.policy | string | Identifier of the storage policy which should be associated with the VMDK file. This attribute was added in vSphere API 6.7. 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 . |
Optional | ||
datastore | string | Destination datastore to relocate disk. This attribute was added in vSphere API 7.0.0.0. Optional. This field is currently required. In the future, if this field is unset, disk will use the datastore specified in vcenter.VM.relocate_placement_spec.datastore field of vcenter.VM.relocate_spec.placement.When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: Datastore . When operations return a value of this structure as a result, the field will be an identifier for the resource type: Datastore . |
storage_policy | storage_policy_spec | Storage policy to be associated with destination disk. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. Optional. If unset, the destination disk will be associated with a storage policy based the rules described for the relocate operation. |