Queries a list of all lane groups in an Alibaba Cloud Service Mesh (ASM) instance.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ServiceMeshId | string | Yes | The ASM instance ID. | xxxx |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "yyyy",
"SwimLaneGroupList": [
{
"GroupName": "test",
"ServiceList": "[\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka\",\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb\",\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc\"]",
"IngressType": "ASM",
"IngressGatewayName": "ingressgateway",
"IsPermissive": false,
"FallbackTarget": "s1",
"TraceHeader": "my-request-id",
"RouteHeader": "x-asm-prefer-tag",
"SwimLaneLabels": "{\"ASM_TRAFFIC_TAG\":[\"v2\",\"v3\",\"v1\"],\"version\":[\"v3\",\"v1\",\"v2\"]}",
"IngressRoutingStrategy": "weighted",
"WeightedIngressRule": "{\"Domains\":[\"*\"],\"MatchRequests\":[{\"URI\":{\"MatchingMode\":\"exact\",\"MatchingContent\":\"/mock\"},\"Headers\":[{\"Name\":\"test\",\"MatchingMode\":\"exact\",\"MatchingContent\":\"yes\"}]}]}"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||
---|---|---|---|---|
2024-05-17 | The response structure of the API has changed | see changesets | ||
| ||||
2023-09-12 | The response structure of the API has changed | see changesets | ||
| ||||
2022-09-28 | Add Operation | see changesets |