調用DescribeIstioGatewayDomains查詢網關網域名稱列表。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
servicemesh:DescribeIstioGatewayDomains |
get |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ServiceMeshId |
string |
是 |
服務網格執行個體 ID。 |
c08ba3fd1e6484b0f8cc1ad8fe10d**** |
| IstioGatewayName |
string |
否 |
ASM 網關名稱。 |
ingressgateway |
| Namespace |
string |
否 |
命名空間。 |
default |
| Limit |
string |
否 |
查詢的網關資源數目上限。 |
10 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
響應體。 |
||
| RequestId |
string |
請求 ID。 |
31d3a0f0-07ed-4f6e-9004-1804498c**** |
| GatewaySecretDetails |
array<object> |
網關網域名稱詳情列表。 |
|
|
object |
網關網域名稱詳情。 |
||
| Domains |
array |
網域名稱列表。 |
|
|
string |
網域名稱。 |
example.com |
|
| Protocol |
string |
協議,取值: |
HTTPS |
| CredentialName |
string |
包含 TLS 認證、CA 憑證的密鑰名稱。 |
bookinfo-secret |
| Detail |
string |
JSON 格式的資訊詳情。 |
{ "servers": [ { "port": { "number": 27018, "name": "mongo", "protocol": "MONGO" }, "hosts": [ "*" ] } ] } |
| PortName |
string |
連接埠名稱。 |
https-demo |
| Namespace |
string |
命名空間。 |
default |
| GatewayCRName |
string |
gateway CR 的名稱 |
ingressgateway |
樣本
正常返回樣本
JSON格式
{
"RequestId": "31d3a0f0-07ed-4f6e-9004-1804498c****",
"GatewaySecretDetails": [
{
"Domains": [
"example.com"
],
"Protocol": "HTTPS",
"CredentialName": "bookinfo-secret",
"Detail": "{ \"servers\": [ { \"port\": { \"number\": 27018, \"name\": \"mongo\", \"protocol\": \"MONGO\" }, \"hosts\": [ \"*\" ] } ] }",
"PortName": "https-demo",
"Namespace": "default",
"GatewayCRName": "ingressgateway"
}
]
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。