@azure/arm-databox 5.0.0-beta.2 → 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.
Files changed (104) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/LICENSE +1 -1
  3. package/README.md +2 -2
  4. package/dist/index.js +973 -182
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/jobsBookShipmentPickUpSample.js +12 -5
  9. package/dist-esm/samples-dev/jobsBookShipmentPickUpSample.js.map +1 -1
  10. package/dist-esm/samples-dev/jobsCancelSample.js +12 -5
  11. package/dist-esm/samples-dev/jobsCancelSample.js.map +1 -1
  12. package/dist-esm/samples-dev/jobsCreateSample.js +93 -86
  13. package/dist-esm/samples-dev/jobsCreateSample.js.map +1 -1
  14. package/dist-esm/samples-dev/jobsDeleteSample.js +12 -5
  15. package/dist-esm/samples-dev/jobsDeleteSample.js.map +1 -1
  16. package/dist-esm/samples-dev/jobsGetSample.js +32 -25
  17. package/dist-esm/samples-dev/jobsGetSample.js.map +1 -1
  18. package/dist-esm/samples-dev/jobsListByResourceGroupSample.js +23 -9
  19. package/dist-esm/samples-dev/jobsListByResourceGroupSample.js.map +1 -1
  20. package/dist-esm/samples-dev/jobsListCredentialsSample.js +24 -10
  21. package/dist-esm/samples-dev/jobsListCredentialsSample.js.map +1 -1
  22. package/dist-esm/samples-dev/jobsListSample.js +22 -8
  23. package/dist-esm/samples-dev/jobsListSample.js.map +1 -1
  24. package/dist-esm/samples-dev/jobsMarkDevicesShippedSample.js +16 -6
  25. package/dist-esm/samples-dev/jobsMarkDevicesShippedSample.js.map +1 -1
  26. package/dist-esm/samples-dev/jobsUpdateSample.js +39 -32
  27. package/dist-esm/samples-dev/jobsUpdateSample.js.map +1 -1
  28. package/dist-esm/samples-dev/mitigateSample.js +16 -6
  29. package/dist-esm/samples-dev/mitigateSample.js.map +1 -1
  30. package/dist-esm/samples-dev/operationsListSample.js +23 -8
  31. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  32. package/dist-esm/samples-dev/serviceListAvailableSkusByResourceGroupSample.js +24 -10
  33. package/dist-esm/samples-dev/serviceListAvailableSkusByResourceGroupSample.js.map +1 -1
  34. package/dist-esm/samples-dev/serviceRegionConfigurationByResourceGroupSample.js +11 -4
  35. package/dist-esm/samples-dev/serviceRegionConfigurationByResourceGroupSample.js.map +1 -1
  36. package/dist-esm/samples-dev/serviceRegionConfigurationSample.js +10 -3
  37. package/dist-esm/samples-dev/serviceRegionConfigurationSample.js.map +1 -1
  38. package/dist-esm/samples-dev/serviceValidateAddressSample.js +17 -10
  39. package/dist-esm/samples-dev/serviceValidateAddressSample.js.map +1 -1
  40. package/dist-esm/samples-dev/serviceValidateInputsByResourceGroupSample.js +20 -13
  41. package/dist-esm/samples-dev/serviceValidateInputsByResourceGroupSample.js.map +1 -1
  42. package/dist-esm/samples-dev/serviceValidateInputsSample.js +19 -12
  43. package/dist-esm/samples-dev/serviceValidateInputsSample.js.map +1 -1
  44. package/dist-esm/src/dataBoxManagementClient.d.ts +2 -0
  45. package/dist-esm/src/dataBoxManagementClient.d.ts.map +1 -1
  46. package/dist-esm/src/dataBoxManagementClient.js +50 -19
  47. package/dist-esm/src/dataBoxManagementClient.js.map +1 -1
  48. package/dist-esm/src/index.d.ts +1 -0
  49. package/dist-esm/src/index.d.ts.map +1 -1
  50. package/dist-esm/src/index.js +1 -0
  51. package/dist-esm/src/index.js.map +1 -1
  52. package/dist-esm/src/lroImpl.d.ts +6 -11
  53. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  54. package/dist-esm/src/lroImpl.js +12 -20
  55. package/dist-esm/src/lroImpl.js.map +1 -1
  56. package/dist-esm/src/models/index.d.ts +479 -145
  57. package/dist-esm/src/models/index.d.ts.map +1 -1
  58. package/dist-esm/src/models/index.js +69 -1
  59. package/dist-esm/src/models/index.js.map +1 -1
  60. package/dist-esm/src/models/mappers.d.ts +11 -0
  61. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  62. package/dist-esm/src/models/mappers.js +614 -46
  63. package/dist-esm/src/models/mappers.js.map +1 -1
  64. package/dist-esm/src/models/parameters.js +1 -1
  65. package/dist-esm/src/models/parameters.js.map +1 -1
  66. package/dist-esm/src/operations/jobs.d.ts +4 -4
  67. package/dist-esm/src/operations/jobs.d.ts.map +1 -1
  68. package/dist-esm/src/operations/jobs.js +107 -49
  69. package/dist-esm/src/operations/jobs.js.map +1 -1
  70. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  71. package/dist-esm/src/operations/operations.js +31 -13
  72. package/dist-esm/src/operations/operations.js.map +1 -1
  73. package/dist-esm/src/operations/service.d.ts.map +1 -1
  74. package/dist-esm/src/operations/service.js +31 -13
  75. package/dist-esm/src/operations/service.js.map +1 -1
  76. package/dist-esm/src/operationsInterfaces/jobs.d.ts +4 -4
  77. package/dist-esm/src/operationsInterfaces/jobs.d.ts.map +1 -1
  78. package/dist-esm/src/pagingHelper.d.ts +13 -0
  79. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  80. package/dist-esm/src/pagingHelper.js +32 -0
  81. package/dist-esm/src/pagingHelper.js.map +1 -0
  82. package/dist-esm/test/databox_operations_test.spec.d.ts +4 -0
  83. package/dist-esm/test/databox_operations_test.spec.d.ts.map +1 -0
  84. package/dist-esm/test/databox_operations_test.spec.js +78 -0
  85. package/dist-esm/test/databox_operations_test.spec.js.map +1 -0
  86. package/package.json +21 -16
  87. package/review/arm-databox.api.md +255 -189
  88. package/src/dataBoxManagementClient.ts +61 -21
  89. package/src/index.ts +1 -0
  90. package/src/lroImpl.ts +31 -23
  91. package/src/models/index.ts +468 -98
  92. package/src/models/mappers.ts +634 -42
  93. package/src/models/parameters.ts +1 -1
  94. package/src/operations/jobs.ts +96 -57
  95. package/src/operations/operations.ts +21 -9
  96. package/src/operations/service.ts +27 -14
  97. package/src/operationsInterfaces/jobs.ts +4 -4
  98. package/src/pagingHelper.ts +39 -0
  99. package/types/arm-databox.d.ts +457 -99
  100. package/types/tsdoc-metadata.json +1 -1
  101. package/dist-esm/test/sampleTest.d.ts +0 -2
  102. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  103. package/dist-esm/test/sampleTest.js +0 -40
  104. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -56,6 +56,9 @@ export type ScheduleAvailabilityRequestUnion =
56
56
  | DataBoxScheduleAvailabilityRequest
57
57
  | DiskScheduleAvailabilityRequest
58
58
  | HeavyScheduleAvailabilityRequest;
59
+ export type GranularCopyLogDetailsUnion =
60
+ | GranularCopyLogDetails
61
+ | DataBoxDiskGranularCopyLogDetails;
59
62
 
60
63
  /** Operation Collection. */
61
64
  export interface OperationList {
@@ -130,32 +133,32 @@ export interface JobResourceList {
130
133
  nextLink?: string;
131
134
  }
132
135
 
133
- /** Cloud error. */
136
+ /** Provides additional information about an http error response. */
134
137
  export interface CloudError {
135
- /** Cloud error code. */
136
- code?: string;
137
- /** Cloud error message. */
138
- message?: string;
139
- /** Cloud error target. */
140
- target?: string;
141
138
  /**
142
- * Cloud error details.
139
+ * Gets or sets additional error info.
143
140
  * NOTE: This property will not be serialized. It can only be populated by the server.
144
141
  */
145
- readonly details?: CloudError[];
142
+ readonly additionalInfo?: AdditionalErrorInfo[];
143
+ /** Error code. */
144
+ code?: string;
146
145
  /**
147
- * Cloud error additional info.
146
+ * Gets or sets details for the error.
148
147
  * NOTE: This property will not be serialized. It can only be populated by the server.
149
148
  */
150
- readonly additionalInfo?: AdditionalErrorInfo[];
149
+ readonly details?: CloudError[];
150
+ /** The error message parsed from the body of the http error response. */
151
+ message?: string;
152
+ /** Gets or sets the target of the error. */
153
+ target?: string;
151
154
  }
152
155
 
153
- /** Additional error info. */
156
+ /** This class represents additional info which Resource Providers pass when an error occurs. */
154
157
  export interface AdditionalErrorInfo {
155
- /** Additional error type. */
156
- type?: string;
157
- /** Additional error info. */
158
+ /** Additional information of the type of error. */
158
159
  info?: Record<string, unknown>;
160
+ /** Type of error (e.g. CustomerIntervention, PolicyViolation, SecurityViolation). */
161
+ type?: string;
159
162
  }
160
163
 
161
164
  /** Job details. */
@@ -191,6 +194,8 @@ export interface JobDetails {
191
194
  dataExportDetails?: DataExportDetails[];
192
195
  /** Preferences for the order. */
193
196
  preferences?: Preferences;
197
+ /** Optional Reverse Shipping details for order. */
198
+ reverseShippingDetails?: ReverseShippingDetails;
194
199
  /**
195
200
  * List of copy log details.
196
201
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -206,6 +211,11 @@ export interface JobDetails {
206
211
  * NOTE: This property will not be serialized. It can only be populated by the server.
207
212
  */
208
213
  readonly chainOfCustodySasKey?: string;
214
+ /**
215
+ * Holds device data erasure details
216
+ * NOTE: This property will not be serialized. It can only be populated by the server.
217
+ */
218
+ readonly deviceErasureDetails?: DeviceErasureDetails;
209
219
  /** Details about which key encryption type is being used. */
210
220
  keyEncryptionKey?: KeyEncryptionKey;
211
221
  /** The expected size of the data, which needs to be transferred in this job, in terabytes. */
@@ -307,6 +317,10 @@ export interface ShippingAddress {
307
317
  companyName?: string;
308
318
  /** Type of address. */
309
319
  addressType?: AddressType;
320
+ /** Flag to indicate if customer has chosen to skip default address validation */
321
+ skipAddressValidation?: boolean;
322
+ /** Tax Identification Number */
323
+ taxIdentificationNumber?: string;
310
324
  }
311
325
 
312
326
  /** package shipping details */
@@ -432,20 +446,57 @@ export interface Preferences {
432
446
  preferredDataCenterRegion?: string[];
433
447
  /** Preferences related to the shipment logistics of the sku. */
434
448
  transportPreferences?: TransportPreferences;
449
+ /** Optional Preferences related to the reverse shipment logistics of the sku. */
450
+ reverseTransportPreferences?: TransportPreferences;
435
451
  /** Preferences related to the Encryption. */
436
452
  encryptionPreferences?: EncryptionPreferences;
453
+ /** Preferences related to the Access Tier of storage accounts. */
454
+ storageAccountAccessTierPreferences?: string[];
437
455
  }
438
456
 
439
457
  /** Preferences related to the shipment logistics of the sku */
440
458
  export interface TransportPreferences {
441
459
  /** Indicates Shipment Logistics type that the customer preferred. */
442
460
  preferredShipmentType: TransportShipmentTypes;
461
+ /**
462
+ * Read only property which indicates whether transport preferences has been updated or not after device is prepared.
463
+ * NOTE: This property will not be serialized. It can only be populated by the server.
464
+ */
465
+ readonly isUpdated?: boolean;
443
466
  }
444
467
 
445
468
  /** Preferences related to the Encryption. */
446
469
  export interface EncryptionPreferences {
447
470
  /** Defines secondary layer of software-based encryption enablement. */
448
471
  doubleEncryption?: DoubleEncryption;
472
+ /** Defines Hardware level encryption (Only for disk) */
473
+ hardwareEncryption?: HardwareEncryption;
474
+ }
475
+
476
+ /** Reverse Shipping Address and contact details for a job. */
477
+ export interface ReverseShippingDetails {
478
+ /** Contact Info. */
479
+ contactDetails?: ContactInfo;
480
+ /** Shipping address where customer wishes to receive the device. */
481
+ shippingAddress?: ShippingAddress;
482
+ /**
483
+ * A flag to indicate whether Reverse Shipping details are updated or not after device has been prepared.
484
+ * Read only field
485
+ * NOTE: This property will not be serialized. It can only be populated by the server.
486
+ */
487
+ readonly isUpdated?: boolean;
488
+ }
489
+
490
+ /** Contact Info. */
491
+ export interface ContactInfo {
492
+ /** Contact name of the person. */
493
+ contactName: string;
494
+ /** Phone number of the contact person. */
495
+ phone: string;
496
+ /** Phone extension number of the contact person. */
497
+ phoneExtension?: string;
498
+ /** Mobile number of the contact person. */
499
+ mobile?: string;
449
500
  }
450
501
 
451
502
  /** Details for log generated during copy. */
@@ -458,6 +509,20 @@ export interface CopyLogDetails {
458
509
  | "DataBoxHeavy";
459
510
  }
460
511
 
512
+ /** Device erasure details with erasure completion status and erasureordestructionlog sas key */
513
+ export interface DeviceErasureDetails {
514
+ /**
515
+ * Holds the device erasure completion status
516
+ * NOTE: This property will not be serialized. It can only be populated by the server.
517
+ */
518
+ readonly deviceErasureStatus?: StageStatus;
519
+ /**
520
+ * Shared access key to download cleanup or destruction certificate for device
521
+ * NOTE: This property will not be serialized. It can only be populated by the server.
522
+ */
523
+ readonly erasureOrDestructionCertificateSasKey?: string;
524
+ }
525
+
461
526
  /** Encryption key containing details about key to encrypt different keys. */
462
527
  export interface KeyEncryptionKey {
463
528
  /** Type of encryption key used for key encryption. */
@@ -612,7 +677,11 @@ export interface UserAssignedIdentity {
612
677
  /** The Mitigate Job captured from request body for Mitigate API */
613
678
  export interface MitigateJobRequest {
614
679
  /** Resolution code for the job */
615
- customerResolutionCode: CustomerResolutionCode;
680
+ customerResolutionCode?: CustomerResolutionCode;
681
+ /** Serial number and the customer resolution code corresponding to each serial number */
682
+ serialNumberCustomerResolutionMap?: {
683
+ [propertyName: string]: CustomerResolutionCode;
684
+ };
616
685
  }
617
686
 
618
687
  /** The request body to provide the delivery package details of job */
@@ -699,6 +768,11 @@ export interface SkuInformation {
699
768
  * NOTE: This property will not be serialized. It can only be populated by the server.
700
769
  */
701
770
  readonly requiredFeature?: string;
771
+ /**
772
+ * List of all the Countries in the SKU specific commerce boundary
773
+ * NOTE: This property will not be serialized. It can only be populated by the server.
774
+ */
775
+ readonly countriesWithinCommerceBoundary?: string[];
702
776
  }
703
777
 
704
778
  /** Map of data location to service location */
@@ -836,6 +910,10 @@ export interface UpdateJobDetails {
836
910
  contactDetails?: ContactDetails;
837
911
  /** Shipping address of the customer. */
838
912
  shippingAddress?: ShippingAddress;
913
+ /** Reverse Shipping Address and contact details for a job. */
914
+ reverseShippingDetails?: ReverseShippingDetails;
915
+ /** Preferences related to the order */
916
+ preferences?: Preferences;
839
917
  /** Key encryption key for the job. */
840
918
  keyEncryptionKey?: KeyEncryptionKey;
841
919
  /** Return package details of job. */
@@ -1098,6 +1176,12 @@ export interface ArmBaseObject {
1098
1176
  readonly type?: string;
1099
1177
  }
1100
1178
 
1179
+ /** Granular Details for log generated during copy. */
1180
+ export interface GranularCopyLogDetails {
1181
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1182
+ copyLogDetailsType: "DataBoxCustomerDisk";
1183
+ }
1184
+
1101
1185
  /** Copy progress. */
1102
1186
  export interface CopyProgress {
1103
1187
  /**
@@ -1176,6 +1260,106 @@ export interface CopyProgress {
1176
1260
  * NOTE: This property will not be serialized. It can only be populated by the server.
1177
1261
  */
1178
1262
  readonly isEnumerationInProgress?: boolean;
1263
+ /**
1264
+ * Error, if any, in the stage
1265
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1266
+ */
1267
+ readonly error?: CloudError;
1268
+ /**
1269
+ * Available actions on the job.
1270
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1271
+ */
1272
+ readonly actions?: CustomerResolutionCode[];
1273
+ }
1274
+
1275
+ /** Granular Copy progress. */
1276
+ export interface GranularCopyProgress {
1277
+ /**
1278
+ * Name of the storage account. This will be empty for data account types other than storage account.
1279
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1280
+ */
1281
+ readonly storageAccountName?: string;
1282
+ /**
1283
+ * Transfer type of data
1284
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1285
+ */
1286
+ readonly transferType?: TransferType;
1287
+ /**
1288
+ * Data Account Type.
1289
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1290
+ */
1291
+ readonly dataAccountType?: DataAccountType;
1292
+ /**
1293
+ * Id of the account where the data needs to be uploaded.
1294
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1295
+ */
1296
+ readonly accountId?: string;
1297
+ /**
1298
+ * To indicate bytes transferred.
1299
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1300
+ */
1301
+ readonly bytesProcessed?: number;
1302
+ /**
1303
+ * Total amount of data to be processed by the job.
1304
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1305
+ */
1306
+ readonly totalBytesToProcess?: number;
1307
+ /**
1308
+ * Number of files processed
1309
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1310
+ */
1311
+ readonly filesProcessed?: number;
1312
+ /**
1313
+ * Total files to process
1314
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1315
+ */
1316
+ readonly totalFilesToProcess?: number;
1317
+ /**
1318
+ * Number of files not adhering to azure naming conventions which were processed by automatic renaming
1319
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1320
+ */
1321
+ readonly invalidFilesProcessed?: number;
1322
+ /**
1323
+ * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming
1324
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1325
+ */
1326
+ readonly invalidFileBytesUploaded?: number;
1327
+ /**
1328
+ * Number of folders not adhering to azure naming conventions which were processed by automatic renaming
1329
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1330
+ */
1331
+ readonly renamedContainerCount?: number;
1332
+ /**
1333
+ * Number of files which could not be copied
1334
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1335
+ */
1336
+ readonly filesErroredOut?: number;
1337
+ /**
1338
+ * To indicate directories errored out in the job.
1339
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1340
+ */
1341
+ readonly directoriesErroredOut?: number;
1342
+ /**
1343
+ * To indicate directories renamed
1344
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1345
+ */
1346
+ readonly invalidDirectoriesProcessed?: number;
1347
+ /**
1348
+ * To indicate if enumeration of data is in progress.
1349
+ * Until this is true, the TotalBytesToProcess may not be valid.
1350
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1351
+ */
1352
+ readonly isEnumerationInProgress?: boolean;
1353
+ /**
1354
+ * Error, if any, in the stage
1355
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1356
+ */
1357
+ readonly error?: CloudError;
1358
+ /**
1359
+ * Available actions on the job.
1360
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1361
+ */
1362
+ readonly actions?: CustomerResolutionCode[];
1179
1363
  }
1180
1364
 
1181
1365
  /** Import disk details */
@@ -1248,6 +1432,16 @@ export interface DataBoxDiskCopyProgress {
1248
1432
  * NOTE: This property will not be serialized. It can only be populated by the server.
1249
1433
  */
1250
1434
  readonly status?: CopyStatus;
1435
+ /**
1436
+ * Error, if any, in the stage
1437
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1438
+ */
1439
+ readonly error?: CloudError;
1440
+ /**
1441
+ * Available actions on the job.
1442
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1443
+ */
1444
+ readonly actions?: CustomerResolutionCode[];
1251
1445
  }
1252
1446
 
1253
1447
  /** The secrets related to a databox heavy. */
@@ -1309,7 +1503,7 @@ export interface DataBoxSecret {
1309
1503
  }
1310
1504
 
1311
1505
  /** Customer disk job details. */
1312
- export type DataBoxCustomerDiskJobDetails = JobDetails & {
1506
+ export interface DataBoxCustomerDiskJobDetails extends JobDetails {
1313
1507
  /** Polymorphic discriminator, which specifies the different types this object can be */
1314
1508
  jobDetailsType: "DataBoxCustomerDisk";
1315
1509
  /** Contains the map of disk serial number to the disk details for import jobs. */
@@ -1335,10 +1529,10 @@ export type DataBoxCustomerDiskJobDetails = JobDetails & {
1335
1529
  returnToCustomerPackageDetails: PackageCarrierDetails;
1336
1530
  /** Flag to indicate if disk manifest should be backed-up in the Storage Account. */
1337
1531
  enableManifestBackup?: boolean;
1338
- };
1532
+ }
1339
1533
 
1340
1534
  /** DataBox Disk Job Details. */
1341
- export type DataBoxDiskJobDetails = JobDetails & {
1535
+ export interface DataBoxDiskJobDetails extends JobDetails {
1342
1536
  /** Polymorphic discriminator, which specifies the different types this object can be */
1343
1537
  jobDetailsType: "DataBoxDisk";
1344
1538
  /** User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int. */
@@ -1348,6 +1542,16 @@ export type DataBoxDiskJobDetails = JobDetails & {
1348
1542
  * NOTE: This property will not be serialized. It can only be populated by the server.
1349
1543
  */
1350
1544
  readonly copyProgress?: DataBoxDiskCopyProgress[];
1545
+ /**
1546
+ * Copy progress per disk.
1547
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1548
+ */
1549
+ readonly granularCopyProgress?: DataBoxDiskGranularCopyProgress[];
1550
+ /**
1551
+ * Copy progress per disk.
1552
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1553
+ */
1554
+ readonly granularCopyLogDetails?: DataBoxDiskGranularCopyLogDetails[];
1351
1555
  /**
1352
1556
  * Contains the map of disk serial number to the disk size being used for the job. Is returned only after the disks are shipped to the customer.
1353
1557
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1355,10 +1559,10 @@ export type DataBoxDiskJobDetails = JobDetails & {
1355
1559
  readonly disksAndSizeDetails?: { [propertyName: string]: number };
1356
1560
  /** User entered passkey for DataBox Disk job. */
1357
1561
  passkey?: string;
1358
- };
1562
+ }
1359
1563
 
1360
1564
  /** Databox Heavy Device Job Details */
1361
- export type DataBoxHeavyJobDetails = JobDetails & {
1565
+ export interface DataBoxHeavyJobDetails extends JobDetails {
1362
1566
  /** Polymorphic discriminator, which specifies the different types this object can be */
1363
1567
  jobDetailsType: "DataBoxHeavy";
1364
1568
  /**
@@ -1368,10 +1572,10 @@ export type DataBoxHeavyJobDetails = JobDetails & {
1368
1572
  readonly copyProgress?: CopyProgress[];
1369
1573
  /** Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ */
1370
1574
  devicePassword?: string;
1371
- };
1575
+ }
1372
1576
 
1373
1577
  /** Databox Job Details */
1374
- export type DataBoxJobDetails = JobDetails & {
1578
+ export interface DataBoxJobDetails extends JobDetails {
1375
1579
  /** Polymorphic discriminator, which specifies the different types this object can be */
1376
1580
  jobDetailsType: "DataBox";
1377
1581
  /**
@@ -1381,28 +1585,28 @@ export type DataBoxJobDetails = JobDetails & {
1381
1585
  readonly copyProgress?: CopyProgress[];
1382
1586
  /** Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ */
1383
1587
  devicePassword?: string;
1384
- };
1588
+ }
1385
1589
 
1386
1590
  /** Details of the managed disks. */
1387
- export type ManagedDiskDetails = DataAccountDetails & {
1591
+ export interface ManagedDiskDetails extends DataAccountDetails {
1388
1592
  /** Polymorphic discriminator, which specifies the different types this object can be */
1389
1593
  dataAccountType: "ManagedDisk";
1390
1594
  /** Resource Group Id of the compute disks. */
1391
1595
  resourceGroupId: string;
1392
1596
  /** Resource Id of the storage account that can be used to copy the vhd for staging. */
1393
1597
  stagingStorageAccountId: string;
1394
- };
1598
+ }
1395
1599
 
1396
1600
  /** Details for the storage account. */
1397
- export type StorageAccountDetails = DataAccountDetails & {
1601
+ export interface StorageAccountDetails extends DataAccountDetails {
1398
1602
  /** Polymorphic discriminator, which specifies the different types this object can be */
1399
1603
  dataAccountType: "StorageAccount";
1400
1604
  /** Storage Account Resource Id. */
1401
1605
  storageAccountId: string;
1402
- };
1606
+ }
1403
1607
 
1404
1608
  /** Copy log details for a storage account of a DataBox job */
1405
- export type DataBoxAccountCopyLogDetails = CopyLogDetails & {
1609
+ export interface DataBoxAccountCopyLogDetails extends CopyLogDetails {
1406
1610
  /** Polymorphic discriminator, which specifies the different types this object can be */
1407
1611
  copyLogDetailsType: "DataBox";
1408
1612
  /**
@@ -1420,10 +1624,10 @@ export type DataBoxAccountCopyLogDetails = CopyLogDetails & {
1420
1624
  * NOTE: This property will not be serialized. It can only be populated by the server.
1421
1625
  */
1422
1626
  readonly copyVerboseLogLink?: string;
1423
- };
1627
+ }
1424
1628
 
1425
1629
  /** Copy Log Details for customer disk */
1426
- export type DataBoxCustomerDiskCopyLogDetails = CopyLogDetails & {
1630
+ export interface DataBoxCustomerDiskCopyLogDetails extends CopyLogDetails {
1427
1631
  /** Polymorphic discriminator, which specifies the different types this object can be */
1428
1632
  copyLogDetailsType: "DataBoxCustomerDisk";
1429
1633
  /**
@@ -1441,10 +1645,10 @@ export type DataBoxCustomerDiskCopyLogDetails = CopyLogDetails & {
1441
1645
  * NOTE: This property will not be serialized. It can only be populated by the server.
1442
1646
  */
1443
1647
  readonly verboseLogLink?: string;
1444
- };
1648
+ }
1445
1649
 
1446
1650
  /** Copy Log Details for a disk */
1447
- export type DataBoxDiskCopyLogDetails = CopyLogDetails & {
1651
+ export interface DataBoxDiskCopyLogDetails extends CopyLogDetails {
1448
1652
  /** Polymorphic discriminator, which specifies the different types this object can be */
1449
1653
  copyLogDetailsType: "DataBoxDisk";
1450
1654
  /**
@@ -1462,10 +1666,10 @@ export type DataBoxDiskCopyLogDetails = CopyLogDetails & {
1462
1666
  * NOTE: This property will not be serialized. It can only be populated by the server.
1463
1667
  */
1464
1668
  readonly verboseLogLink?: string;
1465
- };
1669
+ }
1466
1670
 
1467
1671
  /** Copy log details for a storage account for Databox heavy */
1468
- export type DataBoxHeavyAccountCopyLogDetails = CopyLogDetails & {
1672
+ export interface DataBoxHeavyAccountCopyLogDetails extends CopyLogDetails {
1469
1673
  /** Polymorphic discriminator, which specifies the different types this object can be */
1470
1674
  copyLogDetailsType: "DataBoxHeavy";
1471
1675
  /**
@@ -1483,10 +1687,11 @@ export type DataBoxHeavyAccountCopyLogDetails = CopyLogDetails & {
1483
1687
  * NOTE: This property will not be serialized. It can only be populated by the server.
1484
1688
  */
1485
1689
  readonly copyVerboseLogLink?: string[];
1486
- };
1690
+ }
1487
1691
 
1488
1692
  /** Datacenter instruction for given storage location. */
1489
- export type DatacenterAddressInstructionResponse = DatacenterAddressResponse & {
1693
+ export interface DatacenterAddressInstructionResponse
1694
+ extends DatacenterAddressResponse {
1490
1695
  /** Polymorphic discriminator, which specifies the different types this object can be */
1491
1696
  datacenterAddressType: "DatacenterAddressInstruction";
1492
1697
  /**
@@ -1494,10 +1699,11 @@ export type DatacenterAddressInstructionResponse = DatacenterAddressResponse & {
1494
1699
  * NOTE: This property will not be serialized. It can only be populated by the server.
1495
1700
  */
1496
1701
  readonly communicationInstruction?: string;
1497
- };
1702
+ }
1498
1703
 
1499
1704
  /** Datacenter address for given storage location. */
1500
- export type DatacenterAddressLocationResponse = DatacenterAddressResponse & {
1705
+ export interface DatacenterAddressLocationResponse
1706
+ extends DatacenterAddressResponse {
1501
1707
  /** Polymorphic discriminator, which specifies the different types this object can be */
1502
1708
  datacenterAddressType: "DatacenterAddressLocation";
1503
1709
  /**
@@ -1565,10 +1771,10 @@ export type DatacenterAddressLocationResponse = DatacenterAddressResponse & {
1565
1771
  * NOTE: This property will not be serialized. It can only be populated by the server.
1566
1772
  */
1567
1773
  readonly additionalShippingInformation?: string;
1568
- };
1774
+ }
1569
1775
 
1570
1776
  /** Job Resource. */
1571
- export type JobResource = Resource & {
1777
+ export interface JobResource extends Resource {
1572
1778
  /**
1573
1779
  * Name of the object.
1574
1780
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1606,6 +1812,16 @@ export type JobResource = Resource & {
1606
1812
  * NOTE: This property will not be serialized. It can only be populated by the server.
1607
1813
  */
1608
1814
  readonly isShippingAddressEditable?: boolean;
1815
+ /**
1816
+ * The Editable status for Reverse Shipping Address and Contact Info
1817
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1818
+ */
1819
+ readonly reverseShippingDetailsUpdate?: ReverseShippingDetailsEditStatus;
1820
+ /**
1821
+ * The Editable status for Reverse Transport preferences
1822
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1823
+ */
1824
+ readonly reverseTransportPreferenceUpdate?: ReverseTransportPreferenceEditStatus;
1609
1825
  /**
1610
1826
  * Is Prepare To Ship Enabled on this job
1611
1827
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1642,10 +1858,10 @@ export type JobResource = Resource & {
1642
1858
  * NOTE: This property will not be serialized. It can only be populated by the server.
1643
1859
  */
1644
1860
  readonly isCancellableWithoutFee?: boolean;
1645
- };
1861
+ }
1646
1862
 
1647
1863
  /** The requirements to validate customer address where the device needs to be shipped. */
1648
- export type ValidateAddress = ValidationInputRequest & {
1864
+ export interface ValidateAddress extends ValidationInputRequest {
1649
1865
  /** Polymorphic discriminator, which specifies the different types this object can be */
1650
1866
  validationType: "ValidateAddress";
1651
1867
  /** Shipping address of the customer. */
@@ -1654,18 +1870,20 @@ export type ValidateAddress = ValidationInputRequest & {
1654
1870
  deviceType: SkuName;
1655
1871
  /** Preferences related to the shipment logistics of the sku. */
1656
1872
  transportPreferences?: TransportPreferences;
1657
- };
1873
+ }
1658
1874
 
1659
1875
  /** Request to validate create order limit for current subscription. */
1660
- export type CreateOrderLimitForSubscriptionValidationRequest = ValidationInputRequest & {
1876
+ export interface CreateOrderLimitForSubscriptionValidationRequest
1877
+ extends ValidationInputRequest {
1661
1878
  /** Polymorphic discriminator, which specifies the different types this object can be */
1662
1879
  validationType: "ValidateCreateOrderLimit";
1663
1880
  /** Device type to be used for the job. */
1664
1881
  deviceType: SkuName;
1665
- };
1882
+ }
1666
1883
 
1667
1884
  /** Request to validate export and import data details. */
1668
- export type DataTransferDetailsValidationRequest = ValidationInputRequest & {
1885
+ export interface DataTransferDetailsValidationRequest
1886
+ extends ValidationInputRequest {
1669
1887
  /** Polymorphic discriminator, which specifies the different types this object can be */
1670
1888
  validationType: "ValidateDataTransferDetails";
1671
1889
  /** List of DataTransfer details to be used to export data from azure. */
@@ -1676,20 +1894,21 @@ export type DataTransferDetailsValidationRequest = ValidationInputRequest & {
1676
1894
  deviceType: SkuName;
1677
1895
  /** Type of the transfer. */
1678
1896
  transferType: TransferType;
1679
- };
1897
+ }
1680
1898
 
1681
1899
  /** Request to validate preference of transport and data center. */
1682
- export type PreferencesValidationRequest = ValidationInputRequest & {
1900
+ export interface PreferencesValidationRequest extends ValidationInputRequest {
1683
1901
  /** Polymorphic discriminator, which specifies the different types this object can be */
1684
1902
  validationType: "ValidatePreferences";
1685
1903
  /** Preference of transport and data center. */
1686
1904
  preference?: Preferences;
1687
1905
  /** Device type to be used for the job. */
1688
1906
  deviceType: SkuName;
1689
- };
1907
+ }
1690
1908
 
1691
1909
  /** Request to validate sku availability. */
1692
- export type SkuAvailabilityValidationRequest = ValidationInputRequest & {
1910
+ export interface SkuAvailabilityValidationRequest
1911
+ extends ValidationInputRequest {
1693
1912
  /** Polymorphic discriminator, which specifies the different types this object can be */
1694
1913
  validationType: "ValidateSkuAvailability";
1695
1914
  /** Device type to be used for the job. */
@@ -1700,16 +1919,17 @@ export type SkuAvailabilityValidationRequest = ValidationInputRequest & {
1700
1919
  country: string;
1701
1920
  /** Location for data transfer. For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01 */
1702
1921
  location: string;
1703
- };
1922
+ }
1704
1923
 
1705
1924
  /** Request to validate subscription permission to create jobs. */
1706
- export type SubscriptionIsAllowedToCreateJobValidationRequest = ValidationInputRequest & {
1925
+ export interface SubscriptionIsAllowedToCreateJobValidationRequest
1926
+ extends ValidationInputRequest {
1707
1927
  /** Polymorphic discriminator, which specifies the different types this object can be */
1708
1928
  validationType: "ValidateSubscriptionIsAllowedToCreateJob";
1709
- };
1929
+ }
1710
1930
 
1711
1931
  /** The address validation output. */
1712
- export type AddressValidationProperties = ValidationInputResponse & {
1932
+ export interface AddressValidationProperties extends ValidationInputResponse {
1713
1933
  /** Polymorphic discriminator, which specifies the different types this object can be */
1714
1934
  validationType: "ValidateAddress";
1715
1935
  /**
@@ -1722,10 +1942,11 @@ export type AddressValidationProperties = ValidationInputResponse & {
1722
1942
  * NOTE: This property will not be serialized. It can only be populated by the server.
1723
1943
  */
1724
1944
  readonly alternateAddresses?: ShippingAddress[];
1725
- };
1945
+ }
1726
1946
 
1727
1947
  /** Properties of create order limit for subscription validation response. */
1728
- export type CreateOrderLimitForSubscriptionValidationResponseProperties = ValidationInputResponse & {
1948
+ export interface CreateOrderLimitForSubscriptionValidationResponseProperties
1949
+ extends ValidationInputResponse {
1729
1950
  /** Polymorphic discriminator, which specifies the different types this object can be */
1730
1951
  validationType: "ValidateCreateOrderLimit";
1731
1952
  /**
@@ -1733,10 +1954,11 @@ export type CreateOrderLimitForSubscriptionValidationResponseProperties = Valida
1733
1954
  * NOTE: This property will not be serialized. It can only be populated by the server.
1734
1955
  */
1735
1956
  readonly status?: ValidationStatus;
1736
- };
1957
+ }
1737
1958
 
1738
1959
  /** Properties of data transfer details validation response. */
1739
- export type DataTransferDetailsValidationResponseProperties = ValidationInputResponse & {
1960
+ export interface DataTransferDetailsValidationResponseProperties
1961
+ extends ValidationInputResponse {
1740
1962
  /** Polymorphic discriminator, which specifies the different types this object can be */
1741
1963
  validationType: "ValidateDataTransferDetails";
1742
1964
  /**
@@ -1744,10 +1966,11 @@ export type DataTransferDetailsValidationResponseProperties = ValidationInputRes
1744
1966
  * NOTE: This property will not be serialized. It can only be populated by the server.
1745
1967
  */
1746
1968
  readonly status?: ValidationStatus;
1747
- };
1969
+ }
1748
1970
 
1749
1971
  /** Properties of data center and transport preference validation response. */
1750
- export type PreferencesValidationResponseProperties = ValidationInputResponse & {
1972
+ export interface PreferencesValidationResponseProperties
1973
+ extends ValidationInputResponse {
1751
1974
  /** Polymorphic discriminator, which specifies the different types this object can be */
1752
1975
  validationType: "ValidatePreferences";
1753
1976
  /**
@@ -1755,10 +1978,11 @@ export type PreferencesValidationResponseProperties = ValidationInputResponse &
1755
1978
  * NOTE: This property will not be serialized. It can only be populated by the server.
1756
1979
  */
1757
1980
  readonly status?: ValidationStatus;
1758
- };
1981
+ }
1759
1982
 
1760
1983
  /** Properties of sku availability validation response. */
1761
- export type SkuAvailabilityValidationResponseProperties = ValidationInputResponse & {
1984
+ export interface SkuAvailabilityValidationResponseProperties
1985
+ extends ValidationInputResponse {
1762
1986
  /** Polymorphic discriminator, which specifies the different types this object can be */
1763
1987
  validationType: "ValidateSkuAvailability";
1764
1988
  /**
@@ -1766,10 +1990,11 @@ export type SkuAvailabilityValidationResponseProperties = ValidationInputRespons
1766
1990
  * NOTE: This property will not be serialized. It can only be populated by the server.
1767
1991
  */
1768
1992
  readonly status?: ValidationStatus;
1769
- };
1993
+ }
1770
1994
 
1771
1995
  /** Properties of subscription permission to create job validation response. */
1772
- export type SubscriptionIsAllowedToCreateJobValidationResponseProperties = ValidationInputResponse & {
1996
+ export interface SubscriptionIsAllowedToCreateJobValidationResponseProperties
1997
+ extends ValidationInputResponse {
1773
1998
  /** Polymorphic discriminator, which specifies the different types this object can be */
1774
1999
  validationType: "ValidateSubscriptionIsAllowedToCreateJob";
1775
2000
  /**
@@ -1777,16 +2002,16 @@ export type SubscriptionIsAllowedToCreateJobValidationResponseProperties = Valid
1777
2002
  * NOTE: This property will not be serialized. It can only be populated by the server.
1778
2003
  */
1779
2004
  readonly status?: ValidationStatus;
1780
- };
2005
+ }
1781
2006
 
1782
2007
  /** It does all pre-job creation validations. */
1783
- export type CreateJobValidations = ValidationRequest & {
2008
+ export interface CreateJobValidations extends ValidationRequest {
1784
2009
  /** Polymorphic discriminator, which specifies the different types this object can be */
1785
2010
  validationCategory: "JobCreationValidation";
1786
- };
2011
+ }
1787
2012
 
1788
2013
  /** The secrets related to customer disk job. */
1789
- export type CustomerDiskJobSecrets = JobSecrets & {
2014
+ export interface CustomerDiskJobSecrets extends JobSecrets {
1790
2015
  /** Polymorphic discriminator, which specifies the different types this object can be */
1791
2016
  jobSecretsType: "DataBoxCustomerDisk";
1792
2017
  /**
@@ -1799,10 +2024,10 @@ export type CustomerDiskJobSecrets = JobSecrets & {
1799
2024
  * NOTE: This property will not be serialized. It can only be populated by the server.
1800
2025
  */
1801
2026
  readonly carrierAccountNumber?: string;
1802
- };
2027
+ }
1803
2028
 
1804
2029
  /** The secrets related to disk job. */
1805
- export type DataBoxDiskJobSecrets = JobSecrets & {
2030
+ export interface DataBoxDiskJobSecrets extends JobSecrets {
1806
2031
  /** Polymorphic discriminator, which specifies the different types this object can be */
1807
2032
  jobSecretsType: "DataBoxDisk";
1808
2033
  /**
@@ -1820,10 +2045,10 @@ export type DataBoxDiskJobSecrets = JobSecrets & {
1820
2045
  * NOTE: This property will not be serialized. It can only be populated by the server.
1821
2046
  */
1822
2047
  readonly isPasskeyUserDefined?: boolean;
1823
- };
2048
+ }
1824
2049
 
1825
2050
  /** The secrets related to a databox heavy job. */
1826
- export type DataBoxHeavyJobSecrets = JobSecrets & {
2051
+ export interface DataBoxHeavyJobSecrets extends JobSecrets {
1827
2052
  /** Polymorphic discriminator, which specifies the different types this object can be */
1828
2053
  jobSecretsType: "DataBoxHeavy";
1829
2054
  /**
@@ -1831,38 +2056,82 @@ export type DataBoxHeavyJobSecrets = JobSecrets & {
1831
2056
  * NOTE: This property will not be serialized. It can only be populated by the server.
1832
2057
  */
1833
2058
  readonly cabinetPodSecrets?: DataBoxHeavySecret[];
1834
- };
2059
+ }
1835
2060
 
1836
2061
  /** The secrets related to a databox job. */
1837
- export type DataboxJobSecrets = JobSecrets & {
2062
+ export interface DataboxJobSecrets extends JobSecrets {
1838
2063
  /** Polymorphic discriminator, which specifies the different types this object can be */
1839
2064
  jobSecretsType: "DataBox";
1840
2065
  /** Contains the list of secret objects for a job. */
1841
2066
  podSecrets?: DataBoxSecret[];
1842
- };
2067
+ }
1843
2068
 
1844
2069
  /** Request body to get the availability for scheduling data box orders orders. */
1845
- export type DataBoxScheduleAvailabilityRequest = ScheduleAvailabilityRequest & {
2070
+ export interface DataBoxScheduleAvailabilityRequest
2071
+ extends ScheduleAvailabilityRequest {
1846
2072
  /** Polymorphic discriminator, which specifies the different types this object can be */
1847
2073
  skuName: "DataBox";
1848
- };
2074
+ }
1849
2075
 
1850
2076
  /** Request body to get the availability for scheduling disk orders. */
1851
- export type DiskScheduleAvailabilityRequest = ScheduleAvailabilityRequest & {
2077
+ export interface DiskScheduleAvailabilityRequest
2078
+ extends ScheduleAvailabilityRequest {
1852
2079
  /** Polymorphic discriminator, which specifies the different types this object can be */
1853
2080
  skuName: "DataBoxDisk";
1854
2081
  /** The expected size of the data, which needs to be transferred in this job, in terabytes. */
1855
2082
  expectedDataSizeInTeraBytes: number;
1856
- };
2083
+ }
1857
2084
 
1858
2085
  /** Request body to get the availability for scheduling heavy orders. */
1859
- export type HeavyScheduleAvailabilityRequest = ScheduleAvailabilityRequest & {
2086
+ export interface HeavyScheduleAvailabilityRequest
2087
+ extends ScheduleAvailabilityRequest {
1860
2088
  /** Polymorphic discriminator, which specifies the different types this object can be */
1861
2089
  skuName: "DataBoxHeavy";
1862
- };
2090
+ }
2091
+
2092
+ /** Granular Copy Log Details for customer disk */
2093
+ export interface DataBoxDiskGranularCopyLogDetails
2094
+ extends GranularCopyLogDetails {
2095
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2096
+ copyLogDetailsType: "DataBoxCustomerDisk";
2097
+ /**
2098
+ * Disk Serial Number.
2099
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2100
+ */
2101
+ readonly serialNumber?: string;
2102
+ /**
2103
+ * Account id.
2104
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2105
+ */
2106
+ readonly accountId?: string;
2107
+ /**
2108
+ * Link for copy error logs.
2109
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2110
+ */
2111
+ readonly errorLogLink?: string;
2112
+ /**
2113
+ * Link for copy verbose logs.
2114
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2115
+ */
2116
+ readonly verboseLogLink?: string;
2117
+ }
1863
2118
 
1864
2119
  /** DataBox CustomerDisk Copy Progress */
1865
- export type DataBoxCustomerDiskCopyProgress = CopyProgress & {
2120
+ export interface DataBoxCustomerDiskCopyProgress extends CopyProgress {
2121
+ /**
2122
+ * Disk Serial Number.
2123
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2124
+ */
2125
+ readonly serialNumber?: string;
2126
+ /**
2127
+ * The Status of the copy
2128
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2129
+ */
2130
+ readonly copyStatus?: CopyStatus;
2131
+ }
2132
+
2133
+ /** DataBox Disk Granular Copy Progress */
2134
+ export interface DataBoxDiskGranularCopyProgress extends GranularCopyProgress {
1866
2135
  /**
1867
2136
  * Disk Serial Number.
1868
2137
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1873,7 +2142,19 @@ export type DataBoxCustomerDiskCopyProgress = CopyProgress & {
1873
2142
  * NOTE: This property will not be serialized. It can only be populated by the server.
1874
2143
  */
1875
2144
  readonly copyStatus?: CopyStatus;
1876
- };
2145
+ }
2146
+
2147
+ /** Defines headers for Jobs_delete operation. */
2148
+ export interface JobsDeleteHeaders {
2149
+ /** The URI to poll for completion status. */
2150
+ location?: string;
2151
+ }
2152
+
2153
+ /** Defines headers for Jobs_update operation. */
2154
+ export interface JobsUpdateHeaders {
2155
+ /** The URI to poll for completion status. */
2156
+ location?: string;
2157
+ }
1877
2158
 
1878
2159
  /** Known values of {@link StageName} that the service accepts. */
1879
2160
  export enum KnownStageName {
@@ -1988,56 +2269,124 @@ export type NotificationStageName = string;
1988
2269
 
1989
2270
  /** Known values of {@link DataCenterCode} that the service accepts. */
1990
2271
  export enum KnownDataCenterCode {
2272
+ /** Invalid */
1991
2273
  Invalid = "Invalid",
2274
+ /** BY2 */
1992
2275
  BY2 = "BY2",
2276
+ /** BY1 */
1993
2277
  BY1 = "BY1",
2278
+ /** ORK70 */
1994
2279
  ORK70 = "ORK70",
2280
+ /** AM2 */
1995
2281
  AM2 = "AM2",
2282
+ /** AMS20 */
1996
2283
  AMS20 = "AMS20",
2284
+ /** BY21 */
1997
2285
  BY21 = "BY21",
2286
+ /** BY24 */
1998
2287
  BY24 = "BY24",
2288
+ /** MWH01 */
1999
2289
  MWH01 = "MWH01",
2290
+ /** AMS06 */
2000
2291
  AMS06 = "AMS06",
2292
+ /** SSE90 */
2001
2293
  SSE90 = "SSE90",
2294
+ /** SYD03 */
2002
2295
  SYD03 = "SYD03",
2296
+ /** SYD23 */
2003
2297
  SYD23 = "SYD23",
2298
+ /** CBR20 */
2004
2299
  CBR20 = "CBR20",
2300
+ /** YTO20 */
2005
2301
  YTO20 = "YTO20",
2302
+ /** CWL20 */
2006
2303
  CWL20 = "CWL20",
2304
+ /** LON24 */
2007
2305
  LON24 = "LON24",
2306
+ /** BOM01 */
2008
2307
  BOM01 = "BOM01",
2308
+ /** BL20 */
2009
2309
  BL20 = "BL20",
2310
+ /** BL7 */
2010
2311
  BL7 = "BL7",
2312
+ /** SEL20 */
2011
2313
  SEL20 = "SEL20",
2314
+ /** TYO01 */
2012
2315
  TYO01 = "TYO01",
2316
+ /** BN1 */
2013
2317
  BN1 = "BN1",
2318
+ /** SN5 */
2014
2319
  SN5 = "SN5",
2320
+ /** CYS04 */
2015
2321
  CYS04 = "CYS04",
2322
+ /** TYO22 */
2016
2323
  TYO22 = "TYO22",
2324
+ /** YTO21 */
2017
2325
  YTO21 = "YTO21",
2326
+ /** YQB20 */
2018
2327
  YQB20 = "YQB20",
2328
+ /** FRA22 */
2019
2329
  FRA22 = "FRA22",
2330
+ /** MAA01 */
2020
2331
  MAA01 = "MAA01",
2332
+ /** CPQ02 */
2021
2333
  CPQ02 = "CPQ02",
2334
+ /** CPQ20 */
2022
2335
  CPQ20 = "CPQ20",
2336
+ /** SIN20 */
2023
2337
  SIN20 = "SIN20",
2338
+ /** HKG20 */
2024
2339
  HKG20 = "HKG20",
2340
+ /** SG2 */
2025
2341
  SG2 = "SG2",
2342
+ /** MEL23 */
2026
2343
  MEL23 = "MEL23",
2344
+ /** SEL21 */
2027
2345
  SEL21 = "SEL21",
2346
+ /** OSA20 */
2028
2347
  OSA20 = "OSA20",
2348
+ /** SHA03 */
2029
2349
  SHA03 = "SHA03",
2350
+ /** BJB */
2030
2351
  BJB = "BJB",
2352
+ /** JNB22 */
2031
2353
  JNB22 = "JNB22",
2354
+ /** JNB21 */
2032
2355
  JNB21 = "JNB21",
2356
+ /** MNZ21 */
2033
2357
  MNZ21 = "MNZ21",
2358
+ /** SN8 */
2034
2359
  SN8 = "SN8",
2360
+ /** AUH20 */
2035
2361
  AUH20 = "AUH20",
2362
+ /** ZRH20 */
2036
2363
  ZRH20 = "ZRH20",
2364
+ /** PUS20 */
2037
2365
  PUS20 = "PUS20",
2366
+ /** AdHoc */
2038
2367
  AdHoc = "AdHoc",
2368
+ /** CH1 */
2039
2369
  CH1 = "CH1",
2040
- DSM05 = "DSM05"
2370
+ /** DSM05 */
2371
+ DSM05 = "DSM05",
2372
+ /** DUB07 */
2373
+ DUB07 = "DUB07",
2374
+ /** PNQ01 */
2375
+ PNQ01 = "PNQ01",
2376
+ /** SVG20 */
2377
+ SVG20 = "SVG20",
2378
+ /** OSA02 */
2379
+ OSA02 = "OSA02",
2380
+ /** OSA22 */
2381
+ OSA22 = "OSA22",
2382
+ /** PAR22 */
2383
+ PAR22 = "PAR22",
2384
+ /** BN7 */
2385
+ BN7 = "BN7",
2386
+ /** SN6 */
2387
+ SN6 = "SN6",
2388
+ /** BJS20 */
2389
+ BJS20 = "BJS20"
2041
2390
  }
2042
2391
 
2043
2392
  /**
@@ -2094,7 +2443,16 @@ export enum KnownDataCenterCode {
2094
2443
  * **PUS20** \
2095
2444
  * **AdHoc** \
2096
2445
  * **CH1** \
2097
- * **DSM05**
2446
+ * **DSM05** \
2447
+ * **DUB07** \
2448
+ * **PNQ01** \
2449
+ * **SVG20** \
2450
+ * **OSA02** \
2451
+ * **OSA22** \
2452
+ * **PAR22** \
2453
+ * **BN7** \
2454
+ * **SN6** \
2455
+ * **BJS20**
2098
2456
  */
2099
2457
  export type DataCenterCode = string;
2100
2458
 
@@ -2134,7 +2492,7 @@ export enum KnownCopyStatus {
2134
2492
  DriveNotDetected = "DriveNotDetected",
2135
2493
  /** Copy failed due to corrupted drive. */
2136
2494
  DriveCorrupted = "DriveCorrupted",
2137
- /** Copy failed due to modified or removed metadata files. */
2495
+ /** Copy failed due to modified or removed metadata files. */
2138
2496
  MetadataFilesModifiedOrRemoved = "MetadataFilesModifiedOrRemoved"
2139
2497
  }
2140
2498
 
@@ -2160,11 +2518,21 @@ export enum KnownCopyStatus {
2160
2518
  * **OtherUserError**: Copy failed due to user error. \
2161
2519
  * **DriveNotDetected**: Copy failed due to disk detection error. \
2162
2520
  * **DriveCorrupted**: Copy failed due to corrupted drive. \
2163
- * **MetadataFilesModifiedOrRemoved**: Copy failed due to modified or removed metadata files.
2521
+ * **MetadataFilesModifiedOrRemoved**: Copy failed due to modified or removed metadata files.
2164
2522
  */
2165
2523
  export type CopyStatus = string;
2166
2524
  /** Defines values for TransferType. */
2167
2525
  export type TransferType = "ImportToAzure" | "ExportFromAzure";
2526
+ /** Defines values for ReverseShippingDetailsEditStatus. */
2527
+ export type ReverseShippingDetailsEditStatus =
2528
+ | "Enabled"
2529
+ | "Disabled"
2530
+ | "NotSupported";
2531
+ /** Defines values for ReverseTransportPreferenceEditStatus. */
2532
+ export type ReverseTransportPreferenceEditStatus =
2533
+ | "Enabled"
2534
+ | "Disabled"
2535
+ | "NotSupported";
2168
2536
  /** Defines values for StageStatus. */
2169
2537
  export type StageStatus =
2170
2538
  | "None"
@@ -2178,7 +2546,8 @@ export type StageStatus =
2178
2546
  | "SucceededWithWarnings"
2179
2547
  | "WaitingForCustomerActionForKek"
2180
2548
  | "WaitingForCustomerActionForCleanUp"
2181
- | "CustomerActionPerformedForCleanUp";
2549
+ | "CustomerActionPerformedForCleanUp"
2550
+ | "CustomerActionPerformed";
2182
2551
  /** Defines values for AddressType. */
2183
2552
  export type AddressType = "None" | "Residential" | "Commercial";
2184
2553
  /** Defines values for DataAccountType. */
@@ -2199,10 +2568,17 @@ export type ClassDiscriminator =
2199
2568
  export type TransportShipmentTypes = "CustomerManaged" | "MicrosoftManaged";
2200
2569
  /** Defines values for DoubleEncryption. */
2201
2570
  export type DoubleEncryption = "Enabled" | "Disabled";
2571
+ /** Defines values for HardwareEncryption. */
2572
+ export type HardwareEncryption = "Enabled" | "Disabled";
2202
2573
  /** Defines values for KekType. */
2203
2574
  export type KekType = "MicrosoftManaged" | "CustomerManaged";
2204
2575
  /** Defines values for CustomerResolutionCode. */
2205
- export type CustomerResolutionCode = "None" | "MoveToCleanUpDevice" | "Resume";
2576
+ export type CustomerResolutionCode =
2577
+ | "None"
2578
+ | "MoveToCleanUpDevice"
2579
+ | "Resume"
2580
+ | "Restart"
2581
+ | "ReachOutToOperation";
2206
2582
  /** Defines values for DatacenterAddressType. */
2207
2583
  export type DatacenterAddressType =
2208
2584
  | "DatacenterAddressLocation"
@@ -2348,20 +2724,14 @@ export type JobsListCredentialsResponse = UnencryptedCredentialsList;
2348
2724
 
2349
2725
  /** Optional parameters. */
2350
2726
  export interface JobsListNextOptionalParams
2351
- extends coreClient.OperationOptions {
2352
- /** $skipToken is supported on Get list of jobs, which provides the next page in the list of jobs. */
2353
- skipToken?: string;
2354
- }
2727
+ extends coreClient.OperationOptions {}
2355
2728
 
2356
2729
  /** Contains response data for the listNext operation. */
2357
2730
  export type JobsListNextResponse = JobResourceList;
2358
2731
 
2359
2732
  /** Optional parameters. */
2360
2733
  export interface JobsListByResourceGroupNextOptionalParams
2361
- extends coreClient.OperationOptions {
2362
- /** $skipToken is supported on Get list of jobs, which provides the next page in the list of jobs. */
2363
- skipToken?: string;
2364
- }
2734
+ extends coreClient.OperationOptions {}
2365
2735
 
2366
2736
  /** Contains response data for the listByResourceGroupNext operation. */
2367
2737
  export type JobsListByResourceGroupNextResponse = JobResourceList;