查询网关已关联域名列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
mse:ListGatewayDomain |
list |
*Gateway
|
无 | 无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
GatewayUniqueId |
string |
是 |
网关唯一标识 ID。 |
gw-c9bc5afd61014165bd58f621b491**** |
Type |
string |
否 |
域名类型。 |
All |
DomainName |
string |
否 |
按域名模糊搜索 |
example.com |
AcceptLanguage |
string |
否 |
返回信息的语言类型:
|
zh |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
数据结构。 |
||
RequestId |
string |
请求 ID。 |
3F5D8E93-CA66-57F1-8BCF-A223E11B6B91 |
HttpStatusCode |
integer |
HTTP 状态码。 |
200 |
Message |
string |
错误信息。 |
You are not authorized to perform this operation. |
Code |
integer |
返回码。 |
200 |
Success |
boolean |
请求结果,取值如下:
|
true |
Data |
array |
节点数据。 |
|
object |
数据结构。 |
||
Id |
integer |
域名 ID。 |
243 |
Name |
string |
域名。 |
test.com |
Protocol |
string |
协议。 |
HTTP |
MustHttps |
boolean |
是否强制 HTTPS。 |
true |
CertIdentifier |
string |
证书 ID。 |
3452-cn-hangzhou |
CertBeforeDate |
string |
证书到期时间(已废弃,请进入域名详情页查看)。 |
2031-03-30 02:35:12 |
GatewayId |
integer |
网关 ID。 |
12 |
GmtCreate |
string |
域名记录创建时间。 |
2031-03-30 02:35:12 |
GmtModified |
string |
域名记录更新时间。 |
2031-03-30 02:35:12 |
Status |
integer |
域名状态。 枚举值
|
3 |
Type |
string |
域名来源类型:
|
Op |
Comment |
object |
路由备注(ingress) |
|
Status |
string |
状态 |
Error |
Http2 |
string |
是否开启
|
close |
TlsMax |
string |
Tls 最大版本。 |
TLS 1.3 |
TlsMin |
string |
Tls 最小版本. |
TLS 1.0 |
IsManaged |
boolean |
是否为托管域名 |
示例
正常返回示例
JSON
格式
{
"RequestId": "3F5D8E93-CA66-57F1-8BCF-A223E11B6B91",
"HttpStatusCode": 200,
"Message": "You are not authorized to perform this operation.",
"Code": 200,
"Success": true,
"Data": [
{
"Id": 243,
"Name": "test.com",
"Protocol": "HTTP",
"MustHttps": true,
"CertIdentifier": "3452-cn-hangzhou",
"CertBeforeDate": " 2031-03-30 02:35:12",
"GatewayId": 12,
"GmtCreate": " 2031-03-30 02:35:12",
"GmtModified": " 2031-03-30 02:35:12",
"Status": 3,
"Type": "Op",
"Comment": {
"Status": "Error"
},
"Http2": "close",
"TlsMax": "TLS 1.3",
"TlsMin": "TLS 1.0",
"IsManaged": true
}
]
}
错误码
HTTP status code |
错误码 |
错误信息 |
描述 |
---|---|---|---|
400 | IllegalRequest | Invalid request:%s | 非法请求: %s |
400 | InvalidParameter | Parameter error:%s | 请求参数错误:%s |
500 | InternalError | Console error. Try again later:%s | 控制台错误.稍后重试:%s |
403 | NoPermission | You are not authorized to perform this operation:%s | 没有权限使用此接口:%s |
404 | NotFound | Not found:%s | 资源不存在:%s |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。