DatastoreQueryResponse

DatastoreQueryResponse
DatastoreQueryResponse

Represents a datastore query response.

JSON Example
{
    "queryInfo": {
        "status": "string",
        "queryId": "string",
        "errorResponse": {
            "errorCode": "string",
            "errorType": "string",
            "arguments": [
                "string"
            ],
            "context": {
                "context": "string"
            },
            "message": "string",
            "remediationMessage": "string",
            "causes": [
                {
                    "type": "string",
                    "message": "string"
                }
            ],
            "nestedErrors": [
                "Error Object"
            ],
            "referenceToken": "string"
        },
        "completed": false,
        "failure": false,
        "processing": false
    },
    "result": {
        "elements": [
            {
                "id": "string",
                "name": "string",
                "url": "string",
                "vcInstanceUuid": "string",
                "vcDatacenterName": "string",
                "datastoreType": "string",
                "totalCapacityGB": "number",
                "freeCapacityGB": "number",
                "vmCount": 0,
                "tags": [
                    {
                        "id": "string",
                        "name": "string",
                        "categoryId": "string",
                        "categoryName": "string"
                    }
                ]
            }
        ],
        "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