DatastoreQueryResponse

DatastoreQueryResponse
DatastoreQueryResponse

Represents a datastore query response.

JSON Example
{
    "queryInfo": {
        "completed": false,
        "errorResponse": {
            "arguments": [
                "string"
            ],
            "causes": [
                {
                    "message": "string",
                    "type": "string"
                }
            ],
            "context": {
                "context": "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": "number",
                "id": "string",
                "name": "string",
                "tags": [
                    {
                        "categoryId": "string",
                        "categoryName": "string",
                        "id": "string",
                        "name": "string"
                    }
                ],
                "totalCapacityGB": "number",
                "url": "string",
                "vcDatacenterName": "string",
                "vcInstanceUuid": "string",
                "vmCount": 0
            }
        ],
        "pageMetadata": {
            "pageNumber": 0,
            "pageSize": 0,
            "totalElements": 0,
            "totalPages": 0
        }
    }
}
queryInfo
Optional

Represents the query info.

result
Optional

Represents a page of elements of a single type