@azure/arm-databox 3.0.0 → 5.0.0-beta.1

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 (142) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +72 -73
  4. package/dist/index.js +5592 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/dataBoxManagementClient.d.ts +29 -0
  9. package/dist-esm/src/dataBoxManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/dataBoxManagementClient.js +89 -0
  11. package/dist-esm/src/dataBoxManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +2157 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +168 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +163 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/dist-esm/src/models/mappers.js +3911 -0
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +24 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +176 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  33. package/dist-esm/src/operations/index.d.ts.map +1 -0
  34. package/dist-esm/src/operations/index.js +11 -0
  35. package/dist-esm/src/operations/index.js.map +1 -0
  36. package/dist-esm/src/operations/jobs.d.ts +161 -0
  37. package/dist-esm/src/operations/jobs.d.ts.map +1 -0
  38. package/dist-esm/src/operations/jobs.js +687 -0
  39. package/dist-esm/src/operations/jobs.js.map +1 -0
  40. package/dist-esm/src/operations/operations.d.ts +32 -0
  41. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/operations.js +120 -0
  43. package/dist-esm/src/operations/operations.js.map +1 -0
  44. package/dist-esm/src/operations/service.d.ts +83 -0
  45. package/dist-esm/src/operations/service.d.ts.map +1 -0
  46. package/dist-esm/src/operations/service.js +307 -0
  47. package/dist-esm/src/operations/service.js.map +1 -0
  48. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  49. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  50. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  51. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/jobs.d.ts +115 -0
  53. package/dist-esm/src/operationsInterfaces/jobs.d.ts.map +1 -0
  54. package/dist-esm/src/operationsInterfaces/jobs.js +9 -0
  55. package/dist-esm/src/operationsInterfaces/jobs.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  57. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/service.d.ts +54 -0
  61. package/dist-esm/src/operationsInterfaces/service.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/service.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/service.js.map +1 -0
  64. package/dist-esm/test/sampleTest.d.ts +2 -0
  65. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  66. package/dist-esm/test/sampleTest.js +40 -0
  67. package/dist-esm/test/sampleTest.js.map +1 -0
  68. package/package.json +65 -31
  69. package/review/arm-databox.api.md +1376 -0
  70. package/rollup.config.js +181 -30
  71. package/src/dataBoxManagementClient.ts +113 -29
  72. package/src/index.ts +12 -0
  73. package/src/lroImpl.ts +34 -0
  74. package/src/models/index.ts +1924 -1354
  75. package/src/models/mappers.ts +3160 -1086
  76. package/src/models/parameters.ts +144 -54
  77. package/src/operations/index.ts +3 -5
  78. package/src/operations/jobs.ts +702 -480
  79. package/src/operations/operations.ts +89 -75
  80. package/src/operations/service.ts +342 -127
  81. package/src/operationsInterfaces/index.ts +11 -0
  82. package/src/operationsInterfaces/jobs.ts +205 -0
  83. package/src/operationsInterfaces/operations.ts +22 -0
  84. package/src/operationsInterfaces/service.ts +107 -0
  85. package/tsconfig.json +3 -3
  86. package/types/arm-databox.d.ts +2558 -0
  87. package/types/tsdoc-metadata.json +11 -0
  88. package/dist/arm-databox.js +0 -3090
  89. package/dist/arm-databox.js.map +0 -1
  90. package/dist/arm-databox.min.js +0 -1
  91. package/dist/arm-databox.min.js.map +0 -1
  92. package/esm/dataBoxManagementClient.d.ts +0 -20
  93. package/esm/dataBoxManagementClient.d.ts.map +0 -1
  94. package/esm/dataBoxManagementClient.js +0 -35
  95. package/esm/dataBoxManagementClient.js.map +0 -1
  96. package/esm/dataBoxManagementClientContext.d.ts +0 -16
  97. package/esm/dataBoxManagementClientContext.d.ts.map +0 -1
  98. package/esm/dataBoxManagementClientContext.js +0 -57
  99. package/esm/dataBoxManagementClientContext.js.map +0 -1
  100. package/esm/models/index.d.ts +0 -1754
  101. package/esm/models/index.d.ts.map +0 -1
  102. package/esm/models/index.js +0 -8
  103. package/esm/models/index.js.map +0 -1
  104. package/esm/models/jobsMappers.d.ts +0 -2
  105. package/esm/models/jobsMappers.d.ts.map +0 -1
  106. package/esm/models/jobsMappers.js +0 -9
  107. package/esm/models/jobsMappers.js.map +0 -1
  108. package/esm/models/mappers.d.ts +0 -75
  109. package/esm/models/mappers.d.ts.map +0 -1
  110. package/esm/models/mappers.js +0 -2020
  111. package/esm/models/mappers.js.map +0 -1
  112. package/esm/models/operationsMappers.d.ts +0 -2
  113. package/esm/models/operationsMappers.d.ts.map +0 -1
  114. package/esm/models/operationsMappers.js +0 -9
  115. package/esm/models/operationsMappers.js.map +0 -1
  116. package/esm/models/parameters.d.ts +0 -12
  117. package/esm/models/parameters.d.ts.map +0 -1
  118. package/esm/models/parameters.js +0 -122
  119. package/esm/models/parameters.js.map +0 -1
  120. package/esm/models/serviceMappers.d.ts +0 -2
  121. package/esm/models/serviceMappers.d.ts.map +0 -1
  122. package/esm/models/serviceMappers.js +0 -9
  123. package/esm/models/serviceMappers.js.map +0 -1
  124. package/esm/operations/index.d.ts.map +0 -1
  125. package/esm/operations/index.js +0 -13
  126. package/esm/operations/index.js.map +0 -1
  127. package/esm/operations/jobs.d.ts +0 -245
  128. package/esm/operations/jobs.d.ts.map +0 -1
  129. package/esm/operations/jobs.js +0 -444
  130. package/esm/operations/jobs.js.map +0 -1
  131. package/esm/operations/operations.d.ts +0 -46
  132. package/esm/operations/operations.d.ts.map +0 -1
  133. package/esm/operations/operations.js +0 -77
  134. package/esm/operations/operations.js.map +0 -1
  135. package/esm/operations/service.d.ts +0 -79
  136. package/esm/operations/service.d.ts.map +0 -1
  137. package/esm/operations/service.js +0 -126
  138. package/esm/operations/service.js.map +0 -1
  139. package/src/dataBoxManagementClientContext.ts +0 -69
  140. package/src/models/jobsMappers.ts +0 -55
  141. package/src/models/operationsMappers.ts +0 -15
  142. package/src/models/serviceMappers.ts +0 -22
@@ -0,0 +1,1376 @@
1
+ ## API Report File for "@azure/arm-databox"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import * as coreAuth from '@azure/core-auth';
8
+ import * as coreClient from '@azure/core-client';
9
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
+ import { PollerLike } from '@azure/core-lro';
11
+ import { PollOperationState } from '@azure/core-lro';
12
+
13
+ // @public
14
+ export type AccessProtocol = "SMB" | "NFS";
15
+
16
+ // @public
17
+ export interface AccountCredentialDetails {
18
+ readonly accountConnectionString?: string;
19
+ readonly accountName?: string;
20
+ readonly dataAccountType?: DataAccountType;
21
+ readonly shareCredentialDetails?: ShareCredentialDetails[];
22
+ }
23
+
24
+ // @public
25
+ export interface AdditionalErrorInfo {
26
+ info?: Record<string, unknown>;
27
+ type?: string;
28
+ }
29
+
30
+ // @public
31
+ export type AddressType = "None" | "Residential" | "Commercial";
32
+
33
+ // @public
34
+ export interface AddressValidationOutput {
35
+ readonly alternateAddresses?: ShippingAddress[];
36
+ readonly error?: CloudError;
37
+ readonly validationStatus?: AddressValidationStatus;
38
+ validationType?: ValidationInputDiscriminator;
39
+ }
40
+
41
+ // @public
42
+ export type AddressValidationProperties = ValidationInputResponse & {
43
+ validationType: "ValidateAddress";
44
+ readonly validationStatus?: AddressValidationStatus;
45
+ readonly alternateAddresses?: ShippingAddress[];
46
+ };
47
+
48
+ // @public
49
+ export type AddressValidationStatus = "Valid" | "Invalid" | "Ambiguous";
50
+
51
+ // @public (undocumented)
52
+ export interface ApiError {
53
+ // (undocumented)
54
+ error: ErrorDetail;
55
+ }
56
+
57
+ // @public
58
+ export interface ApplianceNetworkConfiguration {
59
+ readonly macAddress?: string;
60
+ readonly name?: string;
61
+ }
62
+
63
+ // @public
64
+ export interface ArmBaseObject {
65
+ readonly id?: string;
66
+ readonly name?: string;
67
+ readonly type?: string;
68
+ }
69
+
70
+ // @public
71
+ export interface AvailableSkuRequest {
72
+ country: string;
73
+ location: string;
74
+ skuNames?: SkuName[];
75
+ transferType: TransferType;
76
+ }
77
+
78
+ // @public
79
+ export interface AvailableSkusResult {
80
+ nextLink?: string;
81
+ readonly value?: SkuInformation[];
82
+ }
83
+
84
+ // @public
85
+ export interface AzureFileFilterDetails {
86
+ filePathList?: string[];
87
+ filePrefixList?: string[];
88
+ fileShareList?: string[];
89
+ }
90
+
91
+ // @public
92
+ export interface BlobFilterDetails {
93
+ blobPathList?: string[];
94
+ blobPrefixList?: string[];
95
+ containerList?: string[];
96
+ }
97
+
98
+ // @public
99
+ export interface CancellationReason {
100
+ reason: string;
101
+ }
102
+
103
+ // @public
104
+ export type ClassDiscriminator = "DataBox" | "DataBoxDisk" | "DataBoxHeavy" | "DataBoxCustomerDisk";
105
+
106
+ // @public
107
+ export interface CloudError {
108
+ readonly additionalInfo?: AdditionalErrorInfo[];
109
+ code?: string;
110
+ readonly details?: CloudError[];
111
+ message?: string;
112
+ target?: string;
113
+ }
114
+
115
+ // @public
116
+ export interface ContactDetails {
117
+ contactName: string;
118
+ emailList: string[];
119
+ mobile?: string;
120
+ notificationPreference?: NotificationPreference[];
121
+ phone: string;
122
+ phoneExtension?: string;
123
+ }
124
+
125
+ // @public
126
+ export interface CopyLogDetails {
127
+ copyLogDetailsType: "DataBox" | "DataBoxCustomerDisk" | "DataBoxDisk" | "DataBoxHeavy";
128
+ }
129
+
130
+ // @public (undocumented)
131
+ export type CopyLogDetailsUnion = CopyLogDetails | DataBoxAccountCopyLogDetails | DataBoxCustomerDiskCopyLogDetails | DataBoxDiskCopyLogDetails | DataBoxHeavyAccountCopyLogDetails;
132
+
133
+ // @public
134
+ export interface CopyProgress {
135
+ readonly accountId?: string;
136
+ readonly bytesProcessed?: number;
137
+ readonly dataAccountType?: DataAccountType;
138
+ readonly directoriesErroredOut?: number;
139
+ readonly filesErroredOut?: number;
140
+ readonly filesProcessed?: number;
141
+ readonly invalidDirectoriesProcessed?: number;
142
+ readonly invalidFileBytesUploaded?: number;
143
+ readonly invalidFilesProcessed?: number;
144
+ readonly isEnumerationInProgress?: boolean;
145
+ readonly renamedContainerCount?: number;
146
+ readonly storageAccountName?: string;
147
+ readonly totalBytesToProcess?: number;
148
+ readonly totalFilesToProcess?: number;
149
+ readonly transferType?: TransferType;
150
+ }
151
+
152
+ // @public
153
+ export type CopyStatus = string;
154
+
155
+ // @public
156
+ export type CreateJobValidations = ValidationRequest & {
157
+ validationCategory: "JobCreationValidation";
158
+ };
159
+
160
+ // @public
161
+ export type CreateOrderLimitForSubscriptionValidationRequest = ValidationInputRequest & {
162
+ validationType: "ValidateCreateOrderLimit";
163
+ deviceType: SkuName;
164
+ };
165
+
166
+ // @public
167
+ export type CreateOrderLimitForSubscriptionValidationResponseProperties = ValidationInputResponse & {
168
+ validationType: "ValidateCreateOrderLimit";
169
+ readonly status?: ValidationStatus;
170
+ };
171
+
172
+ // @public
173
+ export type CustomerDiskJobSecrets = JobSecrets & {
174
+ jobSecretsType: "DataBoxCustomerDisk";
175
+ readonly diskSecrets?: DiskSecret[];
176
+ readonly carrierAccountNumber?: string;
177
+ };
178
+
179
+ // @public
180
+ export type CustomerResolutionCode = "None" | "MoveToCleanUpDevice" | "Resume";
181
+
182
+ // @public
183
+ export interface DataAccountDetails {
184
+ dataAccountType: "ManagedDisk" | "StorageAccount";
185
+ sharePassword?: string;
186
+ }
187
+
188
+ // @public (undocumented)
189
+ export type DataAccountDetailsUnion = DataAccountDetails | ManagedDiskDetails | StorageAccountDetails;
190
+
191
+ // @public
192
+ export type DataAccountType = "StorageAccount" | "ManagedDisk";
193
+
194
+ // @public
195
+ export type DataBoxAccountCopyLogDetails = CopyLogDetails & {
196
+ copyLogDetailsType: "DataBox";
197
+ readonly accountName?: string;
198
+ readonly copyLogLink?: string;
199
+ readonly copyVerboseLogLink?: string;
200
+ };
201
+
202
+ // @public
203
+ export type DataBoxCustomerDiskCopyLogDetails = CopyLogDetails & {
204
+ copyLogDetailsType: "DataBoxCustomerDisk";
205
+ readonly serialNumber?: string;
206
+ readonly errorLogLink?: string;
207
+ readonly verboseLogLink?: string;
208
+ };
209
+
210
+ // @public
211
+ export type DataBoxCustomerDiskCopyProgress = CopyProgress & {
212
+ readonly serialNumber?: string;
213
+ readonly copyStatus?: CopyStatus;
214
+ };
215
+
216
+ // @public
217
+ export type DataBoxCustomerDiskJobDetails = JobDetails & {
218
+ jobDetailsType: "DataBoxCustomerDisk";
219
+ importDiskDetailsCollection?: {
220
+ [propertyName: string]: ImportDiskDetails;
221
+ };
222
+ readonly exportDiskDetailsCollection?: {
223
+ [propertyName: string]: ExportDiskDetails;
224
+ };
225
+ readonly copyProgress?: DataBoxCustomerDiskCopyProgress[];
226
+ readonly deliverToDcPackageDetails?: PackageCarrierInfo;
227
+ returnToCustomerPackageDetails: PackageCarrierDetails;
228
+ enableManifestBackup?: boolean;
229
+ };
230
+
231
+ // @public
232
+ export type DataBoxDiskCopyLogDetails = CopyLogDetails & {
233
+ copyLogDetailsType: "DataBoxDisk";
234
+ readonly diskSerialNumber?: string;
235
+ readonly errorLogLink?: string;
236
+ readonly verboseLogLink?: string;
237
+ };
238
+
239
+ // @public
240
+ export interface DataBoxDiskCopyProgress {
241
+ readonly bytesCopied?: number;
242
+ readonly percentComplete?: number;
243
+ readonly serialNumber?: string;
244
+ readonly status?: CopyStatus;
245
+ }
246
+
247
+ // @public
248
+ export type DataBoxDiskJobDetails = JobDetails & {
249
+ jobDetailsType: "DataBoxDisk";
250
+ preferredDisks?: {
251
+ [propertyName: string]: number;
252
+ };
253
+ readonly copyProgress?: DataBoxDiskCopyProgress[];
254
+ readonly disksAndSizeDetails?: {
255
+ [propertyName: string]: number;
256
+ };
257
+ passkey?: string;
258
+ };
259
+
260
+ // @public
261
+ export type DataBoxDiskJobSecrets = JobSecrets & {
262
+ jobSecretsType: "DataBoxDisk";
263
+ readonly diskSecrets?: DiskSecret[];
264
+ readonly passKey?: string;
265
+ readonly isPasskeyUserDefined?: boolean;
266
+ };
267
+
268
+ // @public
269
+ export type DataBoxHeavyAccountCopyLogDetails = CopyLogDetails & {
270
+ copyLogDetailsType: "DataBoxHeavy";
271
+ readonly accountName?: string;
272
+ readonly copyLogLink?: string[];
273
+ readonly copyVerboseLogLink?: string[];
274
+ };
275
+
276
+ // @public
277
+ export type DataBoxHeavyJobDetails = JobDetails & {
278
+ jobDetailsType: "DataBoxHeavy";
279
+ readonly copyProgress?: CopyProgress[];
280
+ devicePassword?: string;
281
+ };
282
+
283
+ // @public
284
+ export type DataBoxHeavyJobSecrets = JobSecrets & {
285
+ jobSecretsType: "DataBoxHeavy";
286
+ readonly cabinetPodSecrets?: DataBoxHeavySecret[];
287
+ };
288
+
289
+ // @public
290
+ export interface DataBoxHeavySecret {
291
+ readonly accountCredentialDetails?: AccountCredentialDetails[];
292
+ readonly devicePassword?: string;
293
+ readonly deviceSerialNumber?: string;
294
+ readonly encodedValidationCertPubKey?: string;
295
+ readonly networkConfigurations?: ApplianceNetworkConfiguration[];
296
+ }
297
+
298
+ // @public
299
+ export type DataBoxJobDetails = JobDetails & {
300
+ jobDetailsType: "DataBox";
301
+ readonly copyProgress?: CopyProgress[];
302
+ devicePassword?: string;
303
+ };
304
+
305
+ // @public
306
+ export type DataboxJobSecrets = JobSecrets & {
307
+ jobSecretsType: "DataBox";
308
+ podSecrets?: DataBoxSecret[];
309
+ };
310
+
311
+ // @public (undocumented)
312
+ export class DataBoxManagementClient extends coreClient.ServiceClient {
313
+ // (undocumented)
314
+ $host: string;
315
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DataBoxManagementClientOptionalParams);
316
+ // (undocumented)
317
+ apiVersion: string;
318
+ // (undocumented)
319
+ jobs: Jobs;
320
+ mitigate(jobName: string, resourceGroupName: string, mitigateJobRequest: MitigateJobRequest, options?: MitigateOptionalParams): Promise<void>;
321
+ // (undocumented)
322
+ operations: Operations;
323
+ // (undocumented)
324
+ service: Service;
325
+ // (undocumented)
326
+ subscriptionId: string;
327
+ }
328
+
329
+ // @public
330
+ export interface DataBoxManagementClientOptionalParams extends coreClient.ServiceClientOptions {
331
+ $host?: string;
332
+ apiVersion?: string;
333
+ endpoint?: string;
334
+ }
335
+
336
+ // @public
337
+ export type DataBoxScheduleAvailabilityRequest = ScheduleAvailabilityRequest & {
338
+ skuName: "DataBox";
339
+ };
340
+
341
+ // @public
342
+ export interface DataBoxSecret {
343
+ readonly accountCredentialDetails?: AccountCredentialDetails[];
344
+ readonly devicePassword?: string;
345
+ readonly deviceSerialNumber?: string;
346
+ readonly encodedValidationCertPubKey?: string;
347
+ readonly networkConfigurations?: ApplianceNetworkConfiguration[];
348
+ }
349
+
350
+ // @public
351
+ export type DatacenterAddressInstructionResponse = DatacenterAddressResponse & {
352
+ datacenterAddressType: "DatacenterAddressInstruction";
353
+ readonly communicationInstruction?: string;
354
+ };
355
+
356
+ // @public
357
+ export type DatacenterAddressLocationResponse = DatacenterAddressResponse & {
358
+ datacenterAddressType: "DatacenterAddressLocation";
359
+ readonly contactPersonName?: string;
360
+ readonly company?: string;
361
+ readonly street1?: string;
362
+ readonly street2?: string;
363
+ readonly street3?: string;
364
+ readonly city?: string;
365
+ readonly state?: string;
366
+ readonly zip?: string;
367
+ readonly country?: string;
368
+ readonly phone?: string;
369
+ readonly phoneExtension?: string;
370
+ readonly addressType?: string;
371
+ readonly additionalShippingInformation?: string;
372
+ };
373
+
374
+ // @public
375
+ export interface DatacenterAddressRequest {
376
+ skuName: SkuName;
377
+ storageLocation: string;
378
+ }
379
+
380
+ // @public
381
+ export interface DatacenterAddressResponse {
382
+ datacenterAddressType: "DatacenterAddressInstruction" | "DatacenterAddressLocation";
383
+ readonly dataCenterAzureLocation?: string;
384
+ readonly supportedCarriersForReturnShipment?: string[];
385
+ }
386
+
387
+ // @public (undocumented)
388
+ export type DatacenterAddressResponseUnion = DatacenterAddressResponse | DatacenterAddressInstructionResponse | DatacenterAddressLocationResponse;
389
+
390
+ // @public
391
+ export type DatacenterAddressType = "DatacenterAddressLocation" | "DatacenterAddressInstruction";
392
+
393
+ // @public
394
+ export type DataCenterCode = string;
395
+
396
+ // @public
397
+ export interface DataExportDetails {
398
+ accountDetails: DataAccountDetailsUnion;
399
+ logCollectionLevel?: LogCollectionLevel;
400
+ transferConfiguration: TransferConfiguration;
401
+ }
402
+
403
+ // @public
404
+ export interface DataImportDetails {
405
+ accountDetails: DataAccountDetailsUnion;
406
+ logCollectionLevel?: LogCollectionLevel;
407
+ }
408
+
409
+ // @public
410
+ export interface DataLocationToServiceLocationMap {
411
+ readonly dataLocation?: string;
412
+ readonly serviceLocation?: string;
413
+ }
414
+
415
+ // @public
416
+ export type DataTransferDetailsValidationRequest = ValidationInputRequest & {
417
+ validationType: "ValidateDataTransferDetails";
418
+ dataExportDetails?: DataExportDetails[];
419
+ dataImportDetails?: DataImportDetails[];
420
+ deviceType: SkuName;
421
+ transferType: TransferType;
422
+ };
423
+
424
+ // @public
425
+ export type DataTransferDetailsValidationResponseProperties = ValidationInputResponse & {
426
+ validationType: "ValidateDataTransferDetails";
427
+ readonly status?: ValidationStatus;
428
+ };
429
+
430
+ // @public
431
+ export interface DcAccessSecurityCode {
432
+ forwardDCAccessCode?: string;
433
+ reverseDCAccessCode?: string;
434
+ }
435
+
436
+ // @public (undocumented)
437
+ export interface Details {
438
+ // (undocumented)
439
+ code: string;
440
+ // (undocumented)
441
+ message: string;
442
+ }
443
+
444
+ // @public
445
+ export type DiskScheduleAvailabilityRequest = ScheduleAvailabilityRequest & {
446
+ skuName: "DataBoxDisk";
447
+ expectedDataSizeInTeraBytes: number;
448
+ };
449
+
450
+ // @public
451
+ export interface DiskSecret {
452
+ readonly bitLockerKey?: string;
453
+ readonly diskSerialNumber?: string;
454
+ }
455
+
456
+ // @public
457
+ export type DoubleEncryption = "Enabled" | "Disabled";
458
+
459
+ // @public
460
+ export interface EncryptionPreferences {
461
+ doubleEncryption?: DoubleEncryption;
462
+ }
463
+
464
+ // @public (undocumented)
465
+ export interface ErrorDetail {
466
+ // (undocumented)
467
+ code: string;
468
+ // (undocumented)
469
+ details?: Details[];
470
+ // (undocumented)
471
+ message: string;
472
+ // (undocumented)
473
+ target?: string;
474
+ }
475
+
476
+ // @public
477
+ export interface ExportDiskDetails {
478
+ readonly backupManifestCloudPath?: string;
479
+ readonly manifestFile?: string;
480
+ readonly manifestHash?: string;
481
+ }
482
+
483
+ // @public
484
+ export interface FilterFileDetails {
485
+ filterFilePath: string;
486
+ filterFileType: FilterFileType;
487
+ }
488
+
489
+ // @public
490
+ export type FilterFileType = "AzureBlob" | "AzureFile";
491
+
492
+ // @public
493
+ export type HeavyScheduleAvailabilityRequest = ScheduleAvailabilityRequest & {
494
+ skuName: "DataBoxHeavy";
495
+ };
496
+
497
+ // @public
498
+ export interface IdentityProperties {
499
+ type?: string;
500
+ userAssigned?: UserAssignedProperties;
501
+ }
502
+
503
+ // @public
504
+ export interface ImportDiskDetails {
505
+ readonly backupManifestCloudPath?: string;
506
+ bitLockerKey: string;
507
+ manifestFile: string;
508
+ manifestHash: string;
509
+ }
510
+
511
+ // @public
512
+ export interface JobDeliveryInfo {
513
+ scheduledDateTime?: Date;
514
+ }
515
+
516
+ // @public
517
+ export type JobDeliveryType = "NonScheduled" | "Scheduled";
518
+
519
+ // @public
520
+ export interface JobDetails {
521
+ readonly actions?: CustomerResolutionCode[];
522
+ readonly chainOfCustodySasKey?: string;
523
+ contactDetails: ContactDetails;
524
+ readonly copyLogDetails?: CopyLogDetailsUnion[];
525
+ readonly datacenterAddress?: DatacenterAddressResponseUnion;
526
+ readonly dataCenterCode?: DataCenterCode;
527
+ dataExportDetails?: DataExportDetails[];
528
+ dataImportDetails?: DataImportDetails[];
529
+ readonly deliveryPackage?: PackageShippingDetails;
530
+ expectedDataSizeInTeraBytes?: number;
531
+ jobDetailsType: "DataBoxCustomerDisk" | "DataBoxDisk" | "DataBoxHeavy" | "DataBox";
532
+ readonly jobStages?: JobStages[];
533
+ keyEncryptionKey?: KeyEncryptionKey;
534
+ readonly lastMitigationActionOnJob?: LastMitigationActionOnJob;
535
+ preferences?: Preferences;
536
+ readonly returnPackage?: PackageShippingDetails;
537
+ readonly reverseShipmentLabelSasKey?: string;
538
+ shippingAddress?: ShippingAddress;
539
+ }
540
+
541
+ // @public (undocumented)
542
+ export type JobDetailsUnion = JobDetails | DataBoxCustomerDiskJobDetails | DataBoxDiskJobDetails | DataBoxHeavyJobDetails | DataBoxJobDetails;
543
+
544
+ // @public
545
+ export type JobResource = Resource & {
546
+ readonly name?: string;
547
+ readonly id?: string;
548
+ readonly type?: string;
549
+ readonly systemData?: SystemData;
550
+ transferType: TransferType;
551
+ readonly isCancellable?: boolean;
552
+ readonly isDeletable?: boolean;
553
+ readonly isShippingAddressEditable?: boolean;
554
+ readonly isPrepareToShipEnabled?: boolean;
555
+ readonly status?: StageName;
556
+ readonly startTime?: Date;
557
+ readonly error?: CloudError;
558
+ details?: JobDetailsUnion;
559
+ readonly cancellationReason?: string;
560
+ deliveryType?: JobDeliveryType;
561
+ deliveryInfo?: JobDeliveryInfo;
562
+ readonly isCancellableWithoutFee?: boolean;
563
+ };
564
+
565
+ // @public
566
+ export interface JobResourceList {
567
+ nextLink?: string;
568
+ value?: JobResource[];
569
+ }
570
+
571
+ // @public
572
+ export interface JobResourceUpdateParameter {
573
+ details?: UpdateJobDetails;
574
+ identity?: ResourceIdentity;
575
+ tags?: {
576
+ [propertyName: string]: string;
577
+ };
578
+ }
579
+
580
+ // @public
581
+ export interface Jobs {
582
+ beginCreate(resourceGroupName: string, jobName: string, jobResource: JobResource, options?: JobsCreateOptionalParams): Promise<PollerLike<PollOperationState<JobsCreateResponse>, JobsCreateResponse>>;
583
+ beginCreateAndWait(resourceGroupName: string, jobName: string, jobResource: JobResource, options?: JobsCreateOptionalParams): Promise<JobsCreateResponse>;
584
+ beginDelete(resourceGroupName: string, jobName: string, options?: JobsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
585
+ beginDeleteAndWait(resourceGroupName: string, jobName: string, options?: JobsDeleteOptionalParams): Promise<void>;
586
+ beginUpdate(resourceGroupName: string, jobName: string, jobResourceUpdateParameter: JobResourceUpdateParameter, options?: JobsUpdateOptionalParams): Promise<PollerLike<PollOperationState<JobsUpdateResponse>, JobsUpdateResponse>>;
587
+ beginUpdateAndWait(resourceGroupName: string, jobName: string, jobResourceUpdateParameter: JobResourceUpdateParameter, options?: JobsUpdateOptionalParams): Promise<JobsUpdateResponse>;
588
+ bookShipmentPickUp(resourceGroupName: string, jobName: string, shipmentPickUpRequest: ShipmentPickUpRequest, options?: JobsBookShipmentPickUpOptionalParams): Promise<JobsBookShipmentPickUpResponse>;
589
+ cancel(resourceGroupName: string, jobName: string, cancellationReason: CancellationReason, options?: JobsCancelOptionalParams): Promise<void>;
590
+ get(resourceGroupName: string, jobName: string, options?: JobsGetOptionalParams): Promise<JobsGetResponse>;
591
+ list(options?: JobsListOptionalParams): PagedAsyncIterableIterator<JobResource>;
592
+ listByResourceGroup(resourceGroupName: string, options?: JobsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<JobResource>;
593
+ listCredentials(resourceGroupName: string, jobName: string, options?: JobsListCredentialsOptionalParams): PagedAsyncIterableIterator<UnencryptedCredentials>;
594
+ markDevicesShipped(jobName: string, resourceGroupName: string, markDevicesShippedRequest: MarkDevicesShippedRequest, options?: JobsMarkDevicesShippedOptionalParams): Promise<void>;
595
+ }
596
+
597
+ // @public
598
+ export interface JobsBookShipmentPickUpOptionalParams extends coreClient.OperationOptions {
599
+ }
600
+
601
+ // @public
602
+ export type JobsBookShipmentPickUpResponse = ShipmentPickUpResponse;
603
+
604
+ // @public
605
+ export interface JobsCancelOptionalParams extends coreClient.OperationOptions {
606
+ }
607
+
608
+ // @public
609
+ export interface JobsCreateOptionalParams extends coreClient.OperationOptions {
610
+ resumeFrom?: string;
611
+ updateIntervalInMs?: number;
612
+ }
613
+
614
+ // @public
615
+ export type JobsCreateResponse = JobResource;
616
+
617
+ // @public
618
+ export interface JobsDeleteOptionalParams extends coreClient.OperationOptions {
619
+ resumeFrom?: string;
620
+ updateIntervalInMs?: number;
621
+ }
622
+
623
+ // @public
624
+ export interface JobSecrets {
625
+ readonly dcAccessSecurityCode?: DcAccessSecurityCode;
626
+ readonly error?: CloudError;
627
+ jobSecretsType: "DataBoxCustomerDisk" | "DataBoxDisk" | "DataBoxHeavy" | "DataBox";
628
+ }
629
+
630
+ // @public (undocumented)
631
+ export type JobSecretsUnion = JobSecrets | CustomerDiskJobSecrets | DataBoxDiskJobSecrets | DataBoxHeavyJobSecrets | DataboxJobSecrets;
632
+
633
+ // @public
634
+ export interface JobsGetOptionalParams extends coreClient.OperationOptions {
635
+ expand?: string;
636
+ }
637
+
638
+ // @public
639
+ export type JobsGetResponse = JobResource;
640
+
641
+ // @public
642
+ export interface JobsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
643
+ skipToken?: string;
644
+ }
645
+
646
+ // @public
647
+ export type JobsListByResourceGroupNextResponse = JobResourceList;
648
+
649
+ // @public
650
+ export interface JobsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
651
+ skipToken?: string;
652
+ }
653
+
654
+ // @public
655
+ export type JobsListByResourceGroupResponse = JobResourceList;
656
+
657
+ // @public
658
+ export interface JobsListCredentialsOptionalParams extends coreClient.OperationOptions {
659
+ }
660
+
661
+ // @public
662
+ export type JobsListCredentialsResponse = UnencryptedCredentialsList;
663
+
664
+ // @public
665
+ export interface JobsListNextOptionalParams extends coreClient.OperationOptions {
666
+ skipToken?: string;
667
+ }
668
+
669
+ // @public
670
+ export type JobsListNextResponse = JobResourceList;
671
+
672
+ // @public
673
+ export interface JobsListOptionalParams extends coreClient.OperationOptions {
674
+ skipToken?: string;
675
+ }
676
+
677
+ // @public
678
+ export type JobsListResponse = JobResourceList;
679
+
680
+ // @public
681
+ export interface JobsMarkDevicesShippedOptionalParams extends coreClient.OperationOptions {
682
+ }
683
+
684
+ // @public
685
+ export interface JobStages {
686
+ readonly displayName?: string;
687
+ readonly jobStageDetails?: Record<string, unknown>;
688
+ readonly stageName?: StageName;
689
+ readonly stageStatus?: StageStatus;
690
+ readonly stageTime?: Date;
691
+ }
692
+
693
+ // @public
694
+ export interface JobsUpdateOptionalParams extends coreClient.OperationOptions {
695
+ ifMatch?: string;
696
+ resumeFrom?: string;
697
+ updateIntervalInMs?: number;
698
+ }
699
+
700
+ // @public
701
+ export type JobsUpdateResponse = JobResource;
702
+
703
+ // @public
704
+ export type KekType = "MicrosoftManaged" | "CustomerManaged";
705
+
706
+ // @public
707
+ export interface KeyEncryptionKey {
708
+ identityProperties?: IdentityProperties;
709
+ kekType: KekType;
710
+ kekUrl?: string;
711
+ kekVaultResourceID?: string;
712
+ }
713
+
714
+ // @public
715
+ export enum KnownCopyStatus {
716
+ Completed = "Completed",
717
+ CompletedWithErrors = "CompletedWithErrors",
718
+ DeviceFormatted = "DeviceFormatted",
719
+ DeviceMetadataModified = "DeviceMetadataModified",
720
+ DriveCorrupted = "DriveCorrupted",
721
+ DriveNotDetected = "DriveNotDetected",
722
+ DriveNotReceived = "DriveNotReceived",
723
+ Failed = "Failed",
724
+ HardwareError = "HardwareError",
725
+ InProgress = "InProgress",
726
+ MetadataFilesModifiedOrRemoved = "MetadataFilesModifiedOrRemoved",
727
+ NotReturned = "NotReturned",
728
+ NotStarted = "NotStarted",
729
+ OtherServiceError = "OtherServiceError",
730
+ OtherUserError = "OtherUserError",
731
+ StorageAccountNotAccessible = "StorageAccountNotAccessible",
732
+ UnsupportedData = "UnsupportedData",
733
+ UnsupportedDrive = "UnsupportedDrive"
734
+ }
735
+
736
+ // @public
737
+ export enum KnownDataCenterCode {
738
+ // (undocumented)
739
+ AdHoc = "AdHoc",
740
+ // (undocumented)
741
+ AM2 = "AM2",
742
+ // (undocumented)
743
+ AMS06 = "AMS06",
744
+ // (undocumented)
745
+ AMS20 = "AMS20",
746
+ // (undocumented)
747
+ AUH20 = "AUH20",
748
+ // (undocumented)
749
+ BJB = "BJB",
750
+ // (undocumented)
751
+ BL20 = "BL20",
752
+ // (undocumented)
753
+ BL7 = "BL7",
754
+ // (undocumented)
755
+ BN1 = "BN1",
756
+ // (undocumented)
757
+ BOM01 = "BOM01",
758
+ // (undocumented)
759
+ BY1 = "BY1",
760
+ // (undocumented)
761
+ BY2 = "BY2",
762
+ // (undocumented)
763
+ BY21 = "BY21",
764
+ // (undocumented)
765
+ BY24 = "BY24",
766
+ // (undocumented)
767
+ CBR20 = "CBR20",
768
+ // (undocumented)
769
+ CH1 = "CH1",
770
+ // (undocumented)
771
+ CPQ02 = "CPQ02",
772
+ // (undocumented)
773
+ CPQ20 = "CPQ20",
774
+ // (undocumented)
775
+ CWL20 = "CWL20",
776
+ // (undocumented)
777
+ CYS04 = "CYS04",
778
+ // (undocumented)
779
+ DSM05 = "DSM05",
780
+ // (undocumented)
781
+ FRA22 = "FRA22",
782
+ // (undocumented)
783
+ HKG20 = "HKG20",
784
+ // (undocumented)
785
+ Invalid = "Invalid",
786
+ // (undocumented)
787
+ JNB21 = "JNB21",
788
+ // (undocumented)
789
+ JNB22 = "JNB22",
790
+ // (undocumented)
791
+ LON24 = "LON24",
792
+ // (undocumented)
793
+ MAA01 = "MAA01",
794
+ // (undocumented)
795
+ MEL23 = "MEL23",
796
+ // (undocumented)
797
+ MNZ21 = "MNZ21",
798
+ // (undocumented)
799
+ MWH01 = "MWH01",
800
+ // (undocumented)
801
+ ORK70 = "ORK70",
802
+ // (undocumented)
803
+ OSA20 = "OSA20",
804
+ // (undocumented)
805
+ PUS20 = "PUS20",
806
+ // (undocumented)
807
+ SEL20 = "SEL20",
808
+ // (undocumented)
809
+ SEL21 = "SEL21",
810
+ // (undocumented)
811
+ SG2 = "SG2",
812
+ // (undocumented)
813
+ SHA03 = "SHA03",
814
+ // (undocumented)
815
+ SIN20 = "SIN20",
816
+ // (undocumented)
817
+ SN5 = "SN5",
818
+ // (undocumented)
819
+ SN8 = "SN8",
820
+ // (undocumented)
821
+ SSE90 = "SSE90",
822
+ // (undocumented)
823
+ SYD03 = "SYD03",
824
+ // (undocumented)
825
+ SYD23 = "SYD23",
826
+ // (undocumented)
827
+ TYO01 = "TYO01",
828
+ // (undocumented)
829
+ TYO22 = "TYO22",
830
+ // (undocumented)
831
+ YQB20 = "YQB20",
832
+ // (undocumented)
833
+ YTO20 = "YTO20",
834
+ // (undocumented)
835
+ YTO21 = "YTO21",
836
+ // (undocumented)
837
+ ZRH20 = "ZRH20"
838
+ }
839
+
840
+ // @public
841
+ export enum KnownNotificationStageName {
842
+ AtAzureDC = "AtAzureDC",
843
+ Created = "Created",
844
+ DataCopy = "DataCopy",
845
+ Delivered = "Delivered",
846
+ DevicePrepared = "DevicePrepared",
847
+ Dispatched = "Dispatched",
848
+ PickedUp = "PickedUp",
849
+ ShippedToCustomer = "ShippedToCustomer"
850
+ }
851
+
852
+ // @public
853
+ export enum KnownStageName {
854
+ Aborted = "Aborted",
855
+ AtAzureDC = "AtAzureDC",
856
+ AwaitingShipmentDetails = "AwaitingShipmentDetails",
857
+ Cancelled = "Cancelled",
858
+ Completed = "Completed",
859
+ CompletedWithErrors = "CompletedWithErrors",
860
+ CompletedWithWarnings = "CompletedWithWarnings",
861
+ Created = "Created",
862
+ DataCopy = "DataCopy",
863
+ Delivered = "Delivered",
864
+ DeviceOrdered = "DeviceOrdered",
865
+ DevicePrepared = "DevicePrepared",
866
+ Dispatched = "Dispatched",
867
+ FailedIssueDetectedAtAzureDC = "Failed_IssueDetectedAtAzureDC",
868
+ FailedIssueReportedAtCustomer = "Failed_IssueReportedAtCustomer",
869
+ PickedUp = "PickedUp",
870
+ PreparingToShipFromAzureDC = "PreparingToShipFromAzureDC",
871
+ ReadyToDispatchFromAzureDC = "ReadyToDispatchFromAzureDC",
872
+ ReadyToReceiveAtAzureDC = "ReadyToReceiveAtAzureDC",
873
+ ShippedToAzureDC = "ShippedToAzureDC",
874
+ ShippedToCustomer = "ShippedToCustomer"
875
+ }
876
+
877
+ // @public
878
+ export interface LastMitigationActionOnJob {
879
+ actionDateTimeInUtc?: Date;
880
+ customerResolution?: CustomerResolutionCode;
881
+ isPerformedByCustomer?: boolean;
882
+ }
883
+
884
+ // @public
885
+ export type LogCollectionLevel = "Error" | "Verbose";
886
+
887
+ // @public
888
+ export type ManagedDiskDetails = DataAccountDetails & {
889
+ dataAccountType: "ManagedDisk";
890
+ resourceGroupId: string;
891
+ stagingStorageAccountId: string;
892
+ };
893
+
894
+ // @public
895
+ export interface MarkDevicesShippedRequest {
896
+ deliverToDcPackageDetails: PackageCarrierInfo;
897
+ }
898
+
899
+ // @public
900
+ export interface MitigateJobRequest {
901
+ customerResolutionCode: CustomerResolutionCode;
902
+ }
903
+
904
+ // @public
905
+ export interface MitigateOptionalParams extends coreClient.OperationOptions {
906
+ }
907
+
908
+ // @public
909
+ export interface NotificationPreference {
910
+ sendNotification: boolean;
911
+ stageName: NotificationStageName;
912
+ }
913
+
914
+ // @public
915
+ export type NotificationStageName = string;
916
+
917
+ // @public
918
+ export interface Operation {
919
+ readonly display?: OperationDisplay;
920
+ isDataAction?: boolean;
921
+ readonly name?: string;
922
+ readonly origin?: string;
923
+ readonly properties?: Record<string, unknown>;
924
+ }
925
+
926
+ // @public
927
+ export interface OperationDisplay {
928
+ description?: string;
929
+ operation?: string;
930
+ provider?: string;
931
+ resource?: string;
932
+ }
933
+
934
+ // @public
935
+ export interface OperationList {
936
+ nextLink?: string;
937
+ readonly value?: Operation[];
938
+ }
939
+
940
+ // @public
941
+ export interface Operations {
942
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
943
+ }
944
+
945
+ // @public
946
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
947
+ }
948
+
949
+ // @public
950
+ export type OperationsListNextResponse = OperationList;
951
+
952
+ // @public
953
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
954
+ }
955
+
956
+ // @public
957
+ export type OperationsListResponse = OperationList;
958
+
959
+ // @public
960
+ export type OverallValidationStatus = "AllValidToProceed" | "InputsRevisitRequired" | "CertainInputValidationsSkipped";
961
+
962
+ // @public
963
+ export interface PackageCarrierDetails {
964
+ carrierAccountNumber?: string;
965
+ carrierName?: string;
966
+ trackingId?: string;
967
+ }
968
+
969
+ // @public
970
+ export interface PackageCarrierInfo {
971
+ carrierName?: string;
972
+ trackingId?: string;
973
+ }
974
+
975
+ // @public
976
+ export interface PackageShippingDetails {
977
+ readonly carrierName?: string;
978
+ readonly trackingId?: string;
979
+ readonly trackingUrl?: string;
980
+ }
981
+
982
+ // @public
983
+ export interface Preferences {
984
+ encryptionPreferences?: EncryptionPreferences;
985
+ preferredDataCenterRegion?: string[];
986
+ transportPreferences?: TransportPreferences;
987
+ }
988
+
989
+ // @public
990
+ export type PreferencesValidationRequest = ValidationInputRequest & {
991
+ validationType: "ValidatePreferences";
992
+ preference?: Preferences;
993
+ deviceType: SkuName;
994
+ };
995
+
996
+ // @public
997
+ export type PreferencesValidationResponseProperties = ValidationInputResponse & {
998
+ validationType: "ValidatePreferences";
999
+ readonly status?: ValidationStatus;
1000
+ };
1001
+
1002
+ // @public
1003
+ export interface RegionConfigurationRequest {
1004
+ datacenterAddressRequest?: DatacenterAddressRequest;
1005
+ scheduleAvailabilityRequest?: ScheduleAvailabilityRequestUnion;
1006
+ transportAvailabilityRequest?: TransportAvailabilityRequest;
1007
+ }
1008
+
1009
+ // @public
1010
+ export interface RegionConfigurationResponse {
1011
+ readonly datacenterAddressResponse?: DatacenterAddressResponseUnion;
1012
+ readonly scheduleAvailabilityResponse?: ScheduleAvailabilityResponse;
1013
+ readonly transportAvailabilityResponse?: TransportAvailabilityResponse;
1014
+ }
1015
+
1016
+ // @public
1017
+ export interface Resource {
1018
+ identity?: ResourceIdentity;
1019
+ location: string;
1020
+ sku: Sku;
1021
+ tags?: {
1022
+ [propertyName: string]: string;
1023
+ };
1024
+ }
1025
+
1026
+ // @public
1027
+ export interface ResourceIdentity {
1028
+ readonly principalId?: string;
1029
+ readonly tenantId?: string;
1030
+ type?: string;
1031
+ userAssignedIdentities?: {
1032
+ [propertyName: string]: UserAssignedIdentity;
1033
+ };
1034
+ }
1035
+
1036
+ // @public
1037
+ export interface ScheduleAvailabilityRequest {
1038
+ country?: string;
1039
+ skuName: "DataBox" | "DataBoxDisk" | "DataBoxHeavy";
1040
+ storageLocation: string;
1041
+ }
1042
+
1043
+ // @public (undocumented)
1044
+ export type ScheduleAvailabilityRequestUnion = ScheduleAvailabilityRequest | DataBoxScheduleAvailabilityRequest | DiskScheduleAvailabilityRequest | HeavyScheduleAvailabilityRequest;
1045
+
1046
+ // @public
1047
+ export interface ScheduleAvailabilityResponse {
1048
+ readonly availableDates?: Date[];
1049
+ }
1050
+
1051
+ // @public
1052
+ export interface Service {
1053
+ listAvailableSkusByResourceGroup(resourceGroupName: string, location: string, availableSkuRequest: AvailableSkuRequest, options?: ServiceListAvailableSkusByResourceGroupOptionalParams): PagedAsyncIterableIterator<SkuInformation>;
1054
+ regionConfiguration(location: string, regionConfigurationRequest: RegionConfigurationRequest, options?: ServiceRegionConfigurationOptionalParams): Promise<ServiceRegionConfigurationResponse>;
1055
+ regionConfigurationByResourceGroup(resourceGroupName: string, location: string, regionConfigurationRequest: RegionConfigurationRequest, options?: ServiceRegionConfigurationByResourceGroupOptionalParams): Promise<ServiceRegionConfigurationByResourceGroupResponse>;
1056
+ validateAddress(location: string, validateAddress: ValidateAddress, options?: ServiceValidateAddressOptionalParams): Promise<ServiceValidateAddressResponse>;
1057
+ validateInputs(location: string, validationRequest: ValidationRequestUnion, options?: ServiceValidateInputsOptionalParams): Promise<ServiceValidateInputsResponse>;
1058
+ validateInputsByResourceGroup(resourceGroupName: string, location: string, validationRequest: ValidationRequestUnion, options?: ServiceValidateInputsByResourceGroupOptionalParams): Promise<ServiceValidateInputsByResourceGroupResponse>;
1059
+ }
1060
+
1061
+ // @public
1062
+ export interface ServiceListAvailableSkusByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1063
+ }
1064
+
1065
+ // @public
1066
+ export type ServiceListAvailableSkusByResourceGroupNextResponse = AvailableSkusResult;
1067
+
1068
+ // @public
1069
+ export interface ServiceListAvailableSkusByResourceGroupOptionalParams extends coreClient.OperationOptions {
1070
+ }
1071
+
1072
+ // @public
1073
+ export type ServiceListAvailableSkusByResourceGroupResponse = AvailableSkusResult;
1074
+
1075
+ // @public
1076
+ export interface ServiceRegionConfigurationByResourceGroupOptionalParams extends coreClient.OperationOptions {
1077
+ }
1078
+
1079
+ // @public
1080
+ export type ServiceRegionConfigurationByResourceGroupResponse = RegionConfigurationResponse;
1081
+
1082
+ // @public
1083
+ export interface ServiceRegionConfigurationOptionalParams extends coreClient.OperationOptions {
1084
+ }
1085
+
1086
+ // @public
1087
+ export type ServiceRegionConfigurationResponse = RegionConfigurationResponse;
1088
+
1089
+ // @public
1090
+ export interface ServiceValidateAddressOptionalParams extends coreClient.OperationOptions {
1091
+ }
1092
+
1093
+ // @public
1094
+ export type ServiceValidateAddressResponse = AddressValidationOutput;
1095
+
1096
+ // @public
1097
+ export interface ServiceValidateInputsByResourceGroupOptionalParams extends coreClient.OperationOptions {
1098
+ }
1099
+
1100
+ // @public
1101
+ export type ServiceValidateInputsByResourceGroupResponse = ValidationResponse;
1102
+
1103
+ // @public
1104
+ export interface ServiceValidateInputsOptionalParams extends coreClient.OperationOptions {
1105
+ }
1106
+
1107
+ // @public
1108
+ export type ServiceValidateInputsResponse = ValidationResponse;
1109
+
1110
+ // @public
1111
+ export interface ShareCredentialDetails {
1112
+ readonly password?: string;
1113
+ readonly shareName?: string;
1114
+ readonly shareType?: ShareDestinationFormatType;
1115
+ readonly supportedAccessProtocols?: AccessProtocol[];
1116
+ readonly userName?: string;
1117
+ }
1118
+
1119
+ // @public
1120
+ export type ShareDestinationFormatType = "UnknownType" | "HCS" | "BlockBlob" | "PageBlob" | "AzureFile" | "ManagedDisk";
1121
+
1122
+ // @public
1123
+ export interface ShipmentPickUpRequest {
1124
+ endTime: Date;
1125
+ shipmentLocation: string;
1126
+ startTime: Date;
1127
+ }
1128
+
1129
+ // @public
1130
+ export interface ShipmentPickUpResponse {
1131
+ readonly confirmationNumber?: string;
1132
+ readonly readyByTime?: Date;
1133
+ }
1134
+
1135
+ // @public
1136
+ export interface ShippingAddress {
1137
+ addressType?: AddressType;
1138
+ city?: string;
1139
+ companyName?: string;
1140
+ country: string;
1141
+ postalCode?: string;
1142
+ stateOrProvince?: string;
1143
+ streetAddress1: string;
1144
+ streetAddress2?: string;
1145
+ streetAddress3?: string;
1146
+ zipExtendedCode?: string;
1147
+ }
1148
+
1149
+ // @public
1150
+ export interface Sku {
1151
+ displayName?: string;
1152
+ family?: string;
1153
+ name: SkuName;
1154
+ }
1155
+
1156
+ // @public
1157
+ export type SkuAvailabilityValidationRequest = ValidationInputRequest & {
1158
+ validationType: "ValidateSkuAvailability";
1159
+ deviceType: SkuName;
1160
+ transferType: TransferType;
1161
+ country: string;
1162
+ location: string;
1163
+ };
1164
+
1165
+ // @public
1166
+ export type SkuAvailabilityValidationResponseProperties = ValidationInputResponse & {
1167
+ validationType: "ValidateSkuAvailability";
1168
+ readonly status?: ValidationStatus;
1169
+ };
1170
+
1171
+ // @public
1172
+ export interface SkuCapacity {
1173
+ readonly maximum?: string;
1174
+ readonly usable?: string;
1175
+ }
1176
+
1177
+ // @public
1178
+ export interface SkuCost {
1179
+ readonly meterId?: string;
1180
+ readonly meterType?: string;
1181
+ readonly multiplier?: number;
1182
+ }
1183
+
1184
+ // @public
1185
+ export type SkuDisabledReason = "None" | "Country" | "Region" | "Feature" | "OfferType" | "NoSubscriptionInfo";
1186
+
1187
+ // @public
1188
+ export interface SkuInformation {
1189
+ readonly apiVersions?: string[];
1190
+ readonly capacity?: SkuCapacity;
1191
+ readonly costs?: SkuCost[];
1192
+ readonly dataLocationToServiceLocationMap?: DataLocationToServiceLocationMap[];
1193
+ readonly disabledReason?: SkuDisabledReason;
1194
+ readonly disabledReasonMessage?: string;
1195
+ readonly enabled?: boolean;
1196
+ readonly requiredFeature?: string;
1197
+ readonly sku?: Sku;
1198
+ }
1199
+
1200
+ // @public
1201
+ export type SkuName = "DataBox" | "DataBoxDisk" | "DataBoxHeavy" | "DataBoxCustomerDisk";
1202
+
1203
+ // @public
1204
+ export type StageName = string;
1205
+
1206
+ // @public
1207
+ export type StageStatus = "None" | "InProgress" | "Succeeded" | "Failed" | "Cancelled" | "Cancelling" | "SucceededWithErrors" | "WaitingForCustomerAction" | "SucceededWithWarnings" | "WaitingForCustomerActionForKek" | "WaitingForCustomerActionForCleanUp" | "CustomerActionPerformedForCleanUp";
1208
+
1209
+ // @public
1210
+ export type StorageAccountDetails = DataAccountDetails & {
1211
+ dataAccountType: "StorageAccount";
1212
+ storageAccountId: string;
1213
+ };
1214
+
1215
+ // @public
1216
+ export type SubscriptionIsAllowedToCreateJobValidationRequest = ValidationInputRequest & {
1217
+ validationType: "ValidateSubscriptionIsAllowedToCreateJob";
1218
+ };
1219
+
1220
+ // @public
1221
+ export type SubscriptionIsAllowedToCreateJobValidationResponseProperties = ValidationInputResponse & {
1222
+ validationType: "ValidateSubscriptionIsAllowedToCreateJob";
1223
+ readonly status?: ValidationStatus;
1224
+ };
1225
+
1226
+ // @public
1227
+ export interface SystemData {
1228
+ readonly createdAt?: Date;
1229
+ readonly createdBy?: string;
1230
+ readonly createdByType?: string;
1231
+ readonly lastModifiedAt?: Date;
1232
+ readonly lastModifiedBy?: string;
1233
+ readonly lastModifiedByType?: string;
1234
+ }
1235
+
1236
+ // @public
1237
+ export interface TransferAllDetails {
1238
+ dataAccountType: DataAccountType;
1239
+ transferAllBlobs?: boolean;
1240
+ transferAllFiles?: boolean;
1241
+ }
1242
+
1243
+ // @public
1244
+ export interface TransferConfiguration {
1245
+ transferAllDetails?: TransferConfigurationTransferAllDetails;
1246
+ transferConfigurationType: TransferConfigurationType;
1247
+ transferFilterDetails?: TransferConfigurationTransferFilterDetails;
1248
+ }
1249
+
1250
+ // @public
1251
+ export interface TransferConfigurationTransferAllDetails {
1252
+ include?: TransferAllDetails;
1253
+ }
1254
+
1255
+ // @public
1256
+ export interface TransferConfigurationTransferFilterDetails {
1257
+ include?: TransferFilterDetails;
1258
+ }
1259
+
1260
+ // @public
1261
+ export type TransferConfigurationType = "TransferAll" | "TransferUsingFilter";
1262
+
1263
+ // @public
1264
+ export interface TransferFilterDetails {
1265
+ azureFileFilterDetails?: AzureFileFilterDetails;
1266
+ blobFilterDetails?: BlobFilterDetails;
1267
+ dataAccountType: DataAccountType;
1268
+ filterFileDetails?: FilterFileDetails[];
1269
+ }
1270
+
1271
+ // @public
1272
+ export type TransferType = "ImportToAzure" | "ExportFromAzure";
1273
+
1274
+ // @public
1275
+ export interface TransportAvailabilityDetails {
1276
+ readonly shipmentType?: TransportShipmentTypes;
1277
+ }
1278
+
1279
+ // @public
1280
+ export interface TransportAvailabilityRequest {
1281
+ skuName?: SkuName;
1282
+ }
1283
+
1284
+ // @public
1285
+ export interface TransportAvailabilityResponse {
1286
+ readonly transportAvailabilityDetails?: TransportAvailabilityDetails[];
1287
+ }
1288
+
1289
+ // @public
1290
+ export interface TransportPreferences {
1291
+ preferredShipmentType: TransportShipmentTypes;
1292
+ }
1293
+
1294
+ // @public
1295
+ export type TransportShipmentTypes = "CustomerManaged" | "MicrosoftManaged";
1296
+
1297
+ // @public
1298
+ export interface UnencryptedCredentials {
1299
+ readonly jobName?: string;
1300
+ readonly jobSecrets?: JobSecretsUnion;
1301
+ }
1302
+
1303
+ // @public
1304
+ export interface UnencryptedCredentialsList {
1305
+ nextLink?: string;
1306
+ value?: UnencryptedCredentials[];
1307
+ }
1308
+
1309
+ // @public
1310
+ export interface UpdateJobDetails {
1311
+ contactDetails?: ContactDetails;
1312
+ keyEncryptionKey?: KeyEncryptionKey;
1313
+ returnToCustomerPackageDetails?: PackageCarrierDetails;
1314
+ shippingAddress?: ShippingAddress;
1315
+ }
1316
+
1317
+ // @public
1318
+ export interface UserAssignedIdentity {
1319
+ readonly clientId?: string;
1320
+ readonly principalId?: string;
1321
+ }
1322
+
1323
+ // @public
1324
+ export interface UserAssignedProperties {
1325
+ resourceId?: string;
1326
+ }
1327
+
1328
+ // @public
1329
+ export type ValidateAddress = ValidationInputRequest & {
1330
+ validationType: "ValidateAddress";
1331
+ shippingAddress: ShippingAddress;
1332
+ deviceType: SkuName;
1333
+ transportPreferences?: TransportPreferences;
1334
+ };
1335
+
1336
+ // @public
1337
+ export type ValidationInputDiscriminator = "ValidateAddress" | "ValidateSubscriptionIsAllowedToCreateJob" | "ValidatePreferences" | "ValidateCreateOrderLimit" | "ValidateSkuAvailability" | "ValidateDataTransferDetails";
1338
+
1339
+ // @public
1340
+ export interface ValidationInputRequest {
1341
+ validationType: "ValidateAddress" | "ValidateCreateOrderLimit" | "ValidateDataTransferDetails" | "ValidatePreferences" | "ValidateSkuAvailability" | "ValidateSubscriptionIsAllowedToCreateJob";
1342
+ }
1343
+
1344
+ // @public (undocumented)
1345
+ export type ValidationInputRequestUnion = ValidationInputRequest | ValidateAddress | CreateOrderLimitForSubscriptionValidationRequest | DataTransferDetailsValidationRequest | PreferencesValidationRequest | SkuAvailabilityValidationRequest | SubscriptionIsAllowedToCreateJobValidationRequest;
1346
+
1347
+ // @public
1348
+ export interface ValidationInputResponse {
1349
+ readonly error?: CloudError;
1350
+ validationType: "ValidateAddress" | "ValidateCreateOrderLimit" | "ValidateDataTransferDetails" | "ValidatePreferences" | "ValidateSkuAvailability" | "ValidateSubscriptionIsAllowedToCreateJob";
1351
+ }
1352
+
1353
+ // @public (undocumented)
1354
+ export type ValidationInputResponseUnion = ValidationInputResponse | AddressValidationProperties | CreateOrderLimitForSubscriptionValidationResponseProperties | DataTransferDetailsValidationResponseProperties | PreferencesValidationResponseProperties | SkuAvailabilityValidationResponseProperties | SubscriptionIsAllowedToCreateJobValidationResponseProperties;
1355
+
1356
+ // @public
1357
+ export interface ValidationRequest {
1358
+ individualRequestDetails: ValidationInputRequestUnion[];
1359
+ validationCategory: "JobCreationValidation";
1360
+ }
1361
+
1362
+ // @public (undocumented)
1363
+ export type ValidationRequestUnion = ValidationRequest | CreateJobValidations;
1364
+
1365
+ // @public
1366
+ export interface ValidationResponse {
1367
+ readonly individualResponseDetails?: ValidationInputResponseUnion[];
1368
+ readonly status?: OverallValidationStatus;
1369
+ }
1370
+
1371
+ // @public
1372
+ export type ValidationStatus = "Valid" | "Invalid" | "Skipped";
1373
+
1374
+ // (No @packageDocumentation comment for this package)
1375
+
1376
+ ```