Creates a data report export task.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
ecd:CreateEcdReportTask | none | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
TaskType | string | Yes | The type of the report task. Valid value:
Valid values:
| RESOURCE_REPORT |
SubType | string | Yes | The sub-type of the report export task. Valid values:
| DESKTOP |
| FilterList | array<object> | No | The filter conditions for filtering query results. The logical relationship between each filter condition is "and" (&). Each filter condition contains FilterKey and FilterValues, which indicate the key and value for the filter condition. | |
object | No | The filter condition object. | ||
FilterKey | string | No | The key of the filter condition for filtering query results. When SubType is set to:
| Tag:TestKey |
| FilterValues | array | No | The value of the filter condition. Only the first value of the FilterValues parameter is used, if FilterKey is set to one of the following values:
| |
string | No | The specific value of the filter condition for filtering query results. | 测试云电脑名称 | |
ReportFileName | string | No | The name of the report file. | 测试报表名称 |
LangType | string | No | The language of the report. An enumerated type. Valid values:
| zh-CN |
Response elements
Element | Type | Description | Example |
object | The response parameters. | ||
RequestId | string | The request ID. | 1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
Success | boolean | Indicates whether the request is successful. | True |
Code | string | The request result. If the request was successful, | success |
Message | string | The error message returned if the request failed. This parameter is not returned if the value of Code is success. | success |
TaskId | string | The ID of the report export task. | ret-g67ip****** |
Examples
Success response
JSON format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
"Success": true,
"Code": "success",
"Message": "success",
"TaskId": "ret-g67ip******"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.