@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.
Files changed (93) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/LICENSE +1 -1
  3. package/README.md +1 -1
  4. package/dist/index.js +791 -161
  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.js +2 -2
  45. package/dist-esm/src/dataBoxManagementClient.js.map +1 -1
  46. package/dist-esm/src/lroImpl.d.ts +6 -11
  47. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  48. package/dist-esm/src/lroImpl.js +12 -20
  49. package/dist-esm/src/lroImpl.js.map +1 -1
  50. package/dist-esm/src/models/index.d.ts +361 -77
  51. package/dist-esm/src/models/index.d.ts.map +1 -1
  52. package/dist-esm/src/models/index.js +19 -1
  53. package/dist-esm/src/models/index.js.map +1 -1
  54. package/dist-esm/src/models/mappers.d.ts +11 -0
  55. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  56. package/dist-esm/src/models/mappers.js +614 -46
  57. package/dist-esm/src/models/mappers.js.map +1 -1
  58. package/dist-esm/src/models/parameters.js +1 -1
  59. package/dist-esm/src/models/parameters.js.map +1 -1
  60. package/dist-esm/src/operations/jobs.d.ts +4 -4
  61. package/dist-esm/src/operations/jobs.d.ts.map +1 -1
  62. package/dist-esm/src/operations/jobs.js +62 -31
  63. package/dist-esm/src/operations/jobs.js.map +1 -1
  64. package/dist-esm/src/operations/operations.js +12 -6
  65. package/dist-esm/src/operations/operations.js.map +1 -1
  66. package/dist-esm/src/operations/service.js +12 -6
  67. package/dist-esm/src/operations/service.js.map +1 -1
  68. package/dist-esm/src/operationsInterfaces/jobs.d.ts +4 -4
  69. package/dist-esm/src/operationsInterfaces/jobs.d.ts.map +1 -1
  70. package/dist-esm/src/pagingHelper.d.ts +4 -4
  71. package/dist-esm/src/pagingHelper.js +4 -4
  72. package/dist-esm/test/databox_operations_test.spec.d.ts +4 -0
  73. package/dist-esm/test/databox_operations_test.spec.d.ts.map +1 -0
  74. package/dist-esm/test/databox_operations_test.spec.js +78 -0
  75. package/dist-esm/test/databox_operations_test.spec.js.map +1 -0
  76. package/package.json +11 -10
  77. package/review/arm-databox.api.md +123 -10
  78. package/src/dataBoxManagementClient.ts +2 -2
  79. package/src/lroImpl.ts +31 -23
  80. package/src/models/index.ts +336 -30
  81. package/src/models/mappers.ts +634 -42
  82. package/src/models/parameters.ts +1 -1
  83. package/src/operations/jobs.ts +39 -31
  84. package/src/operations/operations.ts +0 -1
  85. package/src/operations/service.ts +0 -1
  86. package/src/operationsInterfaces/jobs.ts +4 -4
  87. package/src/pagingHelper.ts +4 -4
  88. package/types/arm-databox.d.ts +332 -35
  89. package/types/tsdoc-metadata.json +1 -1
  90. package/dist-esm/test/sampleTest.d.ts +0 -2
  91. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  92. package/dist-esm/test/sampleTest.js +0 -38
  93. 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. */
@@ -1348,6 +1542,16 @@ export interface DataBoxDiskJobDetails extends 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.
@@ -1608,6 +1812,16 @@ export interface JobResource extends Resource {
1608
1812
  * NOTE: This property will not be serialized. It can only be populated by the server.
1609
1813
  */
1610
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;
1611
1825
  /**
1612
1826
  * Is Prepare To Ship Enabled on this job
1613
1827
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1875,6 +2089,33 @@ export interface HeavyScheduleAvailabilityRequest
1875
2089
  skuName: "DataBoxHeavy";
1876
2090
  }
1877
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
+ }
2118
+
1878
2119
  /** DataBox CustomerDisk Copy Progress */
1879
2120
  export interface DataBoxCustomerDiskCopyProgress extends CopyProgress {
1880
2121
  /**
@@ -1889,6 +2130,32 @@ export interface DataBoxCustomerDiskCopyProgress extends CopyProgress {
1889
2130
  readonly copyStatus?: CopyStatus;
1890
2131
  }
1891
2132
 
2133
+ /** DataBox Disk Granular Copy Progress */
2134
+ export interface DataBoxDiskGranularCopyProgress extends GranularCopyProgress {
2135
+ /**
2136
+ * Disk Serial Number.
2137
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2138
+ */
2139
+ readonly serialNumber?: string;
2140
+ /**
2141
+ * The Status of the copy
2142
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2143
+ */
2144
+ readonly copyStatus?: CopyStatus;
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
+ }
2158
+
1892
2159
  /** Known values of {@link StageName} that the service accepts. */
1893
2160
  export enum KnownStageName {
1894
2161
  /** An order has been created. */
@@ -2101,7 +2368,25 @@ export enum KnownDataCenterCode {
2101
2368
  /** CH1 */
2102
2369
  CH1 = "CH1",
2103
2370
  /** DSM05 */
2104
- DSM05 = "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"
2105
2390
  }
2106
2391
 
2107
2392
  /**
@@ -2158,7 +2443,16 @@ export enum KnownDataCenterCode {
2158
2443
  * **PUS20** \
2159
2444
  * **AdHoc** \
2160
2445
  * **CH1** \
2161
- * **DSM05**
2446
+ * **DSM05** \
2447
+ * **DUB07** \
2448
+ * **PNQ01** \
2449
+ * **SVG20** \
2450
+ * **OSA02** \
2451
+ * **OSA22** \
2452
+ * **PAR22** \
2453
+ * **BN7** \
2454
+ * **SN6** \
2455
+ * **BJS20**
2162
2456
  */
2163
2457
  export type DataCenterCode = string;
2164
2458
 
@@ -2198,7 +2492,7 @@ export enum KnownCopyStatus {
2198
2492
  DriveNotDetected = "DriveNotDetected",
2199
2493
  /** Copy failed due to corrupted drive. */
2200
2494
  DriveCorrupted = "DriveCorrupted",
2201
- /** Copy failed due to modified or removed metadata files. */
2495
+ /** Copy failed due to modified or removed metadata files. */
2202
2496
  MetadataFilesModifiedOrRemoved = "MetadataFilesModifiedOrRemoved"
2203
2497
  }
2204
2498
 
@@ -2224,11 +2518,21 @@ export enum KnownCopyStatus {
2224
2518
  * **OtherUserError**: Copy failed due to user error. \
2225
2519
  * **DriveNotDetected**: Copy failed due to disk detection error. \
2226
2520
  * **DriveCorrupted**: Copy failed due to corrupted drive. \
2227
- * **MetadataFilesModifiedOrRemoved**: Copy failed due to modified or removed metadata files.
2521
+ * **MetadataFilesModifiedOrRemoved**: Copy failed due to modified or removed metadata files.
2228
2522
  */
2229
2523
  export type CopyStatus = string;
2230
2524
  /** Defines values for TransferType. */
2231
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";
2232
2536
  /** Defines values for StageStatus. */
2233
2537
  export type StageStatus =
2234
2538
  | "None"
@@ -2242,7 +2546,8 @@ export type StageStatus =
2242
2546
  | "SucceededWithWarnings"
2243
2547
  | "WaitingForCustomerActionForKek"
2244
2548
  | "WaitingForCustomerActionForCleanUp"
2245
- | "CustomerActionPerformedForCleanUp";
2549
+ | "CustomerActionPerformedForCleanUp"
2550
+ | "CustomerActionPerformed";
2246
2551
  /** Defines values for AddressType. */
2247
2552
  export type AddressType = "None" | "Residential" | "Commercial";
2248
2553
  /** Defines values for DataAccountType. */
@@ -2263,10 +2568,17 @@ export type ClassDiscriminator =
2263
2568
  export type TransportShipmentTypes = "CustomerManaged" | "MicrosoftManaged";
2264
2569
  /** Defines values for DoubleEncryption. */
2265
2570
  export type DoubleEncryption = "Enabled" | "Disabled";
2571
+ /** Defines values for HardwareEncryption. */
2572
+ export type HardwareEncryption = "Enabled" | "Disabled";
2266
2573
  /** Defines values for KekType. */
2267
2574
  export type KekType = "MicrosoftManaged" | "CustomerManaged";
2268
2575
  /** Defines values for CustomerResolutionCode. */
2269
- export type CustomerResolutionCode = "None" | "MoveToCleanUpDevice" | "Resume";
2576
+ export type CustomerResolutionCode =
2577
+ | "None"
2578
+ | "MoveToCleanUpDevice"
2579
+ | "Resume"
2580
+ | "Restart"
2581
+ | "ReachOutToOperation";
2270
2582
  /** Defines values for DatacenterAddressType. */
2271
2583
  export type DatacenterAddressType =
2272
2584
  | "DatacenterAddressLocation"
@@ -2412,20 +2724,14 @@ export type JobsListCredentialsResponse = UnencryptedCredentialsList;
2412
2724
 
2413
2725
  /** Optional parameters. */
2414
2726
  export interface JobsListNextOptionalParams
2415
- extends coreClient.OperationOptions {
2416
- /** $skipToken is supported on Get list of jobs, which provides the next page in the list of jobs. */
2417
- skipToken?: string;
2418
- }
2727
+ extends coreClient.OperationOptions {}
2419
2728
 
2420
2729
  /** Contains response data for the listNext operation. */
2421
2730
  export type JobsListNextResponse = JobResourceList;
2422
2731
 
2423
2732
  /** Optional parameters. */
2424
2733
  export interface JobsListByResourceGroupNextOptionalParams
2425
- extends coreClient.OperationOptions {
2426
- /** $skipToken is supported on Get list of jobs, which provides the next page in the list of jobs. */
2427
- skipToken?: string;
2428
- }
2734
+ extends coreClient.OperationOptions {}
2429
2735
 
2430
2736
  /** Contains response data for the listByResourceGroupNext operation. */
2431
2737
  export type JobsListByResourceGroupNextResponse = JobResourceList;