调用DescribeIstioGatewayDomains查询网关域名列表。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String 是 DescribeIstioGatewayDomains

系统规定参数。取值:DescribeIstioGatewayDomains。

ServiceMeshId String 是 c08ba3fd1e6484b0f8cc1ad8fe10d****

服务网格实例ID。

IstioGatewayName String 否 ingressgateway

ASM网关名称。

Namespace String 否 default

命名空间。

Limit String 否 10

查询的网关资源数目上限。

返回数据

名称 类型 示例值 描述
RequestId String 31d3a0f0-07ed-4f6e-9004-1804498c****

请求ID。

GatewaySecretDetails Array of gatewaySecretDetail

网关域名详情列表。

Domains Array of String example.com

域名。

Protocol String HTTPS

协议,取值:HTTP、 HTTPS、GRPC、HTTP2 、 MONGO 、 TCP、 TLS。

CredentialName String bookinfo-secret

包含TLS证书、CA证书的密钥名称。

Detail String { "servers": [ { "port": { "number": 27018, "name": "mongo", "protocol": "MONGO" }, "hosts": [ "*" ] } ] }

JSON格式的信息详情。

PortName String https-demo

端口名称。

Namespace String default

命名空间。

示例

请求示例

http(s)://[Endpoint]/?Action=DescribeIstioGatewayDomains
&ServiceMeshId=c08ba3fd1e6484b0f8cc1ad8fe10d****
&IstioGatewayName=ingressgateway
&Namespace=default
&Limit=10
&公共请求参数

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeIstioGatewayDomainsResponse>
    <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>
    <GatewaySecretDetails>
        <Domains>example.com</Domains>
        <Protocol>HTTPS</Protocol>
        <CredentialName>bookinfo-secret</CredentialName>
        <Detail>{   "servers": [     {       "port": {         "number": 27018,         "name": "mongo",         "protocol": "MONGO"       },       "hosts": [         "*"       ]     }   ] }</Detail>
        <PortName>https-demo</PortName>
        <Namespace>default</Namespace>
    </GatewaySecretDetails>
</DescribeIstioGatewayDomainsResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/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"
  }
}

错误码

访问错误中心查看更多错误码。