Find Datastore Deprecated
Returns datastore information for the specified datastores. The key in the result map is the datastore identifier and the value in the map is the datastore information. 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
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
This is a request body class for an operation.
{
"datastores": [
"string"
]
}
Identifiers of the datastores for which information will be returned. The parameter must contain identifiers for the resource type: Datastore.
Authentication
Response
Response BodyResponse Body
Datastore information for the specified datastores. The key in the result map is the datastore identifier and the value in the map is the datastore information. The key in the result map will be an identifier for the resource type: Datastore.
{
"value": {}
}
Datastore information for the specified datastores. The key in the result map is the datastore identifier and the value in the map is the datastore information. The key in the result map will be an identifier for the resource type: Datastore.
Errors
com.vmware.vapi.std.errors.not_found : if no datastore can be found for one or more of the datastore identifiers in datastores
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
cURL Command
Vendor Extensions
x-vmw-doc-new-method: get
x-vmw-doc-new-path: /api/vcenter/inventory/datastore
x-vmw-doc-operation: find