Vcenter Inventory Datastore find

Vcenter Inventory Datastore find

Returns datastore information for the specified datastores. The key in the response map is the datastore identifier and the value in the map is the datastore information.

Returns an authorization error if you do not have all of the privileges described as follows:

  • Operation execution requires System.Read.
  • The resource Datastore referenced by the parameter datastores requires System.Read.
Request
URI
GET
https://{api_host}/api/vcenter/inventory/datastore
COPY
Query Parameters
string of array
datastores
Required

Identifiers of the datastores for which information will be returned.

The parameter must contain identifiers for the resource type: Datastore.


Authentication
This operation uses the following authentication methods.
Responses
200

Datastore information for the specified datastores. The key in the response map is the datastore identifier and the value in the map is the datastore information.

The key in the response map will be an identifier for the resource type: Datastore.

{
    "type": "string"
}

404

if no datastore can be found for one or more of the datastore identifiers in datastores

Returns Vapi Std Errors NotFound of type(s) application/json
This response body class contains all of the following: InlineVapi Std Errors NotFound0
"Vapi Std Errors NotFound Object"

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/vcenter/inventory/datastore?datastores=v