@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.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +75 -73
- package/dist/index.js +1999 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +504 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +40 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +25 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +570 -422
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +17 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +79 -49
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/bitLockerKeys.d.ts +32 -0
- package/dist-esm/src/operations/bitLockerKeys.d.ts.map +1 -0
- package/dist-esm/src/operations/bitLockerKeys.js +101 -0
- package/dist-esm/src/operations/bitLockerKeys.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/jobs.d.ts +92 -0
- package/dist-esm/src/operations/jobs.d.ts.map +1 -0
- package/dist-esm/src/operations/jobs.js +376 -0
- package/dist-esm/src/operations/jobs.js.map +1 -0
- package/dist-esm/src/operations/locations.d.ts +35 -0
- package/dist-esm/src/operations/locations.d.ts.map +1 -0
- package/dist-esm/src/operations/locations.js +117 -0
- package/dist-esm/src/operations/locations.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +90 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/bitLockerKeys.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/bitLockerKeys.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/bitLockerKeys.js +9 -0
- package/dist-esm/src/operationsInterfaces/bitLockerKeys.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +12 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/jobs.d.ts +54 -0
- package/dist-esm/src/operationsInterfaces/jobs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/jobs.js +9 -0
- package/dist-esm/src/operationsInterfaces/jobs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/locations.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/locations.js +9 -0
- package/dist-esm/src/operationsInterfaces/locations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/storageImportExport.d.ts +22 -0
- package/dist-esm/src/storageImportExport.d.ts.map +1 -0
- package/dist-esm/src/storageImportExport.js +54 -0
- package/dist-esm/src/storageImportExport.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +87 -26
- package/review/arm-storageimportexport.api.md +438 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +12 -0
- package/src/models/index.ts +568 -0
- package/{lib → src}/models/mappers.ts +575 -424
- package/src/models/parameters.ts +171 -0
- package/src/operations/bitLockerKeys.ts +125 -0
- package/{lib → src}/operations/index.ts +3 -5
- package/src/operations/jobs.ts +467 -0
- package/src/operations/locations.ts +134 -0
- package/src/operations/operations.ts +98 -0
- package/src/operationsInterfaces/bitLockerKeys.ts +27 -0
- package/src/operationsInterfaces/index.ts +12 -0
- package/src/operationsInterfaces/jobs.ts +99 -0
- package/src/operationsInterfaces/locations.ts +38 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/storageImportExport.ts +92 -0
- package/tsconfig.json +20 -7
- package/types/arm-storageimportexport.d.ts +671 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-storageimportexport.js +0 -1754
- package/dist/arm-storageimportexport.js.map +0 -1
- package/dist/arm-storageimportexport.min.js +0 -1
- package/dist/arm-storageimportexport.min.js.map +0 -1
- package/esm/models/bitLockerKeysMappers.d.ts +0 -2
- package/esm/models/bitLockerKeysMappers.d.ts.map +0 -1
- package/esm/models/bitLockerKeysMappers.js +0 -11
- package/esm/models/bitLockerKeysMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -928
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/jobsMappers.d.ts +0 -2
- package/esm/models/jobsMappers.d.ts.map +0 -1
- package/esm/models/jobsMappers.js +0 -11
- package/esm/models/jobsMappers.js.map +0 -1
- package/esm/models/locationsMappers.d.ts +0 -2
- package/esm/models/locationsMappers.d.ts.map +0 -1
- package/esm/models/locationsMappers.js +0 -11
- package/esm/models/locationsMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -23
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -12
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/bitLockerKeys.d.ts +0 -37
- package/esm/operations/bitLockerKeys.d.ts.map +0 -1
- package/esm/operations/bitLockerKeys.js +0 -58
- package/esm/operations/bitLockerKeys.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/jobs.d.ts +0 -189
- package/esm/operations/jobs.d.ts.map +0 -1
- package/esm/operations/jobs.js +0 -276
- package/esm/operations/jobs.js.map +0 -1
- package/esm/operations/locations.d.ts +0 -48
- package/esm/operations/locations.d.ts.map +0 -1
- package/esm/operations/locations.js +0 -79
- package/esm/operations/locations.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -51
- package/esm/operations/operations.js.map +0 -1
- package/esm/storageImportExportManagementClient.d.ts +0 -21
- package/esm/storageImportExportManagementClient.d.ts.map +0 -1
- package/esm/storageImportExportManagementClient.js +0 -36
- package/esm/storageImportExportManagementClient.js.map +0 -1
- package/esm/storageImportExportManagementClientContext.d.ts +0 -16
- package/esm/storageImportExportManagementClientContext.d.ts.map +0 -1
- package/esm/storageImportExportManagementClientContext.js +0 -55
- package/esm/storageImportExportManagementClientContext.js.map +0 -1
- package/lib/models/bitLockerKeysMappers.ts +0 -17
- package/lib/models/index.ts +0 -975
- package/lib/models/jobsMappers.ts +0 -27
- package/lib/models/locationsMappers.ts +0 -17
- package/lib/models/operationsMappers.ts +0 -17
- package/lib/models/parameters.ts +0 -120
- package/lib/operations/bitLockerKeys.ts +0 -90
- package/lib/operations/jobs.ts +0 -500
- package/lib/operations/locations.ts +0 -127
- package/lib/operations/operations.ts +0 -74
- package/lib/storageImportExportManagementClient.ts +0 -48
- package/lib/storageImportExportManagementClientContext.ts +0 -61
package/esm/operations/jobs.js
DELETED
|
@@ -1,276 +0,0 @@
|
|
|
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.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import * as tslib_1 from "tslib";
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as Mappers from "../models/jobsMappers";
|
|
13
|
-
import * as Parameters from "../models/parameters";
|
|
14
|
-
/** Class representing a Jobs. */
|
|
15
|
-
var Jobs = /** @class */ (function () {
|
|
16
|
-
/**
|
|
17
|
-
* Create a Jobs.
|
|
18
|
-
* @param {StorageImportExportManagementClientContext} client Reference to the service client.
|
|
19
|
-
*/
|
|
20
|
-
function Jobs(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
}
|
|
23
|
-
Jobs.prototype.listBySubscription = function (options, callback) {
|
|
24
|
-
return this.client.sendOperationRequest({
|
|
25
|
-
options: options
|
|
26
|
-
}, listBySubscriptionOperationSpec, callback);
|
|
27
|
-
};
|
|
28
|
-
Jobs.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
29
|
-
return this.client.sendOperationRequest({
|
|
30
|
-
resourceGroupName: resourceGroupName,
|
|
31
|
-
options: options
|
|
32
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
33
|
-
};
|
|
34
|
-
Jobs.prototype.get = function (jobName, resourceGroupName, options, callback) {
|
|
35
|
-
return this.client.sendOperationRequest({
|
|
36
|
-
jobName: jobName,
|
|
37
|
-
resourceGroupName: resourceGroupName,
|
|
38
|
-
options: options
|
|
39
|
-
}, getOperationSpec, callback);
|
|
40
|
-
};
|
|
41
|
-
Jobs.prototype.update = function (jobName, resourceGroupName, body, options, callback) {
|
|
42
|
-
return this.client.sendOperationRequest({
|
|
43
|
-
jobName: jobName,
|
|
44
|
-
resourceGroupName: resourceGroupName,
|
|
45
|
-
body: body,
|
|
46
|
-
options: options
|
|
47
|
-
}, updateOperationSpec, callback);
|
|
48
|
-
};
|
|
49
|
-
Jobs.prototype.create = function (jobName, resourceGroupName, body, options, callback) {
|
|
50
|
-
return this.client.sendOperationRequest({
|
|
51
|
-
jobName: jobName,
|
|
52
|
-
resourceGroupName: resourceGroupName,
|
|
53
|
-
body: body,
|
|
54
|
-
options: options
|
|
55
|
-
}, createOperationSpec, callback);
|
|
56
|
-
};
|
|
57
|
-
Jobs.prototype.deleteMethod = function (jobName, resourceGroupName, options, callback) {
|
|
58
|
-
return this.client.sendOperationRequest({
|
|
59
|
-
jobName: jobName,
|
|
60
|
-
resourceGroupName: resourceGroupName,
|
|
61
|
-
options: options
|
|
62
|
-
}, deleteMethodOperationSpec, callback);
|
|
63
|
-
};
|
|
64
|
-
Jobs.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
|
|
65
|
-
return this.client.sendOperationRequest({
|
|
66
|
-
nextPageLink: nextPageLink,
|
|
67
|
-
options: options
|
|
68
|
-
}, listBySubscriptionNextOperationSpec, callback);
|
|
69
|
-
};
|
|
70
|
-
Jobs.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
71
|
-
return this.client.sendOperationRequest({
|
|
72
|
-
nextPageLink: nextPageLink,
|
|
73
|
-
options: options
|
|
74
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
75
|
-
};
|
|
76
|
-
return Jobs;
|
|
77
|
-
}());
|
|
78
|
-
export { Jobs };
|
|
79
|
-
// Operation Specifications
|
|
80
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
81
|
-
var listBySubscriptionOperationSpec = {
|
|
82
|
-
httpMethod: "GET",
|
|
83
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.ImportExport/jobs",
|
|
84
|
-
urlParameters: [
|
|
85
|
-
Parameters.subscriptionId
|
|
86
|
-
],
|
|
87
|
-
queryParameters: [
|
|
88
|
-
Parameters.top,
|
|
89
|
-
Parameters.filter,
|
|
90
|
-
Parameters.apiVersion
|
|
91
|
-
],
|
|
92
|
-
headerParameters: [
|
|
93
|
-
Parameters.acceptLanguage
|
|
94
|
-
],
|
|
95
|
-
responses: {
|
|
96
|
-
200: {
|
|
97
|
-
bodyMapper: Mappers.ListJobsResponse
|
|
98
|
-
},
|
|
99
|
-
default: {
|
|
100
|
-
bodyMapper: Mappers.ErrorResponse
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
serializer: serializer
|
|
104
|
-
};
|
|
105
|
-
var listByResourceGroupOperationSpec = {
|
|
106
|
-
httpMethod: "GET",
|
|
107
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs",
|
|
108
|
-
urlParameters: [
|
|
109
|
-
Parameters.subscriptionId,
|
|
110
|
-
Parameters.resourceGroupName
|
|
111
|
-
],
|
|
112
|
-
queryParameters: [
|
|
113
|
-
Parameters.top,
|
|
114
|
-
Parameters.filter,
|
|
115
|
-
Parameters.apiVersion
|
|
116
|
-
],
|
|
117
|
-
headerParameters: [
|
|
118
|
-
Parameters.acceptLanguage
|
|
119
|
-
],
|
|
120
|
-
responses: {
|
|
121
|
-
200: {
|
|
122
|
-
bodyMapper: Mappers.ListJobsResponse
|
|
123
|
-
},
|
|
124
|
-
default: {
|
|
125
|
-
bodyMapper: Mappers.ErrorResponse
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
serializer: serializer
|
|
129
|
-
};
|
|
130
|
-
var getOperationSpec = {
|
|
131
|
-
httpMethod: "GET",
|
|
132
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}",
|
|
133
|
-
urlParameters: [
|
|
134
|
-
Parameters.jobName,
|
|
135
|
-
Parameters.subscriptionId,
|
|
136
|
-
Parameters.resourceGroupName
|
|
137
|
-
],
|
|
138
|
-
queryParameters: [
|
|
139
|
-
Parameters.apiVersion
|
|
140
|
-
],
|
|
141
|
-
headerParameters: [
|
|
142
|
-
Parameters.acceptLanguage
|
|
143
|
-
],
|
|
144
|
-
responses: {
|
|
145
|
-
200: {
|
|
146
|
-
bodyMapper: Mappers.JobResponse
|
|
147
|
-
},
|
|
148
|
-
default: {
|
|
149
|
-
bodyMapper: Mappers.ErrorResponse
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
serializer: serializer
|
|
153
|
-
};
|
|
154
|
-
var updateOperationSpec = {
|
|
155
|
-
httpMethod: "PATCH",
|
|
156
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}",
|
|
157
|
-
urlParameters: [
|
|
158
|
-
Parameters.jobName,
|
|
159
|
-
Parameters.subscriptionId,
|
|
160
|
-
Parameters.resourceGroupName
|
|
161
|
-
],
|
|
162
|
-
queryParameters: [
|
|
163
|
-
Parameters.apiVersion
|
|
164
|
-
],
|
|
165
|
-
headerParameters: [
|
|
166
|
-
Parameters.acceptLanguage
|
|
167
|
-
],
|
|
168
|
-
requestBody: {
|
|
169
|
-
parameterPath: "body",
|
|
170
|
-
mapper: tslib_1.__assign({}, Mappers.UpdateJobParameters, { required: true })
|
|
171
|
-
},
|
|
172
|
-
responses: {
|
|
173
|
-
200: {
|
|
174
|
-
bodyMapper: Mappers.JobResponse
|
|
175
|
-
},
|
|
176
|
-
default: {
|
|
177
|
-
bodyMapper: Mappers.ErrorResponse
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
serializer: serializer
|
|
181
|
-
};
|
|
182
|
-
var createOperationSpec = {
|
|
183
|
-
httpMethod: "PUT",
|
|
184
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}",
|
|
185
|
-
urlParameters: [
|
|
186
|
-
Parameters.jobName,
|
|
187
|
-
Parameters.subscriptionId,
|
|
188
|
-
Parameters.resourceGroupName
|
|
189
|
-
],
|
|
190
|
-
queryParameters: [
|
|
191
|
-
Parameters.apiVersion
|
|
192
|
-
],
|
|
193
|
-
headerParameters: [
|
|
194
|
-
Parameters.acceptLanguage,
|
|
195
|
-
Parameters.clientTenantId
|
|
196
|
-
],
|
|
197
|
-
requestBody: {
|
|
198
|
-
parameterPath: "body",
|
|
199
|
-
mapper: tslib_1.__assign({}, Mappers.PutJobParameters, { required: true })
|
|
200
|
-
},
|
|
201
|
-
responses: {
|
|
202
|
-
200: {
|
|
203
|
-
bodyMapper: Mappers.JobResponse
|
|
204
|
-
},
|
|
205
|
-
201: {
|
|
206
|
-
bodyMapper: Mappers.JobResponse
|
|
207
|
-
},
|
|
208
|
-
default: {
|
|
209
|
-
bodyMapper: Mappers.ErrorResponse
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
serializer: serializer
|
|
213
|
-
};
|
|
214
|
-
var deleteMethodOperationSpec = {
|
|
215
|
-
httpMethod: "DELETE",
|
|
216
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}",
|
|
217
|
-
urlParameters: [
|
|
218
|
-
Parameters.jobName,
|
|
219
|
-
Parameters.subscriptionId,
|
|
220
|
-
Parameters.resourceGroupName
|
|
221
|
-
],
|
|
222
|
-
queryParameters: [
|
|
223
|
-
Parameters.apiVersion
|
|
224
|
-
],
|
|
225
|
-
headerParameters: [
|
|
226
|
-
Parameters.acceptLanguage
|
|
227
|
-
],
|
|
228
|
-
responses: {
|
|
229
|
-
200: {},
|
|
230
|
-
default: {
|
|
231
|
-
bodyMapper: Mappers.ErrorResponse
|
|
232
|
-
}
|
|
233
|
-
},
|
|
234
|
-
serializer: serializer
|
|
235
|
-
};
|
|
236
|
-
var listBySubscriptionNextOperationSpec = {
|
|
237
|
-
httpMethod: "GET",
|
|
238
|
-
baseUrl: "https://management.azure.com",
|
|
239
|
-
path: "{nextLink}",
|
|
240
|
-
urlParameters: [
|
|
241
|
-
Parameters.nextPageLink
|
|
242
|
-
],
|
|
243
|
-
headerParameters: [
|
|
244
|
-
Parameters.acceptLanguage
|
|
245
|
-
],
|
|
246
|
-
responses: {
|
|
247
|
-
200: {
|
|
248
|
-
bodyMapper: Mappers.ListJobsResponse
|
|
249
|
-
},
|
|
250
|
-
default: {
|
|
251
|
-
bodyMapper: Mappers.ErrorResponse
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
serializer: serializer
|
|
255
|
-
};
|
|
256
|
-
var listByResourceGroupNextOperationSpec = {
|
|
257
|
-
httpMethod: "GET",
|
|
258
|
-
baseUrl: "https://management.azure.com",
|
|
259
|
-
path: "{nextLink}",
|
|
260
|
-
urlParameters: [
|
|
261
|
-
Parameters.nextPageLink
|
|
262
|
-
],
|
|
263
|
-
headerParameters: [
|
|
264
|
-
Parameters.acceptLanguage
|
|
265
|
-
],
|
|
266
|
-
responses: {
|
|
267
|
-
200: {
|
|
268
|
-
bodyMapper: Mappers.ListJobsResponse
|
|
269
|
-
},
|
|
270
|
-
default: {
|
|
271
|
-
bodyMapper: Mappers.ErrorResponse
|
|
272
|
-
}
|
|
273
|
-
},
|
|
274
|
-
serializer: serializer
|
|
275
|
-
};
|
|
276
|
-
//# sourceMappingURL=jobs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"jobs.js","sourceRoot":"","sources":["../../lib/operations/jobs.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AACjD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,iCAAiC;AACjC;IAGE;;;OAGG;IACH,cAAY,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;AAEF,IAAM,mCAAmC,GAAyB;IAChE,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,oCAAoC,GAAyB;IACjE,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { StorageImportExportManagementClientContext } from "../storageImportExportManagementClientContext";
|
|
4
|
-
/** Class representing a Locations. */
|
|
5
|
-
export declare class Locations {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a Locations.
|
|
9
|
-
* @param {StorageImportExportManagementClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: StorageImportExportManagementClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* Returns a list of locations to which you can ship the disks associated with an import or export
|
|
14
|
-
* job. A location is a Microsoft data center region.
|
|
15
|
-
* @param [options] The optional parameters
|
|
16
|
-
* @returns Promise<Models.LocationsListResponse>
|
|
17
|
-
*/
|
|
18
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.LocationsListResponse>;
|
|
19
|
-
/**
|
|
20
|
-
* @param callback The callback
|
|
21
|
-
*/
|
|
22
|
-
list(callback: msRest.ServiceCallback<Models.LocationsResponse>): void;
|
|
23
|
-
/**
|
|
24
|
-
* @param options The optional parameters
|
|
25
|
-
* @param callback The callback
|
|
26
|
-
*/
|
|
27
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LocationsResponse>): void;
|
|
28
|
-
/**
|
|
29
|
-
* Returns the details about a location to which you can ship the disks associated with an import
|
|
30
|
-
* or export job. A location is an Azure region.
|
|
31
|
-
* @param locationName The name of the location. For example, West US or westus.
|
|
32
|
-
* @param [options] The optional parameters
|
|
33
|
-
* @returns Promise<Models.LocationsGetResponse>
|
|
34
|
-
*/
|
|
35
|
-
get(locationName: string, options?: msRest.RequestOptionsBase): Promise<Models.LocationsGetResponse>;
|
|
36
|
-
/**
|
|
37
|
-
* @param locationName The name of the location. For example, West US or westus.
|
|
38
|
-
* @param callback The callback
|
|
39
|
-
*/
|
|
40
|
-
get(locationName: string, callback: msRest.ServiceCallback<Models.Location>): void;
|
|
41
|
-
/**
|
|
42
|
-
* @param locationName The name of the location. For example, West US or westus.
|
|
43
|
-
* @param options The optional parameters
|
|
44
|
-
* @param callback The callback
|
|
45
|
-
*/
|
|
46
|
-
get(locationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Location>): void;
|
|
47
|
-
}
|
|
48
|
-
//# sourceMappingURL=locations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"locations.d.ts","sourceRoot":"","sources":["../../lib/operations/locations.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,0CAA0C,EAAE,MAAM,+CAA+C,CAAC;AAE3G,sCAAsC;AACtC,qBAAa,SAAS;IACpB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA6C;IAEpE;;;OAGG;gBACS,MAAM,EAAE,0CAA0C;IAI9D;;;;;OAKG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,qBAAqB,CAAC;IAChF;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,iBAAiB,CAAC,GAAG,IAAI;IACtE;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,iBAAiB,CAAC,GAAG,IAAI;IAU1G;;;;;;OAMG;IACH,GAAG,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,oBAAoB,CAAC;IACpG;;;OAGG;IACH,GAAG,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,IAAI;IAClF;;;;OAIG;IACH,GAAG,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,IAAI;CAUvH"}
|
|
@@ -1,79 +0,0 @@
|
|
|
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.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
-
import * as Mappers from "../models/locationsMappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
/** Class representing a Locations. */
|
|
14
|
-
var Locations = /** @class */ (function () {
|
|
15
|
-
/**
|
|
16
|
-
* Create a Locations.
|
|
17
|
-
* @param {StorageImportExportManagementClientContext} client Reference to the service client.
|
|
18
|
-
*/
|
|
19
|
-
function Locations(client) {
|
|
20
|
-
this.client = client;
|
|
21
|
-
}
|
|
22
|
-
Locations.prototype.list = function (options, callback) {
|
|
23
|
-
return this.client.sendOperationRequest({
|
|
24
|
-
options: options
|
|
25
|
-
}, listOperationSpec, callback);
|
|
26
|
-
};
|
|
27
|
-
Locations.prototype.get = function (locationName, options, callback) {
|
|
28
|
-
return this.client.sendOperationRequest({
|
|
29
|
-
locationName: locationName,
|
|
30
|
-
options: options
|
|
31
|
-
}, getOperationSpec, callback);
|
|
32
|
-
};
|
|
33
|
-
return Locations;
|
|
34
|
-
}());
|
|
35
|
-
export { Locations };
|
|
36
|
-
// Operation Specifications
|
|
37
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
38
|
-
var listOperationSpec = {
|
|
39
|
-
httpMethod: "GET",
|
|
40
|
-
path: "providers/Microsoft.ImportExport/locations",
|
|
41
|
-
queryParameters: [
|
|
42
|
-
Parameters.apiVersion
|
|
43
|
-
],
|
|
44
|
-
headerParameters: [
|
|
45
|
-
Parameters.acceptLanguage
|
|
46
|
-
],
|
|
47
|
-
responses: {
|
|
48
|
-
200: {
|
|
49
|
-
bodyMapper: Mappers.LocationsResponse
|
|
50
|
-
},
|
|
51
|
-
default: {
|
|
52
|
-
bodyMapper: Mappers.ErrorResponse
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
serializer: serializer
|
|
56
|
-
};
|
|
57
|
-
var getOperationSpec = {
|
|
58
|
-
httpMethod: "GET",
|
|
59
|
-
path: "providers/Microsoft.ImportExport/locations/{locationName}",
|
|
60
|
-
urlParameters: [
|
|
61
|
-
Parameters.locationName
|
|
62
|
-
],
|
|
63
|
-
queryParameters: [
|
|
64
|
-
Parameters.apiVersion
|
|
65
|
-
],
|
|
66
|
-
headerParameters: [
|
|
67
|
-
Parameters.acceptLanguage
|
|
68
|
-
],
|
|
69
|
-
responses: {
|
|
70
|
-
200: {
|
|
71
|
-
bodyMapper: Mappers.Location
|
|
72
|
-
},
|
|
73
|
-
default: {
|
|
74
|
-
bodyMapper: Mappers.ErrorResponse
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
serializer: serializer
|
|
78
|
-
};
|
|
79
|
-
//# sourceMappingURL=locations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"locations.js","sourceRoot":"","sources":["../../lib/operations/locations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC;AACtD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,sCAAsC;AACtC;IAGE;;;OAGG;IACH,mBAAY,MAAkD;QAC5D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAkBD,wBAAI,GAAJ,UAAK,OAAsF,EAAE,QAA2D;QACtJ,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA0C,CAAC;IACvD,CAAC;IAqBD,uBAAG,GAAH,UAAI,YAAoB,EAAE,OAA6E,EAAE,QAAkD;QACzJ,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,gBAAgB,EAChB,QAAQ,CAAyC,CAAC;IACtD,CAAC;IACH,gBAAC;AAAD,CAAC,AAhED,IAgEC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,4CAA4C;IAClD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,gBAAgB,GAAyB;IAC7C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,2DAA2D;IACjE,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { StorageImportExportManagementClientContext } from "../storageImportExportManagementClientContext";
|
|
4
|
-
/** Class representing a Operations. */
|
|
5
|
-
export declare class Operations {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a Operations.
|
|
9
|
-
* @param {StorageImportExportManagementClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: StorageImportExportManagementClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* Returns the list of operations supported by the import/export resource provider.
|
|
14
|
-
* @param [options] The optional parameters
|
|
15
|
-
* @returns Promise<Models.OperationsListResponse>
|
|
16
|
-
*/
|
|
17
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.OperationsListResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* @param callback The callback
|
|
20
|
-
*/
|
|
21
|
-
list(callback: msRest.ServiceCallback<Models.ListOperationsResponse>): void;
|
|
22
|
-
/**
|
|
23
|
-
* @param options The optional parameters
|
|
24
|
-
* @param callback The callback
|
|
25
|
-
*/
|
|
26
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ListOperationsResponse>): void;
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../lib/operations/operations.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,0CAA0C,EAAE,MAAM,+CAA+C,CAAC;AAE3G,uCAAuC;AACvC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA6C;IAEpE;;;OAGG;gBACS,MAAM,EAAE,0CAA0C;IAI9D;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAC;IACjF;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,sBAAsB,CAAC,GAAG,IAAI;IAC3E;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,sBAAsB,CAAC,GAAG,IAAI;CAShH"}
|
|
@@ -1,51 +0,0 @@
|
|
|
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.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
-
import * as Mappers from "../models/operationsMappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
/** Class representing a Operations. */
|
|
14
|
-
var Operations = /** @class */ (function () {
|
|
15
|
-
/**
|
|
16
|
-
* Create a Operations.
|
|
17
|
-
* @param {StorageImportExportManagementClientContext} client Reference to the service client.
|
|
18
|
-
*/
|
|
19
|
-
function Operations(client) {
|
|
20
|
-
this.client = client;
|
|
21
|
-
}
|
|
22
|
-
Operations.prototype.list = function (options, callback) {
|
|
23
|
-
return this.client.sendOperationRequest({
|
|
24
|
-
options: options
|
|
25
|
-
}, listOperationSpec, callback);
|
|
26
|
-
};
|
|
27
|
-
return Operations;
|
|
28
|
-
}());
|
|
29
|
-
export { Operations };
|
|
30
|
-
// Operation Specifications
|
|
31
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
32
|
-
var listOperationSpec = {
|
|
33
|
-
httpMethod: "GET",
|
|
34
|
-
path: "providers/Microsoft.ImportExport/operations",
|
|
35
|
-
queryParameters: [
|
|
36
|
-
Parameters.apiVersion
|
|
37
|
-
],
|
|
38
|
-
headerParameters: [
|
|
39
|
-
Parameters.acceptLanguage
|
|
40
|
-
],
|
|
41
|
-
responses: {
|
|
42
|
-
200: {
|
|
43
|
-
bodyMapper: Mappers.ListOperationsResponse
|
|
44
|
-
},
|
|
45
|
-
default: {
|
|
46
|
-
bodyMapper: Mappers.ErrorResponse
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
serializer: serializer
|
|
50
|
-
};
|
|
51
|
-
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../lib/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAAkD;QAC5D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,yBAAI,GAAJ,UAAK,OAA2F,EAAE,QAAgE;QAChK,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA2C,CAAC;IACxD,CAAC;IACH,iBAAC;AAAD,CAAC,AAlCD,IAkCC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,6CAA6C;IACnD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "./models";
|
|
3
|
-
import * as Mappers from "./models/mappers";
|
|
4
|
-
import * as operations from "./operations";
|
|
5
|
-
import { StorageImportExportManagementClientContext } from "./storageImportExportManagementClientContext";
|
|
6
|
-
declare class StorageImportExportManagementClient extends StorageImportExportManagementClientContext {
|
|
7
|
-
locations: operations.Locations;
|
|
8
|
-
jobs: operations.Jobs;
|
|
9
|
-
bitLockerKeys: operations.BitLockerKeys;
|
|
10
|
-
operations: operations.Operations;
|
|
11
|
-
/**
|
|
12
|
-
* Initializes a new instance of the StorageImportExportManagementClient class.
|
|
13
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
14
|
-
* @param subscriptionId The subscription ID for the Azure user.
|
|
15
|
-
* @param [options] The parameter options
|
|
16
|
-
*/
|
|
17
|
-
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.StorageImportExportManagementClientOptions);
|
|
18
|
-
}
|
|
19
|
-
export { StorageImportExportManagementClient, StorageImportExportManagementClientContext, Models as StorageImportExportManagementModels, Mappers as StorageImportExportManagementMappers };
|
|
20
|
-
export * from "./operations";
|
|
21
|
-
//# sourceMappingURL=storageImportExportManagementClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storageImportExportManagementClient.d.ts","sourceRoot":"","sources":["../lib/storageImportExportManagementClient.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,0CAA0C,EAAE,MAAM,8CAA8C,CAAC;AAG1G,cAAM,mCAAoC,SAAQ,0CAA0C;IAE1F,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC;IAChC,IAAI,EAAE,UAAU,CAAC,IAAI,CAAC;IACtB,aAAa,EAAE,UAAU,CAAC,aAAa,CAAC;IACxC,UAAU,EAAE,UAAU,CAAC,UAAU,CAAC;IAElC;;;;;OAKG;gBACS,WAAW,EAAE,MAAM,CAAC,wBAAwB,EAAE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,0CAA0C;CAO9I;AAID,OAAO,EACL,mCAAmC,EACnC,0CAA0C,EAC1C,MAAM,IAAI,mCAAmC,EAC7C,OAAO,IAAI,oCAAoC,EAChD,CAAC;AACF,cAAc,cAAc,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
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.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import * as tslib_1 from "tslib";
|
|
11
|
-
import * as Models from "./models";
|
|
12
|
-
import * as Mappers from "./models/mappers";
|
|
13
|
-
import * as operations from "./operations";
|
|
14
|
-
import { StorageImportExportManagementClientContext } from "./storageImportExportManagementClientContext";
|
|
15
|
-
var StorageImportExportManagementClient = /** @class */ (function (_super) {
|
|
16
|
-
tslib_1.__extends(StorageImportExportManagementClient, _super);
|
|
17
|
-
/**
|
|
18
|
-
* Initializes a new instance of the StorageImportExportManagementClient class.
|
|
19
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
20
|
-
* @param subscriptionId The subscription ID for the Azure user.
|
|
21
|
-
* @param [options] The parameter options
|
|
22
|
-
*/
|
|
23
|
-
function StorageImportExportManagementClient(credentials, subscriptionId, options) {
|
|
24
|
-
var _this = _super.call(this, credentials, subscriptionId, options) || this;
|
|
25
|
-
_this.locations = new operations.Locations(_this);
|
|
26
|
-
_this.jobs = new operations.Jobs(_this);
|
|
27
|
-
_this.bitLockerKeys = new operations.BitLockerKeys(_this);
|
|
28
|
-
_this.operations = new operations.Operations(_this);
|
|
29
|
-
return _this;
|
|
30
|
-
}
|
|
31
|
-
return StorageImportExportManagementClient;
|
|
32
|
-
}(StorageImportExportManagementClientContext));
|
|
33
|
-
// Operation Specifications
|
|
34
|
-
export { StorageImportExportManagementClient, StorageImportExportManagementClientContext, Models as StorageImportExportManagementModels, Mappers as StorageImportExportManagementMappers };
|
|
35
|
-
export * from "./operations";
|
|
36
|
-
//# sourceMappingURL=storageImportExportManagementClient.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storageImportExportManagementClient.js","sourceRoot":"","sources":["../lib/storageImportExportManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAGH,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,0CAA0C,EAAE,MAAM,8CAA8C,CAAC;AAG1G;IAAkD,+DAA0C;IAO1F;;;;;OAKG;IACH,6CAAY,WAA4C,EAAE,cAAsB,EAAE,OAA2D;QAA7I,YACE,kBAAM,WAAW,EAAE,cAAc,EAAE,OAAO,CAAC,SAK5C;QAJC,KAAI,CAAC,SAAS,GAAG,IAAI,UAAU,CAAC,SAAS,CAAC,KAAI,CAAC,CAAC;QAChD,KAAI,CAAC,IAAI,GAAG,IAAI,UAAU,CAAC,IAAI,CAAC,KAAI,CAAC,CAAC;QACtC,KAAI,CAAC,aAAa,GAAG,IAAI,UAAU,CAAC,aAAa,CAAC,KAAI,CAAC,CAAC;QACxD,KAAI,CAAC,UAAU,GAAG,IAAI,UAAU,CAAC,UAAU,CAAC,KAAI,CAAC,CAAC;;IACpD,CAAC;IACH,0CAAC;AAAD,CAAC,AApBD,CAAkD,0CAA0C,GAoB3F;AAED,2BAA2B;AAE3B,OAAO,EACL,mCAAmC,EACnC,0CAA0C,EAC1C,MAAM,IAAI,mCAAmC,EAC7C,OAAO,IAAI,oCAAoC,EAChD,CAAC;AACF,cAAc,cAAc,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as Models from "./models";
|
|
2
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
3
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
4
|
-
export declare class StorageImportExportManagementClientContext extends msRestAzure.AzureServiceClient {
|
|
5
|
-
credentials: msRest.ServiceClientCredentials;
|
|
6
|
-
apiVersion?: string;
|
|
7
|
-
subscriptionId: string;
|
|
8
|
-
/**
|
|
9
|
-
* Initializes a new instance of the StorageImportExportManagementClient class.
|
|
10
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
11
|
-
* @param subscriptionId The subscription ID for the Azure user.
|
|
12
|
-
* @param [options] The parameter options
|
|
13
|
-
*/
|
|
14
|
-
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.StorageImportExportManagementClientOptions);
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=storageImportExportManagementClientContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storageImportExportManagementClientContext.d.ts","sourceRoot":"","sources":["../lib/storageImportExportManagementClientContext.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AAKvD,qBAAa,0CAA2C,SAAQ,WAAW,CAAC,kBAAkB;IAC5F,WAAW,EAAE,MAAM,CAAC,wBAAwB,CAAC;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBACS,WAAW,EAAE,MAAM,CAAC,wBAAwB,EAAE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,0CAA0C;CAgC9I"}
|
|
@@ -1,55 +0,0 @@
|
|
|
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.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import * as tslib_1 from "tslib";
|
|
11
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
12
|
-
var packageName = "@azure/arm-storageimportexport";
|
|
13
|
-
var packageVersion = "0.1.0";
|
|
14
|
-
var StorageImportExportManagementClientContext = /** @class */ (function (_super) {
|
|
15
|
-
tslib_1.__extends(StorageImportExportManagementClientContext, _super);
|
|
16
|
-
/**
|
|
17
|
-
* Initializes a new instance of the StorageImportExportManagementClient class.
|
|
18
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
19
|
-
* @param subscriptionId The subscription ID for the Azure user.
|
|
20
|
-
* @param [options] The parameter options
|
|
21
|
-
*/
|
|
22
|
-
function StorageImportExportManagementClientContext(credentials, subscriptionId, options) {
|
|
23
|
-
var _this = this;
|
|
24
|
-
if (credentials == undefined) {
|
|
25
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
26
|
-
}
|
|
27
|
-
if (subscriptionId == undefined) {
|
|
28
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
29
|
-
}
|
|
30
|
-
if (!options) {
|
|
31
|
-
options = {};
|
|
32
|
-
}
|
|
33
|
-
if (!options.userAgent) {
|
|
34
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
35
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
36
|
-
}
|
|
37
|
-
_this = _super.call(this, credentials, options) || this;
|
|
38
|
-
_this.apiVersion = '2016-11-01';
|
|
39
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
40
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
41
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
42
|
-
_this.credentials = credentials;
|
|
43
|
-
_this.subscriptionId = subscriptionId;
|
|
44
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
45
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
46
|
-
}
|
|
47
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
48
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
49
|
-
}
|
|
50
|
-
return _this;
|
|
51
|
-
}
|
|
52
|
-
return StorageImportExportManagementClientContext;
|
|
53
|
-
}(msRestAzure.AzureServiceClient));
|
|
54
|
-
export { StorageImportExportManagementClientContext };
|
|
55
|
-
//# sourceMappingURL=storageImportExportManagementClientContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storageImportExportManagementClientContext.js","sourceRoot":"","sources":["../lib/storageImportExportManagementClientContext.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAIH,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AAEvD,IAAM,WAAW,GAAG,gCAAgC,CAAC;AACrD,IAAM,cAAc,GAAG,OAAO,CAAC;AAE/B;IAAgE,sEAA8B;IAK5F;;;;;OAKG;IACH,oDAAY,WAA4C,EAAE,cAAsB,EAAE,OAA2D;QAA7I,iBA+BC;QA9BC,IAAI,WAAW,IAAI,SAAS,EAAE;YAC5B,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;SACpD;QACD,IAAI,cAAc,IAAI,SAAS,EAAE;YAC/B,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;SACvD;QAED,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QACD,IAAG,CAAC,OAAO,CAAC,SAAS,EAAE;YACrB,IAAM,gBAAgB,GAAG,WAAW,CAAC,wBAAwB,EAAE,CAAC;YAChE,OAAO,CAAC,SAAS,GAAM,WAAW,SAAI,cAAc,SAAI,gBAAkB,CAAC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