vcenter datastore: info
The
info
structure contains information about a datastore.Representations:
{
"accessible": true,
"free_space": 1,
"multiple_host_access": true,
"name": "string",
"thin_provisioning_supported": true,
"type": "VMFS"
}
"accessible": true,
"free_space": 1,
"multiple_host_access": true,
"name": "string",
"thin_provisioning_supported": true,
"type": "VMFS"
}
<?xml version="1.0" ?>
<ns0:Info xmlns:ns0="http://vmware.com/vcenter/datastore" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<free_space>1</free_space>
<multiple_host_access>true</multiple_host_access>
<name>string</name>
<accessible>true</accessible>
<type>VMFS</type>
<thin_provisioning_supported>true</thin_provisioning_supported>
</ns0:Info>
<ns0:Info xmlns:ns0="http://vmware.com/vcenter/datastore" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<free_space>1</free_space>
<multiple_host_access>true</multiple_host_access>
<name>string</name>
<accessible>true</accessible>
<type>VMFS</type>
<thin_provisioning_supported>true</thin_provisioning_supported>
</ns0:Info>
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
name | string | Name of the datastore. |
type | string | Type (VMFS , NFS , NFS41 , CIFS , VSAN , VFFS , VVOL ) of the datastore. Defines the supported types of vCenter datastores. Value is one of:VMFS: VMware File System (ESX Server only). NFS: Network file system v3 (linux & esx servers only). NFS41: Network file system v4.1 (linux & esx servers only). CIFS: Common Internet File System. VSAN: Virtual SAN (ESX Server only). VFFS: Flash Read Cache (ESX Server only). VVOL: vSphere Virtual Volume (ESX Server only). |
accessible | boolean | Whether or not this datastore is accessible. |
multiple_host_access | boolean | Whether or not ore than one host in the datacenter has been configured with access to the datastore. |
thin_provisioning_supported | boolean | Whether or not the datastore supports thin provisioning on a per file basis. When thin provisioning is used, backing storage is lazily allocated. |
Optional | ||
free_space | long | Available space of this datastore, in bytes. The server periodically updates this value. Optional. This field will be unset if the available space of this datastore is not known. |