CnsQueryAsyncRequestType

CnsQueryAsyncRequestType
CnsQueryAsyncRequestType

The parameters of CnsQueryAsync.

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

JSON Example
{
    "filter": {
        "_typeName": "string",
        "volumeIds": [
            {
                "_typeName": "string",
                "id": "string"
            }
        ],
        "names": [
            "string"
        ],
        "containerClusterIds": [
            "string"
        ],
        "storagePolicyId": "string",
        "datastores": [
            {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            }
        ],
        "labels": [
            {
                "_typeName": "string",
                "key": "string",
                "value": "string"
            }
        ],
        "complianceStatus": "string",
        "datastoreAccessibilityStatus": "string",
        "cursor": {
            "_typeName": "string",
            "offset": 0,
            "limit": 0,
            "totalRecords": 0
        },
        "healthStatus": "string"
    },
    "selection": {
        "_typeName": "string",
        "names": [
            "string"
        ]
    }
}
filter
Required

All container volumes matching the criteria set in the filter will be returned. A maximum of 1000 volume ids can be provided. See CnsQueryFilter

selection
Optional

Selection spec for the query entities to return. This is an optional parameter. All volume fields would be returned if the parameter is not specified. See CnsQuerySelection