@azure/arm-elasticsan 1.0.0-beta.1 → 1.0.0-beta.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 +64 -0
- package/LICENSE +1 -1
- package/dist/index.js +1245 -374
- 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 +25 -17
- package/dist-esm/samples-dev/elasticSansCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/elasticSansDeleteSample.js +17 -10
- package/dist-esm/samples-dev/elasticSansDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/elasticSansGetSample.js +17 -10
- package/dist-esm/samples-dev/elasticSansGetSample.js.map +1 -1
- package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js +39 -18
- package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js +37 -16
- package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/elasticSansUpdateSample.js +20 -13
- package/dist-esm/samples-dev/elasticSansUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +39 -16
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- 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 +38 -17
- package/dist-esm/samples-dev/skusListSample.js.map +1 -1
- package/dist-esm/samples-dev/volumeGroupsCreateSample.js +24 -15
- package/dist-esm/samples-dev/volumeGroupsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/volumeGroupsDeleteSample.js +19 -12
- package/dist-esm/samples-dev/volumeGroupsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/volumeGroupsGetSample.js +19 -12
- package/dist-esm/samples-dev/volumeGroupsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js +41 -20
- package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js.map +1 -1
- package/dist-esm/samples-dev/volumeGroupsUpdateSample.js +24 -15
- package/dist-esm/samples-dev/volumeGroupsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/volumesCreateSample.js +24 -18
- package/dist-esm/samples-dev/volumesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/volumesDeleteSample.js +21 -14
- package/dist-esm/samples-dev/volumesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/volumesGetSample.js +21 -14
- package/dist-esm/samples-dev/volumesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js +43 -22
- package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/volumesUpdateSample.js +22 -18
- 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 +8 -9
- package/dist-esm/src/elasticSanManagement.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.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 +331 -124
- 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 +98 -51
- 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 +22 -11
- 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.d.ts.map +1 -1
- package/dist-esm/src/operations/skus.js +21 -10
- 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 +78 -48
- 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 +86 -56
- 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/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/elasticsan_examples.spec.js +12 -5
- package/dist-esm/test/elasticsan_examples.spec.js.map +1 -1
- package/package.json +11 -10
- package/review/arm-elasticsan.api.md +229 -60
- package/src/elasticSanManagement.ts +16 -9
- package/src/index.ts +1 -0
- 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 +97 -60
- package/src/operations/index.ts +2 -0
- package/src/operations/operations.ts +16 -11
- package/src/operations/privateEndpointConnections.ts +450 -0
- package/src/operations/privateLinkResources.ts +72 -0
- package/src/operations/skus.ts +11 -6
- package/src/operations/volumeGroups.ts +76 -53
- package/src/operations/volumes.ts +82 -53
- 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/src/pagingHelper.ts +39 -0
- package/types/arm-elasticsan.d.ts +409 -98
- package/types/tsdoc-metadata.json +1 -1
|
@@ -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,21 @@ 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
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
333
|
+
* returns a continuation token that can be used to begin paging from
|
|
334
|
+
* that point later.
|
|
335
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
336
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
337
|
+
*/
|
|
338
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
339
|
+
|
|
346
340
|
/** Iscsi target information */
|
|
347
341
|
export declare interface IscsiTargetInfo {
|
|
348
342
|
/**
|
|
@@ -369,6 +363,12 @@ export declare interface IscsiTargetInfo {
|
|
|
369
363
|
status?: OperationalStatus;
|
|
370
364
|
}
|
|
371
365
|
|
|
366
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
367
|
+
export declare enum KnownActionType {
|
|
368
|
+
/** Internal */
|
|
369
|
+
Internal = "Internal"
|
|
370
|
+
}
|
|
371
|
+
|
|
372
372
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
373
373
|
export declare enum KnownCreatedByType {
|
|
374
374
|
/** User */
|
|
@@ -407,6 +407,28 @@ export declare enum KnownOperationalStatus {
|
|
|
407
407
|
StoppedDeallocated = "Stopped (deallocated)"
|
|
408
408
|
}
|
|
409
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
|
+
|
|
410
432
|
/** Known values of {@link ProvisioningStates} that the service accepts. */
|
|
411
433
|
export declare enum KnownProvisioningStates {
|
|
412
434
|
/** Invalid */
|
|
@@ -455,6 +477,32 @@ export declare interface NetworkRuleSet {
|
|
|
455
477
|
virtualNetworkRules?: VirtualNetworkRule[];
|
|
456
478
|
}
|
|
457
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
|
+
|
|
458
506
|
/**
|
|
459
507
|
* Defines values for OperationalStatus. \
|
|
460
508
|
* {@link KnownOperationalStatus} can be used interchangeably with OperationalStatus,
|
|
@@ -471,13 +519,51 @@ export declare interface NetworkRuleSet {
|
|
|
471
519
|
*/
|
|
472
520
|
export declare type OperationalStatus = string;
|
|
473
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
|
+
|
|
474
560
|
/** Interface representing a Operations. */
|
|
475
561
|
export declare interface Operations {
|
|
476
562
|
/**
|
|
477
563
|
* Gets a list of ElasticSan operations.
|
|
478
564
|
* @param options The options parameters.
|
|
479
565
|
*/
|
|
480
|
-
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<
|
|
566
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
481
567
|
}
|
|
482
568
|
|
|
483
569
|
/** Optional parameters. */
|
|
@@ -485,7 +571,211 @@ export declare interface OperationsListOptionalParams extends coreClient.Operati
|
|
|
485
571
|
}
|
|
486
572
|
|
|
487
573
|
/** Contains response data for the list operation. */
|
|
488
|
-
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
|
+
}
|
|
489
779
|
|
|
490
780
|
/**
|
|
491
781
|
* Defines values for ProvisioningStates. \
|
|
@@ -503,27 +793,32 @@ export declare type OperationsListResponse = ElasticSanOperationListResult;
|
|
|
503
793
|
*/
|
|
504
794
|
export declare type ProvisioningStates = string;
|
|
505
795
|
|
|
506
|
-
/** 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 */
|
|
507
801
|
export declare interface Resource {
|
|
508
802
|
/**
|
|
509
|
-
*
|
|
803
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
510
804
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
511
805
|
*/
|
|
512
806
|
readonly id?: string;
|
|
513
807
|
/**
|
|
514
|
-
*
|
|
808
|
+
* The name of the resource
|
|
515
809
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
516
810
|
*/
|
|
517
811
|
readonly name?: string;
|
|
518
812
|
/**
|
|
519
|
-
*
|
|
813
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
520
814
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
521
815
|
*/
|
|
522
816
|
readonly type?: string;
|
|
523
|
-
/**
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
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;
|
|
527
822
|
}
|
|
528
823
|
|
|
529
824
|
/** The SKU name. Required for account creation; optional for update. */
|
|
@@ -583,6 +878,11 @@ export declare interface SkuInformationList {
|
|
|
583
878
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
584
879
|
*/
|
|
585
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;
|
|
586
886
|
}
|
|
587
887
|
|
|
588
888
|
/** The location info. */
|
|
@@ -673,10 +973,14 @@ export declare interface SystemData {
|
|
|
673
973
|
lastModifiedAt?: Date;
|
|
674
974
|
}
|
|
675
975
|
|
|
676
|
-
/** 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' */
|
|
677
977
|
export declare interface TrackedResource extends Resource {
|
|
678
|
-
/**
|
|
679
|
-
|
|
978
|
+
/** Resource tags. */
|
|
979
|
+
tags?: {
|
|
980
|
+
[propertyName: string]: string;
|
|
981
|
+
};
|
|
982
|
+
/** The geo-location where the resource lives */
|
|
983
|
+
location: string;
|
|
680
984
|
}
|
|
681
985
|
|
|
682
986
|
/** Virtual Network rule. */
|
|
@@ -693,12 +997,7 @@ export declare interface VirtualNetworkRule {
|
|
|
693
997
|
}
|
|
694
998
|
|
|
695
999
|
/** Response for Volume request. */
|
|
696
|
-
export declare interface Volume extends
|
|
697
|
-
/**
|
|
698
|
-
* Resource metadata required by ARM RPC
|
|
699
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
700
|
-
*/
|
|
701
|
-
readonly systemData?: SystemData;
|
|
1000
|
+
export declare interface Volume extends ProxyResource {
|
|
702
1001
|
/**
|
|
703
1002
|
* Unique Id of the volume in GUID format
|
|
704
1003
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -707,7 +1006,7 @@ export declare interface Volume extends Resource {
|
|
|
707
1006
|
/** State of the operation on the resource. */
|
|
708
1007
|
creationData?: SourceCreationData;
|
|
709
1008
|
/** Volume size. */
|
|
710
|
-
sizeGiB
|
|
1009
|
+
sizeGiB: number;
|
|
711
1010
|
/**
|
|
712
1011
|
* Storage target information
|
|
713
1012
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -716,12 +1015,7 @@ export declare interface Volume extends Resource {
|
|
|
716
1015
|
}
|
|
717
1016
|
|
|
718
1017
|
/** Response for Volume Group request. */
|
|
719
|
-
export declare interface VolumeGroup extends
|
|
720
|
-
/**
|
|
721
|
-
* Resource metadata required by ARM RPC
|
|
722
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
723
|
-
*/
|
|
724
|
-
readonly systemData?: SystemData;
|
|
1018
|
+
export declare interface VolumeGroup extends ProxyResource {
|
|
725
1019
|
/**
|
|
726
1020
|
* State of the operation on the resource.
|
|
727
1021
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -733,12 +1027,17 @@ export declare interface VolumeGroup extends Resource {
|
|
|
733
1027
|
encryption?: EncryptionType;
|
|
734
1028
|
/** A collection of rules governing the accessibility from specific network locations. */
|
|
735
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[];
|
|
736
1035
|
}
|
|
737
1036
|
|
|
738
1037
|
/** List of Volume Groups */
|
|
739
1038
|
export declare interface VolumeGroupList {
|
|
740
1039
|
/** An array of Volume Groups objects. */
|
|
741
|
-
value
|
|
1040
|
+
value?: VolumeGroup[];
|
|
742
1041
|
/**
|
|
743
1042
|
* URI to fetch the next section of the paginated response.
|
|
744
1043
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -763,7 +1062,7 @@ export declare interface VolumeGroups {
|
|
|
763
1062
|
* @param parameters Volume Group object.
|
|
764
1063
|
* @param options The options parameters.
|
|
765
1064
|
*/
|
|
766
|
-
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>>;
|
|
767
1066
|
/**
|
|
768
1067
|
* Create a Volume Group.
|
|
769
1068
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -781,7 +1080,7 @@ export declare interface VolumeGroups {
|
|
|
781
1080
|
* @param parameters Volume Group object.
|
|
782
1081
|
* @param options The options parameters.
|
|
783
1082
|
*/
|
|
784
|
-
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>>;
|
|
785
1084
|
/**
|
|
786
1085
|
* Update an VolumeGroup.
|
|
787
1086
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -798,7 +1097,7 @@ export declare interface VolumeGroups {
|
|
|
798
1097
|
* @param volumeGroupName The name of the VolumeGroup.
|
|
799
1098
|
* @param options The options parameters.
|
|
800
1099
|
*/
|
|
801
|
-
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>>;
|
|
802
1101
|
/**
|
|
803
1102
|
* Delete an VolumeGroup.
|
|
804
1103
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -828,6 +1127,11 @@ export declare interface VolumeGroupsCreateOptionalParams extends coreClient.Ope
|
|
|
828
1127
|
/** Contains response data for the create operation. */
|
|
829
1128
|
export declare type VolumeGroupsCreateResponse = VolumeGroup;
|
|
830
1129
|
|
|
1130
|
+
/** Defines headers for VolumeGroups_delete operation. */
|
|
1131
|
+
export declare interface VolumeGroupsDeleteHeaders {
|
|
1132
|
+
location?: string;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
831
1135
|
/** Optional parameters. */
|
|
832
1136
|
export declare interface VolumeGroupsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
833
1137
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -857,6 +1161,11 @@ export declare interface VolumeGroupsListByElasticSanOptionalParams extends core
|
|
|
857
1161
|
/** Contains response data for the listByElasticSan operation. */
|
|
858
1162
|
export declare type VolumeGroupsListByElasticSanResponse = VolumeGroupList;
|
|
859
1163
|
|
|
1164
|
+
/** Defines headers for VolumeGroups_update operation. */
|
|
1165
|
+
export declare interface VolumeGroupsUpdateHeaders {
|
|
1166
|
+
location?: string;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
860
1169
|
/** Optional parameters. */
|
|
861
1170
|
export declare interface VolumeGroupsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
862
1171
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -870,10 +1179,6 @@ export declare type VolumeGroupsUpdateResponse = VolumeGroup;
|
|
|
870
1179
|
|
|
871
1180
|
/** Volume Group request. */
|
|
872
1181
|
export declare interface VolumeGroupUpdate {
|
|
873
|
-
/** Resource tags. */
|
|
874
|
-
tags?: {
|
|
875
|
-
[propertyName: string]: string;
|
|
876
|
-
};
|
|
877
1182
|
/** Type of storage target */
|
|
878
1183
|
protocolType?: StorageTargetType;
|
|
879
1184
|
/** Type of encryption */
|
|
@@ -885,7 +1190,7 @@ export declare interface VolumeGroupUpdate {
|
|
|
885
1190
|
/** List of Volumes */
|
|
886
1191
|
export declare interface VolumeList {
|
|
887
1192
|
/** An array of Volume objects. */
|
|
888
|
-
value
|
|
1193
|
+
value?: Volume[];
|
|
889
1194
|
/**
|
|
890
1195
|
* URI to fetch the next section of the paginated response.
|
|
891
1196
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -912,7 +1217,7 @@ export declare interface Volumes {
|
|
|
912
1217
|
* @param parameters Volume object.
|
|
913
1218
|
* @param options The options parameters.
|
|
914
1219
|
*/
|
|
915
|
-
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>>;
|
|
916
1221
|
/**
|
|
917
1222
|
* Create a Volume.
|
|
918
1223
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -932,7 +1237,7 @@ export declare interface Volumes {
|
|
|
932
1237
|
* @param parameters Volume object.
|
|
933
1238
|
* @param options The options parameters.
|
|
934
1239
|
*/
|
|
935
|
-
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>>;
|
|
936
1241
|
/**
|
|
937
1242
|
* Update an Volume.
|
|
938
1243
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -951,7 +1256,7 @@ export declare interface Volumes {
|
|
|
951
1256
|
* @param volumeName The name of the Volume.
|
|
952
1257
|
* @param options The options parameters.
|
|
953
1258
|
*/
|
|
954
|
-
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>>;
|
|
955
1260
|
/**
|
|
956
1261
|
* Delete an Volume.
|
|
957
1262
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -983,6 +1288,11 @@ export declare interface VolumesCreateOptionalParams extends coreClient.Operatio
|
|
|
983
1288
|
/** Contains response data for the create operation. */
|
|
984
1289
|
export declare type VolumesCreateResponse = Volume;
|
|
985
1290
|
|
|
1291
|
+
/** Defines headers for Volumes_delete operation. */
|
|
1292
|
+
export declare interface VolumesDeleteHeaders {
|
|
1293
|
+
location?: string;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
986
1296
|
/** Optional parameters. */
|
|
987
1297
|
export declare interface VolumesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
988
1298
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -1012,6 +1322,11 @@ export declare interface VolumesListByVolumeGroupOptionalParams extends coreClie
|
|
|
1012
1322
|
/** Contains response data for the listByVolumeGroup operation. */
|
|
1013
1323
|
export declare type VolumesListByVolumeGroupResponse = VolumeList;
|
|
1014
1324
|
|
|
1325
|
+
/** Defines headers for Volumes_update operation. */
|
|
1326
|
+
export declare interface VolumesUpdateHeaders {
|
|
1327
|
+
location?: string;
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1015
1330
|
/** Optional parameters. */
|
|
1016
1331
|
export declare interface VolumesUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1017
1332
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -1025,10 +1340,6 @@ export declare type VolumesUpdateResponse = Volume;
|
|
|
1025
1340
|
|
|
1026
1341
|
/** Response for Volume request. */
|
|
1027
1342
|
export declare interface VolumeUpdate {
|
|
1028
|
-
/** Resource tags. */
|
|
1029
|
-
tags?: {
|
|
1030
|
-
[propertyName: string]: string;
|
|
1031
|
-
};
|
|
1032
1343
|
/** Volume size. */
|
|
1033
1344
|
sizeGiB?: number;
|
|
1034
1345
|
}
|