Changed1
[{"label":"Latest (5.0.0)","version":"latest"},{"version":"4.5.1"},{"version":"4.5.0"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1127/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1078/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1033/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1003/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/939/vmware-cloud-foundation","version":"4.0"}]
vcf-for-vxrail
Get Datastore Query Response
DescriptionGet Datastore query response
Request
URLURL
https://sfo-vcf01.rainpole.io/v1/domains/{domainId}/datastores/queries/{queryId}
Path Parameters
Path Parameters
string
domainId
Required
Domain ID
string
queryId
Required
Query ID
Response
Response
Response BodyResponse Body
200 OK
Returns
DatastoreQueryResponse
of type(s) application/json
{
"queryInfo": {
"completed": false,
"errorResponse": {
"arguments": [
"string"
],
"causes": [
{
"message": "string",
"type": "string"
}
],
"context": {
"key": "string"
},
"errorCode": "string",
"errorType": "string",
"message": "string",
"nestedErrors": "Error Object",
"referenceToken": "string",
"remediationMessage": "string"
},
"failure": false,
"processing": false,
"queryId": "string",
"status": "string"
},
"result": {
"elements": [
{
"datastoreType": "string",
"freeCapacityGB": 0,
"id": "string",
"name": "string",
"tags": [
{
"categoryId": "string",
"categoryName": "string",
"id": "string",
"name": "string"
}
],
"totalCapacityGB": 0,
"url": "string",
"vcDatacenterName": "string",
"vcInstanceUuid": "string",
"vmCount": 0
}
],
"pageMetadata": {
"pageNumber": 0,
"pageSize": 0,
"totalElements": 0,
"totalPages": 0
}
}
}
Errors
Error
400
Bad Request
Error
404
Query Not Found
Error
500
Internal Server Error
Code Samples
cURL Command
curl https://sfo-vcf01.rainpole.io/v1/domains/{domainId}/datastores/queries/{queryId}
[{"label":"Latest (5.0.0)","version":"latest"},{"version":"4.5.1"},{"version":"4.5.0"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1127/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1078/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1033/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1003/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/939/vmware-cloud-foundation","version":"4.0"}]
vcf-for-vxrail
What's changed in 4.5.0?
INTRODUCED
On This Page
Domains Operations
put
Assign Tags To Existing Domain
Introduced
get
Assignable Tags To Domain
Introduced
post
delete
get
Get Datastore Criterion
Introduced
get
Get Datastore Query Response
Introduced
get
Get Datastores Criteria
Introduced
get
get
get
Get Tags Assigned To Domains
Introduced
post
post
post
Post Datastore Query
Introduced
delete
Remove Tags From Domain
Introduced
patch
Update Domain
Changed