Queries a list of Service Mesh (ASM) instances.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Tag | object [] | No | The tags. | |
Key | string | No | The tag key. | test |
Value | string | No | The tag value. | yahaha |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "BD65C0AD-D3C6-48D3-8D93-38D2015C****",
"ServiceMeshes": [
{
"Endpoints": {
"IntranetPilotEndpoint": "192.168.xx.xx:15011",
"IntranetApiServerEndpoint": "https://192.168.xx.xx:6443",
"PublicApiServerEndpoint": "https://123.56.xx.xx:6443"
},
"ServiceMeshInfo": {
"Profile": "Pro",
"CreationTime": "2020-04-21T09:42:20+08:00",
"UpdateTime": "2020-04-21T09:42:20+08:00",
"ErrorMessage": "error",
"Version": "1",
"State": "success",
"ServiceMeshId": "cb8963379255149cb98c8686f274x****",
"Name": "test",
"RegionId": "cn-beijing"
},
"Spec": {
"Network": {
"VpcId": "vpc-2zew0rajjkmxy2369****",
"SecurityGroupId": "sg-2ze384sxttxbctnj****",
"VSwitches": [
"[\"1\",\"2\"]"
]
},
"LoadBalancer": {
"PilotPublicEip": true,
"PilotPublicLoadbalancerId": "lb-2zesa8qs8kbkj9jkl****",
"ApiServerLoadbalancerId": "lb-2zekaak10uxds44vx****",
"ApiServerPublicEip": true
},
"MeshConfig": {
"Telemetry": true,
"OutboundTrafficPolicy": "ALLOW_ANY",
"Tracing": true,
"StrictMtls": true,
"Pilot": {
"Http10Enabled": true,
"TraceSampling": 0.2
},
"Mtls": true,
"SidecarInjector": {
"EnableNamespacesByDefault": false,
"AutoInjectionPolicyEnabled": true,
"InitCNIConfiguration": {
"ExcludeNamespaces": "default,foo",
"Enabled": true
}
}
}
},
"Clusters": [
"[\"caf089e56daba4c51a8906fe43ea1****\",\"c80f45444b3da447da60a911390c2****\"]"
],
"ClusterSpec": "standard",
"OwnerType": "ackone",
"OwnerId": "cc3e96f249d124eb38b72718ec5*****",
"Tag": [
{
"Key": "test",
"Value": "yahaha"
}
],
"Upgradable": false
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||
---|---|---|---|---|---|---|---|---|
2023-12-14 | The response structure of the API has changed | see changesets | ||||||
| ||||||||
2023-10-09 | The response structure of the API has changed | see changesets | ||||||
| ||||||||
2023-08-15 | The request parameters of the API has changed. The response structure of the API has changed | see changesets | ||||||
|