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