@azure/arm-storageimportexport 0.1.0 → 2.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 (160) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +75 -73
  4. package/dist/index.js +1999 -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/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/models/index.d.ts +504 -0
  13. package/dist-esm/src/models/index.d.ts.map +1 -0
  14. package/dist-esm/src/models/index.js +40 -0
  15. package/dist-esm/src/models/index.js.map +1 -0
  16. package/dist-esm/src/models/mappers.d.ts +25 -0
  17. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  18. package/{esm → dist-esm/src}/models/mappers.js +570 -422
  19. package/dist-esm/src/models/mappers.js.map +1 -0
  20. package/dist-esm/src/models/parameters.d.ts +17 -0
  21. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/parameters.js +79 -49
  23. package/dist-esm/src/models/parameters.js.map +1 -0
  24. package/dist-esm/src/operations/bitLockerKeys.d.ts +32 -0
  25. package/dist-esm/src/operations/bitLockerKeys.d.ts.map +1 -0
  26. package/dist-esm/src/operations/bitLockerKeys.js +101 -0
  27. package/dist-esm/src/operations/bitLockerKeys.js.map +1 -0
  28. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  29. package/dist-esm/src/operations/index.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/operations/index.js +3 -5
  31. package/dist-esm/src/operations/index.js.map +1 -0
  32. package/dist-esm/src/operations/jobs.d.ts +92 -0
  33. package/dist-esm/src/operations/jobs.d.ts.map +1 -0
  34. package/dist-esm/src/operations/jobs.js +376 -0
  35. package/dist-esm/src/operations/jobs.js.map +1 -0
  36. package/dist-esm/src/operations/locations.d.ts +35 -0
  37. package/dist-esm/src/operations/locations.d.ts.map +1 -0
  38. package/dist-esm/src/operations/locations.js +117 -0
  39. package/dist-esm/src/operations/locations.js.map +1 -0
  40. package/dist-esm/src/operations/operations.d.ts +26 -0
  41. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/operations.js +90 -0
  43. package/dist-esm/src/operations/operations.js.map +1 -0
  44. package/dist-esm/src/operationsInterfaces/bitLockerKeys.d.ts +14 -0
  45. package/dist-esm/src/operationsInterfaces/bitLockerKeys.d.ts.map +1 -0
  46. package/dist-esm/src/operationsInterfaces/bitLockerKeys.js +9 -0
  47. package/dist-esm/src/operationsInterfaces/bitLockerKeys.js.map +1 -0
  48. package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
  49. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  50. package/dist-esm/src/operationsInterfaces/index.js +12 -0
  51. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/jobs.d.ts +54 -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/locations.d.ts +19 -0
  57. package/dist-esm/src/operationsInterfaces/locations.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/locations.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/locations.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  61. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  64. package/dist-esm/src/storageImportExport.d.ts +22 -0
  65. package/dist-esm/src/storageImportExport.d.ts.map +1 -0
  66. package/dist-esm/src/storageImportExport.js +54 -0
  67. package/dist-esm/src/storageImportExport.js.map +1 -0
  68. package/dist-esm/test/sampleTest.d.ts +2 -0
  69. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  70. package/dist-esm/test/sampleTest.js +40 -0
  71. package/dist-esm/test/sampleTest.js.map +1 -0
  72. package/package.json +87 -26
  73. package/review/arm-storageimportexport.api.md +438 -0
  74. package/rollup.config.js +184 -27
  75. package/src/index.ts +12 -0
  76. package/src/models/index.ts +568 -0
  77. package/{lib → src}/models/mappers.ts +575 -424
  78. package/src/models/parameters.ts +171 -0
  79. package/src/operations/bitLockerKeys.ts +125 -0
  80. package/{lib → src}/operations/index.ts +3 -5
  81. package/src/operations/jobs.ts +467 -0
  82. package/src/operations/locations.ts +134 -0
  83. package/src/operations/operations.ts +98 -0
  84. package/src/operationsInterfaces/bitLockerKeys.ts +27 -0
  85. package/src/operationsInterfaces/index.ts +12 -0
  86. package/src/operationsInterfaces/jobs.ts +99 -0
  87. package/src/operationsInterfaces/locations.ts +38 -0
  88. package/src/operationsInterfaces/operations.ts +22 -0
  89. package/src/storageImportExport.ts +92 -0
  90. package/tsconfig.json +20 -7
  91. package/types/arm-storageimportexport.d.ts +671 -0
  92. package/types/tsdoc-metadata.json +11 -0
  93. package/dist/arm-storageimportexport.js +0 -1754
  94. package/dist/arm-storageimportexport.js.map +0 -1
  95. package/dist/arm-storageimportexport.min.js +0 -1
  96. package/dist/arm-storageimportexport.min.js.map +0 -1
  97. package/esm/models/bitLockerKeysMappers.d.ts +0 -2
  98. package/esm/models/bitLockerKeysMappers.d.ts.map +0 -1
  99. package/esm/models/bitLockerKeysMappers.js +0 -11
  100. package/esm/models/bitLockerKeysMappers.js.map +0 -1
  101. package/esm/models/index.d.ts +0 -928
  102. package/esm/models/index.d.ts.map +0 -1
  103. package/esm/models/index.js +0 -10
  104. package/esm/models/index.js.map +0 -1
  105. package/esm/models/jobsMappers.d.ts +0 -2
  106. package/esm/models/jobsMappers.d.ts.map +0 -1
  107. package/esm/models/jobsMappers.js +0 -11
  108. package/esm/models/jobsMappers.js.map +0 -1
  109. package/esm/models/locationsMappers.d.ts +0 -2
  110. package/esm/models/locationsMappers.d.ts.map +0 -1
  111. package/esm/models/locationsMappers.js +0 -11
  112. package/esm/models/locationsMappers.js.map +0 -1
  113. package/esm/models/mappers.d.ts +0 -23
  114. package/esm/models/mappers.d.ts.map +0 -1
  115. package/esm/models/mappers.js.map +0 -1
  116. package/esm/models/operationsMappers.d.ts +0 -2
  117. package/esm/models/operationsMappers.d.ts.map +0 -1
  118. package/esm/models/operationsMappers.js +0 -11
  119. package/esm/models/operationsMappers.js.map +0 -1
  120. package/esm/models/parameters.d.ts +0 -12
  121. package/esm/models/parameters.d.ts.map +0 -1
  122. package/esm/models/parameters.js.map +0 -1
  123. package/esm/operations/bitLockerKeys.d.ts +0 -37
  124. package/esm/operations/bitLockerKeys.d.ts.map +0 -1
  125. package/esm/operations/bitLockerKeys.js +0 -58
  126. package/esm/operations/bitLockerKeys.js.map +0 -1
  127. package/esm/operations/index.d.ts.map +0 -1
  128. package/esm/operations/index.js.map +0 -1
  129. package/esm/operations/jobs.d.ts +0 -189
  130. package/esm/operations/jobs.d.ts.map +0 -1
  131. package/esm/operations/jobs.js +0 -276
  132. package/esm/operations/jobs.js.map +0 -1
  133. package/esm/operations/locations.d.ts +0 -48
  134. package/esm/operations/locations.d.ts.map +0 -1
  135. package/esm/operations/locations.js +0 -79
  136. package/esm/operations/locations.js.map +0 -1
  137. package/esm/operations/operations.d.ts +0 -28
  138. package/esm/operations/operations.d.ts.map +0 -1
  139. package/esm/operations/operations.js +0 -51
  140. package/esm/operations/operations.js.map +0 -1
  141. package/esm/storageImportExportManagementClient.d.ts +0 -21
  142. package/esm/storageImportExportManagementClient.d.ts.map +0 -1
  143. package/esm/storageImportExportManagementClient.js +0 -36
  144. package/esm/storageImportExportManagementClient.js.map +0 -1
  145. package/esm/storageImportExportManagementClientContext.d.ts +0 -16
  146. package/esm/storageImportExportManagementClientContext.d.ts.map +0 -1
  147. package/esm/storageImportExportManagementClientContext.js +0 -55
  148. package/esm/storageImportExportManagementClientContext.js.map +0 -1
  149. package/lib/models/bitLockerKeysMappers.ts +0 -17
  150. package/lib/models/index.ts +0 -975
  151. package/lib/models/jobsMappers.ts +0 -27
  152. package/lib/models/locationsMappers.ts +0 -17
  153. package/lib/models/operationsMappers.ts +0 -17
  154. package/lib/models/parameters.ts +0 -120
  155. package/lib/operations/bitLockerKeys.ts +0 -90
  156. package/lib/operations/jobs.ts +0 -500
  157. package/lib/operations/locations.ts +0 -127
  158. package/lib/operations/operations.ts +0 -74
  159. package/lib/storageImportExportManagementClient.ts +0 -48
  160. package/lib/storageImportExportManagementClientContext.ts +0 -61
@@ -1,928 +0,0 @@
1
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
2
- import * as msRest from "@azure/ms-rest-js";
3
- export { BaseResource, CloudError };
4
- /**
5
- * @interface
6
- * An interface representing ErrorResponseErrorDetailsItem.
7
- */
8
- export interface ErrorResponseErrorDetailsItem {
9
- /**
10
- * @member {string} [code] Provides information about the error code.
11
- */
12
- code?: string;
13
- /**
14
- * @member {string} [target] Provides information about the error target.
15
- */
16
- target?: string;
17
- /**
18
- * @member {string} [message] Provides information about the error message.
19
- */
20
- message?: string;
21
- }
22
- /**
23
- * @interface
24
- * An interface representing ErrorResponse.
25
- * Response when errors occurred
26
- *
27
- */
28
- export interface ErrorResponse {
29
- /**
30
- * @member {string} [code] Provides information about the error code.
31
- */
32
- code?: string;
33
- /**
34
- * @member {string} [message] Provides information about the error message.
35
- */
36
- message?: string;
37
- /**
38
- * @member {string} [target] Provides information about the error target.
39
- */
40
- target?: string;
41
- /**
42
- * @member {ErrorResponseErrorDetailsItem[]} [details] Describes the error
43
- * details if present.
44
- */
45
- details?: ErrorResponseErrorDetailsItem[];
46
- /**
47
- * @member {any} [innererror] Inner error object if present.
48
- */
49
- innererror?: any;
50
- }
51
- /**
52
- * @interface
53
- * An interface representing ReturnAddress.
54
- * Specifies the return address information for the job.
55
- *
56
- */
57
- export interface ReturnAddress {
58
- /**
59
- * @member {string} recipientName The name of the recipient who will receive
60
- * the hard drives when they are returned.
61
- */
62
- recipientName: string;
63
- /**
64
- * @member {string} streetAddress1 The first line of the street address to
65
- * use when returning the drives.
66
- */
67
- streetAddress1: string;
68
- /**
69
- * @member {string} [streetAddress2] The second line of the street address to
70
- * use when returning the drives.
71
- */
72
- streetAddress2?: string;
73
- /**
74
- * @member {string} city The city name to use when returning the drives.
75
- */
76
- city: string;
77
- /**
78
- * @member {string} [stateOrProvince] The state or province to use when
79
- * returning the drives.
80
- */
81
- stateOrProvince?: string;
82
- /**
83
- * @member {string} postalCode The postal code to use when returning the
84
- * drives.
85
- */
86
- postalCode: string;
87
- /**
88
- * @member {string} countryOrRegion The country or region to use when
89
- * returning the drives.
90
- */
91
- countryOrRegion: string;
92
- /**
93
- * @member {string} phone Phone number of the recipient of the returned
94
- * drives.
95
- */
96
- phone: string;
97
- /**
98
- * @member {string} email Email address of the recipient of the returned
99
- * drives.
100
- */
101
- email: string;
102
- }
103
- /**
104
- * @interface
105
- * An interface representing ReturnShipping.
106
- * Specifies the return carrier and customer's account with the carrier.
107
- *
108
- */
109
- export interface ReturnShipping {
110
- /**
111
- * @member {string} carrierName The carrier's name.
112
- */
113
- carrierName: string;
114
- /**
115
- * @member {string} carrierAccountNumber The customer's account number with
116
- * the carrier.
117
- */
118
- carrierAccountNumber: string;
119
- }
120
- /**
121
- * @interface
122
- * An interface representing ShippingInformation.
123
- * Contains information about the Microsoft datacenter to which the drives
124
- * should be shipped.
125
- *
126
- */
127
- export interface ShippingInformation {
128
- /**
129
- * @member {string} recipientName The name of the recipient who will receive
130
- * the hard drives when they are returned.
131
- */
132
- recipientName: string;
133
- /**
134
- * @member {string} streetAddress1 The first line of the street address to
135
- * use when returning the drives.
136
- */
137
- streetAddress1: string;
138
- /**
139
- * @member {string} [streetAddress2] The second line of the street address to
140
- * use when returning the drives.
141
- */
142
- streetAddress2?: string;
143
- /**
144
- * @member {string} city The city name to use when returning the drives.
145
- */
146
- city: string;
147
- /**
148
- * @member {string} stateOrProvince The state or province to use when
149
- * returning the drives.
150
- */
151
- stateOrProvince: string;
152
- /**
153
- * @member {string} postalCode The postal code to use when returning the
154
- * drives.
155
- */
156
- postalCode: string;
157
- /**
158
- * @member {string} countryOrRegion The country or region to use when
159
- * returning the drives.
160
- */
161
- countryOrRegion: string;
162
- /**
163
- * @member {string} [phone] Phone number of the recipient of the returned
164
- * drives.
165
- */
166
- phone?: string;
167
- }
168
- /**
169
- * @interface
170
- * An interface representing PackageInfomation.
171
- * Contains information about the package being shipped by the customer to the
172
- * Microsoft data center.
173
- *
174
- */
175
- export interface PackageInfomation {
176
- /**
177
- * @member {string} carrierName The name of the carrier that is used to ship
178
- * the import or export drives.
179
- */
180
- carrierName: string;
181
- /**
182
- * @member {string} trackingNumber The tracking number of the package.
183
- */
184
- trackingNumber: string;
185
- /**
186
- * @member {number} driveCount The number of drives included in the package.
187
- */
188
- driveCount: number;
189
- /**
190
- * @member {string} shipDate The date when the package is shipped.
191
- */
192
- shipDate: string;
193
- }
194
- /**
195
- * @interface
196
- * An interface representing DriveStatus.
197
- * Provides information about the drive's status
198
- *
199
- */
200
- export interface DriveStatus {
201
- /**
202
- * @member {string} [driveId] The drive's hardware serial number, without
203
- * spaces.
204
- */
205
- driveId?: string;
206
- /**
207
- * @member {string} [bitLockerKey] The BitLocker key used to encrypt the
208
- * drive.
209
- */
210
- bitLockerKey?: string;
211
- /**
212
- * @member {string} [manifestFile] The relative path of the manifest file on
213
- * the drive.
214
- */
215
- manifestFile?: string;
216
- /**
217
- * @member {string} [manifestHash] The Base16-encoded MD5 hash of the
218
- * manifest file on the drive.
219
- */
220
- manifestHash?: string;
221
- /**
222
- * @member {string} [driveHeaderHash] The drive header hash value.
223
- */
224
- driveHeaderHash?: string;
225
- /**
226
- * @member {DriveState} [state] The drive's current state. Possible values
227
- * include: 'Specified', 'Received', 'NeverReceived', 'Transferring',
228
- * 'Completed', 'CompletedMoreInfo', 'ShippedBack'
229
- */
230
- state?: DriveState;
231
- /**
232
- * @member {string} [copyStatus] Detailed status about the data transfer
233
- * process. This field is not returned in the response until the drive is in
234
- * the Transferring state.
235
- */
236
- copyStatus?: string;
237
- /**
238
- * @member {number} [percentComplete] Percentage completed for the drive.
239
- */
240
- percentComplete?: number;
241
- /**
242
- * @member {string} [verboseLogUri] A URI that points to the blob containing
243
- * the verbose log for the data transfer operation.
244
- */
245
- verboseLogUri?: string;
246
- /**
247
- * @member {string} [errorLogUri] A URI that points to the blob containing
248
- * the error log for the data transfer operation.
249
- */
250
- errorLogUri?: string;
251
- /**
252
- * @member {string} [manifestUri] A URI that points to the blob containing
253
- * the drive manifest file.
254
- */
255
- manifestUri?: string;
256
- /**
257
- * @member {number} [bytesSucceeded] Bytes successfully transferred for the
258
- * drive.
259
- */
260
- bytesSucceeded?: number;
261
- }
262
- /**
263
- * @interface
264
- * An interface representing ExportModel.
265
- * A property containing information about the blobs to be exported for an
266
- * export job. This property is required for export jobs, but must not be
267
- * specified for import jobs.
268
- *
269
- */
270
- export interface ExportModel {
271
- /**
272
- * @member {string[]} [blobPath] A collection of blob-path strings.
273
- */
274
- blobPath?: string[];
275
- /**
276
- * @member {string[]} [blobPathPrefix] A collection of blob-prefix strings.
277
- */
278
- blobPathPrefix?: string[];
279
- /**
280
- * @member {string} [blobListblobPath] The relative URI to the block blob
281
- * that contains the list of blob paths or blob path prefixes as defined
282
- * above, beginning with the container name. If the blob is in root
283
- * container, the URI must begin with $root.
284
- */
285
- blobListblobPath?: string;
286
- }
287
- /**
288
- * @interface
289
- * An interface representing JobDetails.
290
- * Specifies the job properties
291
- *
292
- */
293
- export interface JobDetails {
294
- /**
295
- * @member {string} [storageAccountId] The resource identifier of the storage
296
- * account where data will be imported to or exported from.
297
- */
298
- storageAccountId?: string;
299
- /**
300
- * @member {string} [jobType] The type of job
301
- */
302
- jobType?: string;
303
- /**
304
- * @member {ReturnAddress} [returnAddress] Specifies the return address
305
- * information for the job.
306
- */
307
- returnAddress?: ReturnAddress;
308
- /**
309
- * @member {ReturnShipping} [returnShipping] Specifies the return carrier and
310
- * customer's account with the carrier.
311
- */
312
- returnShipping?: ReturnShipping;
313
- /**
314
- * @member {ShippingInformation} [shippingInformation] Contains information
315
- * about the Microsoft datacenter to which the drives should be shipped.
316
- */
317
- shippingInformation?: ShippingInformation;
318
- /**
319
- * @member {PackageInfomation} [deliveryPackage] Contains information about
320
- * the package being shipped by the customer to the Microsoft data center.
321
- */
322
- deliveryPackage?: PackageInfomation;
323
- /**
324
- * @member {PackageInfomation} [returnPackage] Contains information about the
325
- * package being shipped from the Microsoft data center to the customer to
326
- * return the drives. The format is the same as the deliveryPackage property
327
- * above. This property is not included if the drives have not yet been
328
- * returned.
329
- */
330
- returnPackage?: PackageInfomation;
331
- /**
332
- * @member {string} [diagnosticsPath] The virtual blob directory to which the
333
- * copy logs and backups of drive manifest files (if enabled) will be stored.
334
- */
335
- diagnosticsPath?: string;
336
- /**
337
- * @member {string} [logLevel] Default value is Error. Indicates whether
338
- * error logging or verbose logging will be enabled.
339
- */
340
- logLevel?: string;
341
- /**
342
- * @member {boolean} [backupDriveManifest] Default value is false. Indicates
343
- * whether the manifest files on the drives should be copied to block blobs.
344
- */
345
- backupDriveManifest?: boolean;
346
- /**
347
- * @member {string} [state] Current state of the job.
348
- */
349
- state?: string;
350
- /**
351
- * @member {boolean} [cancelRequested] Indicates whether a request has been
352
- * submitted to cancel the job.
353
- */
354
- cancelRequested?: boolean;
355
- /**
356
- * @member {number} [percentComplete] Overall percentage completed for the
357
- * job.
358
- */
359
- percentComplete?: number;
360
- /**
361
- * @member {string} [incompleteBlobListUri] A blob path that points to a
362
- * block blob containing a list of blob names that were not exported due to
363
- * insufficient drive space. If all blobs were exported successfully, then
364
- * this element is not included in the response.
365
- */
366
- incompleteBlobListUri?: string;
367
- /**
368
- * @member {DriveStatus[]} [driveList] List of up to ten drives that comprise
369
- * the job. The drive list is a required element for an import job; it is not
370
- * specified for export jobs.
371
- */
372
- driveList?: DriveStatus[];
373
- /**
374
- * @member {ExportModel} [exportProperty] A property containing information
375
- * about the blobs to be exported for an export job. This property is
376
- * included for export jobs only.
377
- */
378
- exportProperty?: ExportModel;
379
- /**
380
- * @member {string} [provisioningState] Specifies the provisioning state of
381
- * the job.
382
- */
383
- provisioningState?: string;
384
- }
385
- /**
386
- * @interface
387
- * An interface representing PutJobParameters.
388
- * Put Job parameters
389
- *
390
- */
391
- export interface PutJobParameters {
392
- /**
393
- * @member {string} [location] Specifies the supported Azure location where
394
- * the job should be created
395
- */
396
- location?: string;
397
- /**
398
- * @member {any} [tags] Specifies the tags that will be assigned to the job.
399
- */
400
- tags?: any;
401
- /**
402
- * @member {JobDetails} [properties] Specifies the job properties
403
- */
404
- properties?: JobDetails;
405
- }
406
- /**
407
- * @interface
408
- * An interface representing UpdateJobParameters.
409
- * Update Job parameters
410
- *
411
- */
412
- export interface UpdateJobParameters {
413
- /**
414
- * @member {any} [tags] Specifies the tags that will be assigned to the job
415
- */
416
- tags?: any;
417
- /**
418
- * @member {boolean} [cancelRequested] If specified, the value must be true.
419
- * The service will attempt to cancel the job.
420
- */
421
- cancelRequested?: boolean;
422
- /**
423
- * @member {string} [state] If specified, the value must be Shipping, which
424
- * tells the Import/Export service that the package for the job has been
425
- * shipped. The ReturnAddress and DeliveryPackage properties must have been
426
- * set either in this request or in a previous request, otherwise the request
427
- * will fail.
428
- */
429
- state?: string;
430
- /**
431
- * @member {ReturnAddress} [returnAddress] Specifies the return address
432
- * information for the job.
433
- */
434
- returnAddress?: ReturnAddress;
435
- /**
436
- * @member {ReturnShipping} [returnShipping] Specifies the return carrier and
437
- * customer's account with the carrier.
438
- */
439
- returnShipping?: ReturnShipping;
440
- /**
441
- * @member {PackageInfomation} [deliveryPackage] Contains information about
442
- * the package being shipped by the customer to the Microsoft data center.
443
- */
444
- deliveryPackage?: PackageInfomation;
445
- /**
446
- * @member {string} [logLevel] Indicates whether error logging or verbose
447
- * logging is enabled.
448
- */
449
- logLevel?: string;
450
- /**
451
- * @member {boolean} [backupDriveManifest] Indicates whether the manifest
452
- * files on the drives should be copied to block blobs.
453
- */
454
- backupDriveManifest?: boolean;
455
- /**
456
- * @member {DriveStatus[]} [driveList] List of drives that comprise the job.
457
- */
458
- driveList?: DriveStatus[];
459
- }
460
- /**
461
- * @interface
462
- * An interface representing JobResponse.
463
- * Contains the job information.
464
- *
465
- * @extends BaseResource
466
- */
467
- export interface JobResponse extends BaseResource {
468
- /**
469
- * @member {string} [id] Specifies the resource identifier of the job.
470
- * **NOTE: This property will not be serialized. It can only be populated by
471
- * the server.**
472
- */
473
- readonly id?: string;
474
- /**
475
- * @member {string} [name] Specifies the name of the job.
476
- * **NOTE: This property will not be serialized. It can only be populated by
477
- * the server.**
478
- */
479
- readonly name?: string;
480
- /**
481
- * @member {string} [type] Specifies the type of the job resource.
482
- * **NOTE: This property will not be serialized. It can only be populated by
483
- * the server.**
484
- */
485
- readonly type?: string;
486
- /**
487
- * @member {string} [location] Specifies the Azure location where the job is
488
- * created.
489
- */
490
- location?: string;
491
- /**
492
- * @member {any} [tags] Specifies the tags that are assigned to the job.
493
- */
494
- tags?: any;
495
- /**
496
- * @member {JobDetails} [properties] Specifies the job properties
497
- */
498
- properties?: JobDetails;
499
- }
500
- /**
501
- * @interface
502
- * An interface representing Operation.
503
- * Describes a supported operation by the Storage Import/Export job API.
504
- *
505
- */
506
- export interface Operation {
507
- /**
508
- * @member {string} name Name of the operation.
509
- */
510
- name: string;
511
- /**
512
- * @member {string} [provider] The resource provider name to which the
513
- * operation belongs.
514
- */
515
- provider?: string;
516
- /**
517
- * @member {string} [resource] The name of the resource to which the
518
- * operation belongs.
519
- */
520
- resource?: string;
521
- /**
522
- * @member {string} [operation] The display name of the operation.
523
- */
524
- operation?: string;
525
- /**
526
- * @member {string} [description] Short description of the operation.
527
- */
528
- description?: string;
529
- }
530
- /**
531
- * @interface
532
- * An interface representing Location.
533
- * Provides information about an Azure data center location.
534
- *
535
- */
536
- export interface Location {
537
- /**
538
- * @member {string} [id] Specifies the resource identifier of the location.
539
- */
540
- id?: string;
541
- /**
542
- * @member {string} [name] Specifies the name of the location. Use List
543
- * Locations to get all supported locations.
544
- */
545
- name?: string;
546
- /**
547
- * @member {string} [type] Specifies the type of the location.
548
- */
549
- type?: string;
550
- /**
551
- * @member {string} [recipientName] The recipient name to use when shipping
552
- * the drives to the Azure data center.
553
- */
554
- recipientName?: string;
555
- /**
556
- * @member {string} [streetAddress1] The first line of the street address to
557
- * use when shipping the drives to the Azure data center.
558
- */
559
- streetAddress1?: string;
560
- /**
561
- * @member {string} [streetAddress2] The second line of the street address to
562
- * use when shipping the drives to the Azure data center.
563
- */
564
- streetAddress2?: string;
565
- /**
566
- * @member {string} [city] The city name to use when shipping the drives to
567
- * the Azure data center.
568
- */
569
- city?: string;
570
- /**
571
- * @member {string} [stateOrProvince] The state or province to use when
572
- * shipping the drives to the Azure data center.
573
- */
574
- stateOrProvince?: string;
575
- /**
576
- * @member {string} [postalCode] The postal code to use when shipping the
577
- * drives to the Azure data center.
578
- */
579
- postalCode?: string;
580
- /**
581
- * @member {string} [countryOrRegion] The country or region to use when
582
- * shipping the drives to the Azure data center.
583
- */
584
- countryOrRegion?: string;
585
- /**
586
- * @member {string} [phone] The phone number for the Azure data center.
587
- */
588
- phone?: string;
589
- /**
590
- * @member {string[]} [supportedCarriers] A list of carriers that are
591
- * supported at this location.
592
- */
593
- supportedCarriers?: string[];
594
- /**
595
- * @member {string[]} [alternateLocations] A list of location IDs that should
596
- * be used to ship shipping drives to for jobs created against the current
597
- * location. If the current location is active, it will be part of the list.
598
- * If it is temporarily closed due to maintenance, this list may contain
599
- * other locations.
600
- */
601
- alternateLocations?: string[];
602
- }
603
- /**
604
- * @interface
605
- * An interface representing DriveBitLockerKey.
606
- * BitLocker recovery key or password to the specified drive
607
- *
608
- */
609
- export interface DriveBitLockerKey {
610
- /**
611
- * @member {string} [bitLockerKey] BitLocker recovery key or password
612
- */
613
- bitLockerKey?: string;
614
- /**
615
- * @member {string} [driveId] Drive ID
616
- */
617
- driveId?: string;
618
- }
619
- /**
620
- * @interface
621
- * An interface representing JobsListBySubscriptionOptionalParams.
622
- * Optional Parameters.
623
- *
624
- * @extends RequestOptionsBase
625
- */
626
- export interface JobsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase {
627
- /**
628
- * @member {number} [top] An integer value that specifies how many jobs at
629
- * most should be returned. The value cannot exceed 100.
630
- */
631
- top?: number;
632
- /**
633
- * @member {string} [filter] Can be used to restrict the results to certain
634
- * conditions.
635
- */
636
- filter?: string;
637
- }
638
- /**
639
- * @interface
640
- * An interface representing JobsListByResourceGroupOptionalParams.
641
- * Optional Parameters.
642
- *
643
- * @extends RequestOptionsBase
644
- */
645
- export interface JobsListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
646
- /**
647
- * @member {number} [top] An integer value that specifies how many jobs at
648
- * most should be returned. The value cannot exceed 100.
649
- */
650
- top?: number;
651
- /**
652
- * @member {string} [filter] Can be used to restrict the results to certain
653
- * conditions.
654
- */
655
- filter?: string;
656
- }
657
- /**
658
- * @interface
659
- * An interface representing JobsCreateOptionalParams.
660
- * Optional Parameters.
661
- *
662
- * @extends RequestOptionsBase
663
- */
664
- export interface JobsCreateOptionalParams extends msRest.RequestOptionsBase {
665
- /**
666
- * @member {string} [clientTenantId] The tenant ID of the client making the
667
- * request.
668
- */
669
- clientTenantId?: string;
670
- }
671
- /**
672
- * @interface
673
- * An interface representing StorageImportExportManagementClientOptions.
674
- * @extends AzureServiceClientOptions
675
- */
676
- export interface StorageImportExportManagementClientOptions extends AzureServiceClientOptions {
677
- /**
678
- * @member {string} [baseUri]
679
- */
680
- baseUri?: string;
681
- }
682
- /**
683
- * @interface
684
- * An interface representing the LocationsResponse.
685
- * Locations response
686
- *
687
- * @extends Array<Location>
688
- */
689
- export interface LocationsResponse extends Array<Location> {
690
- }
691
- /**
692
- * @interface
693
- * An interface representing the ListJobsResponse.
694
- * List jobs response
695
- *
696
- * @extends Array<JobResponse>
697
- */
698
- export interface ListJobsResponse extends Array<JobResponse> {
699
- /**
700
- * @member {string} [nextLink] link to next batch of jobs
701
- */
702
- nextLink?: string;
703
- }
704
- /**
705
- * @interface
706
- * An interface representing the GetBitLockerKeysResponse.
707
- * GetBitLockerKeys response
708
- *
709
- * @extends Array<DriveBitLockerKey>
710
- */
711
- export interface GetBitLockerKeysResponse extends Array<DriveBitLockerKey> {
712
- }
713
- /**
714
- * @interface
715
- * An interface representing the ListOperationsResponse.
716
- * List operations response
717
- *
718
- * @extends Array<Operation>
719
- */
720
- export interface ListOperationsResponse extends Array<Operation> {
721
- }
722
- /**
723
- * Defines values for DriveState.
724
- * Possible values include: 'Specified', 'Received', 'NeverReceived', 'Transferring', 'Completed',
725
- * 'CompletedMoreInfo', 'ShippedBack'
726
- * @readonly
727
- * @enum {string}
728
- */
729
- export declare type DriveState = 'Specified' | 'Received' | 'NeverReceived' | 'Transferring' | 'Completed' | 'CompletedMoreInfo' | 'ShippedBack';
730
- /**
731
- * Contains response data for the list operation.
732
- */
733
- export declare type LocationsListResponse = LocationsResponse & {
734
- /**
735
- * The underlying HTTP response.
736
- */
737
- _response: msRest.HttpResponse & {
738
- /**
739
- * The response body as text (string format)
740
- */
741
- bodyAsText: string;
742
- /**
743
- * The response body as parsed JSON or XML
744
- */
745
- parsedBody: LocationsResponse;
746
- };
747
- };
748
- /**
749
- * Contains response data for the get operation.
750
- */
751
- export declare type LocationsGetResponse = Location & {
752
- /**
753
- * The underlying HTTP response.
754
- */
755
- _response: msRest.HttpResponse & {
756
- /**
757
- * The response body as text (string format)
758
- */
759
- bodyAsText: string;
760
- /**
761
- * The response body as parsed JSON or XML
762
- */
763
- parsedBody: Location;
764
- };
765
- };
766
- /**
767
- * Contains response data for the listBySubscription operation.
768
- */
769
- export declare type JobsListBySubscriptionResponse = ListJobsResponse & {
770
- /**
771
- * The underlying HTTP response.
772
- */
773
- _response: msRest.HttpResponse & {
774
- /**
775
- * The response body as text (string format)
776
- */
777
- bodyAsText: string;
778
- /**
779
- * The response body as parsed JSON or XML
780
- */
781
- parsedBody: ListJobsResponse;
782
- };
783
- };
784
- /**
785
- * Contains response data for the listByResourceGroup operation.
786
- */
787
- export declare type JobsListByResourceGroupResponse = ListJobsResponse & {
788
- /**
789
- * The underlying HTTP response.
790
- */
791
- _response: msRest.HttpResponse & {
792
- /**
793
- * The response body as text (string format)
794
- */
795
- bodyAsText: string;
796
- /**
797
- * The response body as parsed JSON or XML
798
- */
799
- parsedBody: ListJobsResponse;
800
- };
801
- };
802
- /**
803
- * Contains response data for the get operation.
804
- */
805
- export declare type JobsGetResponse = JobResponse & {
806
- /**
807
- * The underlying HTTP response.
808
- */
809
- _response: msRest.HttpResponse & {
810
- /**
811
- * The response body as text (string format)
812
- */
813
- bodyAsText: string;
814
- /**
815
- * The response body as parsed JSON or XML
816
- */
817
- parsedBody: JobResponse;
818
- };
819
- };
820
- /**
821
- * Contains response data for the update operation.
822
- */
823
- export declare type JobsUpdateResponse = JobResponse & {
824
- /**
825
- * The underlying HTTP response.
826
- */
827
- _response: msRest.HttpResponse & {
828
- /**
829
- * The response body as text (string format)
830
- */
831
- bodyAsText: string;
832
- /**
833
- * The response body as parsed JSON or XML
834
- */
835
- parsedBody: JobResponse;
836
- };
837
- };
838
- /**
839
- * Contains response data for the create operation.
840
- */
841
- export declare type JobsCreateResponse = JobResponse & {
842
- /**
843
- * The underlying HTTP response.
844
- */
845
- _response: msRest.HttpResponse & {
846
- /**
847
- * The response body as text (string format)
848
- */
849
- bodyAsText: string;
850
- /**
851
- * The response body as parsed JSON or XML
852
- */
853
- parsedBody: JobResponse;
854
- };
855
- };
856
- /**
857
- * Contains response data for the listBySubscriptionNext operation.
858
- */
859
- export declare type JobsListBySubscriptionNextResponse = ListJobsResponse & {
860
- /**
861
- * The underlying HTTP response.
862
- */
863
- _response: msRest.HttpResponse & {
864
- /**
865
- * The response body as text (string format)
866
- */
867
- bodyAsText: string;
868
- /**
869
- * The response body as parsed JSON or XML
870
- */
871
- parsedBody: ListJobsResponse;
872
- };
873
- };
874
- /**
875
- * Contains response data for the listByResourceGroupNext operation.
876
- */
877
- export declare type JobsListByResourceGroupNextResponse = ListJobsResponse & {
878
- /**
879
- * The underlying HTTP response.
880
- */
881
- _response: msRest.HttpResponse & {
882
- /**
883
- * The response body as text (string format)
884
- */
885
- bodyAsText: string;
886
- /**
887
- * The response body as parsed JSON or XML
888
- */
889
- parsedBody: ListJobsResponse;
890
- };
891
- };
892
- /**
893
- * Contains response data for the list operation.
894
- */
895
- export declare type BitLockerKeysListResponse = GetBitLockerKeysResponse & {
896
- /**
897
- * The underlying HTTP response.
898
- */
899
- _response: msRest.HttpResponse & {
900
- /**
901
- * The response body as text (string format)
902
- */
903
- bodyAsText: string;
904
- /**
905
- * The response body as parsed JSON or XML
906
- */
907
- parsedBody: GetBitLockerKeysResponse;
908
- };
909
- };
910
- /**
911
- * Contains response data for the list operation.
912
- */
913
- export declare type OperationsListResponse = ListOperationsResponse & {
914
- /**
915
- * The underlying HTTP response.
916
- */
917
- _response: msRest.HttpResponse & {
918
- /**
919
- * The response body as text (string format)
920
- */
921
- bodyAsText: string;
922
- /**
923
- * The response body as parsed JSON or XML
924
- */
925
- parsedBody: ListOperationsResponse;
926
- };
927
- };
928
- //# sourceMappingURL=index.d.ts.map