vcenter vm template library items: disk info
The
disk_info
structure contains information about the virtual machine template's virtual disk. This structure was added in vSphere API 6.8.Representation:
{
"disk_storage" : {
"datastore" : "obj-103",
"storage_policy" : "obj-103"
},
"capacity" : 1
}
"disk_storage" : {
"datastore" : "obj-103",
"storage_policy" : "obj-103"
},
"capacity" : 1
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
disk_storage | disk_storage_info | Disk storage related information. This attribute was added in vSphere API 6.8. |
disk_storage.datastore | string | Identifier of the datastore where the disk is stored. This attribute was added in vSphere API 6.8. 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 . |
Optional | ||
capacity | long | Capacity of the virtual disk in bytes. This attribute was added in vSphere API 6.8. Optional. This field will be unset if the virtual disk is inaccessible. |
disk_storage.storage_policy | string | Identifier of the storage policy associated with the virtual disk. This attribute was added in vSphere API 6.8. Optional. If unset, the virtual disk does not have a storage policy associated with it.When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.spbm.StorageProfile . When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.spbm.StorageProfile . |