CreateForecastAgent
Creates a forecast agent.
Operation description
Creates a forecast agent. You can create the agent for an instance, a database, or a table. The operation returns a task ID.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DataRegion |
string |
No |
The region where the data lake is located. |
cn-hangzhou |
| DryRun |
boolean |
No |
Specifies whether to perform a dry run. Set this to |
True |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| RequestId |
string |
The request ID. |
427688B8-ADFB-4C4E-9D45-EF5C1FD6**** |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorCode |
string |
The error code. |
UnknownError |
| Message |
string |
The error message returned when the operation fails. |
UnknownError |
| Root |
object |
Details of the forecast agent. |
|
| InstanceUuid |
string |
The unique ID of the forecast agent instance. |
*** |
| RegionId |
string |
The ID of the DMS service region. For a list of valid values, see region ID parameter description. Note
Select a region that is geographically close to your application. |
cn-chengdu |
| Status |
string |
The status of the forecast agent instance. Valid values include |
DEPLOYED |
| CurrentStep |
string |
The current step of the task. |
PRE_CHECK |
| TaskId |
string |
The task ID. |
t-0002kwya4y5ydqvuof6b |
| ImageVersion |
string |
The image version. Note
When specifying an |
3.5.3.925 |
| FailureMessage |
string |
The error message returned on failure. |
missing parameter: aliyunParentUid |
Examples
Success response
JSON format
{
"RequestId": "427688B8-ADFB-4C4E-9D45-EF5C1FD6****",
"HttpStatusCode": 200,
"Success": true,
"ErrorCode": "UnknownError",
"Message": "UnknownError",
"Root": {
"InstanceUuid": "***",
"RegionId": "cn-chengdu",
"Status": "DEPLOYED",
"CurrentStep": "PRE_CHECK",
"TaskId": "t-0002kwya4y5ydqvuof6b",
"ImageVersion": "3.5.3.925",
"FailureMessage": "missing parameter: aliyunParentUid"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.