GetSwimLaneDetail
获取指定泳道详细信息
服务地址:
华东1 金融云
输入参数
只看必填
ServiceMeshId服务网格ID
SwimLaneName泳道名称
GroupName泳道组名称
插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

请求参数

字段名称字段详情
ServiceMeshIdstring

服务网格 ID。

示例值:xxx参考取值来源:
    CreateServiceMesh
    AddClusterIntoServiceMesh
    DescribeServiceMeshes
SwimLaneNamestring

泳道名称。

示例值:s1参考取值来源:
    GetSwimLaneList
GroupNamestring

泳道组名称。

示例值:test参考取值来源:
    CreateSwimLaneGroup
    GetSwimLaneGroupList

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:yyyy
ServicesListstring

泳道关联的所有服务列表。

示例值:["sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc"]
LabelSelectorKeystring

固定为ASM_TRAFFIC_TAG

示例值:ASM_TRAFFIC_TAG
LabelSelectorValuestring

ASM_TRAFFIC_TAG Label 的取值。

示例值:v1
IngressServicestring

该字段已废弃。

示例值:mocka.default.svc.cluster.local
IngressRulestring

引流规则,对应在 ASM 网关下自定义的一条或者多条路由。

示例值:[{"Domains":["*"],"RouteName":"r1","MatchRequest":{"Headers":[{"Name":"x-asm-prefer-tag","MatchingMode":"exact","MatchingContent":"s1"}],"URI":{"MatchingMode":"exact","MatchingContent":"/mock"}},"RouteDestinations":[{"Destination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"}}]},{"Domains":["*"],"RouteName":"hello","MatchRequest":{"Headers":[{"Name":"x-asm-prefer-tag","MatchingMode":"exact","MatchingContent":"s1"}],"URI":{"MatchingMode":"exact","MatchingContent":"/mocktest"}},"RouteDestinations":[{"Destination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"}}]}]
WeightedIngressDestinationstring

当泳道对应的泳道组的引流策略为 weighted 时可以设定。此字段是一个 JSON 序列化的字符串,指定了在基于权重的路由策略下,每条泳道的入口服务域名以及对应的引流权重。

示例值:{"RouteDestination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"},"Weight":40}
ValidationMessagestring

泳道当前状态信息,如果配置成功并且生效会返回null,否则返回错误信息。

示例值:[{"code":"CODE_UNEFFECTED_SWIMLANE_LABEL","level":"warning","message":"The label selector defined in the ASMSwimLane has no effect on any workload instance."}]
变更历史
变更时间变更内容概要操作
2024-11-08
变更返回参数
2024-05-17
变更返回参数
2022-09-28
新增OpenAPI,获取指定泳道详细信息