@azure/arm-databox 5.0.0-beta.3 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +791 -161
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/jobsBookShipmentPickUpSample.js +12 -5
- package/dist-esm/samples-dev/jobsBookShipmentPickUpSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsCancelSample.js +12 -5
- package/dist-esm/samples-dev/jobsCancelSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsCreateSample.js +93 -86
- package/dist-esm/samples-dev/jobsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsDeleteSample.js +12 -5
- package/dist-esm/samples-dev/jobsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsGetSample.js +32 -25
- package/dist-esm/samples-dev/jobsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsListByResourceGroupSample.js +23 -9
- package/dist-esm/samples-dev/jobsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsListCredentialsSample.js +24 -10
- package/dist-esm/samples-dev/jobsListCredentialsSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsListSample.js +22 -8
- package/dist-esm/samples-dev/jobsListSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsMarkDevicesShippedSample.js +16 -6
- package/dist-esm/samples-dev/jobsMarkDevicesShippedSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsUpdateSample.js +39 -32
- package/dist-esm/samples-dev/jobsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/mitigateSample.js +16 -6
- package/dist-esm/samples-dev/mitigateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +23 -8
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/serviceListAvailableSkusByResourceGroupSample.js +24 -10
- package/dist-esm/samples-dev/serviceListAvailableSkusByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/serviceRegionConfigurationByResourceGroupSample.js +11 -4
- package/dist-esm/samples-dev/serviceRegionConfigurationByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/serviceRegionConfigurationSample.js +10 -3
- package/dist-esm/samples-dev/serviceRegionConfigurationSample.js.map +1 -1
- package/dist-esm/samples-dev/serviceValidateAddressSample.js +17 -10
- package/dist-esm/samples-dev/serviceValidateAddressSample.js.map +1 -1
- package/dist-esm/samples-dev/serviceValidateInputsByResourceGroupSample.js +20 -13
- package/dist-esm/samples-dev/serviceValidateInputsByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/serviceValidateInputsSample.js +19 -12
- package/dist-esm/samples-dev/serviceValidateInputsSample.js.map +1 -1
- package/dist-esm/src/dataBoxManagementClient.js +2 -2
- package/dist-esm/src/dataBoxManagementClient.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +361 -77
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +19 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +11 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +614 -46
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/jobs.d.ts +4 -4
- package/dist-esm/src/operations/jobs.d.ts.map +1 -1
- package/dist-esm/src/operations/jobs.js +62 -31
- package/dist-esm/src/operations/jobs.js.map +1 -1
- package/dist-esm/src/operations/operations.js +12 -6
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/service.js +12 -6
- package/dist-esm/src/operations/service.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/jobs.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/jobs.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +4 -4
- package/dist-esm/src/pagingHelper.js +4 -4
- package/dist-esm/test/databox_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/databox_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/databox_operations_test.spec.js +78 -0
- package/dist-esm/test/databox_operations_test.spec.js.map +1 -0
- package/package.json +11 -10
- package/review/arm-databox.api.md +123 -10
- package/src/dataBoxManagementClient.ts +2 -2
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +336 -30
- package/src/models/mappers.ts +634 -42
- package/src/models/parameters.ts +1 -1
- package/src/operations/jobs.ts +39 -31
- package/src/operations/operations.ts +0 -1
- package/src/operations/service.ts +0 -1
- package/src/operationsInterfaces/jobs.ts +4 -4
- package/src/pagingHelper.ts +4 -4
- package/types/arm-databox.d.ts +332 -35
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
package/src/models/mappers.ts
CHANGED
|
@@ -225,20 +225,21 @@ export const CloudError: coreClient.CompositeMapper = {
|
|
|
225
225
|
name: "Composite",
|
|
226
226
|
className: "CloudError",
|
|
227
227
|
modelProperties: {
|
|
228
|
-
|
|
229
|
-
serializedName: "
|
|
230
|
-
|
|
231
|
-
name: "String"
|
|
232
|
-
}
|
|
233
|
-
},
|
|
234
|
-
message: {
|
|
235
|
-
serializedName: "message",
|
|
228
|
+
additionalInfo: {
|
|
229
|
+
serializedName: "additionalInfo",
|
|
230
|
+
readOnly: true,
|
|
236
231
|
type: {
|
|
237
|
-
name: "
|
|
232
|
+
name: "Sequence",
|
|
233
|
+
element: {
|
|
234
|
+
type: {
|
|
235
|
+
name: "Composite",
|
|
236
|
+
className: "AdditionalErrorInfo"
|
|
237
|
+
}
|
|
238
|
+
}
|
|
238
239
|
}
|
|
239
240
|
},
|
|
240
|
-
|
|
241
|
-
serializedName: "
|
|
241
|
+
code: {
|
|
242
|
+
serializedName: "code",
|
|
242
243
|
type: {
|
|
243
244
|
name: "String"
|
|
244
245
|
}
|
|
@@ -256,17 +257,16 @@ export const CloudError: coreClient.CompositeMapper = {
|
|
|
256
257
|
}
|
|
257
258
|
}
|
|
258
259
|
},
|
|
259
|
-
|
|
260
|
-
serializedName: "
|
|
261
|
-
readOnly: true,
|
|
260
|
+
message: {
|
|
261
|
+
serializedName: "message",
|
|
262
262
|
type: {
|
|
263
|
-
name: "
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
263
|
+
name: "String"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
target: {
|
|
267
|
+
serializedName: "target",
|
|
268
|
+
type: {
|
|
269
|
+
name: "String"
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
272
|
}
|
|
@@ -278,18 +278,18 @@ export const AdditionalErrorInfo: coreClient.CompositeMapper = {
|
|
|
278
278
|
name: "Composite",
|
|
279
279
|
className: "AdditionalErrorInfo",
|
|
280
280
|
modelProperties: {
|
|
281
|
-
type: {
|
|
282
|
-
serializedName: "type",
|
|
283
|
-
type: {
|
|
284
|
-
name: "String"
|
|
285
|
-
}
|
|
286
|
-
},
|
|
287
281
|
info: {
|
|
288
282
|
serializedName: "info",
|
|
289
283
|
type: {
|
|
290
284
|
name: "Dictionary",
|
|
291
285
|
value: { type: { name: "any" } }
|
|
292
286
|
}
|
|
287
|
+
},
|
|
288
|
+
type: {
|
|
289
|
+
serializedName: "type",
|
|
290
|
+
type: {
|
|
291
|
+
name: "String"
|
|
292
|
+
}
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
}
|
|
@@ -390,6 +390,13 @@ export const JobDetails: coreClient.CompositeMapper = {
|
|
|
390
390
|
className: "Preferences"
|
|
391
391
|
}
|
|
392
392
|
},
|
|
393
|
+
reverseShippingDetails: {
|
|
394
|
+
serializedName: "reverseShippingDetails",
|
|
395
|
+
type: {
|
|
396
|
+
name: "Composite",
|
|
397
|
+
className: "ReverseShippingDetails"
|
|
398
|
+
}
|
|
399
|
+
},
|
|
393
400
|
copyLogDetails: {
|
|
394
401
|
serializedName: "copyLogDetails",
|
|
395
402
|
readOnly: true,
|
|
@@ -417,6 +424,13 @@ export const JobDetails: coreClient.CompositeMapper = {
|
|
|
417
424
|
name: "String"
|
|
418
425
|
}
|
|
419
426
|
},
|
|
427
|
+
deviceErasureDetails: {
|
|
428
|
+
serializedName: "deviceErasureDetails",
|
|
429
|
+
type: {
|
|
430
|
+
name: "Composite",
|
|
431
|
+
className: "DeviceErasureDetails"
|
|
432
|
+
}
|
|
433
|
+
},
|
|
420
434
|
keyEncryptionKey: {
|
|
421
435
|
serializedName: "keyEncryptionKey",
|
|
422
436
|
type: {
|
|
@@ -438,7 +452,13 @@ export const JobDetails: coreClient.CompositeMapper = {
|
|
|
438
452
|
element: {
|
|
439
453
|
type: {
|
|
440
454
|
name: "Enum",
|
|
441
|
-
allowedValues: [
|
|
455
|
+
allowedValues: [
|
|
456
|
+
"None",
|
|
457
|
+
"MoveToCleanUpDevice",
|
|
458
|
+
"Resume",
|
|
459
|
+
"Restart",
|
|
460
|
+
"ReachOutToOperation"
|
|
461
|
+
]
|
|
442
462
|
}
|
|
443
463
|
}
|
|
444
464
|
}
|
|
@@ -504,7 +524,8 @@ export const JobStages: coreClient.CompositeMapper = {
|
|
|
504
524
|
"SucceededWithWarnings",
|
|
505
525
|
"WaitingForCustomerActionForKek",
|
|
506
526
|
"WaitingForCustomerActionForCleanUp",
|
|
507
|
-
"CustomerActionPerformedForCleanUp"
|
|
527
|
+
"CustomerActionPerformedForCleanUp",
|
|
528
|
+
"CustomerActionPerformed"
|
|
508
529
|
]
|
|
509
530
|
}
|
|
510
531
|
},
|
|
@@ -678,6 +699,18 @@ export const ShippingAddress: coreClient.CompositeMapper = {
|
|
|
678
699
|
name: "Enum",
|
|
679
700
|
allowedValues: ["None", "Residential", "Commercial"]
|
|
680
701
|
}
|
|
702
|
+
},
|
|
703
|
+
skipAddressValidation: {
|
|
704
|
+
serializedName: "skipAddressValidation",
|
|
705
|
+
type: {
|
|
706
|
+
name: "Boolean"
|
|
707
|
+
}
|
|
708
|
+
},
|
|
709
|
+
taxIdentificationNumber: {
|
|
710
|
+
serializedName: "taxIdentificationNumber",
|
|
711
|
+
type: {
|
|
712
|
+
name: "String"
|
|
713
|
+
}
|
|
681
714
|
}
|
|
682
715
|
}
|
|
683
716
|
}
|
|
@@ -1060,12 +1093,32 @@ export const Preferences: coreClient.CompositeMapper = {
|
|
|
1060
1093
|
className: "TransportPreferences"
|
|
1061
1094
|
}
|
|
1062
1095
|
},
|
|
1096
|
+
reverseTransportPreferences: {
|
|
1097
|
+
serializedName: "reverseTransportPreferences",
|
|
1098
|
+
type: {
|
|
1099
|
+
name: "Composite",
|
|
1100
|
+
className: "TransportPreferences"
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1063
1103
|
encryptionPreferences: {
|
|
1064
1104
|
serializedName: "encryptionPreferences",
|
|
1065
1105
|
type: {
|
|
1066
1106
|
name: "Composite",
|
|
1067
1107
|
className: "EncryptionPreferences"
|
|
1068
1108
|
}
|
|
1109
|
+
},
|
|
1110
|
+
storageAccountAccessTierPreferences: {
|
|
1111
|
+
serializedName: "storageAccountAccessTierPreferences",
|
|
1112
|
+
type: {
|
|
1113
|
+
name: "Sequence",
|
|
1114
|
+
element: {
|
|
1115
|
+
defaultValue: "Archive",
|
|
1116
|
+
isConstant: true,
|
|
1117
|
+
type: {
|
|
1118
|
+
name: "String"
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1069
1122
|
}
|
|
1070
1123
|
}
|
|
1071
1124
|
}
|
|
@@ -1083,6 +1136,13 @@ export const TransportPreferences: coreClient.CompositeMapper = {
|
|
|
1083
1136
|
name: "Enum",
|
|
1084
1137
|
allowedValues: ["CustomerManaged", "MicrosoftManaged"]
|
|
1085
1138
|
}
|
|
1139
|
+
},
|
|
1140
|
+
isUpdated: {
|
|
1141
|
+
serializedName: "isUpdated",
|
|
1142
|
+
readOnly: true,
|
|
1143
|
+
type: {
|
|
1144
|
+
name: "Boolean"
|
|
1145
|
+
}
|
|
1086
1146
|
}
|
|
1087
1147
|
}
|
|
1088
1148
|
}
|
|
@@ -1100,6 +1160,84 @@ export const EncryptionPreferences: coreClient.CompositeMapper = {
|
|
|
1100
1160
|
name: "Enum",
|
|
1101
1161
|
allowedValues: ["Enabled", "Disabled"]
|
|
1102
1162
|
}
|
|
1163
|
+
},
|
|
1164
|
+
hardwareEncryption: {
|
|
1165
|
+
serializedName: "hardwareEncryption",
|
|
1166
|
+
type: {
|
|
1167
|
+
name: "Enum",
|
|
1168
|
+
allowedValues: ["Enabled", "Disabled"]
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
};
|
|
1174
|
+
|
|
1175
|
+
export const ReverseShippingDetails: coreClient.CompositeMapper = {
|
|
1176
|
+
type: {
|
|
1177
|
+
name: "Composite",
|
|
1178
|
+
className: "ReverseShippingDetails",
|
|
1179
|
+
modelProperties: {
|
|
1180
|
+
contactDetails: {
|
|
1181
|
+
serializedName: "contactDetails",
|
|
1182
|
+
type: {
|
|
1183
|
+
name: "Composite",
|
|
1184
|
+
className: "ContactInfo"
|
|
1185
|
+
}
|
|
1186
|
+
},
|
|
1187
|
+
shippingAddress: {
|
|
1188
|
+
serializedName: "shippingAddress",
|
|
1189
|
+
type: {
|
|
1190
|
+
name: "Composite",
|
|
1191
|
+
className: "ShippingAddress"
|
|
1192
|
+
}
|
|
1193
|
+
},
|
|
1194
|
+
isUpdated: {
|
|
1195
|
+
serializedName: "isUpdated",
|
|
1196
|
+
readOnly: true,
|
|
1197
|
+
type: {
|
|
1198
|
+
name: "Boolean"
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
};
|
|
1204
|
+
|
|
1205
|
+
export const ContactInfo: coreClient.CompositeMapper = {
|
|
1206
|
+
type: {
|
|
1207
|
+
name: "Composite",
|
|
1208
|
+
className: "ContactInfo",
|
|
1209
|
+
modelProperties: {
|
|
1210
|
+
contactName: {
|
|
1211
|
+
constraints: {
|
|
1212
|
+
MinLength: 1
|
|
1213
|
+
},
|
|
1214
|
+
serializedName: "contactName",
|
|
1215
|
+
required: true,
|
|
1216
|
+
type: {
|
|
1217
|
+
name: "String"
|
|
1218
|
+
}
|
|
1219
|
+
},
|
|
1220
|
+
phone: {
|
|
1221
|
+
constraints: {
|
|
1222
|
+
MinLength: 1
|
|
1223
|
+
},
|
|
1224
|
+
serializedName: "phone",
|
|
1225
|
+
required: true,
|
|
1226
|
+
type: {
|
|
1227
|
+
name: "String"
|
|
1228
|
+
}
|
|
1229
|
+
},
|
|
1230
|
+
phoneExtension: {
|
|
1231
|
+
serializedName: "phoneExtension",
|
|
1232
|
+
type: {
|
|
1233
|
+
name: "String"
|
|
1234
|
+
}
|
|
1235
|
+
},
|
|
1236
|
+
mobile: {
|
|
1237
|
+
serializedName: "mobile",
|
|
1238
|
+
type: {
|
|
1239
|
+
name: "String"
|
|
1240
|
+
}
|
|
1103
1241
|
}
|
|
1104
1242
|
}
|
|
1105
1243
|
}
|
|
@@ -1132,6 +1270,44 @@ export const CopyLogDetails: coreClient.CompositeMapper = {
|
|
|
1132
1270
|
}
|
|
1133
1271
|
};
|
|
1134
1272
|
|
|
1273
|
+
export const DeviceErasureDetails: coreClient.CompositeMapper = {
|
|
1274
|
+
type: {
|
|
1275
|
+
name: "Composite",
|
|
1276
|
+
className: "DeviceErasureDetails",
|
|
1277
|
+
modelProperties: {
|
|
1278
|
+
deviceErasureStatus: {
|
|
1279
|
+
serializedName: "deviceErasureStatus",
|
|
1280
|
+
readOnly: true,
|
|
1281
|
+
type: {
|
|
1282
|
+
name: "Enum",
|
|
1283
|
+
allowedValues: [
|
|
1284
|
+
"None",
|
|
1285
|
+
"InProgress",
|
|
1286
|
+
"Succeeded",
|
|
1287
|
+
"Failed",
|
|
1288
|
+
"Cancelled",
|
|
1289
|
+
"Cancelling",
|
|
1290
|
+
"SucceededWithErrors",
|
|
1291
|
+
"WaitingForCustomerAction",
|
|
1292
|
+
"SucceededWithWarnings",
|
|
1293
|
+
"WaitingForCustomerActionForKek",
|
|
1294
|
+
"WaitingForCustomerActionForCleanUp",
|
|
1295
|
+
"CustomerActionPerformedForCleanUp",
|
|
1296
|
+
"CustomerActionPerformed"
|
|
1297
|
+
]
|
|
1298
|
+
}
|
|
1299
|
+
},
|
|
1300
|
+
erasureOrDestructionCertificateSasKey: {
|
|
1301
|
+
serializedName: "erasureOrDestructionCertificateSasKey",
|
|
1302
|
+
readOnly: true,
|
|
1303
|
+
type: {
|
|
1304
|
+
name: "String"
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
};
|
|
1310
|
+
|
|
1135
1311
|
export const KeyEncryptionKey: coreClient.CompositeMapper = {
|
|
1136
1312
|
type: {
|
|
1137
1313
|
name: "Composite",
|
|
@@ -1227,7 +1403,13 @@ export const LastMitigationActionOnJob: coreClient.CompositeMapper = {
|
|
|
1227
1403
|
serializedName: "customerResolution",
|
|
1228
1404
|
type: {
|
|
1229
1405
|
name: "Enum",
|
|
1230
|
-
allowedValues: [
|
|
1406
|
+
allowedValues: [
|
|
1407
|
+
"None",
|
|
1408
|
+
"MoveToCleanUpDevice",
|
|
1409
|
+
"Resume",
|
|
1410
|
+
"Restart",
|
|
1411
|
+
"ReachOutToOperation"
|
|
1412
|
+
]
|
|
1231
1413
|
}
|
|
1232
1414
|
}
|
|
1233
1415
|
}
|
|
@@ -1484,10 +1666,33 @@ export const MitigateJobRequest: coreClient.CompositeMapper = {
|
|
|
1484
1666
|
modelProperties: {
|
|
1485
1667
|
customerResolutionCode: {
|
|
1486
1668
|
serializedName: "customerResolutionCode",
|
|
1487
|
-
required: true,
|
|
1488
1669
|
type: {
|
|
1489
1670
|
name: "Enum",
|
|
1490
|
-
allowedValues: [
|
|
1671
|
+
allowedValues: [
|
|
1672
|
+
"None",
|
|
1673
|
+
"MoveToCleanUpDevice",
|
|
1674
|
+
"Resume",
|
|
1675
|
+
"Restart",
|
|
1676
|
+
"ReachOutToOperation"
|
|
1677
|
+
]
|
|
1678
|
+
}
|
|
1679
|
+
},
|
|
1680
|
+
serialNumberCustomerResolutionMap: {
|
|
1681
|
+
serializedName: "serialNumberCustomerResolutionMap",
|
|
1682
|
+
type: {
|
|
1683
|
+
name: "Dictionary",
|
|
1684
|
+
value: {
|
|
1685
|
+
type: {
|
|
1686
|
+
name: "Enum",
|
|
1687
|
+
allowedValues: [
|
|
1688
|
+
"None",
|
|
1689
|
+
"MoveToCleanUpDevice",
|
|
1690
|
+
"Resume",
|
|
1691
|
+
"Restart",
|
|
1692
|
+
"ReachOutToOperation"
|
|
1693
|
+
]
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1491
1696
|
}
|
|
1492
1697
|
}
|
|
1493
1698
|
}
|
|
@@ -1699,6 +1904,18 @@ export const SkuInformation: coreClient.CompositeMapper = {
|
|
|
1699
1904
|
type: {
|
|
1700
1905
|
name: "String"
|
|
1701
1906
|
}
|
|
1907
|
+
},
|
|
1908
|
+
countriesWithinCommerceBoundary: {
|
|
1909
|
+
serializedName: "properties.countriesWithinCommerceBoundary",
|
|
1910
|
+
readOnly: true,
|
|
1911
|
+
type: {
|
|
1912
|
+
name: "Sequence",
|
|
1913
|
+
element: {
|
|
1914
|
+
type: {
|
|
1915
|
+
name: "String"
|
|
1916
|
+
}
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1702
1919
|
}
|
|
1703
1920
|
}
|
|
1704
1921
|
}
|
|
@@ -2014,6 +2231,20 @@ export const UpdateJobDetails: coreClient.CompositeMapper = {
|
|
|
2014
2231
|
className: "ShippingAddress"
|
|
2015
2232
|
}
|
|
2016
2233
|
},
|
|
2234
|
+
reverseShippingDetails: {
|
|
2235
|
+
serializedName: "reverseShippingDetails",
|
|
2236
|
+
type: {
|
|
2237
|
+
name: "Composite",
|
|
2238
|
+
className: "ReverseShippingDetails"
|
|
2239
|
+
}
|
|
2240
|
+
},
|
|
2241
|
+
preferences: {
|
|
2242
|
+
serializedName: "preferences",
|
|
2243
|
+
type: {
|
|
2244
|
+
name: "Composite",
|
|
2245
|
+
className: "Preferences"
|
|
2246
|
+
}
|
|
2247
|
+
},
|
|
2017
2248
|
keyEncryptionKey: {
|
|
2018
2249
|
serializedName: "keyEncryptionKey",
|
|
2019
2250
|
type: {
|
|
@@ -2605,6 +2836,33 @@ export const ArmBaseObject: coreClient.CompositeMapper = {
|
|
|
2605
2836
|
}
|
|
2606
2837
|
};
|
|
2607
2838
|
|
|
2839
|
+
export const GranularCopyLogDetails: coreClient.CompositeMapper = {
|
|
2840
|
+
type: {
|
|
2841
|
+
name: "Composite",
|
|
2842
|
+
className: "GranularCopyLogDetails",
|
|
2843
|
+
uberParent: "GranularCopyLogDetails",
|
|
2844
|
+
polymorphicDiscriminator: {
|
|
2845
|
+
serializedName: "copyLogDetailsType",
|
|
2846
|
+
clientName: "copyLogDetailsType"
|
|
2847
|
+
},
|
|
2848
|
+
modelProperties: {
|
|
2849
|
+
copyLogDetailsType: {
|
|
2850
|
+
serializedName: "copyLogDetailsType",
|
|
2851
|
+
required: true,
|
|
2852
|
+
type: {
|
|
2853
|
+
name: "Enum",
|
|
2854
|
+
allowedValues: [
|
|
2855
|
+
"DataBox",
|
|
2856
|
+
"DataBoxDisk",
|
|
2857
|
+
"DataBoxHeavy",
|
|
2858
|
+
"DataBoxCustomerDisk"
|
|
2859
|
+
]
|
|
2860
|
+
}
|
|
2861
|
+
}
|
|
2862
|
+
}
|
|
2863
|
+
}
|
|
2864
|
+
};
|
|
2865
|
+
|
|
2608
2866
|
export const CopyProgress: coreClient.CompositeMapper = {
|
|
2609
2867
|
type: {
|
|
2610
2868
|
name: "Composite",
|
|
@@ -2716,15 +2974,183 @@ export const CopyProgress: coreClient.CompositeMapper = {
|
|
|
2716
2974
|
type: {
|
|
2717
2975
|
name: "Boolean"
|
|
2718
2976
|
}
|
|
2719
|
-
}
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2977
|
+
},
|
|
2978
|
+
error: {
|
|
2979
|
+
serializedName: "error",
|
|
2980
|
+
type: {
|
|
2981
|
+
name: "Composite",
|
|
2982
|
+
className: "CloudError"
|
|
2983
|
+
}
|
|
2984
|
+
},
|
|
2985
|
+
actions: {
|
|
2986
|
+
serializedName: "actions",
|
|
2987
|
+
readOnly: true,
|
|
2988
|
+
type: {
|
|
2989
|
+
name: "Sequence",
|
|
2990
|
+
element: {
|
|
2991
|
+
type: {
|
|
2992
|
+
name: "Enum",
|
|
2993
|
+
allowedValues: [
|
|
2994
|
+
"None",
|
|
2995
|
+
"MoveToCleanUpDevice",
|
|
2996
|
+
"Resume",
|
|
2997
|
+
"Restart",
|
|
2998
|
+
"ReachOutToOperation"
|
|
2999
|
+
]
|
|
3000
|
+
}
|
|
3001
|
+
}
|
|
3002
|
+
}
|
|
3003
|
+
}
|
|
3004
|
+
}
|
|
3005
|
+
}
|
|
3006
|
+
};
|
|
3007
|
+
|
|
3008
|
+
export const GranularCopyProgress: coreClient.CompositeMapper = {
|
|
3009
|
+
type: {
|
|
3010
|
+
name: "Composite",
|
|
3011
|
+
className: "GranularCopyProgress",
|
|
3012
|
+
modelProperties: {
|
|
3013
|
+
storageAccountName: {
|
|
3014
|
+
serializedName: "storageAccountName",
|
|
3015
|
+
readOnly: true,
|
|
3016
|
+
type: {
|
|
3017
|
+
name: "String"
|
|
3018
|
+
}
|
|
3019
|
+
},
|
|
3020
|
+
transferType: {
|
|
3021
|
+
serializedName: "transferType",
|
|
3022
|
+
readOnly: true,
|
|
3023
|
+
type: {
|
|
3024
|
+
name: "Enum",
|
|
3025
|
+
allowedValues: ["ImportToAzure", "ExportFromAzure"]
|
|
3026
|
+
}
|
|
3027
|
+
},
|
|
3028
|
+
dataAccountType: {
|
|
3029
|
+
serializedName: "dataAccountType",
|
|
3030
|
+
readOnly: true,
|
|
3031
|
+
type: {
|
|
3032
|
+
name: "Enum",
|
|
3033
|
+
allowedValues: ["StorageAccount", "ManagedDisk"]
|
|
3034
|
+
}
|
|
3035
|
+
},
|
|
3036
|
+
accountId: {
|
|
3037
|
+
serializedName: "accountId",
|
|
3038
|
+
readOnly: true,
|
|
3039
|
+
type: {
|
|
3040
|
+
name: "String"
|
|
3041
|
+
}
|
|
3042
|
+
},
|
|
3043
|
+
bytesProcessed: {
|
|
3044
|
+
serializedName: "bytesProcessed",
|
|
3045
|
+
readOnly: true,
|
|
3046
|
+
type: {
|
|
3047
|
+
name: "Number"
|
|
3048
|
+
}
|
|
3049
|
+
},
|
|
3050
|
+
totalBytesToProcess: {
|
|
3051
|
+
serializedName: "totalBytesToProcess",
|
|
3052
|
+
readOnly: true,
|
|
3053
|
+
type: {
|
|
3054
|
+
name: "Number"
|
|
3055
|
+
}
|
|
3056
|
+
},
|
|
3057
|
+
filesProcessed: {
|
|
3058
|
+
serializedName: "filesProcessed",
|
|
3059
|
+
readOnly: true,
|
|
3060
|
+
type: {
|
|
3061
|
+
name: "Number"
|
|
3062
|
+
}
|
|
3063
|
+
},
|
|
3064
|
+
totalFilesToProcess: {
|
|
3065
|
+
serializedName: "totalFilesToProcess",
|
|
3066
|
+
readOnly: true,
|
|
3067
|
+
type: {
|
|
3068
|
+
name: "Number"
|
|
3069
|
+
}
|
|
3070
|
+
},
|
|
3071
|
+
invalidFilesProcessed: {
|
|
3072
|
+
serializedName: "invalidFilesProcessed",
|
|
3073
|
+
readOnly: true,
|
|
3074
|
+
type: {
|
|
3075
|
+
name: "Number"
|
|
3076
|
+
}
|
|
3077
|
+
},
|
|
3078
|
+
invalidFileBytesUploaded: {
|
|
3079
|
+
serializedName: "invalidFileBytesUploaded",
|
|
3080
|
+
readOnly: true,
|
|
3081
|
+
type: {
|
|
3082
|
+
name: "Number"
|
|
3083
|
+
}
|
|
3084
|
+
},
|
|
3085
|
+
renamedContainerCount: {
|
|
3086
|
+
serializedName: "renamedContainerCount",
|
|
3087
|
+
readOnly: true,
|
|
3088
|
+
type: {
|
|
3089
|
+
name: "Number"
|
|
3090
|
+
}
|
|
3091
|
+
},
|
|
3092
|
+
filesErroredOut: {
|
|
3093
|
+
serializedName: "filesErroredOut",
|
|
3094
|
+
readOnly: true,
|
|
3095
|
+
type: {
|
|
3096
|
+
name: "Number"
|
|
3097
|
+
}
|
|
3098
|
+
},
|
|
3099
|
+
directoriesErroredOut: {
|
|
3100
|
+
serializedName: "directoriesErroredOut",
|
|
3101
|
+
readOnly: true,
|
|
3102
|
+
type: {
|
|
3103
|
+
name: "Number"
|
|
3104
|
+
}
|
|
3105
|
+
},
|
|
3106
|
+
invalidDirectoriesProcessed: {
|
|
3107
|
+
serializedName: "invalidDirectoriesProcessed",
|
|
3108
|
+
readOnly: true,
|
|
3109
|
+
type: {
|
|
3110
|
+
name: "Number"
|
|
3111
|
+
}
|
|
3112
|
+
},
|
|
3113
|
+
isEnumerationInProgress: {
|
|
3114
|
+
serializedName: "isEnumerationInProgress",
|
|
3115
|
+
readOnly: true,
|
|
3116
|
+
type: {
|
|
3117
|
+
name: "Boolean"
|
|
3118
|
+
}
|
|
3119
|
+
},
|
|
3120
|
+
error: {
|
|
3121
|
+
serializedName: "error",
|
|
3122
|
+
type: {
|
|
3123
|
+
name: "Composite",
|
|
3124
|
+
className: "CloudError"
|
|
3125
|
+
}
|
|
3126
|
+
},
|
|
3127
|
+
actions: {
|
|
3128
|
+
serializedName: "actions",
|
|
3129
|
+
readOnly: true,
|
|
3130
|
+
type: {
|
|
3131
|
+
name: "Sequence",
|
|
3132
|
+
element: {
|
|
3133
|
+
type: {
|
|
3134
|
+
name: "Enum",
|
|
3135
|
+
allowedValues: [
|
|
3136
|
+
"None",
|
|
3137
|
+
"MoveToCleanUpDevice",
|
|
3138
|
+
"Resume",
|
|
3139
|
+
"Restart",
|
|
3140
|
+
"ReachOutToOperation"
|
|
3141
|
+
]
|
|
3142
|
+
}
|
|
3143
|
+
}
|
|
3144
|
+
}
|
|
3145
|
+
}
|
|
3146
|
+
}
|
|
3147
|
+
}
|
|
3148
|
+
};
|
|
3149
|
+
|
|
3150
|
+
export const ImportDiskDetails: coreClient.CompositeMapper = {
|
|
3151
|
+
type: {
|
|
3152
|
+
name: "Composite",
|
|
3153
|
+
className: "ImportDiskDetails",
|
|
2728
3154
|
modelProperties: {
|
|
2729
3155
|
manifestFile: {
|
|
2730
3156
|
serializedName: "manifestFile",
|
|
@@ -2843,6 +3269,32 @@ export const DataBoxDiskCopyProgress: coreClient.CompositeMapper = {
|
|
|
2843
3269
|
type: {
|
|
2844
3270
|
name: "String"
|
|
2845
3271
|
}
|
|
3272
|
+
},
|
|
3273
|
+
error: {
|
|
3274
|
+
serializedName: "error",
|
|
3275
|
+
type: {
|
|
3276
|
+
name: "Composite",
|
|
3277
|
+
className: "CloudError"
|
|
3278
|
+
}
|
|
3279
|
+
},
|
|
3280
|
+
actions: {
|
|
3281
|
+
serializedName: "actions",
|
|
3282
|
+
readOnly: true,
|
|
3283
|
+
type: {
|
|
3284
|
+
name: "Sequence",
|
|
3285
|
+
element: {
|
|
3286
|
+
type: {
|
|
3287
|
+
name: "Enum",
|
|
3288
|
+
allowedValues: [
|
|
3289
|
+
"None",
|
|
3290
|
+
"MoveToCleanUpDevice",
|
|
3291
|
+
"Resume",
|
|
3292
|
+
"Restart",
|
|
3293
|
+
"ReachOutToOperation"
|
|
3294
|
+
]
|
|
3295
|
+
}
|
|
3296
|
+
}
|
|
3297
|
+
}
|
|
2846
3298
|
}
|
|
2847
3299
|
}
|
|
2848
3300
|
}
|
|
@@ -3051,6 +3503,32 @@ export const DataBoxDiskJobDetails: coreClient.CompositeMapper = {
|
|
|
3051
3503
|
}
|
|
3052
3504
|
}
|
|
3053
3505
|
},
|
|
3506
|
+
granularCopyProgress: {
|
|
3507
|
+
serializedName: "granularCopyProgress",
|
|
3508
|
+
readOnly: true,
|
|
3509
|
+
type: {
|
|
3510
|
+
name: "Sequence",
|
|
3511
|
+
element: {
|
|
3512
|
+
type: {
|
|
3513
|
+
name: "Composite",
|
|
3514
|
+
className: "DataBoxDiskGranularCopyProgress"
|
|
3515
|
+
}
|
|
3516
|
+
}
|
|
3517
|
+
}
|
|
3518
|
+
},
|
|
3519
|
+
granularCopyLogDetails: {
|
|
3520
|
+
serializedName: "granularCopyLogDetails",
|
|
3521
|
+
readOnly: true,
|
|
3522
|
+
type: {
|
|
3523
|
+
name: "Sequence",
|
|
3524
|
+
element: {
|
|
3525
|
+
type: {
|
|
3526
|
+
name: "Composite",
|
|
3527
|
+
className: "DataBoxDiskGranularCopyLogDetails"
|
|
3528
|
+
}
|
|
3529
|
+
}
|
|
3530
|
+
}
|
|
3531
|
+
},
|
|
3054
3532
|
disksAndSizeDetails: {
|
|
3055
3533
|
serializedName: "disksAndSizeDetails",
|
|
3056
3534
|
readOnly: true,
|
|
@@ -3515,6 +3993,22 @@ export const JobResource: coreClient.CompositeMapper = {
|
|
|
3515
3993
|
name: "Boolean"
|
|
3516
3994
|
}
|
|
3517
3995
|
},
|
|
3996
|
+
reverseShippingDetailsUpdate: {
|
|
3997
|
+
serializedName: "properties.reverseShippingDetailsUpdate",
|
|
3998
|
+
readOnly: true,
|
|
3999
|
+
type: {
|
|
4000
|
+
name: "Enum",
|
|
4001
|
+
allowedValues: ["Enabled", "Disabled", "NotSupported"]
|
|
4002
|
+
}
|
|
4003
|
+
},
|
|
4004
|
+
reverseTransportPreferenceUpdate: {
|
|
4005
|
+
serializedName: "properties.reverseTransportPreferenceUpdate",
|
|
4006
|
+
readOnly: true,
|
|
4007
|
+
type: {
|
|
4008
|
+
name: "Enum",
|
|
4009
|
+
allowedValues: ["Enabled", "Disabled", "NotSupported"]
|
|
4010
|
+
}
|
|
4011
|
+
},
|
|
3518
4012
|
isPrepareToShipEnabled: {
|
|
3519
4013
|
serializedName: "properties.isPrepareToShipEnabled",
|
|
3520
4014
|
readOnly: true,
|
|
@@ -4138,6 +4632,48 @@ export const HeavyScheduleAvailabilityRequest: coreClient.CompositeMapper = {
|
|
|
4138
4632
|
}
|
|
4139
4633
|
};
|
|
4140
4634
|
|
|
4635
|
+
export const DataBoxDiskGranularCopyLogDetails: coreClient.CompositeMapper = {
|
|
4636
|
+
serializedName: "DataBoxCustomerDisk",
|
|
4637
|
+
type: {
|
|
4638
|
+
name: "Composite",
|
|
4639
|
+
className: "DataBoxDiskGranularCopyLogDetails",
|
|
4640
|
+
uberParent: "GranularCopyLogDetails",
|
|
4641
|
+
polymorphicDiscriminator:
|
|
4642
|
+
GranularCopyLogDetails.type.polymorphicDiscriminator,
|
|
4643
|
+
modelProperties: {
|
|
4644
|
+
...GranularCopyLogDetails.type.modelProperties,
|
|
4645
|
+
serialNumber: {
|
|
4646
|
+
serializedName: "serialNumber",
|
|
4647
|
+
readOnly: true,
|
|
4648
|
+
type: {
|
|
4649
|
+
name: "String"
|
|
4650
|
+
}
|
|
4651
|
+
},
|
|
4652
|
+
accountId: {
|
|
4653
|
+
serializedName: "accountId",
|
|
4654
|
+
readOnly: true,
|
|
4655
|
+
type: {
|
|
4656
|
+
name: "String"
|
|
4657
|
+
}
|
|
4658
|
+
},
|
|
4659
|
+
errorLogLink: {
|
|
4660
|
+
serializedName: "errorLogLink",
|
|
4661
|
+
readOnly: true,
|
|
4662
|
+
type: {
|
|
4663
|
+
name: "String"
|
|
4664
|
+
}
|
|
4665
|
+
},
|
|
4666
|
+
verboseLogLink: {
|
|
4667
|
+
serializedName: "verboseLogLink",
|
|
4668
|
+
readOnly: true,
|
|
4669
|
+
type: {
|
|
4670
|
+
name: "String"
|
|
4671
|
+
}
|
|
4672
|
+
}
|
|
4673
|
+
}
|
|
4674
|
+
}
|
|
4675
|
+
};
|
|
4676
|
+
|
|
4141
4677
|
export const DataBoxCustomerDiskCopyProgress: coreClient.CompositeMapper = {
|
|
4142
4678
|
type: {
|
|
4143
4679
|
name: "Composite",
|
|
@@ -4162,6 +4698,60 @@ export const DataBoxCustomerDiskCopyProgress: coreClient.CompositeMapper = {
|
|
|
4162
4698
|
}
|
|
4163
4699
|
};
|
|
4164
4700
|
|
|
4701
|
+
export const DataBoxDiskGranularCopyProgress: coreClient.CompositeMapper = {
|
|
4702
|
+
type: {
|
|
4703
|
+
name: "Composite",
|
|
4704
|
+
className: "DataBoxDiskGranularCopyProgress",
|
|
4705
|
+
modelProperties: {
|
|
4706
|
+
...GranularCopyProgress.type.modelProperties,
|
|
4707
|
+
serialNumber: {
|
|
4708
|
+
serializedName: "serialNumber",
|
|
4709
|
+
readOnly: true,
|
|
4710
|
+
type: {
|
|
4711
|
+
name: "String"
|
|
4712
|
+
}
|
|
4713
|
+
},
|
|
4714
|
+
copyStatus: {
|
|
4715
|
+
serializedName: "copyStatus",
|
|
4716
|
+
readOnly: true,
|
|
4717
|
+
type: {
|
|
4718
|
+
name: "String"
|
|
4719
|
+
}
|
|
4720
|
+
}
|
|
4721
|
+
}
|
|
4722
|
+
}
|
|
4723
|
+
};
|
|
4724
|
+
|
|
4725
|
+
export const JobsDeleteHeaders: coreClient.CompositeMapper = {
|
|
4726
|
+
type: {
|
|
4727
|
+
name: "Composite",
|
|
4728
|
+
className: "JobsDeleteHeaders",
|
|
4729
|
+
modelProperties: {
|
|
4730
|
+
location: {
|
|
4731
|
+
serializedName: "location",
|
|
4732
|
+
type: {
|
|
4733
|
+
name: "String"
|
|
4734
|
+
}
|
|
4735
|
+
}
|
|
4736
|
+
}
|
|
4737
|
+
}
|
|
4738
|
+
};
|
|
4739
|
+
|
|
4740
|
+
export const JobsUpdateHeaders: coreClient.CompositeMapper = {
|
|
4741
|
+
type: {
|
|
4742
|
+
name: "Composite",
|
|
4743
|
+
className: "JobsUpdateHeaders",
|
|
4744
|
+
modelProperties: {
|
|
4745
|
+
location: {
|
|
4746
|
+
serializedName: "location",
|
|
4747
|
+
type: {
|
|
4748
|
+
name: "String"
|
|
4749
|
+
}
|
|
4750
|
+
}
|
|
4751
|
+
}
|
|
4752
|
+
}
|
|
4753
|
+
};
|
|
4754
|
+
|
|
4165
4755
|
export let discriminators = {
|
|
4166
4756
|
JobDetails: JobDetails,
|
|
4167
4757
|
DataAccountDetails: DataAccountDetails,
|
|
@@ -4172,6 +4762,7 @@ export let discriminators = {
|
|
|
4172
4762
|
ValidationRequest: ValidationRequest,
|
|
4173
4763
|
JobSecrets: JobSecrets,
|
|
4174
4764
|
ScheduleAvailabilityRequest: ScheduleAvailabilityRequest,
|
|
4765
|
+
GranularCopyLogDetails: GranularCopyLogDetails,
|
|
4175
4766
|
"JobDetails.DataBoxCustomerDisk": DataBoxCustomerDiskJobDetails,
|
|
4176
4767
|
"JobDetails.DataBoxDisk": DataBoxDiskJobDetails,
|
|
4177
4768
|
"JobDetails.DataBoxHeavy": DataBoxHeavyJobDetails,
|
|
@@ -4203,5 +4794,6 @@ export let discriminators = {
|
|
|
4203
4794
|
"JobSecrets.DataBox": DataboxJobSecrets,
|
|
4204
4795
|
"ScheduleAvailabilityRequest.DataBox": DataBoxScheduleAvailabilityRequest,
|
|
4205
4796
|
"ScheduleAvailabilityRequest.DataBoxDisk": DiskScheduleAvailabilityRequest,
|
|
4206
|
-
"ScheduleAvailabilityRequest.DataBoxHeavy": HeavyScheduleAvailabilityRequest
|
|
4797
|
+
"ScheduleAvailabilityRequest.DataBoxHeavy": HeavyScheduleAvailabilityRequest,
|
|
4798
|
+
"GranularCopyLogDetails.DataBoxCustomerDisk": DataBoxDiskGranularCopyLogDetails
|
|
4207
4799
|
};
|