Creates a custom job for an environment.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID. | cn-hangzhou |
AliyunLang | string | No | The language. Valid values: zh and en. Default value: zh. | zh |
EnvironmentId | string | Yes | The ID of the environment instance. | env-xxxxxx |
CustomJobName | string | Yes | The name of the custom job. | customJob1 |
ConfigYaml | string | Yes | The YAML configuration string of the custom job. | Refer to supplementary instructions. |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "4C518054-852F-4023-ABC1-4AF95FF7****",
"Code": 200,
"Data": "cutomJob1",
"Message": "success"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history