/
JobsGetExport.json
129 lines (129 loc) · 4.34 KB
/
JobsGetExport.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"parameters": {
"subscriptionId": "YourSubscriptionId",
"resourceGroupName": "YourResourceGroupName",
"jobName": "TestJobName1",
"api-version": "2022-12-01",
"$expand": "details",
"Accept-Language": [
"en-US"
],
"User-Agent": [
"vscode-restclient"
]
},
"responses": {
"200": {
"body": {
"properties": {
"transferType": "ExportFromAzure",
"isCancellable": false,
"isDeletable": true,
"isShippingAddressEditable": false,
"isPrepareToShipEnabled": true,
"status": "Cancelled",
"startTime": "2020-08-07T10:49:08.7195419+05:30",
"details": {
"copyProgress": [
{
"storageAccountName": "YourStorageAccountName",
"transferType": "ExportFromAzure",
"dataAccountType": "StorageAccount",
"accountId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Storage/storageAccounts/YourStorageAccountName",
"bytesProcessed": 0,
"totalBytesToProcess": 0,
"isEnumerationInProgress": false
}
],
"jobStages": [
{
"stageName": "DeviceOrdered",
"displayName": "Ordered",
"stageStatus": "Succeeded",
"stageTime": "2020-08-07T10:49:12.7675644+05:30"
},
{
"stageName": "Cancelled",
"displayName": "Canceled",
"stageStatus": "Succeeded",
"stageTime": "2020-08-07T10:49:57.2572438+05:30"
}
],
"contactDetails": {
"contactName": " ",
"emailList": [],
"phone": "0000000000",
"phoneExtension": "",
"notificationPreference": []
},
"shippingAddress": {
"streetAddress1": "XXXX XXXX",
"streetAddress2": "XXXX XXXX",
"city": "XXXX XXXX",
"stateOrProvince": "XX",
"country": "XX",
"postalCode": "00000",
"companyName": "XXXX XXXX",
"addressType": "Commercial"
},
"deliveryPackage": {
"carrierName": "",
"trackingId": "",
"trackingUrl": ""
},
"returnPackage": {
"carrierName": "",
"trackingId": "",
"trackingUrl": ""
},
"dataImportDetails": [],
"dataExportDetails": [
{
"transferConfiguration": {
"transferConfigurationType": "TransferAll",
"transferFilterDetails": {},
"transferAllDetails": {
"include": {
"dataAccountType": "StorageAccount",
"transferAllBlobs": true,
"transferAllFiles": true
}
}
},
"logCollectionLevel": "Error",
"accountDetails": {
"storageAccountId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Storage/storageAccounts/YourStorageAccountName",
"dataAccountType": "StorageAccount"
}
}
],
"jobDetailsType": "DataBox",
"copyLogDetails": [],
"reverseShipmentLabelSasKey": "https://xxx.xxx.xx",
"chainOfCustodySasKey": "https://xxx.xxx.xx",
"keyEncryptionKey": {
"kekType": "MicrosoftManaged"
}
},
"cancellationReason": "CancelTest",
"deliveryType": "NonScheduled",
"deliveryInfo": {
"scheduledDateTime": "0001-01-01T05:30:00+05:30"
},
"isCancellableWithoutFee": false
},
"location": "westus",
"tags": {},
"sku": {
"name": "DataBox"
},
"identity": {
"type": "None"
},
"name": "TestJobName1",
"id": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.DataBox/jobs/TestJobName1",
"type": "Microsoft.DataBox/jobs"
}
}
}
}