Creates a baseline.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
BaselineName | string | Yes | The name of the baseline. | BaselineName |
ProjectId | long | Yes | The DataWorks workspace ID. You can log on to the DataWorks console and go to the Workspace page to query the ID. | 10000 |
Owner | string | Yes | The ID of the Alibaba Cloud account used by the baseline owner. | 1000000000001 |
Priority | integer | Yes | The priority of the baseline. Valid values: {1,3,5,7,8}. | 1,3,5,7,8 |
NodeIds | string | No | The ancestor nodes of nodes in the baseline. | 210001233239,210001236482 |
OvertimeSettings | array<object> | Yes | The settings of the committed completion time of the baseline. | |
OvertimeSetting | object | Yes | ||
Cycle | integer | No | The cycle that corresponds to the committed completion time. For a day-level baseline, set this parameter to 1. For an hour-level baseline, set this parameter to a value that is no more than 24. | 1 |
Time | string | No | The committed completion time in the hh:mm format. Valid values of hh: [0,47]. Valid values of mm: [0,59]. | 00:00 |
AlertMarginThreshold | integer | No | The alert margin threshold of the baseline. Unit: minutes. | 30 |
BaselineType | string | Yes | The type of the baseline. Valid values: DAILY and HOURLY. | DAILY |
Response parameters
Examples
Sample success responses
JSON
format
{
"Success": true,
"ErrorCode": "401",
"ErrorMessage": "The specified parameters are invalid.",
"HttpStatusCode": 200,
"Data": 100003,
"RequestId": "F05080B0-CCE6-5D22-B284-34A51C5D4E28"
}
Error codes
For a list of error codes, visit the Service error codes.