ClusterQueryResponse

ClusterQueryResponse
ClusterQueryResponse

Represents a cluster 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": [
            {
                "hosts": [
                    {
                        "azName": "string",
                        "fqdn": "string",
                        "id": "string",
                        "ipAddress": "string",
                        "vmNics": [
                            {
                                "isActive": false,
                                "isAutoNegotiateSupported": false,
                                "isInUse": false,
                                "linkSpeedMB": 0,
                                "name": "string"
                            }
                        ]
                    }
                ],
                "id": "string",
                "isDefault": false,
                "isImageBased": false,
                "isStretched": false,
                "name": "string",
                "primaryDatastoreName": "string",
                "primaryDatastoreType": "One among: VSAN, VSAN_ESA, NFS, FC, VVOL_FC, VVOL_ISCSI, VVOL_NFS, VSAN_REMOTE",
                "tags": [
                    {
                        "categoryId": "string",
                        "categoryName": "string",
                        "id": "string",
                        "name": "string"
                    }
                ],
                "vdsSpecs": [
                    {
                        "isUsedByNsxt": false,
                        "mtu": 0,
                        "name": "string",
                        "niocBandwidthAllocationSpecs": [
                            {
                                "niocTrafficResourceAllocation": {
                                    "limit": 0,
                                    "reservation": 0,
                                    "sharesInfo": {
                                        "level": "One among: low, normal, high, custom",
                                        "shares": 0
                                    }
                                },
                                "type": "string"
                            }
                        ],
                        "portGroupSpecs": [
                            {
                                "activeUplinks": [
                                    "string"
                                ],
                                "name": "string",
                                "transportType": "One among: VSAN, VMOTION, MANAGEMENT, PUBLIC, NFS, VREALIZE, ISCSI, EDGE_INFRA_OVERLAY_UPLINK, VM_MANAGEMENT"
                            }
                        ]
                    }
                ]
            }
        ],
        "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