Host Datastore System Query Vmfs Datastore Extend Options
Queries for options for increasing the capacity of an existing VMFS datastore by adding new extents using space from the specified disk.
See also devicePath.
Required privileges: Host.Config.Storage
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case HostDatastoreSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
Show optional properties
{
"datastore": {},
"devicePath": "string"
}
{
"datastore": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"devicePath": "string",
"suppressExpandCandidates": false
}
The devicePath of the disk on which datastore extension options are generated.
Indicates whether to exclude options that can be used for extent expansion also. Free space can be used for adding an extent or expanding an existing extent. If this parameter is set to true, the list of options returned will not include free space that can be used for expansion.
An array of VMFS datastore provisioning options that can be applied on a disk.
[
{
"_typeName": "string",
"info": {
"_typeName": "string",
"layout": {
"_typeName": "string",
"total": {
"_typeName": "string",
"blockSize": 0,
"block": 0
},
"partition": [
{
"_typeName": "string",
"partition": 0,
"type": "string",
"start": {
"_typeName": "string",
"blockSize": 0,
"block": 0
},
"end": {
"_typeName": "string",
"blockSize": 0,
"block": 0
}
}
]
},
"partitionFormatChange": false
},
"spec": {
"_typeName": "string",
"diskUuid": "string"
}
}
]
NotFound: if a datastore or device with the given name could not be found or if the datastore is unmounted.
HostConfigFault: if unable to get the current partition information for the device.
NotSupported: if the host is not an ESX Server.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}