调用DescribeImportedServicesDetail获取ASM网关已导入服务的详细信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
servicemesh:DescribeImportedServicesDetail |
get |
*全部资源
|
无 | 无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
ServiceMeshId |
string |
是 |
服务网格 ID |
cb8963379255149cb98c8686f274x**** |
ASMGatewayName |
string |
否 |
网关名称 |
ingressgateway |
ServiceNamespace |
string |
否 |
服务所在命名空间 |
default |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
响应内容 |
||
RequestId |
string |
请求 ID |
E0496204-7586-5B4C-B364-2361CC0EDxxxx |
Details |
array<object> |
服务详细信息列表 |
|
object |
服务相信信息 |
||
ServiceName |
string |
服务名称 |
productpage |
Namespace |
string |
服务所在命名空间 |
default |
Labels |
object |
标签列表 |
|
string |
服务定义的相关标签信息 |
app: productpage |
|
ClusterIds |
array |
数据面集群列表 |
|
string |
服务所在的集群 ID |
c7894c929677643a5bfe1a732d778**** |
|
ServiceType |
string |
服务类型 |
Kubernetes |
Ports |
array<object> |
服务声明的端口列表 |
|
object |
端口信息列表 |
||
Name |
string |
端口名称 |
http-0 |
Protocol |
string |
端口对应协议 |
tcp |
Port |
integer |
端口 |
80 |
TargetPort |
integer |
容器端口 |
8080 |
NodePort |
integer |
节点端口 |
12345 |
示例
正常返回示例
JSON
格式
{
"RequestId": "E0496204-7586-5B4C-B364-2361CC0EDxxxx",
"Details": [
{
"ServiceName": "productpage",
"Namespace": "default",
"Labels": {
"key": "app: productpage"
},
"ClusterIds": [
"c7894c929677643a5bfe1a732d778****"
],
"ServiceType": "Kubernetes",
"Ports": [
{
"Name": "http-0",
"Protocol": "tcp",
"Port": 80,
"TargetPort": 8080,
"NodePort": 12345
}
]
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。