調(diào)用DescribeImportedServicesDetail獲取ASM網(wǎng)關(guān)已導(dǎo)入服務(wù)的詳細信息。
調(diào)試
您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。
授權(quán)信息
當(dāng)前API暫無授權(quán)信息透出。
請求參數(shù)
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
ServiceMeshId | string | 是 | 服務(wù)網(wǎng)格 ID | cb8963379255149cb98c8686f274x**** |
ASMGatewayName | string | 否 | 網(wǎng)關(guān)名稱 | ingressgateway |
ServiceNamespace | string | 否 | 服務(wù)所在命名空間 | default |
返回參數(shù)
示例
正常返回示例
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
}
]
}
]
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
變更時間 | 變更內(nèi)容概要 | 操作 |
---|
暫無變更歷史