All Products
Search
Document Center

Alibaba Cloud Service Mesh:DescribeGuestClusterPods

Last Updated:Mar 05, 2024

Queries a list of the pods in a specified namespace of a Kubernetes cluster that is added to a Service Mesh (ASM) instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ServiceMeshIdstringYes

The ASM instance ID.

c78d60f98fa43403ab6e0701b2678****
GuestClusterIDstringYes

The ID of the Kubernetes cluster that is added to the ASM instance.

c49ad2169d5a04f2d89dfc4b6bcu****
NamespacestringYes

The namespace.

default

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

EDDC0D86-2FC3-56FB-9213-96EB0A3523F1
PodListarray

The list of the names of the queried pods.

string

The name of a pod.

sleep-5axqt-*****

Examples

Sample success responses

JSONformat

{
  "RequestId": "EDDC0D86-2FC3-56FB-9213-96EB0A3523F1",
  "PodList": [
    "sleep-5axqt-*****"
  ]
}

Error codes

HTTP status codeError codeError message
404ERR404Not found

For a list of error codes, visit the Service error codes.