调用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"
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。