插件下载了解更多
Alibaba Cloud Developer ToolkitbetaAlibaba Cloud OpenAPI
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
Alibaba Cloud Developer ToolkitbetaAlibaba Cloud OpenAPI
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.
流控信息
当前云产品API请求速率暂未透出。
请求参数
字段名称 | 字段详情 |
---|---|
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 | 泳道当前状态信息,如果配置成功并且生效会返回 示例值:[{"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 |