Host Datastore System Query Vmfs Datastore Expand Options

Host Datastore System Query Vmfs Datastore Expand Options

Queries for options for increasing the capacity of an existing VMFS datastore by expanding (increasing the size of) an existing extent of the datastore.

Required privileges: Host.Config.Storage

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/HostDatastoreSystem/{moId}/QueryVmfsDatastoreExpandOptions
COPY
Path Parameters
string
moId
Required

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}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Request Body
Required
{
    "datastore": {
        "type": "string",
        "value": "string"
    }
}
datastore
Required

Reference to an instance of the Datastore managed object.

Authentication
This operation uses the following authentication methods.
Responses
200

An array of VMFS datastore expansion options that can be applied.

Returns Array of VmfsDatastoreOption of type(s) application/json
[
    {
        "_typeName": "string",
        "info": {
            "layout": {
                "total": {
                    "blockSize": 0,
                    "block": 0
                },
                "partition": [
                    {
                        "_typeName": "string",
                        "partition": 0,
                        "type": "string",
                        "start": {
                            "blockSize": 0,
                            "block": 0
                        },
                        "end": {
                            "blockSize": 0,
                            "block": 0
                        }
                    }
                ]
            },
            "partitionFormatChange": false
        },
        "spec": {
            "diskUuid": "string"
        }
    }
]

500

NotFound: if the specified datastore could not be found or is unmounted.

HostConfigFault: if unable to get partition information for the devices on which the extents reside

NotSupported: if the host is not an ESX Server.

Returns VimFault of type(s) application/json
This response body class contains all of the following: MethodFault
{
    "_typeName": "string",
    "faultCause": "MethodFault Object",
    "faultMessage": [
        {
            "_typeName": "string",
            "key": "string",
            "arg": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "value": {
                        "_typeName": "string"
                    }
                }
            ],
            "message": "string"
        }
    ]
}