@azure/arm-elasticsan 1.0.0-alpha.20230724.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
|
@@ -6,9 +6,12 @@
|
|
|
6
6
|
|
|
7
7
|
import * as coreAuth from '@azure/core-auth';
|
|
8
8
|
import * as coreClient from '@azure/core-client';
|
|
9
|
+
import { OperationState } from '@azure/core-lro';
|
|
9
10
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
10
|
-
import {
|
|
11
|
-
|
|
11
|
+
import { SimplePollerLike } from '@azure/core-lro';
|
|
12
|
+
|
|
13
|
+
// @public
|
|
14
|
+
export type ActionType = string;
|
|
12
15
|
|
|
13
16
|
// @public
|
|
14
17
|
export type CreatedByType = string;
|
|
@@ -18,9 +21,9 @@ export interface ElasticSan extends TrackedResource {
|
|
|
18
21
|
availabilityZones?: string[];
|
|
19
22
|
baseSizeTiB: number;
|
|
20
23
|
extendedCapacitySizeTiB: number;
|
|
24
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
21
25
|
readonly provisioningState?: ProvisioningStates;
|
|
22
26
|
sku: Sku;
|
|
23
|
-
readonly systemData?: SystemData;
|
|
24
27
|
readonly totalIops?: number;
|
|
25
28
|
readonly totalMBps?: number;
|
|
26
29
|
readonly totalSizeTiB?: number;
|
|
@@ -31,7 +34,7 @@ export interface ElasticSan extends TrackedResource {
|
|
|
31
34
|
// @public
|
|
32
35
|
export interface ElasticSanList {
|
|
33
36
|
readonly nextLink?: string;
|
|
34
|
-
value
|
|
37
|
+
value?: ElasticSan[];
|
|
35
38
|
}
|
|
36
39
|
|
|
37
40
|
// @public (undocumented)
|
|
@@ -46,6 +49,10 @@ export class ElasticSanManagement extends coreClient.ServiceClient {
|
|
|
46
49
|
// (undocumented)
|
|
47
50
|
operations: Operations;
|
|
48
51
|
// (undocumented)
|
|
52
|
+
privateEndpointConnections: PrivateEndpointConnections;
|
|
53
|
+
// (undocumented)
|
|
54
|
+
privateLinkResources: PrivateLinkResources;
|
|
55
|
+
// (undocumented)
|
|
49
56
|
skus: Skus;
|
|
50
57
|
// (undocumented)
|
|
51
58
|
subscriptionId: string;
|
|
@@ -62,34 +69,13 @@ export interface ElasticSanManagementOptionalParams extends coreClient.ServiceCl
|
|
|
62
69
|
endpoint?: string;
|
|
63
70
|
}
|
|
64
71
|
|
|
65
|
-
// @public
|
|
66
|
-
export interface ElasticSanOperationDisplay {
|
|
67
|
-
description: string;
|
|
68
|
-
operation: string;
|
|
69
|
-
provider: string;
|
|
70
|
-
resource: string;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// @public
|
|
74
|
-
export interface ElasticSanOperationListResult {
|
|
75
|
-
nextLink?: string;
|
|
76
|
-
value: ElasticSanRPOperation[];
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
// @public
|
|
80
|
-
export interface ElasticSanRPOperation {
|
|
81
|
-
readonly display?: ElasticSanOperationDisplay;
|
|
82
|
-
readonly isDataAction?: boolean;
|
|
83
|
-
name: string;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
72
|
// @public
|
|
87
73
|
export interface ElasticSans {
|
|
88
|
-
beginCreate(resourceGroupName: string, elasticSanName: string, parameters: ElasticSan, options?: ElasticSansCreateOptionalParams): Promise<
|
|
74
|
+
beginCreate(resourceGroupName: string, elasticSanName: string, parameters: ElasticSan, options?: ElasticSansCreateOptionalParams): Promise<SimplePollerLike<OperationState<ElasticSansCreateResponse>, ElasticSansCreateResponse>>;
|
|
89
75
|
beginCreateAndWait(resourceGroupName: string, elasticSanName: string, parameters: ElasticSan, options?: ElasticSansCreateOptionalParams): Promise<ElasticSansCreateResponse>;
|
|
90
|
-
beginDelete(resourceGroupName: string, elasticSanName: string, options?: ElasticSansDeleteOptionalParams): Promise<
|
|
76
|
+
beginDelete(resourceGroupName: string, elasticSanName: string, options?: ElasticSansDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
91
77
|
beginDeleteAndWait(resourceGroupName: string, elasticSanName: string, options?: ElasticSansDeleteOptionalParams): Promise<void>;
|
|
92
|
-
beginUpdate(resourceGroupName: string, elasticSanName: string, parameters: ElasticSanUpdate, options?: ElasticSansUpdateOptionalParams): Promise<
|
|
78
|
+
beginUpdate(resourceGroupName: string, elasticSanName: string, parameters: ElasticSanUpdate, options?: ElasticSansUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ElasticSansUpdateResponse>, ElasticSansUpdateResponse>>;
|
|
93
79
|
beginUpdateAndWait(resourceGroupName: string, elasticSanName: string, parameters: ElasticSanUpdate, options?: ElasticSansUpdateOptionalParams): Promise<ElasticSansUpdateResponse>;
|
|
94
80
|
get(resourceGroupName: string, elasticSanName: string, options?: ElasticSansGetOptionalParams): Promise<ElasticSansGetResponse>;
|
|
95
81
|
listByResourceGroup(resourceGroupName: string, options?: ElasticSansListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ElasticSan>;
|
|
@@ -105,6 +91,12 @@ export interface ElasticSansCreateOptionalParams extends coreClient.OperationOpt
|
|
|
105
91
|
// @public
|
|
106
92
|
export type ElasticSansCreateResponse = ElasticSan;
|
|
107
93
|
|
|
94
|
+
// @public
|
|
95
|
+
export interface ElasticSansDeleteHeaders {
|
|
96
|
+
// (undocumented)
|
|
97
|
+
location?: string;
|
|
98
|
+
}
|
|
99
|
+
|
|
108
100
|
// @public
|
|
109
101
|
export interface ElasticSansDeleteOptionalParams extends coreClient.OperationOptions {
|
|
110
102
|
resumeFrom?: string;
|
|
@@ -146,6 +138,12 @@ export interface ElasticSansListBySubscriptionOptionalParams extends coreClient.
|
|
|
146
138
|
// @public
|
|
147
139
|
export type ElasticSansListBySubscriptionResponse = ElasticSanList;
|
|
148
140
|
|
|
141
|
+
// @public
|
|
142
|
+
export interface ElasticSansUpdateHeaders {
|
|
143
|
+
// (undocumented)
|
|
144
|
+
location?: string;
|
|
145
|
+
}
|
|
146
|
+
|
|
149
147
|
// @public
|
|
150
148
|
export interface ElasticSansUpdateOptionalParams extends coreClient.OperationOptions {
|
|
151
149
|
resumeFrom?: string;
|
|
@@ -174,19 +172,19 @@ export interface ErrorAdditionalInfo {
|
|
|
174
172
|
}
|
|
175
173
|
|
|
176
174
|
// @public
|
|
177
|
-
export interface
|
|
178
|
-
error?: ErrorResponse;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
// @public
|
|
182
|
-
export interface ErrorResponse {
|
|
175
|
+
export interface ErrorDetail {
|
|
183
176
|
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
184
177
|
readonly code?: string;
|
|
185
|
-
readonly details?:
|
|
178
|
+
readonly details?: ErrorDetail[];
|
|
186
179
|
readonly message?: string;
|
|
187
180
|
readonly target?: string;
|
|
188
181
|
}
|
|
189
182
|
|
|
183
|
+
// @public
|
|
184
|
+
export interface ErrorResponse {
|
|
185
|
+
error?: ErrorDetail;
|
|
186
|
+
}
|
|
187
|
+
|
|
190
188
|
// @public
|
|
191
189
|
export function getContinuationToken(page: unknown): string | undefined;
|
|
192
190
|
|
|
@@ -199,6 +197,11 @@ export interface IscsiTargetInfo {
|
|
|
199
197
|
readonly targetPortalPort?: number;
|
|
200
198
|
}
|
|
201
199
|
|
|
200
|
+
// @public
|
|
201
|
+
export enum KnownActionType {
|
|
202
|
+
Internal = "Internal"
|
|
203
|
+
}
|
|
204
|
+
|
|
202
205
|
// @public
|
|
203
206
|
export enum KnownCreatedByType {
|
|
204
207
|
Application = "Application",
|
|
@@ -224,6 +227,21 @@ export enum KnownOperationalStatus {
|
|
|
224
227
|
Updating = "Updating"
|
|
225
228
|
}
|
|
226
229
|
|
|
230
|
+
// @public
|
|
231
|
+
export enum KnownOrigin {
|
|
232
|
+
System = "system",
|
|
233
|
+
User = "user",
|
|
234
|
+
UserSystem = "user,system"
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
// @public
|
|
238
|
+
export enum KnownPrivateEndpointServiceConnectionStatus {
|
|
239
|
+
Approved = "Approved",
|
|
240
|
+
Failed = "Failed",
|
|
241
|
+
Pending = "Pending",
|
|
242
|
+
Rejected = "Rejected"
|
|
243
|
+
}
|
|
244
|
+
|
|
227
245
|
// @public
|
|
228
246
|
export enum KnownProvisioningStates {
|
|
229
247
|
Canceled = "Canceled",
|
|
@@ -258,12 +276,35 @@ export interface NetworkRuleSet {
|
|
|
258
276
|
virtualNetworkRules?: VirtualNetworkRule[];
|
|
259
277
|
}
|
|
260
278
|
|
|
279
|
+
// @public
|
|
280
|
+
export interface Operation {
|
|
281
|
+
readonly actionType?: ActionType;
|
|
282
|
+
display?: OperationDisplay;
|
|
283
|
+
readonly isDataAction?: boolean;
|
|
284
|
+
readonly name?: string;
|
|
285
|
+
readonly origin?: Origin;
|
|
286
|
+
}
|
|
287
|
+
|
|
261
288
|
// @public
|
|
262
289
|
export type OperationalStatus = string;
|
|
263
290
|
|
|
291
|
+
// @public
|
|
292
|
+
export interface OperationDisplay {
|
|
293
|
+
readonly description?: string;
|
|
294
|
+
readonly operation?: string;
|
|
295
|
+
readonly provider?: string;
|
|
296
|
+
readonly resource?: string;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
// @public
|
|
300
|
+
export interface OperationListResult {
|
|
301
|
+
readonly nextLink?: string;
|
|
302
|
+
readonly value?: Operation[];
|
|
303
|
+
}
|
|
304
|
+
|
|
264
305
|
// @public
|
|
265
306
|
export interface Operations {
|
|
266
|
-
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<
|
|
307
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
267
308
|
}
|
|
268
309
|
|
|
269
310
|
// @public
|
|
@@ -271,18 +312,122 @@ export interface OperationsListOptionalParams extends coreClient.OperationOption
|
|
|
271
312
|
}
|
|
272
313
|
|
|
273
314
|
// @public
|
|
274
|
-
export type OperationsListResponse =
|
|
315
|
+
export type OperationsListResponse = OperationListResult;
|
|
316
|
+
|
|
317
|
+
// @public
|
|
318
|
+
export type Origin = string;
|
|
319
|
+
|
|
320
|
+
// @public
|
|
321
|
+
export interface PrivateEndpoint {
|
|
322
|
+
readonly id?: string;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
// @public
|
|
326
|
+
export interface PrivateEndpointConnection extends Resource {
|
|
327
|
+
groupIds?: string[];
|
|
328
|
+
privateEndpoint?: PrivateEndpoint;
|
|
329
|
+
privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
|
|
330
|
+
readonly provisioningState?: ProvisioningStates;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
// @public
|
|
334
|
+
export interface PrivateEndpointConnectionListResult {
|
|
335
|
+
readonly nextLink?: string;
|
|
336
|
+
value?: PrivateEndpointConnection[];
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
// @public
|
|
340
|
+
export interface PrivateEndpointConnections {
|
|
341
|
+
beginCreate(resourceGroupName: string, elasticSanName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsCreateResponse>, PrivateEndpointConnectionsCreateResponse>>;
|
|
342
|
+
beginCreateAndWait(resourceGroupName: string, elasticSanName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOptionalParams): Promise<PrivateEndpointConnectionsCreateResponse>;
|
|
343
|
+
beginDelete(resourceGroupName: string, elasticSanName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
344
|
+
beginDeleteAndWait(resourceGroupName: string, elasticSanName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
|
|
345
|
+
get(resourceGroupName: string, elasticSanName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
|
|
346
|
+
list(resourceGroupName: string, elasticSanName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
// @public
|
|
350
|
+
export interface PrivateEndpointConnectionsCreateOptionalParams extends coreClient.OperationOptions {
|
|
351
|
+
resumeFrom?: string;
|
|
352
|
+
updateIntervalInMs?: number;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
// @public
|
|
356
|
+
export type PrivateEndpointConnectionsCreateResponse = PrivateEndpointConnection;
|
|
357
|
+
|
|
358
|
+
// @public
|
|
359
|
+
export interface PrivateEndpointConnectionsDeleteHeaders {
|
|
360
|
+
// (undocumented)
|
|
361
|
+
location?: string;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
// @public
|
|
365
|
+
export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
366
|
+
resumeFrom?: string;
|
|
367
|
+
updateIntervalInMs?: number;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
// @public
|
|
371
|
+
export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
// @public
|
|
375
|
+
export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
|
|
376
|
+
|
|
377
|
+
// @public
|
|
378
|
+
export interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions {
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
// @public
|
|
382
|
+
export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult;
|
|
383
|
+
|
|
384
|
+
// @public
|
|
385
|
+
export type PrivateEndpointServiceConnectionStatus = string;
|
|
386
|
+
|
|
387
|
+
// @public
|
|
388
|
+
export interface PrivateLinkResource extends Resource {
|
|
389
|
+
readonly groupId?: string;
|
|
390
|
+
readonly requiredMembers?: string[];
|
|
391
|
+
requiredZoneNames?: string[];
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
// @public
|
|
395
|
+
export interface PrivateLinkResourceListResult {
|
|
396
|
+
readonly nextLink?: string;
|
|
397
|
+
value?: PrivateLinkResource[];
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
// @public
|
|
401
|
+
export interface PrivateLinkResources {
|
|
402
|
+
listByElasticSan(resourceGroupName: string, elasticSanName: string, options?: PrivateLinkResourcesListByElasticSanOptionalParams): Promise<PrivateLinkResourcesListByElasticSanResponse>;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
// @public
|
|
406
|
+
export interface PrivateLinkResourcesListByElasticSanOptionalParams extends coreClient.OperationOptions {
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
// @public
|
|
410
|
+
export type PrivateLinkResourcesListByElasticSanResponse = PrivateLinkResourceListResult;
|
|
411
|
+
|
|
412
|
+
// @public
|
|
413
|
+
export interface PrivateLinkServiceConnectionState {
|
|
414
|
+
actionsRequired?: string;
|
|
415
|
+
description?: string;
|
|
416
|
+
status?: PrivateEndpointServiceConnectionStatus;
|
|
417
|
+
}
|
|
275
418
|
|
|
276
419
|
// @public
|
|
277
420
|
export type ProvisioningStates = string;
|
|
278
421
|
|
|
422
|
+
// @public
|
|
423
|
+
export interface ProxyResource extends Resource {
|
|
424
|
+
}
|
|
425
|
+
|
|
279
426
|
// @public
|
|
280
427
|
export interface Resource {
|
|
281
428
|
readonly id?: string;
|
|
282
429
|
readonly name?: string;
|
|
283
|
-
|
|
284
|
-
[propertyName: string]: string;
|
|
285
|
-
};
|
|
430
|
+
readonly systemData?: SystemData;
|
|
286
431
|
readonly type?: string;
|
|
287
432
|
}
|
|
288
433
|
|
|
@@ -310,6 +455,7 @@ export interface SkuInformation {
|
|
|
310
455
|
|
|
311
456
|
// @public
|
|
312
457
|
export interface SkuInformationList {
|
|
458
|
+
readonly nextLink?: string;
|
|
313
459
|
readonly value?: SkuInformation[];
|
|
314
460
|
}
|
|
315
461
|
|
|
@@ -362,7 +508,10 @@ export interface SystemData {
|
|
|
362
508
|
|
|
363
509
|
// @public
|
|
364
510
|
export interface TrackedResource extends Resource {
|
|
365
|
-
location
|
|
511
|
+
location: string;
|
|
512
|
+
tags?: {
|
|
513
|
+
[propertyName: string]: string;
|
|
514
|
+
};
|
|
366
515
|
}
|
|
367
516
|
|
|
368
517
|
// @public
|
|
@@ -373,36 +522,35 @@ export interface VirtualNetworkRule {
|
|
|
373
522
|
}
|
|
374
523
|
|
|
375
524
|
// @public
|
|
376
|
-
export interface Volume extends
|
|
525
|
+
export interface Volume extends ProxyResource {
|
|
377
526
|
creationData?: SourceCreationData;
|
|
378
|
-
sizeGiB
|
|
527
|
+
sizeGiB: number;
|
|
379
528
|
readonly storageTarget?: IscsiTargetInfo;
|
|
380
|
-
readonly systemData?: SystemData;
|
|
381
529
|
readonly volumeId?: string;
|
|
382
530
|
}
|
|
383
531
|
|
|
384
532
|
// @public
|
|
385
|
-
export interface VolumeGroup extends
|
|
533
|
+
export interface VolumeGroup extends ProxyResource {
|
|
386
534
|
encryption?: EncryptionType;
|
|
387
535
|
networkAcls?: NetworkRuleSet;
|
|
536
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
388
537
|
protocolType?: StorageTargetType;
|
|
389
538
|
readonly provisioningState?: ProvisioningStates;
|
|
390
|
-
readonly systemData?: SystemData;
|
|
391
539
|
}
|
|
392
540
|
|
|
393
541
|
// @public
|
|
394
542
|
export interface VolumeGroupList {
|
|
395
543
|
readonly nextLink?: string;
|
|
396
|
-
value
|
|
544
|
+
value?: VolumeGroup[];
|
|
397
545
|
}
|
|
398
546
|
|
|
399
547
|
// @public
|
|
400
548
|
export interface VolumeGroups {
|
|
401
|
-
beginCreate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroup, options?: VolumeGroupsCreateOptionalParams): Promise<
|
|
549
|
+
beginCreate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroup, options?: VolumeGroupsCreateOptionalParams): Promise<SimplePollerLike<OperationState<VolumeGroupsCreateResponse>, VolumeGroupsCreateResponse>>;
|
|
402
550
|
beginCreateAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroup, options?: VolumeGroupsCreateOptionalParams): Promise<VolumeGroupsCreateResponse>;
|
|
403
|
-
beginDelete(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeGroupsDeleteOptionalParams): Promise<
|
|
551
|
+
beginDelete(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeGroupsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
404
552
|
beginDeleteAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeGroupsDeleteOptionalParams): Promise<void>;
|
|
405
|
-
beginUpdate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroupUpdate, options?: VolumeGroupsUpdateOptionalParams): Promise<
|
|
553
|
+
beginUpdate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroupUpdate, options?: VolumeGroupsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VolumeGroupsUpdateResponse>, VolumeGroupsUpdateResponse>>;
|
|
406
554
|
beginUpdateAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroupUpdate, options?: VolumeGroupsUpdateOptionalParams): Promise<VolumeGroupsUpdateResponse>;
|
|
407
555
|
get(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeGroupsGetOptionalParams): Promise<VolumeGroupsGetResponse>;
|
|
408
556
|
listByElasticSan(resourceGroupName: string, elasticSanName: string, options?: VolumeGroupsListByElasticSanOptionalParams): PagedAsyncIterableIterator<VolumeGroup>;
|
|
@@ -417,6 +565,12 @@ export interface VolumeGroupsCreateOptionalParams extends coreClient.OperationOp
|
|
|
417
565
|
// @public
|
|
418
566
|
export type VolumeGroupsCreateResponse = VolumeGroup;
|
|
419
567
|
|
|
568
|
+
// @public
|
|
569
|
+
export interface VolumeGroupsDeleteHeaders {
|
|
570
|
+
// (undocumented)
|
|
571
|
+
location?: string;
|
|
572
|
+
}
|
|
573
|
+
|
|
420
574
|
// @public
|
|
421
575
|
export interface VolumeGroupsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
422
576
|
resumeFrom?: string;
|
|
@@ -444,6 +598,12 @@ export interface VolumeGroupsListByElasticSanOptionalParams extends coreClient.O
|
|
|
444
598
|
// @public
|
|
445
599
|
export type VolumeGroupsListByElasticSanResponse = VolumeGroupList;
|
|
446
600
|
|
|
601
|
+
// @public
|
|
602
|
+
export interface VolumeGroupsUpdateHeaders {
|
|
603
|
+
// (undocumented)
|
|
604
|
+
location?: string;
|
|
605
|
+
}
|
|
606
|
+
|
|
447
607
|
// @public
|
|
448
608
|
export interface VolumeGroupsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
449
609
|
resumeFrom?: string;
|
|
@@ -458,24 +618,21 @@ export interface VolumeGroupUpdate {
|
|
|
458
618
|
encryption?: EncryptionType;
|
|
459
619
|
networkAcls?: NetworkRuleSet;
|
|
460
620
|
protocolType?: StorageTargetType;
|
|
461
|
-
tags?: {
|
|
462
|
-
[propertyName: string]: string;
|
|
463
|
-
};
|
|
464
621
|
}
|
|
465
622
|
|
|
466
623
|
// @public
|
|
467
624
|
export interface VolumeList {
|
|
468
625
|
readonly nextLink?: string;
|
|
469
|
-
value
|
|
626
|
+
value?: Volume[];
|
|
470
627
|
}
|
|
471
628
|
|
|
472
629
|
// @public
|
|
473
630
|
export interface Volumes {
|
|
474
|
-
beginCreate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: Volume, options?: VolumesCreateOptionalParams): Promise<
|
|
631
|
+
beginCreate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: Volume, options?: VolumesCreateOptionalParams): Promise<SimplePollerLike<OperationState<VolumesCreateResponse>, VolumesCreateResponse>>;
|
|
475
632
|
beginCreateAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: Volume, options?: VolumesCreateOptionalParams): Promise<VolumesCreateResponse>;
|
|
476
|
-
beginDelete(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams): Promise<
|
|
633
|
+
beginDelete(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
477
634
|
beginDeleteAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams): Promise<void>;
|
|
478
|
-
beginUpdate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: VolumeUpdate, options?: VolumesUpdateOptionalParams): Promise<
|
|
635
|
+
beginUpdate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: VolumeUpdate, options?: VolumesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VolumesUpdateResponse>, VolumesUpdateResponse>>;
|
|
479
636
|
beginUpdateAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: VolumeUpdate, options?: VolumesUpdateOptionalParams): Promise<VolumesUpdateResponse>;
|
|
480
637
|
get(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: VolumesGetOptionalParams): Promise<VolumesGetResponse>;
|
|
481
638
|
listByVolumeGroup(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumesListByVolumeGroupOptionalParams): PagedAsyncIterableIterator<Volume>;
|
|
@@ -490,6 +647,12 @@ export interface VolumesCreateOptionalParams extends coreClient.OperationOptions
|
|
|
490
647
|
// @public
|
|
491
648
|
export type VolumesCreateResponse = Volume;
|
|
492
649
|
|
|
650
|
+
// @public
|
|
651
|
+
export interface VolumesDeleteHeaders {
|
|
652
|
+
// (undocumented)
|
|
653
|
+
location?: string;
|
|
654
|
+
}
|
|
655
|
+
|
|
493
656
|
// @public
|
|
494
657
|
export interface VolumesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
495
658
|
resumeFrom?: string;
|
|
@@ -517,6 +680,12 @@ export interface VolumesListByVolumeGroupOptionalParams extends coreClient.Opera
|
|
|
517
680
|
// @public
|
|
518
681
|
export type VolumesListByVolumeGroupResponse = VolumeList;
|
|
519
682
|
|
|
683
|
+
// @public
|
|
684
|
+
export interface VolumesUpdateHeaders {
|
|
685
|
+
// (undocumented)
|
|
686
|
+
location?: string;
|
|
687
|
+
}
|
|
688
|
+
|
|
520
689
|
// @public
|
|
521
690
|
export interface VolumesUpdateOptionalParams extends coreClient.OperationOptions {
|
|
522
691
|
resumeFrom?: string;
|
|
@@ -529,9 +698,6 @@ export type VolumesUpdateResponse = Volume;
|
|
|
529
698
|
// @public
|
|
530
699
|
export interface VolumeUpdate {
|
|
531
700
|
sizeGiB?: number;
|
|
532
|
-
tags?: {
|
|
533
|
-
[propertyName: string]: string;
|
|
534
|
-
};
|
|
535
701
|
}
|
|
536
702
|
|
|
537
703
|
// (No @packageDocumentation comment for this package)
|
|
@@ -19,14 +19,18 @@ import {
|
|
|
19
19
|
SkusImpl,
|
|
20
20
|
ElasticSansImpl,
|
|
21
21
|
VolumeGroupsImpl,
|
|
22
|
-
VolumesImpl
|
|
22
|
+
VolumesImpl,
|
|
23
|
+
PrivateEndpointConnectionsImpl,
|
|
24
|
+
PrivateLinkResourcesImpl
|
|
23
25
|
} from "./operations";
|
|
24
26
|
import {
|
|
25
27
|
Operations,
|
|
26
28
|
Skus,
|
|
27
29
|
ElasticSans,
|
|
28
30
|
VolumeGroups,
|
|
29
|
-
Volumes
|
|
31
|
+
Volumes,
|
|
32
|
+
PrivateEndpointConnections,
|
|
33
|
+
PrivateLinkResources
|
|
30
34
|
} from "./operationsInterfaces";
|
|
31
35
|
import { ElasticSanManagementOptionalParams } from "./models";
|
|
32
36
|
|
|
@@ -115,12 +119,14 @@ export class ElasticSanManagement extends coreClient.ServiceClient {
|
|
|
115
119
|
|
|
116
120
|
// Assigning values to Constant parameters
|
|
117
121
|
this.$host = options.$host || "https://management.azure.com";
|
|
118
|
-
this.apiVersion = options.apiVersion || "
|
|
122
|
+
this.apiVersion = options.apiVersion || "2022-12-01-preview";
|
|
119
123
|
this.operations = new OperationsImpl(this);
|
|
120
124
|
this.skus = new SkusImpl(this);
|
|
121
125
|
this.elasticSans = new ElasticSansImpl(this);
|
|
122
126
|
this.volumeGroups = new VolumeGroupsImpl(this);
|
|
123
127
|
this.volumes = new VolumesImpl(this);
|
|
128
|
+
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
129
|
+
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
|
124
130
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
125
131
|
}
|
|
126
132
|
|
|
@@ -157,4 +163,6 @@ export class ElasticSanManagement extends coreClient.ServiceClient {
|
|
|
157
163
|
elasticSans: ElasticSans;
|
|
158
164
|
volumeGroups: VolumeGroups;
|
|
159
165
|
volumes: Volumes;
|
|
166
|
+
privateEndpointConnections: PrivateEndpointConnections;
|
|
167
|
+
privateLinkResources: PrivateLinkResources;
|
|
160
168
|
}
|
package/src/lroImpl.ts
CHANGED
|
@@ -6,29 +6,37 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT license.
|
|
11
|
+
|
|
12
|
+
import { AbortSignalLike } from "@azure/abort-controller";
|
|
9
13
|
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
|
10
14
|
|
|
11
|
-
export
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
...restSpec
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
15
|
+
export function createLroSpec<T>(inputs: {
|
|
16
|
+
sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
|
|
17
|
+
args: Record<string, unknown>;
|
|
18
|
+
spec: {
|
|
19
|
+
readonly requestBody?: unknown;
|
|
20
|
+
readonly path?: string;
|
|
21
|
+
readonly httpMethod: string;
|
|
22
|
+
} & Record<string, any>;
|
|
23
|
+
}): LongRunningOperation<T> {
|
|
24
|
+
const { args, spec, sendOperationFn } = inputs;
|
|
25
|
+
return {
|
|
26
|
+
requestMethod: spec.httpMethod,
|
|
27
|
+
requestPath: spec.path!,
|
|
28
|
+
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
29
|
+
sendPollRequest: (
|
|
30
|
+
path: string,
|
|
31
|
+
options?: { abortSignal?: AbortSignalLike }
|
|
32
|
+
) => {
|
|
33
|
+
const { requestBody, ...restSpec } = spec;
|
|
34
|
+
return sendOperationFn(args, {
|
|
35
|
+
...restSpec,
|
|
36
|
+
httpMethod: "GET",
|
|
37
|
+
path,
|
|
38
|
+
abortSignal: options?.abortSignal
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
};
|
|
34
42
|
}
|