@azure/arm-elasticsan 1.0.0-alpha.20230719.1 → 1.0.0-alpha.20230725.2
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 +62 -8
- package/dist/index.js +1035 -284
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/elasticSansCreateSample.js +16 -15
- package/dist-esm/samples-dev/elasticSansCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/elasticSansDeleteSample.js +8 -8
- package/dist-esm/samples-dev/elasticSansDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/elasticSansGetSample.js +8 -8
- package/dist-esm/samples-dev/elasticSansGetSample.js.map +1 -1
- package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js +6 -6
- package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js +4 -4
- package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/elasticSansUpdateSample.js +11 -11
- package/dist-esm/samples-dev/elasticSansUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +2 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +74 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +58 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +58 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +98 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.js +56 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.js.map +1 -0
- package/dist-esm/samples-dev/skusListSample.js +5 -5
- package/dist-esm/samples-dev/skusListSample.js.map +1 -1
- package/dist-esm/samples-dev/volumeGroupsCreateSample.js +15 -13
- package/dist-esm/samples-dev/volumeGroupsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/volumeGroupsDeleteSample.js +10 -10
- package/dist-esm/samples-dev/volumeGroupsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/volumeGroupsGetSample.js +10 -10
- package/dist-esm/samples-dev/volumeGroupsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js +8 -8
- package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js.map +1 -1
- package/dist-esm/samples-dev/volumeGroupsUpdateSample.js +15 -13
- package/dist-esm/samples-dev/volumeGroupsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/volumesCreateSample.js +15 -16
- package/dist-esm/samples-dev/volumesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/volumesDeleteSample.js +12 -12
- package/dist-esm/samples-dev/volumesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/volumesGetSample.js +12 -12
- package/dist-esm/samples-dev/volumesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js +10 -10
- package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/volumesUpdateSample.js +13 -16
- package/dist-esm/samples-dev/volumesUpdateSample.js.map +1 -1
- package/dist-esm/src/elasticSanManagement.d.ts +3 -1
- package/dist-esm/src/elasticSanManagement.d.ts.map +1 -1
- package/dist-esm/src/elasticSanManagement.js +4 -2
- package/dist-esm/src/elasticSanManagement.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +305 -98
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +28 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +20 -6
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +400 -112
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +16 -3
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/elasticSans.d.ts +4 -4
- package/dist-esm/src/operations/elasticSans.d.ts.map +1 -1
- package/dist-esm/src/operations/elasticSans.js +37 -25
- package/dist-esm/src/operations/elasticSans.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +2 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +2 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts +2 -2
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +2 -2
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +73 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +334 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +20 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +53 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/skus.js +1 -1
- package/dist-esm/src/operations/skus.js.map +1 -1
- package/dist-esm/src/operations/volumeGroups.d.ts +4 -4
- package/dist-esm/src/operations/volumeGroups.d.ts.map +1 -1
- package/dist-esm/src/operations/volumeGroups.js +47 -35
- package/dist-esm/src/operations/volumeGroups.js.map +1 -1
- package/dist-esm/src/operations/volumes.d.ts +4 -4
- package/dist-esm/src/operations/volumes.d.ts.map +1 -1
- package/dist-esm/src/operations/volumes.js +55 -43
- package/dist-esm/src/operations/volumes.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/elasticSans.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/elasticSans.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +2 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/volumeGroups.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/volumeGroups.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/volumes.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/volumes.d.ts.map +1 -1
- package/package.json +4 -4
- package/review/arm-elasticsan.api.md +226 -60
- package/src/elasticSanManagement.ts +11 -3
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +334 -93
- package/src/models/mappers.ts +429 -114
- package/src/models/parameters.ts +19 -3
- package/src/operations/elasticSans.ts +52 -42
- package/src/operations/index.ts +2 -0
- package/src/operations/operations.ts +6 -6
- package/src/operations/privateEndpointConnections.ts +450 -0
- package/src/operations/privateLinkResources.ts +72 -0
- package/src/operations/skus.ts +1 -1
- package/src/operations/volumeGroups.ts +50 -40
- package/src/operations/volumes.ts +54 -38
- package/src/operationsInterfaces/elasticSans.ts +6 -6
- package/src/operationsInterfaces/index.ts +2 -0
- package/src/operationsInterfaces/operations.ts +2 -2
- package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
- package/src/operationsInterfaces/privateLinkResources.ts +27 -0
- package/src/operationsInterfaces/volumeGroups.ts +6 -6
- package/src/operationsInterfaces/volumes.ts +10 -4
- package/types/arm-elasticsan.d.ts +400 -98
- package/types/tsdoc-metadata.json +1 -1
package/dist/index.js
CHANGED
|
@@ -67,6 +67,22 @@ function setContinuationToken(page, continuationToken) {
|
|
|
67
67
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
68
68
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
69
69
|
*/
|
|
70
|
+
/** Known values of {@link Origin} that the service accepts. */
|
|
71
|
+
exports.KnownOrigin = void 0;
|
|
72
|
+
(function (KnownOrigin) {
|
|
73
|
+
/** User */
|
|
74
|
+
KnownOrigin["User"] = "user";
|
|
75
|
+
/** System */
|
|
76
|
+
KnownOrigin["System"] = "system";
|
|
77
|
+
/** UserSystem */
|
|
78
|
+
KnownOrigin["UserSystem"] = "user,system";
|
|
79
|
+
})(exports.KnownOrigin || (exports.KnownOrigin = {}));
|
|
80
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
81
|
+
exports.KnownActionType = void 0;
|
|
82
|
+
(function (KnownActionType) {
|
|
83
|
+
/** Internal */
|
|
84
|
+
KnownActionType["Internal"] = "Internal";
|
|
85
|
+
})(exports.KnownActionType || (exports.KnownActionType = {}));
|
|
70
86
|
/** Known values of {@link SkuName} that the service accepts. */
|
|
71
87
|
exports.KnownSkuName = void 0;
|
|
72
88
|
(function (KnownSkuName) {
|
|
@@ -101,6 +117,18 @@ exports.KnownProvisioningStates = void 0;
|
|
|
101
117
|
/** Deleting */
|
|
102
118
|
KnownProvisioningStates["Deleting"] = "Deleting";
|
|
103
119
|
})(exports.KnownProvisioningStates || (exports.KnownProvisioningStates = {}));
|
|
120
|
+
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
|
121
|
+
exports.KnownPrivateEndpointServiceConnectionStatus = void 0;
|
|
122
|
+
(function (KnownPrivateEndpointServiceConnectionStatus) {
|
|
123
|
+
/** Pending */
|
|
124
|
+
KnownPrivateEndpointServiceConnectionStatus["Pending"] = "Pending";
|
|
125
|
+
/** Approved */
|
|
126
|
+
KnownPrivateEndpointServiceConnectionStatus["Approved"] = "Approved";
|
|
127
|
+
/** Failed */
|
|
128
|
+
KnownPrivateEndpointServiceConnectionStatus["Failed"] = "Failed";
|
|
129
|
+
/** Rejected */
|
|
130
|
+
KnownPrivateEndpointServiceConnectionStatus["Rejected"] = "Rejected";
|
|
131
|
+
})(exports.KnownPrivateEndpointServiceConnectionStatus || (exports.KnownPrivateEndpointServiceConnectionStatus = {}));
|
|
104
132
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
105
133
|
exports.KnownCreatedByType = void 0;
|
|
106
134
|
(function (KnownCreatedByType) {
|
|
@@ -155,26 +183,27 @@ exports.KnownOperationalStatus = void 0;
|
|
|
155
183
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
156
184
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
157
185
|
*/
|
|
158
|
-
const
|
|
186
|
+
const OperationListResult = {
|
|
159
187
|
type: {
|
|
160
188
|
name: "Composite",
|
|
161
|
-
className: "
|
|
189
|
+
className: "OperationListResult",
|
|
162
190
|
modelProperties: {
|
|
163
191
|
value: {
|
|
164
192
|
serializedName: "value",
|
|
165
|
-
|
|
193
|
+
readOnly: true,
|
|
166
194
|
type: {
|
|
167
195
|
name: "Sequence",
|
|
168
196
|
element: {
|
|
169
197
|
type: {
|
|
170
198
|
name: "Composite",
|
|
171
|
-
className: "
|
|
199
|
+
className: "Operation"
|
|
172
200
|
}
|
|
173
201
|
}
|
|
174
202
|
}
|
|
175
203
|
},
|
|
176
204
|
nextLink: {
|
|
177
205
|
serializedName: "nextLink",
|
|
206
|
+
readOnly: true,
|
|
178
207
|
type: {
|
|
179
208
|
name: "String"
|
|
180
209
|
}
|
|
@@ -182,14 +211,14 @@ const ElasticSanOperationListResult = {
|
|
|
182
211
|
}
|
|
183
212
|
}
|
|
184
213
|
};
|
|
185
|
-
const
|
|
214
|
+
const Operation = {
|
|
186
215
|
type: {
|
|
187
216
|
name: "Composite",
|
|
188
|
-
className: "
|
|
217
|
+
className: "Operation",
|
|
189
218
|
modelProperties: {
|
|
190
219
|
name: {
|
|
191
220
|
serializedName: "name",
|
|
192
|
-
|
|
221
|
+
readOnly: true,
|
|
193
222
|
type: {
|
|
194
223
|
name: "String"
|
|
195
224
|
}
|
|
@@ -205,41 +234,55 @@ const ElasticSanRPOperation = {
|
|
|
205
234
|
serializedName: "display",
|
|
206
235
|
type: {
|
|
207
236
|
name: "Composite",
|
|
208
|
-
className: "
|
|
237
|
+
className: "OperationDisplay"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
origin: {
|
|
241
|
+
serializedName: "origin",
|
|
242
|
+
readOnly: true,
|
|
243
|
+
type: {
|
|
244
|
+
name: "String"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
actionType: {
|
|
248
|
+
serializedName: "actionType",
|
|
249
|
+
readOnly: true,
|
|
250
|
+
type: {
|
|
251
|
+
name: "String"
|
|
209
252
|
}
|
|
210
253
|
}
|
|
211
254
|
}
|
|
212
255
|
}
|
|
213
256
|
};
|
|
214
|
-
const
|
|
257
|
+
const OperationDisplay = {
|
|
215
258
|
type: {
|
|
216
259
|
name: "Composite",
|
|
217
|
-
className: "
|
|
260
|
+
className: "OperationDisplay",
|
|
218
261
|
modelProperties: {
|
|
219
262
|
provider: {
|
|
220
263
|
serializedName: "provider",
|
|
221
|
-
|
|
264
|
+
readOnly: true,
|
|
222
265
|
type: {
|
|
223
266
|
name: "String"
|
|
224
267
|
}
|
|
225
268
|
},
|
|
226
269
|
resource: {
|
|
227
270
|
serializedName: "resource",
|
|
228
|
-
|
|
271
|
+
readOnly: true,
|
|
229
272
|
type: {
|
|
230
273
|
name: "String"
|
|
231
274
|
}
|
|
232
275
|
},
|
|
233
276
|
operation: {
|
|
234
277
|
serializedName: "operation",
|
|
235
|
-
|
|
278
|
+
readOnly: true,
|
|
236
279
|
type: {
|
|
237
280
|
name: "String"
|
|
238
281
|
}
|
|
239
282
|
},
|
|
240
283
|
description: {
|
|
241
284
|
serializedName: "description",
|
|
242
|
-
|
|
285
|
+
readOnly: true,
|
|
243
286
|
type: {
|
|
244
287
|
name: "String"
|
|
245
288
|
}
|
|
@@ -247,25 +290,25 @@ const ElasticSanOperationDisplay = {
|
|
|
247
290
|
}
|
|
248
291
|
}
|
|
249
292
|
};
|
|
250
|
-
const
|
|
293
|
+
const ErrorResponse = {
|
|
251
294
|
type: {
|
|
252
295
|
name: "Composite",
|
|
253
|
-
className: "
|
|
296
|
+
className: "ErrorResponse",
|
|
254
297
|
modelProperties: {
|
|
255
298
|
error: {
|
|
256
299
|
serializedName: "error",
|
|
257
300
|
type: {
|
|
258
301
|
name: "Composite",
|
|
259
|
-
className: "
|
|
302
|
+
className: "ErrorDetail"
|
|
260
303
|
}
|
|
261
304
|
}
|
|
262
305
|
}
|
|
263
306
|
}
|
|
264
307
|
};
|
|
265
|
-
const
|
|
308
|
+
const ErrorDetail = {
|
|
266
309
|
type: {
|
|
267
310
|
name: "Composite",
|
|
268
|
-
className: "
|
|
311
|
+
className: "ErrorDetail",
|
|
269
312
|
modelProperties: {
|
|
270
313
|
code: {
|
|
271
314
|
serializedName: "code",
|
|
@@ -296,7 +339,7 @@ const ErrorResponse = {
|
|
|
296
339
|
element: {
|
|
297
340
|
type: {
|
|
298
341
|
name: "Composite",
|
|
299
|
-
className: "
|
|
342
|
+
className: "ErrorDetail"
|
|
300
343
|
}
|
|
301
344
|
}
|
|
302
345
|
}
|
|
@@ -357,6 +400,13 @@ const SkuInformationList = {
|
|
|
357
400
|
}
|
|
358
401
|
}
|
|
359
402
|
}
|
|
403
|
+
},
|
|
404
|
+
nextLink: {
|
|
405
|
+
serializedName: "nextLink",
|
|
406
|
+
readOnly: true,
|
|
407
|
+
type: {
|
|
408
|
+
name: "String"
|
|
409
|
+
}
|
|
360
410
|
}
|
|
361
411
|
}
|
|
362
412
|
}
|
|
@@ -483,7 +533,6 @@ const ElasticSanList = {
|
|
|
483
533
|
modelProperties: {
|
|
484
534
|
value: {
|
|
485
535
|
serializedName: "value",
|
|
486
|
-
required: true,
|
|
487
536
|
type: {
|
|
488
537
|
name: "Sequence",
|
|
489
538
|
element: {
|
|
@@ -525,46 +574,43 @@ const Sku = {
|
|
|
525
574
|
}
|
|
526
575
|
}
|
|
527
576
|
};
|
|
528
|
-
const
|
|
577
|
+
const PrivateEndpoint = {
|
|
529
578
|
type: {
|
|
530
579
|
name: "Composite",
|
|
531
|
-
className: "
|
|
580
|
+
className: "PrivateEndpoint",
|
|
532
581
|
modelProperties: {
|
|
533
|
-
|
|
534
|
-
serializedName: "
|
|
582
|
+
id: {
|
|
583
|
+
serializedName: "id",
|
|
584
|
+
readOnly: true,
|
|
535
585
|
type: {
|
|
536
586
|
name: "String"
|
|
537
587
|
}
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
};
|
|
592
|
+
const PrivateLinkServiceConnectionState = {
|
|
593
|
+
type: {
|
|
594
|
+
name: "Composite",
|
|
595
|
+
className: "PrivateLinkServiceConnectionState",
|
|
596
|
+
modelProperties: {
|
|
597
|
+
status: {
|
|
598
|
+
serializedName: "status",
|
|
541
599
|
type: {
|
|
542
600
|
name: "String"
|
|
543
601
|
}
|
|
544
602
|
},
|
|
545
|
-
|
|
546
|
-
serializedName: "
|
|
547
|
-
type: {
|
|
548
|
-
name: "DateTime"
|
|
549
|
-
}
|
|
550
|
-
},
|
|
551
|
-
lastModifiedBy: {
|
|
552
|
-
serializedName: "lastModifiedBy",
|
|
603
|
+
description: {
|
|
604
|
+
serializedName: "description",
|
|
553
605
|
type: {
|
|
554
606
|
name: "String"
|
|
555
607
|
}
|
|
556
608
|
},
|
|
557
|
-
|
|
558
|
-
serializedName: "
|
|
609
|
+
actionsRequired: {
|
|
610
|
+
serializedName: "actionsRequired",
|
|
559
611
|
type: {
|
|
560
612
|
name: "String"
|
|
561
613
|
}
|
|
562
|
-
},
|
|
563
|
-
lastModifiedAt: {
|
|
564
|
-
serializedName: "lastModifiedAt",
|
|
565
|
-
type: {
|
|
566
|
-
name: "DateTime"
|
|
567
|
-
}
|
|
568
614
|
}
|
|
569
615
|
}
|
|
570
616
|
}
|
|
@@ -595,11 +641,55 @@ const Resource = {
|
|
|
595
641
|
name: "String"
|
|
596
642
|
}
|
|
597
643
|
},
|
|
598
|
-
|
|
599
|
-
serializedName: "
|
|
644
|
+
systemData: {
|
|
645
|
+
serializedName: "systemData",
|
|
600
646
|
type: {
|
|
601
|
-
name: "
|
|
602
|
-
|
|
647
|
+
name: "Composite",
|
|
648
|
+
className: "SystemData"
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
};
|
|
654
|
+
const SystemData = {
|
|
655
|
+
type: {
|
|
656
|
+
name: "Composite",
|
|
657
|
+
className: "SystemData",
|
|
658
|
+
modelProperties: {
|
|
659
|
+
createdBy: {
|
|
660
|
+
serializedName: "createdBy",
|
|
661
|
+
type: {
|
|
662
|
+
name: "String"
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
createdByType: {
|
|
666
|
+
serializedName: "createdByType",
|
|
667
|
+
type: {
|
|
668
|
+
name: "String"
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
createdAt: {
|
|
672
|
+
serializedName: "createdAt",
|
|
673
|
+
type: {
|
|
674
|
+
name: "DateTime"
|
|
675
|
+
}
|
|
676
|
+
},
|
|
677
|
+
lastModifiedBy: {
|
|
678
|
+
serializedName: "lastModifiedBy",
|
|
679
|
+
type: {
|
|
680
|
+
name: "String"
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
lastModifiedByType: {
|
|
684
|
+
serializedName: "lastModifiedByType",
|
|
685
|
+
type: {
|
|
686
|
+
name: "String"
|
|
687
|
+
}
|
|
688
|
+
},
|
|
689
|
+
lastModifiedAt: {
|
|
690
|
+
serializedName: "lastModifiedAt",
|
|
691
|
+
type: {
|
|
692
|
+
name: "DateTime"
|
|
603
693
|
}
|
|
604
694
|
}
|
|
605
695
|
}
|
|
@@ -639,7 +729,6 @@ const VolumeGroupList = {
|
|
|
639
729
|
modelProperties: {
|
|
640
730
|
value: {
|
|
641
731
|
serializedName: "value",
|
|
642
|
-
required: true,
|
|
643
732
|
type: {
|
|
644
733
|
name: "Sequence",
|
|
645
734
|
element: {
|
|
@@ -722,13 +811,6 @@ const VolumeGroupUpdate = {
|
|
|
722
811
|
name: "Composite",
|
|
723
812
|
className: "VolumeGroupUpdate",
|
|
724
813
|
modelProperties: {
|
|
725
|
-
tags: {
|
|
726
|
-
serializedName: "tags",
|
|
727
|
-
type: {
|
|
728
|
-
name: "Dictionary",
|
|
729
|
-
value: { type: { name: "String" } }
|
|
730
|
-
}
|
|
731
|
-
},
|
|
732
814
|
protocolType: {
|
|
733
815
|
serializedName: "properties.protocolType",
|
|
734
816
|
type: {
|
|
@@ -820,13 +902,6 @@ const VolumeUpdate = {
|
|
|
820
902
|
name: "Composite",
|
|
821
903
|
className: "VolumeUpdate",
|
|
822
904
|
modelProperties: {
|
|
823
|
-
tags: {
|
|
824
|
-
serializedName: "tags",
|
|
825
|
-
type: {
|
|
826
|
-
name: "Dictionary",
|
|
827
|
-
value: { type: { name: "String" } }
|
|
828
|
-
}
|
|
829
|
-
},
|
|
830
905
|
sizeGiB: {
|
|
831
906
|
serializedName: "properties.sizeGiB",
|
|
832
907
|
type: {
|
|
@@ -843,7 +918,6 @@ const VolumeList = {
|
|
|
843
918
|
modelProperties: {
|
|
844
919
|
value: {
|
|
845
920
|
serializedName: "value",
|
|
846
|
-
required: true,
|
|
847
921
|
type: {
|
|
848
922
|
name: "Sequence",
|
|
849
923
|
element: {
|
|
@@ -864,85 +938,151 @@ const VolumeList = {
|
|
|
864
938
|
}
|
|
865
939
|
}
|
|
866
940
|
};
|
|
867
|
-
const
|
|
941
|
+
const PrivateEndpointConnectionListResult = {
|
|
868
942
|
type: {
|
|
869
943
|
name: "Composite",
|
|
870
|
-
className: "
|
|
871
|
-
modelProperties:
|
|
872
|
-
|
|
944
|
+
className: "PrivateEndpointConnectionListResult",
|
|
945
|
+
modelProperties: {
|
|
946
|
+
value: {
|
|
947
|
+
serializedName: "value",
|
|
948
|
+
type: {
|
|
949
|
+
name: "Sequence",
|
|
950
|
+
element: {
|
|
951
|
+
type: {
|
|
952
|
+
name: "Composite",
|
|
953
|
+
className: "PrivateEndpointConnection"
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
},
|
|
958
|
+
nextLink: {
|
|
959
|
+
serializedName: "nextLink",
|
|
960
|
+
readOnly: true,
|
|
873
961
|
type: {
|
|
874
962
|
name: "String"
|
|
875
963
|
}
|
|
876
|
-
}
|
|
964
|
+
}
|
|
965
|
+
}
|
|
877
966
|
}
|
|
878
967
|
};
|
|
879
|
-
const
|
|
968
|
+
const PrivateLinkResourceListResult = {
|
|
880
969
|
type: {
|
|
881
970
|
name: "Composite",
|
|
882
|
-
className: "
|
|
883
|
-
modelProperties:
|
|
884
|
-
|
|
971
|
+
className: "PrivateLinkResourceListResult",
|
|
972
|
+
modelProperties: {
|
|
973
|
+
value: {
|
|
974
|
+
serializedName: "value",
|
|
885
975
|
type: {
|
|
886
|
-
name: "
|
|
887
|
-
|
|
976
|
+
name: "Sequence",
|
|
977
|
+
element: {
|
|
978
|
+
type: {
|
|
979
|
+
name: "Composite",
|
|
980
|
+
className: "PrivateLinkResource"
|
|
981
|
+
}
|
|
982
|
+
}
|
|
888
983
|
}
|
|
889
|
-
},
|
|
890
|
-
|
|
984
|
+
},
|
|
985
|
+
nextLink: {
|
|
986
|
+
serializedName: "nextLink",
|
|
891
987
|
readOnly: true,
|
|
892
988
|
type: {
|
|
893
989
|
name: "String"
|
|
894
990
|
}
|
|
895
|
-
}
|
|
896
|
-
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
};
|
|
995
|
+
const PrivateEndpointConnection = {
|
|
996
|
+
type: {
|
|
997
|
+
name: "Composite",
|
|
998
|
+
className: "PrivateEndpointConnection",
|
|
999
|
+
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { provisioningState: {
|
|
1000
|
+
serializedName: "properties.provisioningState",
|
|
1001
|
+
readOnly: true,
|
|
897
1002
|
type: {
|
|
898
1003
|
name: "String"
|
|
899
1004
|
}
|
|
900
|
-
},
|
|
901
|
-
serializedName: "properties.
|
|
1005
|
+
}, privateEndpoint: {
|
|
1006
|
+
serializedName: "properties.privateEndpoint",
|
|
902
1007
|
type: {
|
|
903
|
-
name: "
|
|
1008
|
+
name: "Composite",
|
|
1009
|
+
className: "PrivateEndpoint"
|
|
904
1010
|
}
|
|
905
|
-
},
|
|
906
|
-
serializedName: "properties.
|
|
1011
|
+
}, privateLinkServiceConnectionState: {
|
|
1012
|
+
serializedName: "properties.privateLinkServiceConnectionState",
|
|
907
1013
|
type: {
|
|
908
1014
|
name: "Composite",
|
|
909
|
-
className: "
|
|
1015
|
+
className: "PrivateLinkServiceConnectionState"
|
|
1016
|
+
}
|
|
1017
|
+
}, groupIds: {
|
|
1018
|
+
serializedName: "properties.groupIds",
|
|
1019
|
+
type: {
|
|
1020
|
+
name: "Sequence",
|
|
1021
|
+
element: {
|
|
1022
|
+
type: {
|
|
1023
|
+
name: "String"
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
910
1026
|
}
|
|
911
1027
|
} })
|
|
912
1028
|
}
|
|
913
1029
|
};
|
|
914
|
-
const
|
|
1030
|
+
const TrackedResource = {
|
|
915
1031
|
type: {
|
|
916
1032
|
name: "Composite",
|
|
917
|
-
className: "
|
|
918
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), {
|
|
919
|
-
serializedName: "
|
|
1033
|
+
className: "TrackedResource",
|
|
1034
|
+
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { tags: {
|
|
1035
|
+
serializedName: "tags",
|
|
920
1036
|
type: {
|
|
921
|
-
name: "
|
|
922
|
-
|
|
1037
|
+
name: "Dictionary",
|
|
1038
|
+
value: { type: { name: "String" } }
|
|
923
1039
|
}
|
|
924
|
-
},
|
|
925
|
-
serializedName: "
|
|
926
|
-
|
|
1040
|
+
}, location: {
|
|
1041
|
+
serializedName: "location",
|
|
1042
|
+
required: true,
|
|
927
1043
|
type: {
|
|
928
1044
|
name: "String"
|
|
929
1045
|
}
|
|
930
|
-
}
|
|
931
|
-
|
|
1046
|
+
} })
|
|
1047
|
+
}
|
|
1048
|
+
};
|
|
1049
|
+
const ProxyResource = {
|
|
1050
|
+
type: {
|
|
1051
|
+
name: "Composite",
|
|
1052
|
+
className: "ProxyResource",
|
|
1053
|
+
modelProperties: Object.assign({}, Resource.type.modelProperties)
|
|
1054
|
+
}
|
|
1055
|
+
};
|
|
1056
|
+
const PrivateLinkResource = {
|
|
1057
|
+
type: {
|
|
1058
|
+
name: "Composite",
|
|
1059
|
+
className: "PrivateLinkResource",
|
|
1060
|
+
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { groupId: {
|
|
1061
|
+
serializedName: "properties.groupId",
|
|
1062
|
+
readOnly: true,
|
|
932
1063
|
type: {
|
|
933
|
-
name: "
|
|
934
|
-
className: "SourceCreationData"
|
|
1064
|
+
name: "String"
|
|
935
1065
|
}
|
|
936
|
-
},
|
|
937
|
-
serializedName: "properties.
|
|
1066
|
+
}, requiredMembers: {
|
|
1067
|
+
serializedName: "properties.requiredMembers",
|
|
1068
|
+
readOnly: true,
|
|
938
1069
|
type: {
|
|
939
|
-
name: "
|
|
1070
|
+
name: "Sequence",
|
|
1071
|
+
element: {
|
|
1072
|
+
type: {
|
|
1073
|
+
name: "String"
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
940
1076
|
}
|
|
941
|
-
},
|
|
942
|
-
serializedName: "properties.
|
|
1077
|
+
}, requiredZoneNames: {
|
|
1078
|
+
serializedName: "properties.requiredZoneNames",
|
|
943
1079
|
type: {
|
|
944
|
-
name: "
|
|
945
|
-
|
|
1080
|
+
name: "Sequence",
|
|
1081
|
+
element: {
|
|
1082
|
+
type: {
|
|
1083
|
+
name: "String"
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
946
1086
|
}
|
|
947
1087
|
} })
|
|
948
1088
|
}
|
|
@@ -951,13 +1091,7 @@ const ElasticSan = {
|
|
|
951
1091
|
type: {
|
|
952
1092
|
name: "Composite",
|
|
953
1093
|
className: "ElasticSan",
|
|
954
|
-
modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), {
|
|
955
|
-
serializedName: "systemData",
|
|
956
|
-
type: {
|
|
957
|
-
name: "Composite",
|
|
958
|
-
className: "SystemData"
|
|
959
|
-
}
|
|
960
|
-
}, sku: {
|
|
1094
|
+
modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { sku: {
|
|
961
1095
|
serializedName: "properties.sku",
|
|
962
1096
|
type: {
|
|
963
1097
|
name: "Composite",
|
|
@@ -1021,17 +1155,199 @@ const ElasticSan = {
|
|
|
1021
1155
|
type: {
|
|
1022
1156
|
name: "Number"
|
|
1023
1157
|
}
|
|
1158
|
+
}, privateEndpointConnections: {
|
|
1159
|
+
serializedName: "properties.privateEndpointConnections",
|
|
1160
|
+
readOnly: true,
|
|
1161
|
+
type: {
|
|
1162
|
+
name: "Sequence",
|
|
1163
|
+
element: {
|
|
1164
|
+
type: {
|
|
1165
|
+
name: "Composite",
|
|
1166
|
+
className: "PrivateEndpointConnection"
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
} })
|
|
1171
|
+
}
|
|
1172
|
+
};
|
|
1173
|
+
const VolumeGroup = {
|
|
1174
|
+
type: {
|
|
1175
|
+
name: "Composite",
|
|
1176
|
+
className: "VolumeGroup",
|
|
1177
|
+
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { provisioningState: {
|
|
1178
|
+
serializedName: "properties.provisioningState",
|
|
1179
|
+
readOnly: true,
|
|
1180
|
+
type: {
|
|
1181
|
+
name: "String"
|
|
1182
|
+
}
|
|
1183
|
+
}, protocolType: {
|
|
1184
|
+
serializedName: "properties.protocolType",
|
|
1185
|
+
type: {
|
|
1186
|
+
name: "String"
|
|
1187
|
+
}
|
|
1188
|
+
}, encryption: {
|
|
1189
|
+
serializedName: "properties.encryption",
|
|
1190
|
+
type: {
|
|
1191
|
+
name: "String"
|
|
1192
|
+
}
|
|
1193
|
+
}, networkAcls: {
|
|
1194
|
+
serializedName: "properties.networkAcls",
|
|
1195
|
+
type: {
|
|
1196
|
+
name: "Composite",
|
|
1197
|
+
className: "NetworkRuleSet"
|
|
1198
|
+
}
|
|
1199
|
+
}, privateEndpointConnections: {
|
|
1200
|
+
serializedName: "properties.privateEndpointConnections",
|
|
1201
|
+
readOnly: true,
|
|
1202
|
+
type: {
|
|
1203
|
+
name: "Sequence",
|
|
1204
|
+
element: {
|
|
1205
|
+
type: {
|
|
1206
|
+
name: "Composite",
|
|
1207
|
+
className: "PrivateEndpointConnection"
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
} })
|
|
1212
|
+
}
|
|
1213
|
+
};
|
|
1214
|
+
const Volume = {
|
|
1215
|
+
type: {
|
|
1216
|
+
name: "Composite",
|
|
1217
|
+
className: "Volume",
|
|
1218
|
+
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { volumeId: {
|
|
1219
|
+
serializedName: "properties.volumeId",
|
|
1220
|
+
readOnly: true,
|
|
1221
|
+
type: {
|
|
1222
|
+
name: "String"
|
|
1223
|
+
}
|
|
1224
|
+
}, creationData: {
|
|
1225
|
+
serializedName: "properties.creationData",
|
|
1226
|
+
type: {
|
|
1227
|
+
name: "Composite",
|
|
1228
|
+
className: "SourceCreationData"
|
|
1229
|
+
}
|
|
1230
|
+
}, sizeGiB: {
|
|
1231
|
+
serializedName: "properties.sizeGiB",
|
|
1232
|
+
required: true,
|
|
1233
|
+
type: {
|
|
1234
|
+
name: "Number"
|
|
1235
|
+
}
|
|
1236
|
+
}, storageTarget: {
|
|
1237
|
+
serializedName: "properties.storageTarget",
|
|
1238
|
+
type: {
|
|
1239
|
+
name: "Composite",
|
|
1240
|
+
className: "IscsiTargetInfo"
|
|
1241
|
+
}
|
|
1024
1242
|
} })
|
|
1025
1243
|
}
|
|
1026
1244
|
};
|
|
1245
|
+
const ElasticSansUpdateHeaders = {
|
|
1246
|
+
type: {
|
|
1247
|
+
name: "Composite",
|
|
1248
|
+
className: "ElasticSansUpdateHeaders",
|
|
1249
|
+
modelProperties: {
|
|
1250
|
+
location: {
|
|
1251
|
+
serializedName: "location",
|
|
1252
|
+
type: {
|
|
1253
|
+
name: "String"
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
};
|
|
1259
|
+
const ElasticSansDeleteHeaders = {
|
|
1260
|
+
type: {
|
|
1261
|
+
name: "Composite",
|
|
1262
|
+
className: "ElasticSansDeleteHeaders",
|
|
1263
|
+
modelProperties: {
|
|
1264
|
+
location: {
|
|
1265
|
+
serializedName: "location",
|
|
1266
|
+
type: {
|
|
1267
|
+
name: "String"
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
};
|
|
1273
|
+
const VolumeGroupsUpdateHeaders = {
|
|
1274
|
+
type: {
|
|
1275
|
+
name: "Composite",
|
|
1276
|
+
className: "VolumeGroupsUpdateHeaders",
|
|
1277
|
+
modelProperties: {
|
|
1278
|
+
location: {
|
|
1279
|
+
serializedName: "location",
|
|
1280
|
+
type: {
|
|
1281
|
+
name: "String"
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
};
|
|
1287
|
+
const VolumeGroupsDeleteHeaders = {
|
|
1288
|
+
type: {
|
|
1289
|
+
name: "Composite",
|
|
1290
|
+
className: "VolumeGroupsDeleteHeaders",
|
|
1291
|
+
modelProperties: {
|
|
1292
|
+
location: {
|
|
1293
|
+
serializedName: "location",
|
|
1294
|
+
type: {
|
|
1295
|
+
name: "String"
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
};
|
|
1301
|
+
const VolumesUpdateHeaders = {
|
|
1302
|
+
type: {
|
|
1303
|
+
name: "Composite",
|
|
1304
|
+
className: "VolumesUpdateHeaders",
|
|
1305
|
+
modelProperties: {
|
|
1306
|
+
location: {
|
|
1307
|
+
serializedName: "location",
|
|
1308
|
+
type: {
|
|
1309
|
+
name: "String"
|
|
1310
|
+
}
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
};
|
|
1315
|
+
const VolumesDeleteHeaders = {
|
|
1316
|
+
type: {
|
|
1317
|
+
name: "Composite",
|
|
1318
|
+
className: "VolumesDeleteHeaders",
|
|
1319
|
+
modelProperties: {
|
|
1320
|
+
location: {
|
|
1321
|
+
serializedName: "location",
|
|
1322
|
+
type: {
|
|
1323
|
+
name: "String"
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
};
|
|
1329
|
+
const PrivateEndpointConnectionsDeleteHeaders = {
|
|
1330
|
+
type: {
|
|
1331
|
+
name: "Composite",
|
|
1332
|
+
className: "PrivateEndpointConnectionsDeleteHeaders",
|
|
1333
|
+
modelProperties: {
|
|
1334
|
+
location: {
|
|
1335
|
+
serializedName: "location",
|
|
1336
|
+
type: {
|
|
1337
|
+
name: "String"
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
};
|
|
1027
1343
|
|
|
1028
1344
|
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1029
1345
|
__proto__: null,
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
ErrorModel: ErrorModel,
|
|
1346
|
+
OperationListResult: OperationListResult,
|
|
1347
|
+
Operation: Operation,
|
|
1348
|
+
OperationDisplay: OperationDisplay,
|
|
1034
1349
|
ErrorResponse: ErrorResponse,
|
|
1350
|
+
ErrorDetail: ErrorDetail,
|
|
1035
1351
|
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
1036
1352
|
SkuInformationList: SkuInformationList,
|
|
1037
1353
|
SkuInformation: SkuInformation,
|
|
@@ -1039,8 +1355,10 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
1039
1355
|
SKUCapability: SKUCapability,
|
|
1040
1356
|
ElasticSanList: ElasticSanList,
|
|
1041
1357
|
Sku: Sku,
|
|
1042
|
-
|
|
1358
|
+
PrivateEndpoint: PrivateEndpoint,
|
|
1359
|
+
PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
|
|
1043
1360
|
Resource: Resource,
|
|
1361
|
+
SystemData: SystemData,
|
|
1044
1362
|
ElasticSanUpdate: ElasticSanUpdate,
|
|
1045
1363
|
VolumeGroupList: VolumeGroupList,
|
|
1046
1364
|
NetworkRuleSet: NetworkRuleSet,
|
|
@@ -1050,10 +1368,22 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
1050
1368
|
IscsiTargetInfo: IscsiTargetInfo,
|
|
1051
1369
|
VolumeUpdate: VolumeUpdate,
|
|
1052
1370
|
VolumeList: VolumeList,
|
|
1371
|
+
PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
|
|
1372
|
+
PrivateLinkResourceListResult: PrivateLinkResourceListResult,
|
|
1373
|
+
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
1053
1374
|
TrackedResource: TrackedResource,
|
|
1375
|
+
ProxyResource: ProxyResource,
|
|
1376
|
+
PrivateLinkResource: PrivateLinkResource,
|
|
1377
|
+
ElasticSan: ElasticSan,
|
|
1054
1378
|
VolumeGroup: VolumeGroup,
|
|
1055
1379
|
Volume: Volume,
|
|
1056
|
-
|
|
1380
|
+
ElasticSansUpdateHeaders: ElasticSansUpdateHeaders,
|
|
1381
|
+
ElasticSansDeleteHeaders: ElasticSansDeleteHeaders,
|
|
1382
|
+
VolumeGroupsUpdateHeaders: VolumeGroupsUpdateHeaders,
|
|
1383
|
+
VolumeGroupsDeleteHeaders: VolumeGroupsDeleteHeaders,
|
|
1384
|
+
VolumesUpdateHeaders: VolumesUpdateHeaders,
|
|
1385
|
+
VolumesDeleteHeaders: VolumesDeleteHeaders,
|
|
1386
|
+
PrivateEndpointConnectionsDeleteHeaders: PrivateEndpointConnectionsDeleteHeaders
|
|
1057
1387
|
});
|
|
1058
1388
|
|
|
1059
1389
|
/*
|
|
@@ -1088,7 +1418,7 @@ const $host = {
|
|
|
1088
1418
|
const apiVersion = {
|
|
1089
1419
|
parameterPath: "apiVersion",
|
|
1090
1420
|
mapper: {
|
|
1091
|
-
defaultValue: "
|
|
1421
|
+
defaultValue: "2022-12-01-preview",
|
|
1092
1422
|
isConstant: true,
|
|
1093
1423
|
serializedName: "api-version",
|
|
1094
1424
|
type: {
|
|
@@ -1122,7 +1452,6 @@ const resourceGroupName = {
|
|
|
1122
1452
|
parameterPath: "resourceGroupName",
|
|
1123
1453
|
mapper: {
|
|
1124
1454
|
constraints: {
|
|
1125
|
-
Pattern: new RegExp("^[-\\w\\._]*[0-9A-Za-z]$"),
|
|
1126
1455
|
MaxLength: 90,
|
|
1127
1456
|
MinLength: 1
|
|
1128
1457
|
},
|
|
@@ -1224,6 +1553,20 @@ const parameters5 = {
|
|
|
1224
1553
|
parameterPath: "parameters",
|
|
1225
1554
|
mapper: VolumeUpdate
|
|
1226
1555
|
};
|
|
1556
|
+
const parameters6 = {
|
|
1557
|
+
parameterPath: "parameters",
|
|
1558
|
+
mapper: PrivateEndpointConnection
|
|
1559
|
+
};
|
|
1560
|
+
const privateEndpointConnectionName = {
|
|
1561
|
+
parameterPath: "privateEndpointConnectionName",
|
|
1562
|
+
mapper: {
|
|
1563
|
+
serializedName: "privateEndpointConnectionName",
|
|
1564
|
+
required: true,
|
|
1565
|
+
type: {
|
|
1566
|
+
name: "String"
|
|
1567
|
+
}
|
|
1568
|
+
}
|
|
1569
|
+
};
|
|
1227
1570
|
|
|
1228
1571
|
/*
|
|
1229
1572
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -1300,26 +1643,26 @@ class OperationsImpl {
|
|
|
1300
1643
|
* @param options The options parameters.
|
|
1301
1644
|
*/
|
|
1302
1645
|
_list(options) {
|
|
1303
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$
|
|
1646
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$2);
|
|
1304
1647
|
}
|
|
1305
1648
|
}
|
|
1306
1649
|
// Operation Specifications
|
|
1307
|
-
const serializer$
|
|
1308
|
-
const listOperationSpec$
|
|
1650
|
+
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1651
|
+
const listOperationSpec$2 = {
|
|
1309
1652
|
path: "/providers/Microsoft.ElasticSan/operations",
|
|
1310
1653
|
httpMethod: "GET",
|
|
1311
1654
|
responses: {
|
|
1312
1655
|
200: {
|
|
1313
|
-
bodyMapper:
|
|
1656
|
+
bodyMapper: OperationListResult
|
|
1314
1657
|
},
|
|
1315
1658
|
default: {
|
|
1316
|
-
bodyMapper:
|
|
1659
|
+
bodyMapper: ErrorResponse
|
|
1317
1660
|
}
|
|
1318
1661
|
},
|
|
1319
1662
|
queryParameters: [apiVersion],
|
|
1320
1663
|
urlParameters: [$host],
|
|
1321
1664
|
headerParameters: [accept],
|
|
1322
|
-
serializer: serializer$
|
|
1665
|
+
serializer: serializer$6
|
|
1323
1666
|
};
|
|
1324
1667
|
|
|
1325
1668
|
/*
|
|
@@ -1397,12 +1740,12 @@ class SkusImpl {
|
|
|
1397
1740
|
* @param options The options parameters.
|
|
1398
1741
|
*/
|
|
1399
1742
|
_list(options) {
|
|
1400
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
1743
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$1);
|
|
1401
1744
|
}
|
|
1402
1745
|
}
|
|
1403
1746
|
// Operation Specifications
|
|
1404
|
-
const serializer$
|
|
1405
|
-
const listOperationSpec = {
|
|
1747
|
+
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1748
|
+
const listOperationSpec$1 = {
|
|
1406
1749
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ElasticSan/skus",
|
|
1407
1750
|
httpMethod: "GET",
|
|
1408
1751
|
responses: {
|
|
@@ -1410,13 +1753,13 @@ const listOperationSpec = {
|
|
|
1410
1753
|
bodyMapper: SkuInformationList
|
|
1411
1754
|
},
|
|
1412
1755
|
default: {
|
|
1413
|
-
bodyMapper:
|
|
1756
|
+
bodyMapper: ErrorResponse
|
|
1414
1757
|
}
|
|
1415
1758
|
},
|
|
1416
1759
|
queryParameters: [apiVersion, filter],
|
|
1417
1760
|
urlParameters: [$host, subscriptionId],
|
|
1418
1761
|
headerParameters: [accept],
|
|
1419
|
-
serializer: serializer$
|
|
1762
|
+
serializer: serializer$5
|
|
1420
1763
|
};
|
|
1421
1764
|
|
|
1422
1765
|
/*
|
|
@@ -1426,25 +1769,17 @@ const listOperationSpec = {
|
|
|
1426
1769
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1427
1770
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1428
1771
|
*/
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
});
|
|
1441
|
-
}
|
|
1442
|
-
sendPollRequest(path) {
|
|
1443
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1444
|
-
const _a = this.spec, restSpec = tslib.__rest(_a, ["requestBody"]);
|
|
1445
|
-
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
|
1446
|
-
});
|
|
1447
|
-
}
|
|
1772
|
+
function createLroSpec(inputs) {
|
|
1773
|
+
const { args, spec, sendOperationFn } = inputs;
|
|
1774
|
+
return {
|
|
1775
|
+
requestMethod: spec.httpMethod,
|
|
1776
|
+
requestPath: spec.path,
|
|
1777
|
+
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
1778
|
+
sendPollRequest: (path, options) => {
|
|
1779
|
+
const restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
1780
|
+
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
1781
|
+
}
|
|
1782
|
+
};
|
|
1448
1783
|
}
|
|
1449
1784
|
|
|
1450
1785
|
/*
|
|
@@ -1624,7 +1959,7 @@ class ElasticSansImpl {
|
|
|
1624
1959
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1625
1960
|
return this.client.sendOperationRequest(args, spec);
|
|
1626
1961
|
});
|
|
1627
|
-
const
|
|
1962
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1628
1963
|
var _a;
|
|
1629
1964
|
let currentRawResponse = undefined;
|
|
1630
1965
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -1643,11 +1978,15 @@ class ElasticSansImpl {
|
|
|
1643
1978
|
}
|
|
1644
1979
|
};
|
|
1645
1980
|
});
|
|
1646
|
-
const lro =
|
|
1647
|
-
|
|
1648
|
-
|
|
1981
|
+
const lro = createLroSpec({
|
|
1982
|
+
sendOperationFn,
|
|
1983
|
+
args: { resourceGroupName, elasticSanName, parameters, options },
|
|
1984
|
+
spec: createOperationSpec$3
|
|
1985
|
+
});
|
|
1986
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
1987
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1649
1988
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1650
|
-
|
|
1989
|
+
resourceLocationConfig: "location"
|
|
1651
1990
|
});
|
|
1652
1991
|
yield poller.poll();
|
|
1653
1992
|
return poller;
|
|
@@ -1678,7 +2017,7 @@ class ElasticSansImpl {
|
|
|
1678
2017
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1679
2018
|
return this.client.sendOperationRequest(args, spec);
|
|
1680
2019
|
});
|
|
1681
|
-
const
|
|
2020
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1682
2021
|
var _a;
|
|
1683
2022
|
let currentRawResponse = undefined;
|
|
1684
2023
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -1697,11 +2036,15 @@ class ElasticSansImpl {
|
|
|
1697
2036
|
}
|
|
1698
2037
|
};
|
|
1699
2038
|
});
|
|
1700
|
-
const lro =
|
|
1701
|
-
|
|
1702
|
-
|
|
2039
|
+
const lro = createLroSpec({
|
|
2040
|
+
sendOperationFn,
|
|
2041
|
+
args: { resourceGroupName, elasticSanName, parameters, options },
|
|
2042
|
+
spec: updateOperationSpec$2
|
|
2043
|
+
});
|
|
2044
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2045
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1703
2046
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1704
|
-
|
|
2047
|
+
resourceLocationConfig: "location"
|
|
1705
2048
|
});
|
|
1706
2049
|
yield poller.poll();
|
|
1707
2050
|
return poller;
|
|
@@ -1731,7 +2074,7 @@ class ElasticSansImpl {
|
|
|
1731
2074
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1732
2075
|
return this.client.sendOperationRequest(args, spec);
|
|
1733
2076
|
});
|
|
1734
|
-
const
|
|
2077
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1735
2078
|
var _a;
|
|
1736
2079
|
let currentRawResponse = undefined;
|
|
1737
2080
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -1750,11 +2093,15 @@ class ElasticSansImpl {
|
|
|
1750
2093
|
}
|
|
1751
2094
|
};
|
|
1752
2095
|
});
|
|
1753
|
-
const lro =
|
|
1754
|
-
|
|
1755
|
-
|
|
2096
|
+
const lro = createLroSpec({
|
|
2097
|
+
sendOperationFn,
|
|
2098
|
+
args: { resourceGroupName, elasticSanName, options },
|
|
2099
|
+
spec: deleteOperationSpec$3
|
|
2100
|
+
});
|
|
2101
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2102
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1756
2103
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1757
|
-
|
|
2104
|
+
resourceLocationConfig: "location"
|
|
1758
2105
|
});
|
|
1759
2106
|
yield poller.poll();
|
|
1760
2107
|
return poller;
|
|
@@ -1779,7 +2126,7 @@ class ElasticSansImpl {
|
|
|
1779
2126
|
* @param options The options parameters.
|
|
1780
2127
|
*/
|
|
1781
2128
|
get(resourceGroupName, elasticSanName, options) {
|
|
1782
|
-
return this.client.sendOperationRequest({ resourceGroupName, elasticSanName, options }, getOperationSpec$
|
|
2129
|
+
return this.client.sendOperationRequest({ resourceGroupName, elasticSanName, options }, getOperationSpec$3);
|
|
1783
2130
|
}
|
|
1784
2131
|
/**
|
|
1785
2132
|
* ListBySubscriptionNext
|
|
@@ -1800,7 +2147,7 @@ class ElasticSansImpl {
|
|
|
1800
2147
|
}
|
|
1801
2148
|
}
|
|
1802
2149
|
// Operation Specifications
|
|
1803
|
-
const serializer$
|
|
2150
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1804
2151
|
const listBySubscriptionOperationSpec = {
|
|
1805
2152
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ElasticSan/elasticSans",
|
|
1806
2153
|
httpMethod: "GET",
|
|
@@ -1809,13 +2156,13 @@ const listBySubscriptionOperationSpec = {
|
|
|
1809
2156
|
bodyMapper: ElasticSanList
|
|
1810
2157
|
},
|
|
1811
2158
|
default: {
|
|
1812
|
-
bodyMapper:
|
|
2159
|
+
bodyMapper: ErrorResponse
|
|
1813
2160
|
}
|
|
1814
2161
|
},
|
|
1815
2162
|
queryParameters: [apiVersion],
|
|
1816
2163
|
urlParameters: [$host, subscriptionId],
|
|
1817
2164
|
headerParameters: [accept],
|
|
1818
|
-
serializer: serializer$
|
|
2165
|
+
serializer: serializer$4
|
|
1819
2166
|
};
|
|
1820
2167
|
const listByResourceGroupOperationSpec = {
|
|
1821
2168
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans",
|
|
@@ -1825,7 +2172,7 @@ const listByResourceGroupOperationSpec = {
|
|
|
1825
2172
|
bodyMapper: ElasticSanList
|
|
1826
2173
|
},
|
|
1827
2174
|
default: {
|
|
1828
|
-
bodyMapper:
|
|
2175
|
+
bodyMapper: ErrorResponse
|
|
1829
2176
|
}
|
|
1830
2177
|
},
|
|
1831
2178
|
queryParameters: [apiVersion],
|
|
@@ -1835,9 +2182,9 @@ const listByResourceGroupOperationSpec = {
|
|
|
1835
2182
|
resourceGroupName
|
|
1836
2183
|
],
|
|
1837
2184
|
headerParameters: [accept],
|
|
1838
|
-
serializer: serializer$
|
|
2185
|
+
serializer: serializer$4
|
|
1839
2186
|
};
|
|
1840
|
-
const createOperationSpec$
|
|
2187
|
+
const createOperationSpec$3 = {
|
|
1841
2188
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}",
|
|
1842
2189
|
httpMethod: "PUT",
|
|
1843
2190
|
responses: {
|
|
@@ -1854,7 +2201,7 @@ const createOperationSpec$2 = {
|
|
|
1854
2201
|
bodyMapper: ElasticSan
|
|
1855
2202
|
},
|
|
1856
2203
|
default: {
|
|
1857
|
-
bodyMapper:
|
|
2204
|
+
bodyMapper: ErrorResponse
|
|
1858
2205
|
}
|
|
1859
2206
|
},
|
|
1860
2207
|
requestBody: parameters,
|
|
@@ -1867,7 +2214,7 @@ const createOperationSpec$2 = {
|
|
|
1867
2214
|
],
|
|
1868
2215
|
headerParameters: [accept, contentType],
|
|
1869
2216
|
mediaType: "json",
|
|
1870
|
-
serializer: serializer$
|
|
2217
|
+
serializer: serializer$4
|
|
1871
2218
|
};
|
|
1872
2219
|
const updateOperationSpec$2 = {
|
|
1873
2220
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}",
|
|
@@ -1886,7 +2233,7 @@ const updateOperationSpec$2 = {
|
|
|
1886
2233
|
bodyMapper: ElasticSan
|
|
1887
2234
|
},
|
|
1888
2235
|
default: {
|
|
1889
|
-
bodyMapper:
|
|
2236
|
+
bodyMapper: ErrorResponse
|
|
1890
2237
|
}
|
|
1891
2238
|
},
|
|
1892
2239
|
requestBody: parameters1,
|
|
@@ -1899,9 +2246,9 @@ const updateOperationSpec$2 = {
|
|
|
1899
2246
|
],
|
|
1900
2247
|
headerParameters: [accept, contentType],
|
|
1901
2248
|
mediaType: "json",
|
|
1902
|
-
serializer: serializer$
|
|
2249
|
+
serializer: serializer$4
|
|
1903
2250
|
};
|
|
1904
|
-
const deleteOperationSpec$
|
|
2251
|
+
const deleteOperationSpec$3 = {
|
|
1905
2252
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}",
|
|
1906
2253
|
httpMethod: "DELETE",
|
|
1907
2254
|
responses: {
|
|
@@ -1910,7 +2257,7 @@ const deleteOperationSpec$2 = {
|
|
|
1910
2257
|
202: {},
|
|
1911
2258
|
204: {},
|
|
1912
2259
|
default: {
|
|
1913
|
-
bodyMapper:
|
|
2260
|
+
bodyMapper: ErrorResponse
|
|
1914
2261
|
}
|
|
1915
2262
|
},
|
|
1916
2263
|
queryParameters: [apiVersion],
|
|
@@ -1921,9 +2268,9 @@ const deleteOperationSpec$2 = {
|
|
|
1921
2268
|
elasticSanName
|
|
1922
2269
|
],
|
|
1923
2270
|
headerParameters: [accept],
|
|
1924
|
-
serializer: serializer$
|
|
2271
|
+
serializer: serializer$4
|
|
1925
2272
|
};
|
|
1926
|
-
const getOperationSpec$
|
|
2273
|
+
const getOperationSpec$3 = {
|
|
1927
2274
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}",
|
|
1928
2275
|
httpMethod: "GET",
|
|
1929
2276
|
responses: {
|
|
@@ -1931,7 +2278,7 @@ const getOperationSpec$2 = {
|
|
|
1931
2278
|
bodyMapper: ElasticSan
|
|
1932
2279
|
},
|
|
1933
2280
|
default: {
|
|
1934
|
-
bodyMapper:
|
|
2281
|
+
bodyMapper: ErrorResponse
|
|
1935
2282
|
}
|
|
1936
2283
|
},
|
|
1937
2284
|
queryParameters: [apiVersion],
|
|
@@ -1942,7 +2289,7 @@ const getOperationSpec$2 = {
|
|
|
1942
2289
|
elasticSanName
|
|
1943
2290
|
],
|
|
1944
2291
|
headerParameters: [accept],
|
|
1945
|
-
serializer: serializer$
|
|
2292
|
+
serializer: serializer$4
|
|
1946
2293
|
};
|
|
1947
2294
|
const listBySubscriptionNextOperationSpec = {
|
|
1948
2295
|
path: "{nextLink}",
|
|
@@ -1952,7 +2299,7 @@ const listBySubscriptionNextOperationSpec = {
|
|
|
1952
2299
|
bodyMapper: ElasticSanList
|
|
1953
2300
|
},
|
|
1954
2301
|
default: {
|
|
1955
|
-
bodyMapper:
|
|
2302
|
+
bodyMapper: ErrorResponse
|
|
1956
2303
|
}
|
|
1957
2304
|
},
|
|
1958
2305
|
urlParameters: [
|
|
@@ -1961,7 +2308,7 @@ const listBySubscriptionNextOperationSpec = {
|
|
|
1961
2308
|
nextLink
|
|
1962
2309
|
],
|
|
1963
2310
|
headerParameters: [accept],
|
|
1964
|
-
serializer: serializer$
|
|
2311
|
+
serializer: serializer$4
|
|
1965
2312
|
};
|
|
1966
2313
|
const listByResourceGroupNextOperationSpec = {
|
|
1967
2314
|
path: "{nextLink}",
|
|
@@ -1971,7 +2318,7 @@ const listByResourceGroupNextOperationSpec = {
|
|
|
1971
2318
|
bodyMapper: ElasticSanList
|
|
1972
2319
|
},
|
|
1973
2320
|
default: {
|
|
1974
|
-
bodyMapper:
|
|
2321
|
+
bodyMapper: ErrorResponse
|
|
1975
2322
|
}
|
|
1976
2323
|
},
|
|
1977
2324
|
urlParameters: [
|
|
@@ -1981,7 +2328,7 @@ const listByResourceGroupNextOperationSpec = {
|
|
|
1981
2328
|
nextLink
|
|
1982
2329
|
],
|
|
1983
2330
|
headerParameters: [accept],
|
|
1984
|
-
serializer: serializer$
|
|
2331
|
+
serializer: serializer$4
|
|
1985
2332
|
};
|
|
1986
2333
|
|
|
1987
2334
|
/*
|
|
@@ -2076,7 +2423,7 @@ class VolumeGroupsImpl {
|
|
|
2076
2423
|
* @param options The options parameters.
|
|
2077
2424
|
*/
|
|
2078
2425
|
_listByElasticSan(resourceGroupName, elasticSanName, options) {
|
|
2079
|
-
return this.client.sendOperationRequest({ resourceGroupName, elasticSanName, options }, listByElasticSanOperationSpec);
|
|
2426
|
+
return this.client.sendOperationRequest({ resourceGroupName, elasticSanName, options }, listByElasticSanOperationSpec$1);
|
|
2080
2427
|
}
|
|
2081
2428
|
/**
|
|
2082
2429
|
* Create a Volume Group.
|
|
@@ -2091,7 +2438,7 @@ class VolumeGroupsImpl {
|
|
|
2091
2438
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2092
2439
|
return this.client.sendOperationRequest(args, spec);
|
|
2093
2440
|
});
|
|
2094
|
-
const
|
|
2441
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2095
2442
|
var _a;
|
|
2096
2443
|
let currentRawResponse = undefined;
|
|
2097
2444
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -2110,17 +2457,21 @@ class VolumeGroupsImpl {
|
|
|
2110
2457
|
}
|
|
2111
2458
|
};
|
|
2112
2459
|
});
|
|
2113
|
-
const lro =
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2460
|
+
const lro = createLroSpec({
|
|
2461
|
+
sendOperationFn,
|
|
2462
|
+
args: {
|
|
2463
|
+
resourceGroupName,
|
|
2464
|
+
elasticSanName,
|
|
2465
|
+
volumeGroupName,
|
|
2466
|
+
parameters,
|
|
2467
|
+
options
|
|
2468
|
+
},
|
|
2469
|
+
spec: createOperationSpec$2
|
|
2470
|
+
});
|
|
2471
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2472
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2122
2473
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2123
|
-
|
|
2474
|
+
resourceLocationConfig: "location"
|
|
2124
2475
|
});
|
|
2125
2476
|
yield poller.poll();
|
|
2126
2477
|
return poller;
|
|
@@ -2153,7 +2504,7 @@ class VolumeGroupsImpl {
|
|
|
2153
2504
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2154
2505
|
return this.client.sendOperationRequest(args, spec);
|
|
2155
2506
|
});
|
|
2156
|
-
const
|
|
2507
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2157
2508
|
var _a;
|
|
2158
2509
|
let currentRawResponse = undefined;
|
|
2159
2510
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -2172,17 +2523,21 @@ class VolumeGroupsImpl {
|
|
|
2172
2523
|
}
|
|
2173
2524
|
};
|
|
2174
2525
|
});
|
|
2175
|
-
const lro =
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2526
|
+
const lro = createLroSpec({
|
|
2527
|
+
sendOperationFn,
|
|
2528
|
+
args: {
|
|
2529
|
+
resourceGroupName,
|
|
2530
|
+
elasticSanName,
|
|
2531
|
+
volumeGroupName,
|
|
2532
|
+
parameters,
|
|
2533
|
+
options
|
|
2534
|
+
},
|
|
2535
|
+
spec: updateOperationSpec$1
|
|
2536
|
+
});
|
|
2537
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2538
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2184
2539
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2185
|
-
|
|
2540
|
+
resourceLocationConfig: "location"
|
|
2186
2541
|
});
|
|
2187
2542
|
yield poller.poll();
|
|
2188
2543
|
return poller;
|
|
@@ -2214,7 +2569,7 @@ class VolumeGroupsImpl {
|
|
|
2214
2569
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2215
2570
|
return this.client.sendOperationRequest(args, spec);
|
|
2216
2571
|
});
|
|
2217
|
-
const
|
|
2572
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2218
2573
|
var _a;
|
|
2219
2574
|
let currentRawResponse = undefined;
|
|
2220
2575
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -2233,11 +2588,15 @@ class VolumeGroupsImpl {
|
|
|
2233
2588
|
}
|
|
2234
2589
|
};
|
|
2235
2590
|
});
|
|
2236
|
-
const lro =
|
|
2237
|
-
|
|
2238
|
-
|
|
2591
|
+
const lro = createLroSpec({
|
|
2592
|
+
sendOperationFn,
|
|
2593
|
+
args: { resourceGroupName, elasticSanName, volumeGroupName, options },
|
|
2594
|
+
spec: deleteOperationSpec$2
|
|
2595
|
+
});
|
|
2596
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2597
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2239
2598
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2240
|
-
|
|
2599
|
+
resourceLocationConfig: "location"
|
|
2241
2600
|
});
|
|
2242
2601
|
yield poller.poll();
|
|
2243
2602
|
return poller;
|
|
@@ -2264,7 +2623,7 @@ class VolumeGroupsImpl {
|
|
|
2264
2623
|
* @param options The options parameters.
|
|
2265
2624
|
*/
|
|
2266
2625
|
get(resourceGroupName, elasticSanName, volumeGroupName, options) {
|
|
2267
|
-
return this.client.sendOperationRequest({ resourceGroupName, elasticSanName, volumeGroupName, options }, getOperationSpec$
|
|
2626
|
+
return this.client.sendOperationRequest({ resourceGroupName, elasticSanName, volumeGroupName, options }, getOperationSpec$2);
|
|
2268
2627
|
}
|
|
2269
2628
|
/**
|
|
2270
2629
|
* ListByElasticSanNext
|
|
@@ -2278,8 +2637,8 @@ class VolumeGroupsImpl {
|
|
|
2278
2637
|
}
|
|
2279
2638
|
}
|
|
2280
2639
|
// Operation Specifications
|
|
2281
|
-
const serializer$
|
|
2282
|
-
const listByElasticSanOperationSpec = {
|
|
2640
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2641
|
+
const listByElasticSanOperationSpec$1 = {
|
|
2283
2642
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumeGroups",
|
|
2284
2643
|
httpMethod: "GET",
|
|
2285
2644
|
responses: {
|
|
@@ -2287,7 +2646,7 @@ const listByElasticSanOperationSpec = {
|
|
|
2287
2646
|
bodyMapper: VolumeGroupList
|
|
2288
2647
|
},
|
|
2289
2648
|
default: {
|
|
2290
|
-
bodyMapper:
|
|
2649
|
+
bodyMapper: ErrorResponse
|
|
2291
2650
|
}
|
|
2292
2651
|
},
|
|
2293
2652
|
queryParameters: [apiVersion],
|
|
@@ -2298,9 +2657,9 @@ const listByElasticSanOperationSpec = {
|
|
|
2298
2657
|
elasticSanName
|
|
2299
2658
|
],
|
|
2300
2659
|
headerParameters: [accept],
|
|
2301
|
-
serializer: serializer$
|
|
2660
|
+
serializer: serializer$3
|
|
2302
2661
|
};
|
|
2303
|
-
const createOperationSpec$
|
|
2662
|
+
const createOperationSpec$2 = {
|
|
2304
2663
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}",
|
|
2305
2664
|
httpMethod: "PUT",
|
|
2306
2665
|
responses: {
|
|
@@ -2317,7 +2676,7 @@ const createOperationSpec$1 = {
|
|
|
2317
2676
|
bodyMapper: VolumeGroup
|
|
2318
2677
|
},
|
|
2319
2678
|
default: {
|
|
2320
|
-
bodyMapper:
|
|
2679
|
+
bodyMapper: ErrorResponse
|
|
2321
2680
|
}
|
|
2322
2681
|
},
|
|
2323
2682
|
requestBody: parameters2,
|
|
@@ -2331,7 +2690,7 @@ const createOperationSpec$1 = {
|
|
|
2331
2690
|
],
|
|
2332
2691
|
headerParameters: [accept, contentType],
|
|
2333
2692
|
mediaType: "json",
|
|
2334
|
-
serializer: serializer$
|
|
2693
|
+
serializer: serializer$3
|
|
2335
2694
|
};
|
|
2336
2695
|
const updateOperationSpec$1 = {
|
|
2337
2696
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}",
|
|
@@ -2350,7 +2709,7 @@ const updateOperationSpec$1 = {
|
|
|
2350
2709
|
bodyMapper: VolumeGroup
|
|
2351
2710
|
},
|
|
2352
2711
|
default: {
|
|
2353
|
-
bodyMapper:
|
|
2712
|
+
bodyMapper: ErrorResponse
|
|
2354
2713
|
}
|
|
2355
2714
|
},
|
|
2356
2715
|
requestBody: parameters3,
|
|
@@ -2364,9 +2723,9 @@ const updateOperationSpec$1 = {
|
|
|
2364
2723
|
],
|
|
2365
2724
|
headerParameters: [accept, contentType],
|
|
2366
2725
|
mediaType: "json",
|
|
2367
|
-
serializer: serializer$
|
|
2726
|
+
serializer: serializer$3
|
|
2368
2727
|
};
|
|
2369
|
-
const deleteOperationSpec$
|
|
2728
|
+
const deleteOperationSpec$2 = {
|
|
2370
2729
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}",
|
|
2371
2730
|
httpMethod: "DELETE",
|
|
2372
2731
|
responses: {
|
|
@@ -2375,7 +2734,7 @@ const deleteOperationSpec$1 = {
|
|
|
2375
2734
|
202: {},
|
|
2376
2735
|
204: {},
|
|
2377
2736
|
default: {
|
|
2378
|
-
bodyMapper:
|
|
2737
|
+
bodyMapper: ErrorResponse
|
|
2379
2738
|
}
|
|
2380
2739
|
},
|
|
2381
2740
|
queryParameters: [apiVersion],
|
|
@@ -2387,9 +2746,9 @@ const deleteOperationSpec$1 = {
|
|
|
2387
2746
|
volumeGroupName
|
|
2388
2747
|
],
|
|
2389
2748
|
headerParameters: [accept],
|
|
2390
|
-
serializer: serializer$
|
|
2749
|
+
serializer: serializer$3
|
|
2391
2750
|
};
|
|
2392
|
-
const getOperationSpec$
|
|
2751
|
+
const getOperationSpec$2 = {
|
|
2393
2752
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}",
|
|
2394
2753
|
httpMethod: "GET",
|
|
2395
2754
|
responses: {
|
|
@@ -2397,7 +2756,7 @@ const getOperationSpec$1 = {
|
|
|
2397
2756
|
bodyMapper: VolumeGroup
|
|
2398
2757
|
},
|
|
2399
2758
|
default: {
|
|
2400
|
-
bodyMapper:
|
|
2759
|
+
bodyMapper: ErrorResponse
|
|
2401
2760
|
}
|
|
2402
2761
|
},
|
|
2403
2762
|
queryParameters: [apiVersion],
|
|
@@ -2409,7 +2768,7 @@ const getOperationSpec$1 = {
|
|
|
2409
2768
|
volumeGroupName
|
|
2410
2769
|
],
|
|
2411
2770
|
headerParameters: [accept],
|
|
2412
|
-
serializer: serializer$
|
|
2771
|
+
serializer: serializer$3
|
|
2413
2772
|
};
|
|
2414
2773
|
const listByElasticSanNextOperationSpec = {
|
|
2415
2774
|
path: "{nextLink}",
|
|
@@ -2419,7 +2778,7 @@ const listByElasticSanNextOperationSpec = {
|
|
|
2419
2778
|
bodyMapper: VolumeGroupList
|
|
2420
2779
|
},
|
|
2421
2780
|
default: {
|
|
2422
|
-
bodyMapper:
|
|
2781
|
+
bodyMapper: ErrorResponse
|
|
2423
2782
|
}
|
|
2424
2783
|
},
|
|
2425
2784
|
urlParameters: [
|
|
@@ -2430,7 +2789,7 @@ const listByElasticSanNextOperationSpec = {
|
|
|
2430
2789
|
nextLink
|
|
2431
2790
|
],
|
|
2432
2791
|
headerParameters: [accept],
|
|
2433
|
-
serializer: serializer$
|
|
2792
|
+
serializer: serializer$3
|
|
2434
2793
|
};
|
|
2435
2794
|
|
|
2436
2795
|
/*
|
|
@@ -2533,7 +2892,7 @@ class VolumesImpl {
|
|
|
2533
2892
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2534
2893
|
return this.client.sendOperationRequest(args, spec);
|
|
2535
2894
|
});
|
|
2536
|
-
const
|
|
2895
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2537
2896
|
var _a;
|
|
2538
2897
|
let currentRawResponse = undefined;
|
|
2539
2898
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -2552,18 +2911,22 @@ class VolumesImpl {
|
|
|
2552
2911
|
}
|
|
2553
2912
|
};
|
|
2554
2913
|
});
|
|
2555
|
-
const lro =
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2914
|
+
const lro = createLroSpec({
|
|
2915
|
+
sendOperationFn,
|
|
2916
|
+
args: {
|
|
2917
|
+
resourceGroupName,
|
|
2918
|
+
elasticSanName,
|
|
2919
|
+
volumeGroupName,
|
|
2920
|
+
volumeName,
|
|
2921
|
+
parameters,
|
|
2922
|
+
options
|
|
2923
|
+
},
|
|
2924
|
+
spec: createOperationSpec$1
|
|
2925
|
+
});
|
|
2926
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2927
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2565
2928
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2566
|
-
|
|
2929
|
+
resourceLocationConfig: "location"
|
|
2567
2930
|
});
|
|
2568
2931
|
yield poller.poll();
|
|
2569
2932
|
return poller;
|
|
@@ -2598,7 +2961,7 @@ class VolumesImpl {
|
|
|
2598
2961
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2599
2962
|
return this.client.sendOperationRequest(args, spec);
|
|
2600
2963
|
});
|
|
2601
|
-
const
|
|
2964
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2602
2965
|
var _a;
|
|
2603
2966
|
let currentRawResponse = undefined;
|
|
2604
2967
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -2617,18 +2980,22 @@ class VolumesImpl {
|
|
|
2617
2980
|
}
|
|
2618
2981
|
};
|
|
2619
2982
|
});
|
|
2620
|
-
const lro =
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2983
|
+
const lro = createLroSpec({
|
|
2984
|
+
sendOperationFn,
|
|
2985
|
+
args: {
|
|
2986
|
+
resourceGroupName,
|
|
2987
|
+
elasticSanName,
|
|
2988
|
+
volumeGroupName,
|
|
2989
|
+
volumeName,
|
|
2990
|
+
parameters,
|
|
2991
|
+
options
|
|
2992
|
+
},
|
|
2993
|
+
spec: updateOperationSpec
|
|
2994
|
+
});
|
|
2995
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2996
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2630
2997
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2631
|
-
|
|
2998
|
+
resourceLocationConfig: "location"
|
|
2632
2999
|
});
|
|
2633
3000
|
yield poller.poll();
|
|
2634
3001
|
return poller;
|
|
@@ -2662,7 +3029,7 @@ class VolumesImpl {
|
|
|
2662
3029
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2663
3030
|
return this.client.sendOperationRequest(args, spec);
|
|
2664
3031
|
});
|
|
2665
|
-
const
|
|
3032
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2666
3033
|
var _a;
|
|
2667
3034
|
let currentRawResponse = undefined;
|
|
2668
3035
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -2681,17 +3048,21 @@ class VolumesImpl {
|
|
|
2681
3048
|
}
|
|
2682
3049
|
};
|
|
2683
3050
|
});
|
|
2684
|
-
const lro =
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
3051
|
+
const lro = createLroSpec({
|
|
3052
|
+
sendOperationFn,
|
|
3053
|
+
args: {
|
|
3054
|
+
resourceGroupName,
|
|
3055
|
+
elasticSanName,
|
|
3056
|
+
volumeGroupName,
|
|
3057
|
+
volumeName,
|
|
3058
|
+
options
|
|
3059
|
+
},
|
|
3060
|
+
spec: deleteOperationSpec$1
|
|
3061
|
+
});
|
|
3062
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3063
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2693
3064
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2694
|
-
|
|
3065
|
+
resourceLocationConfig: "location"
|
|
2695
3066
|
});
|
|
2696
3067
|
yield poller.poll();
|
|
2697
3068
|
return poller;
|
|
@@ -2726,7 +3097,7 @@ class VolumesImpl {
|
|
|
2726
3097
|
volumeGroupName,
|
|
2727
3098
|
volumeName,
|
|
2728
3099
|
options
|
|
2729
|
-
}, getOperationSpec);
|
|
3100
|
+
}, getOperationSpec$1);
|
|
2730
3101
|
}
|
|
2731
3102
|
/**
|
|
2732
3103
|
* List Volumes in a VolumeGroup.
|
|
@@ -2751,8 +3122,8 @@ class VolumesImpl {
|
|
|
2751
3122
|
}
|
|
2752
3123
|
}
|
|
2753
3124
|
// Operation Specifications
|
|
2754
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2755
|
-
const createOperationSpec = {
|
|
3125
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3126
|
+
const createOperationSpec$1 = {
|
|
2756
3127
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}",
|
|
2757
3128
|
httpMethod: "PUT",
|
|
2758
3129
|
responses: {
|
|
@@ -2769,7 +3140,7 @@ const createOperationSpec = {
|
|
|
2769
3140
|
bodyMapper: Volume
|
|
2770
3141
|
},
|
|
2771
3142
|
default: {
|
|
2772
|
-
bodyMapper:
|
|
3143
|
+
bodyMapper: ErrorResponse
|
|
2773
3144
|
}
|
|
2774
3145
|
},
|
|
2775
3146
|
requestBody: parameters4,
|
|
@@ -2784,7 +3155,7 @@ const createOperationSpec = {
|
|
|
2784
3155
|
],
|
|
2785
3156
|
headerParameters: [accept, contentType],
|
|
2786
3157
|
mediaType: "json",
|
|
2787
|
-
serializer
|
|
3158
|
+
serializer: serializer$2
|
|
2788
3159
|
};
|
|
2789
3160
|
const updateOperationSpec = {
|
|
2790
3161
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}",
|
|
@@ -2803,7 +3174,7 @@ const updateOperationSpec = {
|
|
|
2803
3174
|
bodyMapper: Volume
|
|
2804
3175
|
},
|
|
2805
3176
|
default: {
|
|
2806
|
-
bodyMapper:
|
|
3177
|
+
bodyMapper: ErrorResponse
|
|
2807
3178
|
}
|
|
2808
3179
|
},
|
|
2809
3180
|
requestBody: parameters5,
|
|
@@ -2818,9 +3189,9 @@ const updateOperationSpec = {
|
|
|
2818
3189
|
],
|
|
2819
3190
|
headerParameters: [accept, contentType],
|
|
2820
3191
|
mediaType: "json",
|
|
2821
|
-
serializer
|
|
3192
|
+
serializer: serializer$2
|
|
2822
3193
|
};
|
|
2823
|
-
const deleteOperationSpec = {
|
|
3194
|
+
const deleteOperationSpec$1 = {
|
|
2824
3195
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}",
|
|
2825
3196
|
httpMethod: "DELETE",
|
|
2826
3197
|
responses: {
|
|
@@ -2829,7 +3200,7 @@ const deleteOperationSpec = {
|
|
|
2829
3200
|
202: {},
|
|
2830
3201
|
204: {},
|
|
2831
3202
|
default: {
|
|
2832
|
-
bodyMapper:
|
|
3203
|
+
bodyMapper: ErrorResponse
|
|
2833
3204
|
}
|
|
2834
3205
|
},
|
|
2835
3206
|
queryParameters: [apiVersion],
|
|
@@ -2842,9 +3213,9 @@ const deleteOperationSpec = {
|
|
|
2842
3213
|
volumeName
|
|
2843
3214
|
],
|
|
2844
3215
|
headerParameters: [accept],
|
|
2845
|
-
serializer
|
|
3216
|
+
serializer: serializer$2
|
|
2846
3217
|
};
|
|
2847
|
-
const getOperationSpec = {
|
|
3218
|
+
const getOperationSpec$1 = {
|
|
2848
3219
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}",
|
|
2849
3220
|
httpMethod: "GET",
|
|
2850
3221
|
responses: {
|
|
@@ -2852,7 +3223,7 @@ const getOperationSpec = {
|
|
|
2852
3223
|
bodyMapper: Volume
|
|
2853
3224
|
},
|
|
2854
3225
|
default: {
|
|
2855
|
-
bodyMapper:
|
|
3226
|
+
bodyMapper: ErrorResponse
|
|
2856
3227
|
}
|
|
2857
3228
|
},
|
|
2858
3229
|
queryParameters: [apiVersion],
|
|
@@ -2865,7 +3236,7 @@ const getOperationSpec = {
|
|
|
2865
3236
|
volumeName
|
|
2866
3237
|
],
|
|
2867
3238
|
headerParameters: [accept],
|
|
2868
|
-
serializer
|
|
3239
|
+
serializer: serializer$2
|
|
2869
3240
|
};
|
|
2870
3241
|
const listByVolumeGroupOperationSpec = {
|
|
2871
3242
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes",
|
|
@@ -2875,7 +3246,7 @@ const listByVolumeGroupOperationSpec = {
|
|
|
2875
3246
|
bodyMapper: VolumeList
|
|
2876
3247
|
},
|
|
2877
3248
|
default: {
|
|
2878
|
-
bodyMapper:
|
|
3249
|
+
bodyMapper: ErrorResponse
|
|
2879
3250
|
}
|
|
2880
3251
|
},
|
|
2881
3252
|
queryParameters: [apiVersion],
|
|
@@ -2887,7 +3258,7 @@ const listByVolumeGroupOperationSpec = {
|
|
|
2887
3258
|
volumeGroupName
|
|
2888
3259
|
],
|
|
2889
3260
|
headerParameters: [accept],
|
|
2890
|
-
serializer
|
|
3261
|
+
serializer: serializer$2
|
|
2891
3262
|
};
|
|
2892
3263
|
const listByVolumeGroupNextOperationSpec = {
|
|
2893
3264
|
path: "{nextLink}",
|
|
@@ -2897,7 +3268,7 @@ const listByVolumeGroupNextOperationSpec = {
|
|
|
2897
3268
|
bodyMapper: VolumeList
|
|
2898
3269
|
},
|
|
2899
3270
|
default: {
|
|
2900
|
-
bodyMapper:
|
|
3271
|
+
bodyMapper: ErrorResponse
|
|
2901
3272
|
}
|
|
2902
3273
|
},
|
|
2903
3274
|
urlParameters: [
|
|
@@ -2909,6 +3280,384 @@ const listByVolumeGroupNextOperationSpec = {
|
|
|
2909
3280
|
volumeGroupName
|
|
2910
3281
|
],
|
|
2911
3282
|
headerParameters: [accept],
|
|
3283
|
+
serializer: serializer$2
|
|
3284
|
+
};
|
|
3285
|
+
|
|
3286
|
+
/*
|
|
3287
|
+
* Copyright (c) Microsoft Corporation.
|
|
3288
|
+
* Licensed under the MIT License.
|
|
3289
|
+
*
|
|
3290
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3291
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3292
|
+
*/
|
|
3293
|
+
/// <reference lib="esnext.asynciterable" />
|
|
3294
|
+
/** Class containing PrivateEndpointConnections operations. */
|
|
3295
|
+
class PrivateEndpointConnectionsImpl {
|
|
3296
|
+
/**
|
|
3297
|
+
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
3298
|
+
* @param client Reference to the service client
|
|
3299
|
+
*/
|
|
3300
|
+
constructor(client) {
|
|
3301
|
+
this.client = client;
|
|
3302
|
+
}
|
|
3303
|
+
/**
|
|
3304
|
+
* List all Private Endpoint Connections associated with the Elastic San.
|
|
3305
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3306
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
3307
|
+
* @param options The options parameters.
|
|
3308
|
+
*/
|
|
3309
|
+
list(resourceGroupName, elasticSanName, options) {
|
|
3310
|
+
const iter = this.listPagingAll(resourceGroupName, elasticSanName, options);
|
|
3311
|
+
return {
|
|
3312
|
+
next() {
|
|
3313
|
+
return iter.next();
|
|
3314
|
+
},
|
|
3315
|
+
[Symbol.asyncIterator]() {
|
|
3316
|
+
return this;
|
|
3317
|
+
},
|
|
3318
|
+
byPage: (settings) => {
|
|
3319
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3320
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
3321
|
+
}
|
|
3322
|
+
return this.listPagingPage(resourceGroupName, elasticSanName, options, settings);
|
|
3323
|
+
}
|
|
3324
|
+
};
|
|
3325
|
+
}
|
|
3326
|
+
listPagingPage(resourceGroupName, elasticSanName, options, _settings) {
|
|
3327
|
+
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
3328
|
+
let result;
|
|
3329
|
+
result = yield tslib.__await(this._list(resourceGroupName, elasticSanName, options));
|
|
3330
|
+
yield yield tslib.__await(result.value || []);
|
|
3331
|
+
});
|
|
3332
|
+
}
|
|
3333
|
+
listPagingAll(resourceGroupName, elasticSanName, options) {
|
|
3334
|
+
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
3335
|
+
var _a, e_1, _b, _c;
|
|
3336
|
+
try {
|
|
3337
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, elasticSanName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
3338
|
+
_c = _f.value;
|
|
3339
|
+
_d = false;
|
|
3340
|
+
try {
|
|
3341
|
+
const page = _c;
|
|
3342
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3343
|
+
}
|
|
3344
|
+
finally {
|
|
3345
|
+
_d = true;
|
|
3346
|
+
}
|
|
3347
|
+
}
|
|
3348
|
+
}
|
|
3349
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3350
|
+
finally {
|
|
3351
|
+
try {
|
|
3352
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3353
|
+
}
|
|
3354
|
+
finally { if (e_1) throw e_1.error; }
|
|
3355
|
+
}
|
|
3356
|
+
});
|
|
3357
|
+
}
|
|
3358
|
+
/**
|
|
3359
|
+
* Update the state of specified private endpoint connection associated with the Elastic San
|
|
3360
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3361
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
3362
|
+
* @param privateEndpointConnectionName The name of the Private Endpoint connection.
|
|
3363
|
+
* @param parameters Private Endpoint Connection Approval object.
|
|
3364
|
+
* @param options The options parameters.
|
|
3365
|
+
*/
|
|
3366
|
+
beginCreate(resourceGroupName, elasticSanName, privateEndpointConnectionName, parameters, options) {
|
|
3367
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3368
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3369
|
+
return this.client.sendOperationRequest(args, spec);
|
|
3370
|
+
});
|
|
3371
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3372
|
+
var _a;
|
|
3373
|
+
let currentRawResponse = undefined;
|
|
3374
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3375
|
+
const callback = (rawResponse, flatResponse) => {
|
|
3376
|
+
currentRawResponse = rawResponse;
|
|
3377
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3378
|
+
};
|
|
3379
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3380
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3381
|
+
return {
|
|
3382
|
+
flatResponse,
|
|
3383
|
+
rawResponse: {
|
|
3384
|
+
statusCode: currentRawResponse.status,
|
|
3385
|
+
body: currentRawResponse.parsedBody,
|
|
3386
|
+
headers: currentRawResponse.headers.toJSON()
|
|
3387
|
+
}
|
|
3388
|
+
};
|
|
3389
|
+
});
|
|
3390
|
+
const lro = createLroSpec({
|
|
3391
|
+
sendOperationFn,
|
|
3392
|
+
args: {
|
|
3393
|
+
resourceGroupName,
|
|
3394
|
+
elasticSanName,
|
|
3395
|
+
privateEndpointConnectionName,
|
|
3396
|
+
parameters,
|
|
3397
|
+
options
|
|
3398
|
+
},
|
|
3399
|
+
spec: createOperationSpec
|
|
3400
|
+
});
|
|
3401
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3402
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3403
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3404
|
+
resourceLocationConfig: "location"
|
|
3405
|
+
});
|
|
3406
|
+
yield poller.poll();
|
|
3407
|
+
return poller;
|
|
3408
|
+
});
|
|
3409
|
+
}
|
|
3410
|
+
/**
|
|
3411
|
+
* Update the state of specified private endpoint connection associated with the Elastic San
|
|
3412
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3413
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
3414
|
+
* @param privateEndpointConnectionName The name of the Private Endpoint connection.
|
|
3415
|
+
* @param parameters Private Endpoint Connection Approval object.
|
|
3416
|
+
* @param options The options parameters.
|
|
3417
|
+
*/
|
|
3418
|
+
beginCreateAndWait(resourceGroupName, elasticSanName, privateEndpointConnectionName, parameters, options) {
|
|
3419
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3420
|
+
const poller = yield this.beginCreate(resourceGroupName, elasticSanName, privateEndpointConnectionName, parameters, options);
|
|
3421
|
+
return poller.pollUntilDone();
|
|
3422
|
+
});
|
|
3423
|
+
}
|
|
3424
|
+
/**
|
|
3425
|
+
* Gets the specified private endpoint connection associated with the Elastic San
|
|
3426
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3427
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
3428
|
+
* @param privateEndpointConnectionName The name of the Private Endpoint connection.
|
|
3429
|
+
* @param options The options parameters.
|
|
3430
|
+
*/
|
|
3431
|
+
get(resourceGroupName, elasticSanName, privateEndpointConnectionName, options) {
|
|
3432
|
+
return this.client.sendOperationRequest({
|
|
3433
|
+
resourceGroupName,
|
|
3434
|
+
elasticSanName,
|
|
3435
|
+
privateEndpointConnectionName,
|
|
3436
|
+
options
|
|
3437
|
+
}, getOperationSpec);
|
|
3438
|
+
}
|
|
3439
|
+
/**
|
|
3440
|
+
* Deletes the specified private endpoint connection associated with the Elastic San
|
|
3441
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3442
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
3443
|
+
* @param privateEndpointConnectionName The name of the Private Endpoint connection.
|
|
3444
|
+
* @param options The options parameters.
|
|
3445
|
+
*/
|
|
3446
|
+
beginDelete(resourceGroupName, elasticSanName, privateEndpointConnectionName, options) {
|
|
3447
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3448
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3449
|
+
return this.client.sendOperationRequest(args, spec);
|
|
3450
|
+
});
|
|
3451
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3452
|
+
var _a;
|
|
3453
|
+
let currentRawResponse = undefined;
|
|
3454
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3455
|
+
const callback = (rawResponse, flatResponse) => {
|
|
3456
|
+
currentRawResponse = rawResponse;
|
|
3457
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3458
|
+
};
|
|
3459
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3460
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3461
|
+
return {
|
|
3462
|
+
flatResponse,
|
|
3463
|
+
rawResponse: {
|
|
3464
|
+
statusCode: currentRawResponse.status,
|
|
3465
|
+
body: currentRawResponse.parsedBody,
|
|
3466
|
+
headers: currentRawResponse.headers.toJSON()
|
|
3467
|
+
}
|
|
3468
|
+
};
|
|
3469
|
+
});
|
|
3470
|
+
const lro = createLroSpec({
|
|
3471
|
+
sendOperationFn,
|
|
3472
|
+
args: {
|
|
3473
|
+
resourceGroupName,
|
|
3474
|
+
elasticSanName,
|
|
3475
|
+
privateEndpointConnectionName,
|
|
3476
|
+
options
|
|
3477
|
+
},
|
|
3478
|
+
spec: deleteOperationSpec
|
|
3479
|
+
});
|
|
3480
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3481
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3482
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3483
|
+
resourceLocationConfig: "location"
|
|
3484
|
+
});
|
|
3485
|
+
yield poller.poll();
|
|
3486
|
+
return poller;
|
|
3487
|
+
});
|
|
3488
|
+
}
|
|
3489
|
+
/**
|
|
3490
|
+
* Deletes the specified private endpoint connection associated with the Elastic San
|
|
3491
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3492
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
3493
|
+
* @param privateEndpointConnectionName The name of the Private Endpoint connection.
|
|
3494
|
+
* @param options The options parameters.
|
|
3495
|
+
*/
|
|
3496
|
+
beginDeleteAndWait(resourceGroupName, elasticSanName, privateEndpointConnectionName, options) {
|
|
3497
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3498
|
+
const poller = yield this.beginDelete(resourceGroupName, elasticSanName, privateEndpointConnectionName, options);
|
|
3499
|
+
return poller.pollUntilDone();
|
|
3500
|
+
});
|
|
3501
|
+
}
|
|
3502
|
+
/**
|
|
3503
|
+
* List all Private Endpoint Connections associated with the Elastic San.
|
|
3504
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3505
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
3506
|
+
* @param options The options parameters.
|
|
3507
|
+
*/
|
|
3508
|
+
_list(resourceGroupName, elasticSanName, options) {
|
|
3509
|
+
return this.client.sendOperationRequest({ resourceGroupName, elasticSanName, options }, listOperationSpec);
|
|
3510
|
+
}
|
|
3511
|
+
}
|
|
3512
|
+
// Operation Specifications
|
|
3513
|
+
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3514
|
+
const createOperationSpec = {
|
|
3515
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
3516
|
+
httpMethod: "PUT",
|
|
3517
|
+
responses: {
|
|
3518
|
+
200: {
|
|
3519
|
+
bodyMapper: PrivateEndpointConnection
|
|
3520
|
+
},
|
|
3521
|
+
201: {
|
|
3522
|
+
bodyMapper: PrivateEndpointConnection
|
|
3523
|
+
},
|
|
3524
|
+
202: {
|
|
3525
|
+
bodyMapper: PrivateEndpointConnection
|
|
3526
|
+
},
|
|
3527
|
+
204: {
|
|
3528
|
+
bodyMapper: PrivateEndpointConnection
|
|
3529
|
+
},
|
|
3530
|
+
default: {
|
|
3531
|
+
bodyMapper: ErrorResponse
|
|
3532
|
+
}
|
|
3533
|
+
},
|
|
3534
|
+
requestBody: parameters6,
|
|
3535
|
+
queryParameters: [apiVersion],
|
|
3536
|
+
urlParameters: [
|
|
3537
|
+
$host,
|
|
3538
|
+
subscriptionId,
|
|
3539
|
+
resourceGroupName,
|
|
3540
|
+
elasticSanName,
|
|
3541
|
+
privateEndpointConnectionName
|
|
3542
|
+
],
|
|
3543
|
+
headerParameters: [accept, contentType],
|
|
3544
|
+
mediaType: "json",
|
|
3545
|
+
serializer: serializer$1
|
|
3546
|
+
};
|
|
3547
|
+
const getOperationSpec = {
|
|
3548
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
3549
|
+
httpMethod: "GET",
|
|
3550
|
+
responses: {
|
|
3551
|
+
200: {
|
|
3552
|
+
bodyMapper: PrivateEndpointConnection
|
|
3553
|
+
},
|
|
3554
|
+
default: {
|
|
3555
|
+
bodyMapper: ErrorResponse
|
|
3556
|
+
}
|
|
3557
|
+
},
|
|
3558
|
+
queryParameters: [apiVersion],
|
|
3559
|
+
urlParameters: [
|
|
3560
|
+
$host,
|
|
3561
|
+
subscriptionId,
|
|
3562
|
+
resourceGroupName,
|
|
3563
|
+
elasticSanName,
|
|
3564
|
+
privateEndpointConnectionName
|
|
3565
|
+
],
|
|
3566
|
+
headerParameters: [accept],
|
|
3567
|
+
serializer: serializer$1
|
|
3568
|
+
};
|
|
3569
|
+
const deleteOperationSpec = {
|
|
3570
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
3571
|
+
httpMethod: "DELETE",
|
|
3572
|
+
responses: {
|
|
3573
|
+
200: {},
|
|
3574
|
+
201: {},
|
|
3575
|
+
202: {},
|
|
3576
|
+
204: {},
|
|
3577
|
+
default: {
|
|
3578
|
+
bodyMapper: ErrorResponse
|
|
3579
|
+
}
|
|
3580
|
+
},
|
|
3581
|
+
queryParameters: [apiVersion],
|
|
3582
|
+
urlParameters: [
|
|
3583
|
+
$host,
|
|
3584
|
+
subscriptionId,
|
|
3585
|
+
resourceGroupName,
|
|
3586
|
+
elasticSanName,
|
|
3587
|
+
privateEndpointConnectionName
|
|
3588
|
+
],
|
|
3589
|
+
headerParameters: [accept],
|
|
3590
|
+
serializer: serializer$1
|
|
3591
|
+
};
|
|
3592
|
+
const listOperationSpec = {
|
|
3593
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections",
|
|
3594
|
+
httpMethod: "GET",
|
|
3595
|
+
responses: {
|
|
3596
|
+
200: {
|
|
3597
|
+
bodyMapper: PrivateEndpointConnectionListResult
|
|
3598
|
+
},
|
|
3599
|
+
default: {
|
|
3600
|
+
bodyMapper: ErrorResponse
|
|
3601
|
+
}
|
|
3602
|
+
},
|
|
3603
|
+
queryParameters: [apiVersion],
|
|
3604
|
+
urlParameters: [
|
|
3605
|
+
$host,
|
|
3606
|
+
subscriptionId,
|
|
3607
|
+
resourceGroupName,
|
|
3608
|
+
elasticSanName
|
|
3609
|
+
],
|
|
3610
|
+
headerParameters: [accept],
|
|
3611
|
+
serializer: serializer$1
|
|
3612
|
+
};
|
|
3613
|
+
|
|
3614
|
+
/*
|
|
3615
|
+
* Copyright (c) Microsoft Corporation.
|
|
3616
|
+
* Licensed under the MIT License.
|
|
3617
|
+
*
|
|
3618
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3619
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3620
|
+
*/
|
|
3621
|
+
/** Class containing PrivateLinkResources operations. */
|
|
3622
|
+
class PrivateLinkResourcesImpl {
|
|
3623
|
+
/**
|
|
3624
|
+
* Initialize a new instance of the class PrivateLinkResources class.
|
|
3625
|
+
* @param client Reference to the service client
|
|
3626
|
+
*/
|
|
3627
|
+
constructor(client) {
|
|
3628
|
+
this.client = client;
|
|
3629
|
+
}
|
|
3630
|
+
/**
|
|
3631
|
+
* Gets the private link resources that need to be created for a elastic San.
|
|
3632
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3633
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
3634
|
+
* @param options The options parameters.
|
|
3635
|
+
*/
|
|
3636
|
+
listByElasticSan(resourceGroupName, elasticSanName, options) {
|
|
3637
|
+
return this.client.sendOperationRequest({ resourceGroupName, elasticSanName, options }, listByElasticSanOperationSpec);
|
|
3638
|
+
}
|
|
3639
|
+
}
|
|
3640
|
+
// Operation Specifications
|
|
3641
|
+
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3642
|
+
const listByElasticSanOperationSpec = {
|
|
3643
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateLinkResources",
|
|
3644
|
+
httpMethod: "GET",
|
|
3645
|
+
responses: {
|
|
3646
|
+
200: {
|
|
3647
|
+
bodyMapper: PrivateLinkResourceListResult
|
|
3648
|
+
},
|
|
3649
|
+
default: {
|
|
3650
|
+
bodyMapper: ErrorResponse
|
|
3651
|
+
}
|
|
3652
|
+
},
|
|
3653
|
+
queryParameters: [apiVersion],
|
|
3654
|
+
urlParameters: [
|
|
3655
|
+
$host,
|
|
3656
|
+
subscriptionId,
|
|
3657
|
+
resourceGroupName,
|
|
3658
|
+
elasticSanName
|
|
3659
|
+
],
|
|
3660
|
+
headerParameters: [accept],
|
|
2912
3661
|
serializer
|
|
2913
3662
|
};
|
|
2914
3663
|
|
|
@@ -2975,12 +3724,14 @@ class ElasticSanManagement extends coreClient__namespace.ServiceClient {
|
|
|
2975
3724
|
this.subscriptionId = subscriptionId;
|
|
2976
3725
|
// Assigning values to Constant parameters
|
|
2977
3726
|
this.$host = options.$host || "https://management.azure.com";
|
|
2978
|
-
this.apiVersion = options.apiVersion || "
|
|
3727
|
+
this.apiVersion = options.apiVersion || "2022-12-01-preview";
|
|
2979
3728
|
this.operations = new OperationsImpl(this);
|
|
2980
3729
|
this.skus = new SkusImpl(this);
|
|
2981
3730
|
this.elasticSans = new ElasticSansImpl(this);
|
|
2982
3731
|
this.volumeGroups = new VolumeGroupsImpl(this);
|
|
2983
3732
|
this.volumes = new VolumesImpl(this);
|
|
3733
|
+
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
3734
|
+
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
|
2984
3735
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
2985
3736
|
}
|
|
2986
3737
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|