CnsQueryResult

CnsQueryResult
CnsQueryResult

Result object for query operation.

This structure may be used only with operations rendered under /vsan.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "volumes": [
        {
            "_typeName": "string",
            "volumeId": {
                "_typeName": "string",
                "id": "string"
            },
            "datastoreUrl": "string",
            "name": "string",
            "volumeType": "string",
            "storagePolicyId": "string",
            "metadata": {
                "_typeName": "string",
                "containerCluster": {
                    "_typeName": "string",
                    "clusterType": "string",
                    "clusterId": "string",
                    "vSphereUser": "string",
                    "clusterFlavor": "string",
                    "clusterDistribution": "string",
                    "delete": false
                },
                "entityMetadata": [
                    {
                        "_typeName": "string",
                        "entityName": "string",
                        "labels": [
                            {
                                "_typeName": "string",
                                "key": "string",
                                "value": "string"
                            }
                        ],
                        "delete": false,
                        "clusterId": "string"
                    }
                ],
                "containerClusterArray": [
                    {
                        "_typeName": "string",
                        "clusterType": "string",
                        "clusterId": "string",
                        "vSphereUser": "string",
                        "clusterFlavor": "string",
                        "clusterDistribution": "string",
                        "delete": false
                    }
                ]
            },
            "backingObjectDetails": {
                "_typeName": "string",
                "capacityInMb": 0
            },
            "complianceStatus": "string",
            "datastoreAccessibilityStatus": "string",
            "healthStatus": "string"
        }
    ],
    "cursor": {
        "_typeName": "string",
        "offset": 0,
        "limit": 0,
        "totalRecords": 0
    }
}
array of CnsVolume
volumes
Optional

Volumes that matched query criteria.

cursor
Required

Cursor object, pointing to next set of results, if any.