获取与边缘容器应用相关联的所有域名的列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
esa:ListEdgeContainerAppRecords |
none |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| AppId |
string |
是 |
应用 ID,可使用 ListEdgeContainerApps 接口获取应用 ID。 |
app-88068867578379**** |
| PageNumber |
integer |
否 |
第几页。取值范围为:1~100000,默认值:1。 |
1 |
| PageSize |
integer |
否 |
分页大小。默认值:20。取值范围:1~500之间的任意整数。 |
10 |
| OrderKey |
string |
否 |
排序字段,取值:
|
CreateTime |
| OrderType |
string |
否 |
排序方向。取值:
|
DESC |
| SearchKey |
string |
否 |
搜索关键字。 |
ver-1006157458290860032 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
CB1A380B-09F0-41BB-A198-72F8FD6DA2FE |
| PageNumber |
integer |
返回数据的页码。 |
1 |
| PageSize |
integer |
页大小。 |
10 |
| TotalCount |
integer |
关联的域名总数。 |
2 |
| Records |
array<object> |
描述关联域名的信息的数组。 |
|
|
object |
|||
| AppId |
string |
应用 ID。 |
app-88068867578379**** |
| Cname |
string |
关联域名对应的 CNAME 域名。 |
kdxceo****.yun****.com |
| ConfigId |
integer |
关联域名的配置 ID。 |
27522948436**** |
| CreateTime |
string |
添加域名的创建时间,日期格式按照 ISO8601 表示法,并使用 UTC 时间,格式为 yyyy-MM-ddTHH:mm:ssZ。 |
2023-12-24T02:01:11Z |
| RecordId |
integer |
关联域名的记录 ID。 |
266**** |
| RecordName |
string |
关联域名名称。 |
a.example.com |
| UpdateTime |
string |
域名最近一次修改调度域 ID 或 CNAME 的时间,日期格式按照 ISO8601 表示法,并使用 UTC 时间,格式为 yyyy-MM-ddTHH:mm:ssZ。 |
2021-12-22T08:32:02Z |
| SchemdId |
integer |
关联域名的调度域 ID。 |
123456 |
| SiteId |
integer |
站点 ID。 |
5407498413**** |
示例
正常返回示例
JSON格式
{
"RequestId": "CB1A380B-09F0-41BB-A198-72F8FD6DA2FE",
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 2,
"Records": [
{
"AppId": "app-88068867578379****",
"Cname": "kdxceo****.yun****.com",
"ConfigId": 0,
"CreateTime": "2023-12-24T02:01:11Z",
"RecordId": 0,
"RecordName": "a.example.com",
"UpdateTime": "2021-12-22T08:32:02Z",
"SchemdId": 123456,
"SiteId": 0
}
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | 输入参数规范校验失败。 |
| 400 | InvalidParameter.appid | The format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID. | 传入的应用ID格式不正确,可使用ListEdgeContainerApps接口获取应用ID。 |
| 500 | InternalError | Failed to call the service. Try again later or contact technical support. | 调用服务失败,请稍后重试或联系客服咨询详情。 |
| 404 | InvalidApp.NotFound | The application does not exist. Check whether the application ID you specified is correct and try again. | 您传入的应用ID对应的应用不存在,请检查后重试。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。