vcenter vm storage policy: info
The
info
structure contains information about the storage policies associated with virtual machine's home directory and virtual hard disks. This structure was added in vSphere API 6.7Representation:
{
"disks": [
{
"key": "obj-103",
"value": "string"
}
],
"vm_home": "obj-103"
}
"disks": [
{
"key": "obj-103",
"value": "string"
}
],
"vm_home": "obj-103"
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
disks | list | Storage policies associated with virtual disks. The values in this key/value pairs are storage policy identifiers. They will be identifiers for the resource type:com.vmware.vcenter.StoragePolicy If the key/value pairs is empty, the virtual machine does not have any disks or its disks are not associated with a storage policy. This attribute was added in vSphere API 6.7 When clients pass a value of this structure as a parameter, the key in the field key/value pairs must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk . When operations return a value of this structure as a result, the key in the field key/value pairs will be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk .List of {"key": string, "value": string} |
Optional | ||
vm_home | string | Storage Policy associated with virtual machine home. This attribute was added in vSphere API 6.7 Optional. Ifunset, the virtual machine's home directory doesn't have any storage 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 . |