@azure/arm-elasticsan 1.0.0-alpha.20230724.1 → 1.0.0-alpha.20230801.1
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 +69 -5
- package/dist/index.js +1036 -285
- 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 +5 -3
- 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 +12 -4
- 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
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import * as coreAuth from '@azure/core-auth';
|
|
2
2
|
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { OperationState } from '@azure/core-lro';
|
|
3
4
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
4
|
-
import {
|
|
5
|
-
|
|
5
|
+
import { SimplePollerLike } from '@azure/core-lro';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Defines values for ActionType. \
|
|
9
|
+
* {@link KnownActionType} can be used interchangeably with ActionType,
|
|
10
|
+
* this enum contains the known values that the service supports.
|
|
11
|
+
* ### Known values supported by the service
|
|
12
|
+
* **Internal**
|
|
13
|
+
*/
|
|
14
|
+
export declare type ActionType = string;
|
|
6
15
|
|
|
7
16
|
/**
|
|
8
17
|
* Defines values for CreatedByType. \
|
|
@@ -18,11 +27,6 @@ export declare type CreatedByType = string;
|
|
|
18
27
|
|
|
19
28
|
/** Response for ElasticSan request. */
|
|
20
29
|
export declare interface ElasticSan extends TrackedResource {
|
|
21
|
-
/**
|
|
22
|
-
* Resource metadata required by ARM RPC
|
|
23
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
24
|
-
*/
|
|
25
|
-
readonly systemData?: SystemData;
|
|
26
30
|
/** resource sku */
|
|
27
31
|
sku: Sku;
|
|
28
32
|
/** Logical zone for Elastic San resource; example: ["1"]. */
|
|
@@ -61,12 +65,17 @@ export declare interface ElasticSan extends TrackedResource {
|
|
|
61
65
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
62
66
|
*/
|
|
63
67
|
readonly totalSizeTiB?: number;
|
|
68
|
+
/**
|
|
69
|
+
* The list of Private Endpoint Connections.
|
|
70
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
71
|
+
*/
|
|
72
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
64
73
|
}
|
|
65
74
|
|
|
66
75
|
/** List of Elastic Sans */
|
|
67
76
|
export declare interface ElasticSanList {
|
|
68
77
|
/** An array of Elastic San objects. */
|
|
69
|
-
value
|
|
78
|
+
value?: ElasticSan[];
|
|
70
79
|
/**
|
|
71
80
|
* URI to fetch the next section of the paginated response.
|
|
72
81
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -92,6 +101,8 @@ export declare class ElasticSanManagement extends coreClient.ServiceClient {
|
|
|
92
101
|
elasticSans: ElasticSans;
|
|
93
102
|
volumeGroups: VolumeGroups;
|
|
94
103
|
volumes: Volumes;
|
|
104
|
+
privateEndpointConnections: PrivateEndpointConnections;
|
|
105
|
+
privateLinkResources: PrivateLinkResources;
|
|
95
106
|
}
|
|
96
107
|
|
|
97
108
|
/** Optional parameters. */
|
|
@@ -104,42 +115,6 @@ export declare interface ElasticSanManagementOptionalParams extends coreClient.S
|
|
|
104
115
|
endpoint?: string;
|
|
105
116
|
}
|
|
106
117
|
|
|
107
|
-
/** Metadata about an operation. */
|
|
108
|
-
export declare interface ElasticSanOperationDisplay {
|
|
109
|
-
/** Localized friendly form of the resource provider name. */
|
|
110
|
-
provider: string;
|
|
111
|
-
/** Localized friendly form of the resource type related to this action/operation. */
|
|
112
|
-
resource: string;
|
|
113
|
-
/** Localized friendly name for the operation, as it should be shown to the user. */
|
|
114
|
-
operation: string;
|
|
115
|
-
/** Localized friendly description for the operation, as it should be shown to the user. */
|
|
116
|
-
description: string;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/** List of operations supported by the RP. */
|
|
120
|
-
export declare interface ElasticSanOperationListResult {
|
|
121
|
-
/** An array of operations supported by the ElasticSan RP. */
|
|
122
|
-
value: ElasticSanRPOperation[];
|
|
123
|
-
/** URI to fetch the next section of the paginated response. */
|
|
124
|
-
nextLink?: string;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/** Description of a ElasticSan RP Operation */
|
|
128
|
-
export declare interface ElasticSanRPOperation {
|
|
129
|
-
/** The name of the operation being performed on this particular object */
|
|
130
|
-
name: string;
|
|
131
|
-
/**
|
|
132
|
-
* Indicates whether the operation applies to data-plane.
|
|
133
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
134
|
-
*/
|
|
135
|
-
readonly isDataAction?: boolean;
|
|
136
|
-
/**
|
|
137
|
-
* Additional metadata about RP operation.
|
|
138
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
139
|
-
*/
|
|
140
|
-
readonly display?: ElasticSanOperationDisplay;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
118
|
/** Interface representing a ElasticSans. */
|
|
144
119
|
export declare interface ElasticSans {
|
|
145
120
|
/**
|
|
@@ -160,7 +135,7 @@ export declare interface ElasticSans {
|
|
|
160
135
|
* @param parameters Elastic San object.
|
|
161
136
|
* @param options The options parameters.
|
|
162
137
|
*/
|
|
163
|
-
beginCreate(resourceGroupName: string, elasticSanName: string, parameters: ElasticSan, options?: ElasticSansCreateOptionalParams): Promise<
|
|
138
|
+
beginCreate(resourceGroupName: string, elasticSanName: string, parameters: ElasticSan, options?: ElasticSansCreateOptionalParams): Promise<SimplePollerLike<OperationState<ElasticSansCreateResponse>, ElasticSansCreateResponse>>;
|
|
164
139
|
/**
|
|
165
140
|
* Create ElasticSan.
|
|
166
141
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -176,7 +151,7 @@ export declare interface ElasticSans {
|
|
|
176
151
|
* @param parameters Elastic San object.
|
|
177
152
|
* @param options The options parameters.
|
|
178
153
|
*/
|
|
179
|
-
beginUpdate(resourceGroupName: string, elasticSanName: string, parameters: ElasticSanUpdate, options?: ElasticSansUpdateOptionalParams): Promise<
|
|
154
|
+
beginUpdate(resourceGroupName: string, elasticSanName: string, parameters: ElasticSanUpdate, options?: ElasticSansUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ElasticSansUpdateResponse>, ElasticSansUpdateResponse>>;
|
|
180
155
|
/**
|
|
181
156
|
* Update a Elastic San.
|
|
182
157
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -191,7 +166,7 @@ export declare interface ElasticSans {
|
|
|
191
166
|
* @param elasticSanName The name of the ElasticSan.
|
|
192
167
|
* @param options The options parameters.
|
|
193
168
|
*/
|
|
194
|
-
beginDelete(resourceGroupName: string, elasticSanName: string, options?: ElasticSansDeleteOptionalParams): Promise<
|
|
169
|
+
beginDelete(resourceGroupName: string, elasticSanName: string, options?: ElasticSansDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
195
170
|
/**
|
|
196
171
|
* Delete a Elastic San.
|
|
197
172
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -219,6 +194,11 @@ export declare interface ElasticSansCreateOptionalParams extends coreClient.Oper
|
|
|
219
194
|
/** Contains response data for the create operation. */
|
|
220
195
|
export declare type ElasticSansCreateResponse = ElasticSan;
|
|
221
196
|
|
|
197
|
+
/** Defines headers for ElasticSans_delete operation. */
|
|
198
|
+
export declare interface ElasticSansDeleteHeaders {
|
|
199
|
+
location?: string;
|
|
200
|
+
}
|
|
201
|
+
|
|
222
202
|
/** Optional parameters. */
|
|
223
203
|
export declare interface ElasticSansDeleteOptionalParams extends coreClient.OperationOptions {
|
|
224
204
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -262,6 +242,11 @@ export declare interface ElasticSansListBySubscriptionOptionalParams extends cor
|
|
|
262
242
|
/** Contains response data for the listBySubscription operation. */
|
|
263
243
|
export declare type ElasticSansListBySubscriptionResponse = ElasticSanList;
|
|
264
244
|
|
|
245
|
+
/** Defines headers for ElasticSans_update operation. */
|
|
246
|
+
export declare interface ElasticSansUpdateHeaders {
|
|
247
|
+
location?: string;
|
|
248
|
+
}
|
|
249
|
+
|
|
265
250
|
/** Optional parameters. */
|
|
266
251
|
export declare interface ElasticSansUpdateOptionalParams extends coreClient.OperationOptions {
|
|
267
252
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -308,14 +293,8 @@ export declare interface ErrorAdditionalInfo {
|
|
|
308
293
|
readonly info?: Record<string, unknown>;
|
|
309
294
|
}
|
|
310
295
|
|
|
311
|
-
/** The
|
|
312
|
-
export declare interface
|
|
313
|
-
/** RP error response. */
|
|
314
|
-
error?: ErrorResponse;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
/** The resource management error response. */
|
|
318
|
-
export declare interface ErrorResponse {
|
|
296
|
+
/** The error detail. */
|
|
297
|
+
export declare interface ErrorDetail {
|
|
319
298
|
/**
|
|
320
299
|
* The error code.
|
|
321
300
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -335,7 +314,7 @@ export declare interface ErrorResponse {
|
|
|
335
314
|
* The error details.
|
|
336
315
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
337
316
|
*/
|
|
338
|
-
readonly details?:
|
|
317
|
+
readonly details?: ErrorDetail[];
|
|
339
318
|
/**
|
|
340
319
|
* The error additional info.
|
|
341
320
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -343,6 +322,12 @@ export declare interface ErrorResponse {
|
|
|
343
322
|
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
344
323
|
}
|
|
345
324
|
|
|
325
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
326
|
+
export declare interface ErrorResponse {
|
|
327
|
+
/** The error object. */
|
|
328
|
+
error?: ErrorDetail;
|
|
329
|
+
}
|
|
330
|
+
|
|
346
331
|
/**
|
|
347
332
|
* Given the last `.value` produced by the `byPage` iterator,
|
|
348
333
|
* returns a continuation token that can be used to begin paging from
|
|
@@ -378,6 +363,12 @@ export declare interface IscsiTargetInfo {
|
|
|
378
363
|
status?: OperationalStatus;
|
|
379
364
|
}
|
|
380
365
|
|
|
366
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
367
|
+
export declare enum KnownActionType {
|
|
368
|
+
/** Internal */
|
|
369
|
+
Internal = "Internal"
|
|
370
|
+
}
|
|
371
|
+
|
|
381
372
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
382
373
|
export declare enum KnownCreatedByType {
|
|
383
374
|
/** User */
|
|
@@ -416,6 +407,28 @@ export declare enum KnownOperationalStatus {
|
|
|
416
407
|
StoppedDeallocated = "Stopped (deallocated)"
|
|
417
408
|
}
|
|
418
409
|
|
|
410
|
+
/** Known values of {@link Origin} that the service accepts. */
|
|
411
|
+
export declare enum KnownOrigin {
|
|
412
|
+
/** User */
|
|
413
|
+
User = "user",
|
|
414
|
+
/** System */
|
|
415
|
+
System = "system",
|
|
416
|
+
/** UserSystem */
|
|
417
|
+
UserSystem = "user,system"
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
|
421
|
+
export declare enum KnownPrivateEndpointServiceConnectionStatus {
|
|
422
|
+
/** Pending */
|
|
423
|
+
Pending = "Pending",
|
|
424
|
+
/** Approved */
|
|
425
|
+
Approved = "Approved",
|
|
426
|
+
/** Failed */
|
|
427
|
+
Failed = "Failed",
|
|
428
|
+
/** Rejected */
|
|
429
|
+
Rejected = "Rejected"
|
|
430
|
+
}
|
|
431
|
+
|
|
419
432
|
/** Known values of {@link ProvisioningStates} that the service accepts. */
|
|
420
433
|
export declare enum KnownProvisioningStates {
|
|
421
434
|
/** Invalid */
|
|
@@ -464,6 +477,32 @@ export declare interface NetworkRuleSet {
|
|
|
464
477
|
virtualNetworkRules?: VirtualNetworkRule[];
|
|
465
478
|
}
|
|
466
479
|
|
|
480
|
+
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
481
|
+
export declare interface Operation {
|
|
482
|
+
/**
|
|
483
|
+
* The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
|
|
484
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
485
|
+
*/
|
|
486
|
+
readonly name?: string;
|
|
487
|
+
/**
|
|
488
|
+
* Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
|
|
489
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
490
|
+
*/
|
|
491
|
+
readonly isDataAction?: boolean;
|
|
492
|
+
/** Localized display information for this particular operation. */
|
|
493
|
+
display?: OperationDisplay;
|
|
494
|
+
/**
|
|
495
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
|
|
496
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
497
|
+
*/
|
|
498
|
+
readonly origin?: Origin;
|
|
499
|
+
/**
|
|
500
|
+
* Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
|
|
501
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
502
|
+
*/
|
|
503
|
+
readonly actionType?: ActionType;
|
|
504
|
+
}
|
|
505
|
+
|
|
467
506
|
/**
|
|
468
507
|
* Defines values for OperationalStatus. \
|
|
469
508
|
* {@link KnownOperationalStatus} can be used interchangeably with OperationalStatus,
|
|
@@ -480,13 +519,51 @@ export declare interface NetworkRuleSet {
|
|
|
480
519
|
*/
|
|
481
520
|
export declare type OperationalStatus = string;
|
|
482
521
|
|
|
522
|
+
/** Localized display information for this particular operation. */
|
|
523
|
+
export declare interface OperationDisplay {
|
|
524
|
+
/**
|
|
525
|
+
* The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
|
|
526
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
527
|
+
*/
|
|
528
|
+
readonly provider?: string;
|
|
529
|
+
/**
|
|
530
|
+
* The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
|
|
531
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
532
|
+
*/
|
|
533
|
+
readonly resource?: string;
|
|
534
|
+
/**
|
|
535
|
+
* The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
|
|
536
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
537
|
+
*/
|
|
538
|
+
readonly operation?: string;
|
|
539
|
+
/**
|
|
540
|
+
* The short, localized friendly description of the operation; suitable for tool tips and detailed views.
|
|
541
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
542
|
+
*/
|
|
543
|
+
readonly description?: string;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
547
|
+
export declare interface OperationListResult {
|
|
548
|
+
/**
|
|
549
|
+
* List of operations supported by the resource provider
|
|
550
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
551
|
+
*/
|
|
552
|
+
readonly value?: Operation[];
|
|
553
|
+
/**
|
|
554
|
+
* URL to get the next set of operation list results (if there are any).
|
|
555
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
556
|
+
*/
|
|
557
|
+
readonly nextLink?: string;
|
|
558
|
+
}
|
|
559
|
+
|
|
483
560
|
/** Interface representing a Operations. */
|
|
484
561
|
export declare interface Operations {
|
|
485
562
|
/**
|
|
486
563
|
* Gets a list of ElasticSan operations.
|
|
487
564
|
* @param options The options parameters.
|
|
488
565
|
*/
|
|
489
|
-
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<
|
|
566
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
490
567
|
}
|
|
491
568
|
|
|
492
569
|
/** Optional parameters. */
|
|
@@ -494,7 +571,211 @@ export declare interface OperationsListOptionalParams extends coreClient.Operati
|
|
|
494
571
|
}
|
|
495
572
|
|
|
496
573
|
/** Contains response data for the list operation. */
|
|
497
|
-
export declare type OperationsListResponse =
|
|
574
|
+
export declare type OperationsListResponse = OperationListResult;
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* Defines values for Origin. \
|
|
578
|
+
* {@link KnownOrigin} can be used interchangeably with Origin,
|
|
579
|
+
* this enum contains the known values that the service supports.
|
|
580
|
+
* ### Known values supported by the service
|
|
581
|
+
* **user** \
|
|
582
|
+
* **system** \
|
|
583
|
+
* **user,system**
|
|
584
|
+
*/
|
|
585
|
+
export declare type Origin = string;
|
|
586
|
+
|
|
587
|
+
/** Response for PrivateEndpoint */
|
|
588
|
+
export declare interface PrivateEndpoint {
|
|
589
|
+
/**
|
|
590
|
+
* The ARM identifier for Private Endpoint
|
|
591
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
592
|
+
*/
|
|
593
|
+
readonly id?: string;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
/** Response for PrivateEndpoint Connection object */
|
|
597
|
+
export declare interface PrivateEndpointConnection extends Resource {
|
|
598
|
+
/**
|
|
599
|
+
* Provisioning State of Private Endpoint connection resource
|
|
600
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
601
|
+
*/
|
|
602
|
+
readonly provisioningState?: ProvisioningStates;
|
|
603
|
+
/** Private Endpoint resource */
|
|
604
|
+
privateEndpoint?: PrivateEndpoint;
|
|
605
|
+
/** Private Link Service Connection State. */
|
|
606
|
+
privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
|
|
607
|
+
/** List of resources private endpoint is mapped */
|
|
608
|
+
groupIds?: string[];
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
/** List of private endpoint connections associated with SAN */
|
|
612
|
+
export declare interface PrivateEndpointConnectionListResult {
|
|
613
|
+
/** Array of private endpoint connections */
|
|
614
|
+
value?: PrivateEndpointConnection[];
|
|
615
|
+
/**
|
|
616
|
+
* URI to fetch the next section of the paginated response.
|
|
617
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
618
|
+
*/
|
|
619
|
+
readonly nextLink?: string;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
/** Interface representing a PrivateEndpointConnections. */
|
|
623
|
+
export declare interface PrivateEndpointConnections {
|
|
624
|
+
/**
|
|
625
|
+
* List all Private Endpoint Connections associated with the Elastic San.
|
|
626
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
627
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
628
|
+
* @param options The options parameters.
|
|
629
|
+
*/
|
|
630
|
+
list(resourceGroupName: string, elasticSanName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
|
|
631
|
+
/**
|
|
632
|
+
* Update the state of specified private endpoint connection associated with the Elastic San
|
|
633
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
634
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
635
|
+
* @param privateEndpointConnectionName The name of the Private Endpoint connection.
|
|
636
|
+
* @param parameters Private Endpoint Connection Approval object.
|
|
637
|
+
* @param options The options parameters.
|
|
638
|
+
*/
|
|
639
|
+
beginCreate(resourceGroupName: string, elasticSanName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsCreateResponse>, PrivateEndpointConnectionsCreateResponse>>;
|
|
640
|
+
/**
|
|
641
|
+
* Update the state of specified private endpoint connection associated with the Elastic San
|
|
642
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
643
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
644
|
+
* @param privateEndpointConnectionName The name of the Private Endpoint connection.
|
|
645
|
+
* @param parameters Private Endpoint Connection Approval object.
|
|
646
|
+
* @param options The options parameters.
|
|
647
|
+
*/
|
|
648
|
+
beginCreateAndWait(resourceGroupName: string, elasticSanName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOptionalParams): Promise<PrivateEndpointConnectionsCreateResponse>;
|
|
649
|
+
/**
|
|
650
|
+
* Gets the specified private endpoint connection associated with the Elastic San
|
|
651
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
652
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
653
|
+
* @param privateEndpointConnectionName The name of the Private Endpoint connection.
|
|
654
|
+
* @param options The options parameters.
|
|
655
|
+
*/
|
|
656
|
+
get(resourceGroupName: string, elasticSanName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
|
|
657
|
+
/**
|
|
658
|
+
* Deletes the specified private endpoint connection associated with the Elastic San
|
|
659
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
660
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
661
|
+
* @param privateEndpointConnectionName The name of the Private Endpoint connection.
|
|
662
|
+
* @param options The options parameters.
|
|
663
|
+
*/
|
|
664
|
+
beginDelete(resourceGroupName: string, elasticSanName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
665
|
+
/**
|
|
666
|
+
* Deletes the specified private endpoint connection associated with the Elastic San
|
|
667
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
668
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
669
|
+
* @param privateEndpointConnectionName The name of the Private Endpoint connection.
|
|
670
|
+
* @param options The options parameters.
|
|
671
|
+
*/
|
|
672
|
+
beginDeleteAndWait(resourceGroupName: string, elasticSanName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
/** Optional parameters. */
|
|
676
|
+
export declare interface PrivateEndpointConnectionsCreateOptionalParams extends coreClient.OperationOptions {
|
|
677
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
678
|
+
updateIntervalInMs?: number;
|
|
679
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
680
|
+
resumeFrom?: string;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
/** Contains response data for the create operation. */
|
|
684
|
+
export declare type PrivateEndpointConnectionsCreateResponse = PrivateEndpointConnection;
|
|
685
|
+
|
|
686
|
+
/** Defines headers for PrivateEndpointConnections_delete operation. */
|
|
687
|
+
export declare interface PrivateEndpointConnectionsDeleteHeaders {
|
|
688
|
+
location?: string;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
/** Optional parameters. */
|
|
692
|
+
export declare interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
693
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
694
|
+
updateIntervalInMs?: number;
|
|
695
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
696
|
+
resumeFrom?: string;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
/** Optional parameters. */
|
|
700
|
+
export declare interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
/** Contains response data for the get operation. */
|
|
704
|
+
export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
|
|
705
|
+
|
|
706
|
+
/** Optional parameters. */
|
|
707
|
+
export declare interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions {
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
/** Contains response data for the list operation. */
|
|
711
|
+
export declare type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult;
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* Defines values for PrivateEndpointServiceConnectionStatus. \
|
|
715
|
+
* {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
|
|
716
|
+
* this enum contains the known values that the service supports.
|
|
717
|
+
* ### Known values supported by the service
|
|
718
|
+
* **Pending** \
|
|
719
|
+
* **Approved** \
|
|
720
|
+
* **Failed** \
|
|
721
|
+
* **Rejected**
|
|
722
|
+
*/
|
|
723
|
+
export declare type PrivateEndpointServiceConnectionStatus = string;
|
|
724
|
+
|
|
725
|
+
/** A private link resource */
|
|
726
|
+
export declare interface PrivateLinkResource extends Resource {
|
|
727
|
+
/**
|
|
728
|
+
* The private link resource group id.
|
|
729
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
730
|
+
*/
|
|
731
|
+
readonly groupId?: string;
|
|
732
|
+
/**
|
|
733
|
+
* The private link resource required member names.
|
|
734
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
735
|
+
*/
|
|
736
|
+
readonly requiredMembers?: string[];
|
|
737
|
+
/** The private link resource Private link DNS zone name. */
|
|
738
|
+
requiredZoneNames?: string[];
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
/** A list of private link resources */
|
|
742
|
+
export declare interface PrivateLinkResourceListResult {
|
|
743
|
+
/** Array of private link resources */
|
|
744
|
+
value?: PrivateLinkResource[];
|
|
745
|
+
/**
|
|
746
|
+
* URI to fetch the next section of the paginated response.
|
|
747
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
748
|
+
*/
|
|
749
|
+
readonly nextLink?: string;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
/** Interface representing a PrivateLinkResources. */
|
|
753
|
+
export declare interface PrivateLinkResources {
|
|
754
|
+
/**
|
|
755
|
+
* Gets the private link resources that need to be created for a elastic San.
|
|
756
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
757
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
758
|
+
* @param options The options parameters.
|
|
759
|
+
*/
|
|
760
|
+
listByElasticSan(resourceGroupName: string, elasticSanName: string, options?: PrivateLinkResourcesListByElasticSanOptionalParams): Promise<PrivateLinkResourcesListByElasticSanResponse>;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/** Optional parameters. */
|
|
764
|
+
export declare interface PrivateLinkResourcesListByElasticSanOptionalParams extends coreClient.OperationOptions {
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
/** Contains response data for the listByElasticSan operation. */
|
|
768
|
+
export declare type PrivateLinkResourcesListByElasticSanResponse = PrivateLinkResourceListResult;
|
|
769
|
+
|
|
770
|
+
/** Response for Private Link Service Connection state */
|
|
771
|
+
export declare interface PrivateLinkServiceConnectionState {
|
|
772
|
+
/** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
|
|
773
|
+
status?: PrivateEndpointServiceConnectionStatus;
|
|
774
|
+
/** The reason for approval/rejection of the connection. */
|
|
775
|
+
description?: string;
|
|
776
|
+
/** A message indicating if changes on the service provider require any updates on the consumer. */
|
|
777
|
+
actionsRequired?: string;
|
|
778
|
+
}
|
|
498
779
|
|
|
499
780
|
/**
|
|
500
781
|
* Defines values for ProvisioningStates. \
|
|
@@ -512,27 +793,32 @@ export declare type OperationsListResponse = ElasticSanOperationListResult;
|
|
|
512
793
|
*/
|
|
513
794
|
export declare type ProvisioningStates = string;
|
|
514
795
|
|
|
515
|
-
/** The resource model definition. */
|
|
796
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
797
|
+
export declare interface ProxyResource extends Resource {
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
516
801
|
export declare interface Resource {
|
|
517
802
|
/**
|
|
518
|
-
*
|
|
803
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
519
804
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
520
805
|
*/
|
|
521
806
|
readonly id?: string;
|
|
522
807
|
/**
|
|
523
|
-
*
|
|
808
|
+
* The name of the resource
|
|
524
809
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
525
810
|
*/
|
|
526
811
|
readonly name?: string;
|
|
527
812
|
/**
|
|
528
|
-
*
|
|
813
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
529
814
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
530
815
|
*/
|
|
531
816
|
readonly type?: string;
|
|
532
|
-
/**
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
817
|
+
/**
|
|
818
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
819
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
820
|
+
*/
|
|
821
|
+
readonly systemData?: SystemData;
|
|
536
822
|
}
|
|
537
823
|
|
|
538
824
|
/** The SKU name. Required for account creation; optional for update. */
|
|
@@ -592,6 +878,11 @@ export declare interface SkuInformationList {
|
|
|
592
878
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
593
879
|
*/
|
|
594
880
|
readonly value?: SkuInformation[];
|
|
881
|
+
/**
|
|
882
|
+
* URI to fetch the next section of the paginated response.
|
|
883
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
884
|
+
*/
|
|
885
|
+
readonly nextLink?: string;
|
|
595
886
|
}
|
|
596
887
|
|
|
597
888
|
/** The location info. */
|
|
@@ -682,10 +973,14 @@ export declare interface SystemData {
|
|
|
682
973
|
lastModifiedAt?: Date;
|
|
683
974
|
}
|
|
684
975
|
|
|
685
|
-
/** The resource model definition for
|
|
976
|
+
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
686
977
|
export declare interface TrackedResource extends Resource {
|
|
687
|
-
/**
|
|
688
|
-
|
|
978
|
+
/** Resource tags. */
|
|
979
|
+
tags?: {
|
|
980
|
+
[propertyName: string]: string;
|
|
981
|
+
};
|
|
982
|
+
/** The geo-location where the resource lives */
|
|
983
|
+
location: string;
|
|
689
984
|
}
|
|
690
985
|
|
|
691
986
|
/** Virtual Network rule. */
|
|
@@ -702,12 +997,7 @@ export declare interface VirtualNetworkRule {
|
|
|
702
997
|
}
|
|
703
998
|
|
|
704
999
|
/** Response for Volume request. */
|
|
705
|
-
export declare interface Volume extends
|
|
706
|
-
/**
|
|
707
|
-
* Resource metadata required by ARM RPC
|
|
708
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
709
|
-
*/
|
|
710
|
-
readonly systemData?: SystemData;
|
|
1000
|
+
export declare interface Volume extends ProxyResource {
|
|
711
1001
|
/**
|
|
712
1002
|
* Unique Id of the volume in GUID format
|
|
713
1003
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -716,7 +1006,7 @@ export declare interface Volume extends Resource {
|
|
|
716
1006
|
/** State of the operation on the resource. */
|
|
717
1007
|
creationData?: SourceCreationData;
|
|
718
1008
|
/** Volume size. */
|
|
719
|
-
sizeGiB
|
|
1009
|
+
sizeGiB: number;
|
|
720
1010
|
/**
|
|
721
1011
|
* Storage target information
|
|
722
1012
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -725,12 +1015,7 @@ export declare interface Volume extends Resource {
|
|
|
725
1015
|
}
|
|
726
1016
|
|
|
727
1017
|
/** Response for Volume Group request. */
|
|
728
|
-
export declare interface VolumeGroup extends
|
|
729
|
-
/**
|
|
730
|
-
* Resource metadata required by ARM RPC
|
|
731
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
732
|
-
*/
|
|
733
|
-
readonly systemData?: SystemData;
|
|
1018
|
+
export declare interface VolumeGroup extends ProxyResource {
|
|
734
1019
|
/**
|
|
735
1020
|
* State of the operation on the resource.
|
|
736
1021
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -742,12 +1027,17 @@ export declare interface VolumeGroup extends Resource {
|
|
|
742
1027
|
encryption?: EncryptionType;
|
|
743
1028
|
/** A collection of rules governing the accessibility from specific network locations. */
|
|
744
1029
|
networkAcls?: NetworkRuleSet;
|
|
1030
|
+
/**
|
|
1031
|
+
* The list of Private Endpoint Connections.
|
|
1032
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1033
|
+
*/
|
|
1034
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
745
1035
|
}
|
|
746
1036
|
|
|
747
1037
|
/** List of Volume Groups */
|
|
748
1038
|
export declare interface VolumeGroupList {
|
|
749
1039
|
/** An array of Volume Groups objects. */
|
|
750
|
-
value
|
|
1040
|
+
value?: VolumeGroup[];
|
|
751
1041
|
/**
|
|
752
1042
|
* URI to fetch the next section of the paginated response.
|
|
753
1043
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -772,7 +1062,7 @@ export declare interface VolumeGroups {
|
|
|
772
1062
|
* @param parameters Volume Group object.
|
|
773
1063
|
* @param options The options parameters.
|
|
774
1064
|
*/
|
|
775
|
-
beginCreate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroup, options?: VolumeGroupsCreateOptionalParams): Promise<
|
|
1065
|
+
beginCreate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroup, options?: VolumeGroupsCreateOptionalParams): Promise<SimplePollerLike<OperationState<VolumeGroupsCreateResponse>, VolumeGroupsCreateResponse>>;
|
|
776
1066
|
/**
|
|
777
1067
|
* Create a Volume Group.
|
|
778
1068
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -790,7 +1080,7 @@ export declare interface VolumeGroups {
|
|
|
790
1080
|
* @param parameters Volume Group object.
|
|
791
1081
|
* @param options The options parameters.
|
|
792
1082
|
*/
|
|
793
|
-
beginUpdate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroupUpdate, options?: VolumeGroupsUpdateOptionalParams): Promise<
|
|
1083
|
+
beginUpdate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroupUpdate, options?: VolumeGroupsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VolumeGroupsUpdateResponse>, VolumeGroupsUpdateResponse>>;
|
|
794
1084
|
/**
|
|
795
1085
|
* Update an VolumeGroup.
|
|
796
1086
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -807,7 +1097,7 @@ export declare interface VolumeGroups {
|
|
|
807
1097
|
* @param volumeGroupName The name of the VolumeGroup.
|
|
808
1098
|
* @param options The options parameters.
|
|
809
1099
|
*/
|
|
810
|
-
beginDelete(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeGroupsDeleteOptionalParams): Promise<
|
|
1100
|
+
beginDelete(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeGroupsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
811
1101
|
/**
|
|
812
1102
|
* Delete an VolumeGroup.
|
|
813
1103
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -837,6 +1127,11 @@ export declare interface VolumeGroupsCreateOptionalParams extends coreClient.Ope
|
|
|
837
1127
|
/** Contains response data for the create operation. */
|
|
838
1128
|
export declare type VolumeGroupsCreateResponse = VolumeGroup;
|
|
839
1129
|
|
|
1130
|
+
/** Defines headers for VolumeGroups_delete operation. */
|
|
1131
|
+
export declare interface VolumeGroupsDeleteHeaders {
|
|
1132
|
+
location?: string;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
840
1135
|
/** Optional parameters. */
|
|
841
1136
|
export declare interface VolumeGroupsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
842
1137
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -866,6 +1161,11 @@ export declare interface VolumeGroupsListByElasticSanOptionalParams extends core
|
|
|
866
1161
|
/** Contains response data for the listByElasticSan operation. */
|
|
867
1162
|
export declare type VolumeGroupsListByElasticSanResponse = VolumeGroupList;
|
|
868
1163
|
|
|
1164
|
+
/** Defines headers for VolumeGroups_update operation. */
|
|
1165
|
+
export declare interface VolumeGroupsUpdateHeaders {
|
|
1166
|
+
location?: string;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
869
1169
|
/** Optional parameters. */
|
|
870
1170
|
export declare interface VolumeGroupsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
871
1171
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -879,10 +1179,6 @@ export declare type VolumeGroupsUpdateResponse = VolumeGroup;
|
|
|
879
1179
|
|
|
880
1180
|
/** Volume Group request. */
|
|
881
1181
|
export declare interface VolumeGroupUpdate {
|
|
882
|
-
/** Resource tags. */
|
|
883
|
-
tags?: {
|
|
884
|
-
[propertyName: string]: string;
|
|
885
|
-
};
|
|
886
1182
|
/** Type of storage target */
|
|
887
1183
|
protocolType?: StorageTargetType;
|
|
888
1184
|
/** Type of encryption */
|
|
@@ -894,7 +1190,7 @@ export declare interface VolumeGroupUpdate {
|
|
|
894
1190
|
/** List of Volumes */
|
|
895
1191
|
export declare interface VolumeList {
|
|
896
1192
|
/** An array of Volume objects. */
|
|
897
|
-
value
|
|
1193
|
+
value?: Volume[];
|
|
898
1194
|
/**
|
|
899
1195
|
* URI to fetch the next section of the paginated response.
|
|
900
1196
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -921,7 +1217,7 @@ export declare interface Volumes {
|
|
|
921
1217
|
* @param parameters Volume object.
|
|
922
1218
|
* @param options The options parameters.
|
|
923
1219
|
*/
|
|
924
|
-
beginCreate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: Volume, options?: VolumesCreateOptionalParams): Promise<
|
|
1220
|
+
beginCreate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: Volume, options?: VolumesCreateOptionalParams): Promise<SimplePollerLike<OperationState<VolumesCreateResponse>, VolumesCreateResponse>>;
|
|
925
1221
|
/**
|
|
926
1222
|
* Create a Volume.
|
|
927
1223
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -941,7 +1237,7 @@ export declare interface Volumes {
|
|
|
941
1237
|
* @param parameters Volume object.
|
|
942
1238
|
* @param options The options parameters.
|
|
943
1239
|
*/
|
|
944
|
-
beginUpdate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: VolumeUpdate, options?: VolumesUpdateOptionalParams): Promise<
|
|
1240
|
+
beginUpdate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: VolumeUpdate, options?: VolumesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VolumesUpdateResponse>, VolumesUpdateResponse>>;
|
|
945
1241
|
/**
|
|
946
1242
|
* Update an Volume.
|
|
947
1243
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -960,7 +1256,7 @@ export declare interface Volumes {
|
|
|
960
1256
|
* @param volumeName The name of the Volume.
|
|
961
1257
|
* @param options The options parameters.
|
|
962
1258
|
*/
|
|
963
|
-
beginDelete(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams): Promise<
|
|
1259
|
+
beginDelete(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
964
1260
|
/**
|
|
965
1261
|
* Delete an Volume.
|
|
966
1262
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -992,6 +1288,11 @@ export declare interface VolumesCreateOptionalParams extends coreClient.Operatio
|
|
|
992
1288
|
/** Contains response data for the create operation. */
|
|
993
1289
|
export declare type VolumesCreateResponse = Volume;
|
|
994
1290
|
|
|
1291
|
+
/** Defines headers for Volumes_delete operation. */
|
|
1292
|
+
export declare interface VolumesDeleteHeaders {
|
|
1293
|
+
location?: string;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
995
1296
|
/** Optional parameters. */
|
|
996
1297
|
export declare interface VolumesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
997
1298
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -1021,6 +1322,11 @@ export declare interface VolumesListByVolumeGroupOptionalParams extends coreClie
|
|
|
1021
1322
|
/** Contains response data for the listByVolumeGroup operation. */
|
|
1022
1323
|
export declare type VolumesListByVolumeGroupResponse = VolumeList;
|
|
1023
1324
|
|
|
1325
|
+
/** Defines headers for Volumes_update operation. */
|
|
1326
|
+
export declare interface VolumesUpdateHeaders {
|
|
1327
|
+
location?: string;
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1024
1330
|
/** Optional parameters. */
|
|
1025
1331
|
export declare interface VolumesUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1026
1332
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -1034,10 +1340,6 @@ export declare type VolumesUpdateResponse = Volume;
|
|
|
1034
1340
|
|
|
1035
1341
|
/** Response for Volume request. */
|
|
1036
1342
|
export declare interface VolumeUpdate {
|
|
1037
|
-
/** Resource tags. */
|
|
1038
|
-
tags?: {
|
|
1039
|
-
[propertyName: string]: string;
|
|
1040
|
-
};
|
|
1041
1343
|
/** Volume size. */
|
|
1042
1344
|
sizeGiB?: number;
|
|
1043
1345
|
}
|