Queries the details of 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 |
EnvironmentId | string | Yes | The ID of the environment instance. | env-xxxxxx |
CustomJobName | string | Yes | The name of the custom job. | customJob1 |
EncryptYaml | boolean | No | Specifies whether to return the encrypted YAML string. | true |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "6A9AEA84-7186-4D8D-B498-4585C6A2****",
"Code": 200,
"Data": {
"EnvironmentId": "env-xxxxx",
"RegionId": "cn-hangzhou",
"CustomJobName": "customJob1",
"ConfigYaml": "Refer to supplementary instructions.",
"Status": "run"
},
"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