Viewing Details of an Azure Bulk Job
Use the get /v1/cckm/azure/bulkjobs/{id}
API to view the details of an Azure bulk job with a specific id.
Syntax
curl -k '<IP>/api/v1/cckm/azure/bulkjobs/{id}' -X POST -H 'Authorization: Bearer AUTHTOKEN' --compressed
Here, {id}
represents the bulk job ID.
Request Parameter
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authorization token. |
Example Request
curl -k 'https://54.175.71.61/api/v1/cckm/azure/bulkjobs/ee4482eb-0b97-4702-8ef6-7e86df66eaa5' -X POST -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiI1NjlmZTIyMy0zZGM2LTRhZDctYjE5YS1lYjFlZTY4MDBlMzUiLCJzdWIiOiJsb2NhbHxjNjc2ZGM1Zi1iMjNjLTQ4ODgtYTZmYi05MjMwNWU3MDdkNDMiLCJpc3MiOiJreWxvIiwiYWNjIjoia3lsbyIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiY3VzdCI6eyJkb21haW5faWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJncm91cHMiOlsiYWRtaW4iXSwic2lkIjoiYTlhZmY2ZGMtYTdjYy00NmJiLThiYTUtMDg3OWViZGRiZTA1Iiwiem9uZV9pZCI6IjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCJ9LCJqd3RpZCI6ImQ3MDY1MDhiLTllYWYtNDQ0Mi04MGY4LWM4NTA2ODBlOWUyZCIsImlhdCI6MTYwMzEwNDA4NCwiZXhwIjoxNjAzMTA0Mzg0fQ.Kp-X2Y9cb_PSJtIasz_krM6wip4s8_LTu7ozPJZ_2Hs' --compressed
Example Response
{
"id": "ee4482eb-0b97-4702-8ef6-7e86df66eaa5",
"uri": "kylo:kylo:cckm:azure-bulkjob:ee4482eb-0b97-4702-8ef6-7e86df66eaa5",
"account": "kylo:kylo:admin:accounts:kylo",
"createdAt": "2024-02-06T09:22:54.517569Z",
"updatedAt": "2024-02-06T09:22:54.549719Z",
"completed_at": "2024-02-06T09:22:54.54953Z",
"overall_status": "completed",
"detailed_status": {
"f60070f8-5ef8-4685-9121-9ca732cffcbd": "Success"
},
"abort": false,
"cloud": "AzureCloud",
"operation": "delete-key-backups"
}
The sample output shows the details corresponding to the bulk job (with ID ee4482eb-0b97-4702-8ef6-7e86df66eaa5
).
To know more about response parameters, refer to Response Parameters of Key Life Cycle Management APIs.
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.