Antrea Agent Info Resource Service List

Antrea Agent Info Resource Service List

List AntreaAgentInfos.

Request
URI
GET
https://{api_host}/https://your_org.tmc.cloud.vmware.com/v1alpha1/clusters/{searchScope.clusterName}/network/antrea/antreaagentinfos
COPY
Path Parameters
string
searchScope.clusterName
Required

Scope search to the specified cluster_name; supports globbing; default (*).

Query Parameters
string
searchScope.managementClusterName
Optional

Scope search to the specified management_cluster_name; supports globbing; default (*).

string
searchScope.provisionerName
Optional

Scope search to the specified provisioner_name; supports globbing; default (*).

string
searchScope.name
Optional

Scope search to the specified name; supports globbing; default (*).

string
sortBy
Optional

Sort Order.

string
query
Optional

TQL query string.

string
pagination.offset
Optional

Offset at which to start returning records.

string
pagination.size
Optional

Number of records to return.

boolean
includeTotalCount
Optional

Include total count.


Responses
200

A successful response.

{
    "antreaAgentInfos": [
        {
            "fullName": {
                "orgId": "string",
                "managementClusterName": "string",
                "provisionerName": "string",
                "clusterName": "string",
                "name": "string"
            },
            "type": {
                "kind": "string",
                "version": "string",
                "package": "string"
            },
            "meta": {
                "uid": "string",
                "generation": "string",
                "resourceVersion": "string",
                "creationTime": "string",
                "updateTime": "string",
                "description": "string",
                "parentReferences": [
                    {
                        "rid": "string",
                        "uid": "string"
                    }
                ]
            },
            "status": {
                "metadata": {
                    "name": "string",
                    "generateName": "string",
                    "namespace": "string",
                    "selfLink": "string",
                    "uid": "string",
                    "resourceVersion": "string",
                    "generation": "string",
                    "creationTimestamp": {
                        "seconds": "string",
                        "nanos": 0
                    },
                    "deletionTimestamp": {
                        "seconds": "string",
                        "nanos": 0
                    },
                    "deletionGracePeriodSeconds": "string",
                    "ownerReferences": [
                        {
                            "apiVersion": "string",
                            "kind": "string",
                            "name": "string",
                            "uid": "string",
                            "controller": false,
                            "blockOwnerDeletion": false
                        }
                    ],
                    "initializers": {
                        "pending": [
                            {
                                "name": "string"
                            }
                        ],
                        "result": {
                            "metadata": {
                                "selfLink": "string",
                                "resourceVersion": "string",
                                "continue": "string"
                            },
                            "status": "string",
                            "message": "string",
                            "reason": "string",
                            "details": {
                                "name": "string",
                                "group": "string",
                                "kind": "string",
                                "uid": "string",
                                "causes": [
                                    {
                                        "reason": "string",
                                        "message": "string",
                                        "field": "string"
                                    }
                                ],
                                "retryAfterSeconds": 0
                            },
                            "code": 0
                        }
                    },
                    "finalizers": [
                        "string"
                    ],
                    "clusterName": "string",
                    "managedFields": [
                        {
                            "manager": "string",
                            "operation": "string",
                            "apiVersion": "string",
                            "time": {
                                "seconds": "string",
                                "nanos": 0
                            },
                            "fields": {}
                        }
                    ]
                },
                "version": "string",
                "podRef": {
                    "kind": "string",
                    "namespace": "string",
                    "name": "string",
                    "uid": "string",
                    "apiVersion": "string",
                    "resourceVersion": "string",
                    "fieldPath": "string"
                },
                "nodeRef": {
                    "kind": "string",
                    "namespace": "string",
                    "name": "string",
                    "uid": "string",
                    "apiVersion": "string",
                    "resourceVersion": "string",
                    "fieldPath": "string"
                },
                "nodeSubnets": [
                    "string"
                ],
                "ovsInfo": {
                    "version": "string",
                    "bridgeName": "string"
                },
                "networkPolicyControllerInfo": {
                    "networkPolicyNum": 0,
                    "addressGroupNum": 0,
                    "appliedToGroupNum": 0
                },
                "localPodNum": 0,
                "agentConditions": [
                    {
                        "type": "string",
                        "status": "string",
                        "lastHeartbeatTime": "string",
                        "reason": "string",
                        "message": "string"
                    }
                ],
                "apiPort": "string"
            }
        }
    ],
    "totalCount": "string"
}

default

An unexpected error response.

Returns grpc.gateway.runtime.Error of type(s) */*
{
    "error": "string",
    "code": 0,
    "message": "string",
    "details": [
        {
            "typeUrl": "string",
            "value": "string"
        }
    ]
}