Fetching List of Azure Bulk Jobs
Use the get /v1/cckm/azure/bulkjobs
API to fetch the List of Azure bulk Jobs.
Syntax
curl -k '<IP>/api/v1/cckm/azure/bulkjobs' -X POST -H 'Authorization: Bearer AUTHTOKEN' --compressed
Request Parameter
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authorization token. |
Request Query Parameters
Parameter | Type | Description |
---|---|---|
id | string | Internal ID of the Azure bulk job. |
overall_status | string | The overall status of the Azure bulk job. |
skip | integer | Number of records to skip. For example, if "skip":5 is specified, the first five records will not be displayed in the output. |
limit | integer | Numbers of records to display. For example, if "limit":10 is specified, then the next 10 records (after skipping the number of records specified in the skip parameter) will be displayed in the output. |
sort | string | Comma-delimited list of properties to sort the results. |
Example Request
curl -k 'https://54.175.71.61/api/v1/cckm/azure/bulkjobs' -X POST -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiI1NjlmZTIyMy0zZGM2LTRhZDctYjE5YS1lYjFlZTY4MDBlMzUiLCJzdWIiOiJsb2NhbHxjNjc2ZGM1Zi1iMjNjLTQ4ODgtYTZmYi05MjMwNWU3MDdkNDMiLCJpc3MiOiJreWxvIiwiYWNjIjoia3lsbyIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiY3VzdCI6eyJkb21haW5faWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJncm91cHMiOlsiYWRtaW4iXSwic2lkIjoiYTlhZmY2ZGMtYTdjYy00NmJiLThiYTUtMDg3OWViZGRiZTA1Iiwiem9uZV9pZCI6IjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCJ9LCJqd3RpZCI6ImQ3MDY1MDhiLTllYWYtNDQ0Mi04MGY4LWM4NTA2ODBlOWUyZCIsImlhdCI6MTYwMzEwNDA4NCwiZXhwIjoxNjAzMTA0Mzg0fQ.Kp-X2Y9cb_PSJtIasz_krM6wip4s8_LTu7ozPJZ_2Hs' --compressed
Example Response
{
"skip": 0,
"limit": 10,
"total": 3,
"resources": [
{
"id": "43ee58e9-32e4-4ba3-a126-bf86fcdb67e3",
"uri": "kylo:kylo:cckm:azure-bulkjob:43ee58e9-32e4-4ba3-a126-bf86fcdb67e3",
"account": "kylo:kylo:admin:accounts:kylo",
"createdAt": "2024-02-06T07:23:10.938963Z",
"updatedAt": "2024-02-06T07:23:11.034776Z",
"completed_at": "2024-02-06T07:23:11.034515Z",
"overall_status": "completed",
"detailed_status": {
"7b747ca3-b99f-4b5c-a1d1-4b6318bcab86": "Success",
"e26a17d1-85f8-4a87-a417-4967bb6d63b3": "Success",
"fd8fe276-9ea9-4b6d-8888-9c56e83dc6b9": "Success"
},
"abort": false,
"cloud": "AzureCloud",
"operation": "delete-key-backups"
},
{
"id": "40d3ebd4-8781-49f0-996a-ce9e7bb2de4c",
"uri": "kylo:kylo:cckm:azure-bulkjob:40d3ebd4-8781-49f0-996a-ce9e7bb2de4c",
"account": "kylo:kylo:admin:accounts:kylo",
"createdAt": "2024-02-06T09:20:42.312554Z",
"updatedAt": "2024-02-06T09:20:42.393593Z",
"completed_at": "2024-02-06T09:20:42.393374Z",
"overall_status": "completed",
"detailed_status": {
"c0f33238-47bb-49fa-95db-6024a0cb2435": "Success",
"d13af965-e042-4bca-b1bb-bf3284ed6ec5": "Success"
},
"abort": false,
"cloud": "AzureCloud",
"operation": "delete-key-backups"
},
{
"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 list of Azure bulk jobs.
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.