调用QueryTaskDetailHistory分页查询指定域名任务的详情历史列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
下表是API对应的授权信息,可以在RAM权限策略语句的Action
元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:
- 操作:是指具体的权限点。
- 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
- 资源类型:是指操作中支持授权的资源类型。具体说明如下:
- 对于必选的资源类型,用背景高亮的方式表示。
- 对于不支持资源级授权的操作,用
全部资源
表示。
- 条件关键字:是指云产品自身定义的条件关键字。
- 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作 | 访问级别 | 资源类型 | 条件关键字 | 关联操作 |
---|---|---|---|---|
domain:QueryDomainTask | get |
|
| 无 |
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
Lang | string | 否 | 接口返回错误信息语言。取值:
默认为 en。 | en |
UserClientIp | string | 否 | 用户 IP。 | 127.0.0.1 |
TaskNo | string | 是 | 任务编号。 说明
任务编号可通过 QueryTaskList 接口查询。
| 75addb07-28a3-450e-b5ec-test |
DomainName | string | 否 | 域名。 | example.com |
DomainNameCursor | string | 否 | 域名游标。 | example.com |
TaskStatus | integer | 否 | 任务状态。取值:
| 0 |
PageSize | integer | 是 | 分页大小。 | 1 |
TaskDetailNoCursor | string | 否 | 任务详情游标。 | 75addb07-28a3-450e-b5ec |
返回参数
示例
正常返回示例
JSON
格式
{
"PageSize": 2,
"RequestId": "548CAE74-88F8-402F-8C12-97E747389C51",
"CurrentPageCursor": {
"UpdateTime": "2019-07-30 00:00:00",
"TaskDetailNo": "75addb07-28a3-450e-b5ec-2342",
"CreateTime": "2019-07-30 00:00:00",
"InstanceId": "S1234456789",
"DomainName": "example.com",
"TaskType": "CHG_DNS",
"TaskNo": "75addb07-28a3-450e-b5ec-test",
"TaskStatus": "EXECUTE_SUCCESS",
"TaskStatusCode": 2,
"TaskTypeDescription": "修改DNS",
"TryCount": 0,
"ErrorMsg": "执行成功"
},
"NextPageCursor": {
"UpdateTime": "2019-07-30 00:00:00",
"TaskDetailNo": "75addb07-28a3-450e-b5ec-2424",
"CreateTime": "2019-07-30 00:00:00",
"InstanceId": "S1234567890",
"DomainName": "example.com",
"TaskType": "CHG_DNS",
"TaskNo": "75addb07-28a3-450e-b5ec-test",
"TaskStatus": "EXECUTE_FAILURE",
"TaskStatusCode": 3,
"TaskTypeDescription": "修改DNS",
"TryCount": 5,
"ErrorMsg": "域名有禁止更新锁"
},
"PrePageCursor": {
"UpdateTime": "2019-07-30 00:00:00",
"TaskDetailNo": "75addb07-28a3-450e-b5ec-123",
"CreateTime": "2019-07-30 00:00:00",
"InstanceId": "S123456789",
"DomainName": "example.com",
"TaskType": "CHG_DNS",
"TaskNo": "75addb07-28a3-450e-b5ec-test",
"TaskStatus": "EXECUTE_FAILURE",
"TaskStatusCode": 3,
"TaskTypeDescription": "修改DNS",
"TryCount": 5,
"ErrorMsg": "域名有禁止更新锁"
},
"Objects": [
{
"UpdateTime": "2019-07-30 00:00:00",
"TaskDetailNo": "75addb07-28a3-450e-b5ec-4234",
"CreateTime": "2019-07-30 00:00:00",
"InstanceId": "S123456789",
"DomainName": "example.com",
"TaskType": "CHG_DNS",
"TaskNo": "75addb07-28a3-450e-b5ec-test",
"TaskStatus": "EXECUTE_FAILURE",
"TaskStatusCode": 3,
"TaskTypeDescription": "修改DNS",
"TryCount": 5,
"ErrorMsg": "域名有禁止更新锁"
}
]
}
JSON
格式
{
"PageSize": 2,
"RequestId": "548CAE74-88F8-402F-8C12-97E747389C51",
"CurrentPageCursor": {
"UpdateTime": "2019-07-30 00:00:00",
"TaskDetailNo": "75addb07-28a3-450e-b5ec-2342",
"CreateTime": "2019-07-30 00:00:00",
"InstanceId": "S1234456789",
"DomainName": "example.com",
"TaskType": "CHG_DNS",
"TaskNo": "75addb07-28a3-450e-b5ec-test",
"TaskStatus": "EXECUTE_SUCCESS",
"TaskStatusCode": 2,
"TaskTypeDescription": "修改DNS",
"TryCount": 0,
"ErrorMsg": "执行成功"
},
"NextPageCursor": {
"UpdateTime": "2019-07-30 00:00:00",
"TaskDetailNo": "75addb07-28a3-450e-b5ec-2424",
"CreateTime": "2019-07-30 00:00:00",
"InstanceId": "S1234567890",
"DomainName": "example.com",
"TaskType": "CHG_DNS",
"TaskNo": "75addb07-28a3-450e-b5ec-test",
"TaskStatus": "EXECUTE_FAILURE",
"TaskStatusCode": 3,
"TaskTypeDescription": "修改DNS",
"TryCount": 5,
"ErrorMsg": "域名有禁止更新锁"
},
"PrePageCursor": {
"UpdateTime": "2019-07-30 00:00:00",
"TaskDetailNo": "75addb07-28a3-450e-b5ec-123",
"CreateTime": "2019-07-30 00:00:00",
"InstanceId": "S123456789",
"DomainName": "example.com",
"TaskType": "CHG_DNS",
"TaskNo": "75addb07-28a3-450e-b5ec-test",
"TaskStatus": "EXECUTE_FAILURE",
"TaskStatusCode": 3,
"TaskTypeDescription": "修改DNS",
"TryCount": 5,
"ErrorMsg": "域名有禁止更新锁"
},
"Objects": [
{
"UpdateTime": "2019-07-30 00:00:00",
"TaskDetailNo": "75addb07-28a3-450e-b5ec-4234",
"CreateTime": "2019-07-30 00:00:00",
"InstanceId": "S123456789",
"DomainName": "example.com",
"TaskType": "CHG_DNS",
"TaskNo": "75addb07-28a3-450e-b5ec-test",
"TaskStatus": "EXECUTE_FAILURE",
"TaskStatusCode": 3,
"TaskTypeDescription": "修改DNS",
"TryCount": 5,
"ErrorMsg": "域名有禁止更新锁"
}
]
}
错误码
访问错误中心查看更多错误码。