@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.
Files changed (169) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/LICENSE +1 -1
  3. package/dist/index.js +1245 -374
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/elasticSansCreateSample.js +25 -17
  8. package/dist-esm/samples-dev/elasticSansCreateSample.js.map +1 -1
  9. package/dist-esm/samples-dev/elasticSansDeleteSample.js +17 -10
  10. package/dist-esm/samples-dev/elasticSansDeleteSample.js.map +1 -1
  11. package/dist-esm/samples-dev/elasticSansGetSample.js +17 -10
  12. package/dist-esm/samples-dev/elasticSansGetSample.js.map +1 -1
  13. package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js +39 -18
  14. package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js.map +1 -1
  15. package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js +37 -16
  16. package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js.map +1 -1
  17. package/dist-esm/samples-dev/elasticSansUpdateSample.js +20 -13
  18. package/dist-esm/samples-dev/elasticSansUpdateSample.js.map +1 -1
  19. package/dist-esm/samples-dev/operationsListSample.js +39 -16
  20. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  21. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.d.ts +2 -0
  22. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.d.ts.map +1 -0
  23. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +74 -0
  24. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js.map +1 -0
  25. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +2 -0
  26. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +1 -0
  27. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +58 -0
  28. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -0
  29. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
  30. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
  31. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +58 -0
  32. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
  33. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +2 -0
  34. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +1 -0
  35. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +98 -0
  36. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -0
  37. package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.d.ts +2 -0
  38. package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.d.ts.map +1 -0
  39. package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.js +56 -0
  40. package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.js.map +1 -0
  41. package/dist-esm/samples-dev/skusListSample.js +38 -17
  42. package/dist-esm/samples-dev/skusListSample.js.map +1 -1
  43. package/dist-esm/samples-dev/volumeGroupsCreateSample.js +24 -15
  44. package/dist-esm/samples-dev/volumeGroupsCreateSample.js.map +1 -1
  45. package/dist-esm/samples-dev/volumeGroupsDeleteSample.js +19 -12
  46. package/dist-esm/samples-dev/volumeGroupsDeleteSample.js.map +1 -1
  47. package/dist-esm/samples-dev/volumeGroupsGetSample.js +19 -12
  48. package/dist-esm/samples-dev/volumeGroupsGetSample.js.map +1 -1
  49. package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js +41 -20
  50. package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js.map +1 -1
  51. package/dist-esm/samples-dev/volumeGroupsUpdateSample.js +24 -15
  52. package/dist-esm/samples-dev/volumeGroupsUpdateSample.js.map +1 -1
  53. package/dist-esm/samples-dev/volumesCreateSample.js +24 -18
  54. package/dist-esm/samples-dev/volumesCreateSample.js.map +1 -1
  55. package/dist-esm/samples-dev/volumesDeleteSample.js +21 -14
  56. package/dist-esm/samples-dev/volumesDeleteSample.js.map +1 -1
  57. package/dist-esm/samples-dev/volumesGetSample.js +21 -14
  58. package/dist-esm/samples-dev/volumesGetSample.js.map +1 -1
  59. package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js +43 -22
  60. package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js.map +1 -1
  61. package/dist-esm/samples-dev/volumesUpdateSample.js +22 -18
  62. package/dist-esm/samples-dev/volumesUpdateSample.js.map +1 -1
  63. package/dist-esm/src/elasticSanManagement.d.ts +3 -1
  64. package/dist-esm/src/elasticSanManagement.d.ts.map +1 -1
  65. package/dist-esm/src/elasticSanManagement.js +8 -9
  66. package/dist-esm/src/elasticSanManagement.js.map +1 -1
  67. package/dist-esm/src/index.d.ts +1 -0
  68. package/dist-esm/src/index.d.ts.map +1 -1
  69. package/dist-esm/src/index.js +1 -0
  70. package/dist-esm/src/index.js.map +1 -1
  71. package/dist-esm/src/lroImpl.d.ts +6 -11
  72. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  73. package/dist-esm/src/lroImpl.js +12 -20
  74. package/dist-esm/src/lroImpl.js.map +1 -1
  75. package/dist-esm/src/models/index.d.ts +331 -124
  76. package/dist-esm/src/models/index.d.ts.map +1 -1
  77. package/dist-esm/src/models/index.js +28 -0
  78. package/dist-esm/src/models/index.js.map +1 -1
  79. package/dist-esm/src/models/mappers.d.ts +20 -6
  80. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  81. package/dist-esm/src/models/mappers.js +400 -112
  82. package/dist-esm/src/models/mappers.js.map +1 -1
  83. package/dist-esm/src/models/parameters.d.ts +2 -0
  84. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  85. package/dist-esm/src/models/parameters.js +16 -3
  86. package/dist-esm/src/models/parameters.js.map +1 -1
  87. package/dist-esm/src/operations/elasticSans.d.ts +4 -4
  88. package/dist-esm/src/operations/elasticSans.d.ts.map +1 -1
  89. package/dist-esm/src/operations/elasticSans.js +98 -51
  90. package/dist-esm/src/operations/elasticSans.js.map +1 -1
  91. package/dist-esm/src/operations/index.d.ts +2 -0
  92. package/dist-esm/src/operations/index.d.ts.map +1 -1
  93. package/dist-esm/src/operations/index.js +2 -0
  94. package/dist-esm/src/operations/index.js.map +1 -1
  95. package/dist-esm/src/operations/operations.d.ts +2 -2
  96. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  97. package/dist-esm/src/operations/operations.js +22 -11
  98. package/dist-esm/src/operations/operations.js.map +1 -1
  99. package/dist-esm/src/operations/privateEndpointConnections.d.ts +73 -0
  100. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  101. package/dist-esm/src/operations/privateEndpointConnections.js +334 -0
  102. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  103. package/dist-esm/src/operations/privateLinkResources.d.ts +20 -0
  104. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  105. package/dist-esm/src/operations/privateLinkResources.js +53 -0
  106. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  107. package/dist-esm/src/operations/skus.d.ts.map +1 -1
  108. package/dist-esm/src/operations/skus.js +21 -10
  109. package/dist-esm/src/operations/skus.js.map +1 -1
  110. package/dist-esm/src/operations/volumeGroups.d.ts +4 -4
  111. package/dist-esm/src/operations/volumeGroups.d.ts.map +1 -1
  112. package/dist-esm/src/operations/volumeGroups.js +78 -48
  113. package/dist-esm/src/operations/volumeGroups.js.map +1 -1
  114. package/dist-esm/src/operations/volumes.d.ts +4 -4
  115. package/dist-esm/src/operations/volumes.d.ts.map +1 -1
  116. package/dist-esm/src/operations/volumes.js +86 -56
  117. package/dist-esm/src/operations/volumes.js.map +1 -1
  118. package/dist-esm/src/operationsInterfaces/elasticSans.d.ts +4 -4
  119. package/dist-esm/src/operationsInterfaces/elasticSans.d.ts.map +1 -1
  120. package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
  121. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  122. package/dist-esm/src/operationsInterfaces/index.js +2 -0
  123. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  124. package/dist-esm/src/operationsInterfaces/operations.d.ts +2 -2
  125. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -1
  126. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
  127. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  129. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +12 -0
  131. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  133. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/volumeGroups.d.ts +4 -4
  135. package/dist-esm/src/operationsInterfaces/volumeGroups.d.ts.map +1 -1
  136. package/dist-esm/src/operationsInterfaces/volumes.d.ts +4 -4
  137. package/dist-esm/src/operationsInterfaces/volumes.d.ts.map +1 -1
  138. package/dist-esm/src/pagingHelper.d.ts +13 -0
  139. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  140. package/dist-esm/src/pagingHelper.js +32 -0
  141. package/dist-esm/src/pagingHelper.js.map +1 -0
  142. package/dist-esm/test/elasticsan_examples.spec.js +12 -5
  143. package/dist-esm/test/elasticsan_examples.spec.js.map +1 -1
  144. package/package.json +11 -10
  145. package/review/arm-elasticsan.api.md +229 -60
  146. package/src/elasticSanManagement.ts +16 -9
  147. package/src/index.ts +1 -0
  148. package/src/lroImpl.ts +31 -23
  149. package/src/models/index.ts +334 -93
  150. package/src/models/mappers.ts +429 -114
  151. package/src/models/parameters.ts +19 -3
  152. package/src/operations/elasticSans.ts +97 -60
  153. package/src/operations/index.ts +2 -0
  154. package/src/operations/operations.ts +16 -11
  155. package/src/operations/privateEndpointConnections.ts +450 -0
  156. package/src/operations/privateLinkResources.ts +72 -0
  157. package/src/operations/skus.ts +11 -6
  158. package/src/operations/volumeGroups.ts +76 -53
  159. package/src/operations/volumes.ts +82 -53
  160. package/src/operationsInterfaces/elasticSans.ts +6 -6
  161. package/src/operationsInterfaces/index.ts +2 -0
  162. package/src/operationsInterfaces/operations.ts +2 -2
  163. package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
  164. package/src/operationsInterfaces/privateLinkResources.ts +27 -0
  165. package/src/operationsInterfaces/volumeGroups.ts +6 -6
  166. package/src/operationsInterfaces/volumes.ts +10 -4
  167. package/src/pagingHelper.ts +39 -0
  168. package/types/arm-elasticsan.d.ts +409 -98
  169. package/types/tsdoc-metadata.json +1 -1
@@ -1,44 +1,72 @@
1
1
  import * as coreClient from "@azure/core-client";
2
- /** List of operations supported by the RP. */
3
- export interface ElasticSanOperationListResult {
4
- /** An array of operations supported by the ElasticSan RP. */
5
- value: ElasticSanRPOperation[];
6
- /** URI to fetch the next section of the paginated response. */
7
- nextLink?: string;
2
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
3
+ export interface OperationListResult {
4
+ /**
5
+ * List of operations supported by the resource provider
6
+ * NOTE: This property will not be serialized. It can only be populated by the server.
7
+ */
8
+ readonly value?: Operation[];
9
+ /**
10
+ * URL to get the next set of operation list results (if there are any).
11
+ * NOTE: This property will not be serialized. It can only be populated by the server.
12
+ */
13
+ readonly nextLink?: string;
8
14
  }
9
- /** Description of a ElasticSan RP Operation */
10
- export interface ElasticSanRPOperation {
11
- /** The name of the operation being performed on this particular object */
12
- name: string;
15
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
16
+ export interface Operation {
13
17
  /**
14
- * Indicates whether the operation applies to data-plane.
18
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
19
+ * NOTE: This property will not be serialized. It can only be populated by the server.
20
+ */
21
+ readonly name?: string;
22
+ /**
23
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
15
24
  * NOTE: This property will not be serialized. It can only be populated by the server.
16
25
  */
17
26
  readonly isDataAction?: boolean;
27
+ /** Localized display information for this particular operation. */
28
+ display?: OperationDisplay;
18
29
  /**
19
- * Additional metadata about RP operation.
30
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
20
31
  * NOTE: This property will not be serialized. It can only be populated by the server.
21
32
  */
22
- readonly display?: ElasticSanOperationDisplay;
23
- }
24
- /** Metadata about an operation. */
25
- export interface ElasticSanOperationDisplay {
26
- /** Localized friendly form of the resource provider name. */
27
- provider: string;
28
- /** Localized friendly form of the resource type related to this action/operation. */
29
- resource: string;
30
- /** Localized friendly name for the operation, as it should be shown to the user. */
31
- operation: string;
32
- /** Localized friendly description for the operation, as it should be shown to the user. */
33
- description: string;
33
+ readonly origin?: Origin;
34
+ /**
35
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
36
+ * NOTE: This property will not be serialized. It can only be populated by the server.
37
+ */
38
+ readonly actionType?: ActionType;
34
39
  }
35
- /** The resource management error response. */
36
- export interface ErrorModel {
37
- /** RP error response. */
38
- error?: ErrorResponse;
40
+ /** Localized display information for this particular operation. */
41
+ export interface OperationDisplay {
42
+ /**
43
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
44
+ * NOTE: This property will not be serialized. It can only be populated by the server.
45
+ */
46
+ readonly provider?: string;
47
+ /**
48
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
49
+ * NOTE: This property will not be serialized. It can only be populated by the server.
50
+ */
51
+ readonly resource?: string;
52
+ /**
53
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
54
+ * NOTE: This property will not be serialized. It can only be populated by the server.
55
+ */
56
+ readonly operation?: string;
57
+ /**
58
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
59
+ * NOTE: This property will not be serialized. It can only be populated by the server.
60
+ */
61
+ readonly description?: string;
39
62
  }
40
- /** The resource management error response. */
63
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
41
64
  export interface ErrorResponse {
65
+ /** The error object. */
66
+ error?: ErrorDetail;
67
+ }
68
+ /** The error detail. */
69
+ export interface ErrorDetail {
42
70
  /**
43
71
  * The error code.
44
72
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -58,7 +86,7 @@ export interface ErrorResponse {
58
86
  * The error details.
59
87
  * NOTE: This property will not be serialized. It can only be populated by the server.
60
88
  */
61
- readonly details?: ErrorResponse[];
89
+ readonly details?: ErrorDetail[];
62
90
  /**
63
91
  * The error additional info.
64
92
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -85,6 +113,11 @@ export interface SkuInformationList {
85
113
  * NOTE: This property will not be serialized. It can only be populated by the server.
86
114
  */
87
115
  readonly value?: SkuInformation[];
116
+ /**
117
+ * URI to fetch the next section of the paginated response.
118
+ * NOTE: This property will not be serialized. It can only be populated by the server.
119
+ */
120
+ readonly nextLink?: string;
88
121
  }
89
122
  /** ElasticSAN SKU and its properties */
90
123
  export interface SkuInformation {
@@ -142,7 +175,7 @@ export interface SKUCapability {
142
175
  /** List of Elastic Sans */
143
176
  export interface ElasticSanList {
144
177
  /** An array of Elastic San objects. */
145
- value: ElasticSan[];
178
+ value?: ElasticSan[];
146
179
  /**
147
180
  * URI to fetch the next section of the paginated response.
148
181
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -156,42 +189,60 @@ export interface Sku {
156
189
  /** The sku tier. */
157
190
  tier?: SkuTier;
158
191
  }
159
- /** Metadata pertaining to creation and last modification of the resource. */
160
- export interface SystemData {
161
- /** The identity that created the resource. */
162
- createdBy?: string;
163
- /** The type of identity that created the resource. */
164
- createdByType?: CreatedByType;
165
- /** The timestamp of resource creation (UTC). */
166
- createdAt?: Date;
167
- /** The identity that last modified the resource. */
168
- lastModifiedBy?: string;
169
- /** The type of identity that last modified the resource. */
170
- lastModifiedByType?: CreatedByType;
171
- /** The timestamp of resource last modification (UTC) */
172
- lastModifiedAt?: Date;
192
+ /** Response for PrivateEndpoint */
193
+ export interface PrivateEndpoint {
194
+ /**
195
+ * The ARM identifier for Private Endpoint
196
+ * NOTE: This property will not be serialized. It can only be populated by the server.
197
+ */
198
+ readonly id?: string;
173
199
  }
174
- /** The resource model definition. */
200
+ /** Response for Private Link Service Connection state */
201
+ export interface PrivateLinkServiceConnectionState {
202
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
203
+ status?: PrivateEndpointServiceConnectionStatus;
204
+ /** The reason for approval/rejection of the connection. */
205
+ description?: string;
206
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
207
+ actionsRequired?: string;
208
+ }
209
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
175
210
  export interface Resource {
176
211
  /**
177
- * Azure resource identifier.
212
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
178
213
  * NOTE: This property will not be serialized. It can only be populated by the server.
179
214
  */
180
215
  readonly id?: string;
181
216
  /**
182
- * Azure resource name.
217
+ * The name of the resource
183
218
  * NOTE: This property will not be serialized. It can only be populated by the server.
184
219
  */
185
220
  readonly name?: string;
186
221
  /**
187
- * Azure resource type.
222
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
188
223
  * NOTE: This property will not be serialized. It can only be populated by the server.
189
224
  */
190
225
  readonly type?: string;
191
- /** Azure resource tags. */
192
- tags?: {
193
- [propertyName: string]: string;
194
- };
226
+ /**
227
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
228
+ * NOTE: This property will not be serialized. It can only be populated by the server.
229
+ */
230
+ readonly systemData?: SystemData;
231
+ }
232
+ /** Metadata pertaining to creation and last modification of the resource. */
233
+ export interface SystemData {
234
+ /** The identity that created the resource. */
235
+ createdBy?: string;
236
+ /** The type of identity that created the resource. */
237
+ createdByType?: CreatedByType;
238
+ /** The timestamp of resource creation (UTC). */
239
+ createdAt?: Date;
240
+ /** The identity that last modified the resource. */
241
+ lastModifiedBy?: string;
242
+ /** The type of identity that last modified the resource. */
243
+ lastModifiedByType?: CreatedByType;
244
+ /** The timestamp of resource last modification (UTC) */
245
+ lastModifiedAt?: Date;
195
246
  }
196
247
  /** Response for ElasticSan update request. */
197
248
  export interface ElasticSanUpdate {
@@ -207,7 +258,7 @@ export interface ElasticSanUpdate {
207
258
  /** List of Volume Groups */
208
259
  export interface VolumeGroupList {
209
260
  /** An array of Volume Groups objects. */
210
- value: VolumeGroup[];
261
+ value?: VolumeGroup[];
211
262
  /**
212
263
  * URI to fetch the next section of the paginated response.
213
264
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -233,10 +284,6 @@ export interface VirtualNetworkRule {
233
284
  }
234
285
  /** Volume Group request. */
235
286
  export interface VolumeGroupUpdate {
236
- /** Resource tags. */
237
- tags?: {
238
- [propertyName: string]: string;
239
- };
240
287
  /** Type of storage target */
241
288
  protocolType?: StorageTargetType;
242
289
  /** Type of encryption */
@@ -278,76 +325,82 @@ export interface IscsiTargetInfo {
278
325
  }
279
326
  /** Response for Volume request. */
280
327
  export interface VolumeUpdate {
281
- /** Resource tags. */
282
- tags?: {
283
- [propertyName: string]: string;
284
- };
285
328
  /** Volume size. */
286
329
  sizeGiB?: number;
287
330
  }
288
331
  /** List of Volumes */
289
332
  export interface VolumeList {
290
333
  /** An array of Volume objects. */
291
- value: Volume[];
334
+ value?: Volume[];
292
335
  /**
293
336
  * URI to fetch the next section of the paginated response.
294
337
  * NOTE: This property will not be serialized. It can only be populated by the server.
295
338
  */
296
339
  readonly nextLink?: string;
297
340
  }
298
- /** The resource model definition for a ARM tracked top level resource. */
299
- export interface TrackedResource extends Resource {
300
- /** The geo-location where the resource lives. */
301
- location?: string;
302
- }
303
- /** Response for Volume Group request. */
304
- export interface VolumeGroup extends Resource {
341
+ /** List of private endpoint connections associated with SAN */
342
+ export interface PrivateEndpointConnectionListResult {
343
+ /** Array of private endpoint connections */
344
+ value?: PrivateEndpointConnection[];
305
345
  /**
306
- * Resource metadata required by ARM RPC
346
+ * URI to fetch the next section of the paginated response.
307
347
  * NOTE: This property will not be serialized. It can only be populated by the server.
308
348
  */
309
- readonly systemData?: SystemData;
349
+ readonly nextLink?: string;
350
+ }
351
+ /** A list of private link resources */
352
+ export interface PrivateLinkResourceListResult {
353
+ /** Array of private link resources */
354
+ value?: PrivateLinkResource[];
310
355
  /**
311
- * State of the operation on the resource.
356
+ * URI to fetch the next section of the paginated response.
312
357
  * NOTE: This property will not be serialized. It can only be populated by the server.
313
358
  */
314
- readonly provisioningState?: ProvisioningStates;
315
- /** Type of storage target */
316
- protocolType?: StorageTargetType;
317
- /** Type of encryption */
318
- encryption?: EncryptionType;
319
- /** A collection of rules governing the accessibility from specific network locations. */
320
- networkAcls?: NetworkRuleSet;
359
+ readonly nextLink?: string;
321
360
  }
322
- /** Response for Volume request. */
323
- export interface Volume extends Resource {
361
+ /** Response for PrivateEndpoint Connection object */
362
+ export interface PrivateEndpointConnection extends Resource {
324
363
  /**
325
- * Resource metadata required by ARM RPC
364
+ * Provisioning State of Private Endpoint connection resource
326
365
  * NOTE: This property will not be serialized. It can only be populated by the server.
327
366
  */
328
- readonly systemData?: SystemData;
367
+ readonly provisioningState?: ProvisioningStates;
368
+ /** Private Endpoint resource */
369
+ privateEndpoint?: PrivateEndpoint;
370
+ /** Private Link Service Connection State. */
371
+ privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
372
+ /** List of resources private endpoint is mapped */
373
+ groupIds?: string[];
374
+ }
375
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
376
+ export interface TrackedResource extends Resource {
377
+ /** Resource tags. */
378
+ tags?: {
379
+ [propertyName: string]: string;
380
+ };
381
+ /** The geo-location where the resource lives */
382
+ location: string;
383
+ }
384
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
385
+ export interface ProxyResource extends Resource {
386
+ }
387
+ /** A private link resource */
388
+ export interface PrivateLinkResource extends Resource {
329
389
  /**
330
- * Unique Id of the volume in GUID format
390
+ * The private link resource group id.
331
391
  * NOTE: This property will not be serialized. It can only be populated by the server.
332
392
  */
333
- readonly volumeId?: string;
334
- /** State of the operation on the resource. */
335
- creationData?: SourceCreationData;
336
- /** Volume size. */
337
- sizeGiB?: number;
393
+ readonly groupId?: string;
338
394
  /**
339
- * Storage target information
395
+ * The private link resource required member names.
340
396
  * NOTE: This property will not be serialized. It can only be populated by the server.
341
397
  */
342
- readonly storageTarget?: IscsiTargetInfo;
398
+ readonly requiredMembers?: string[];
399
+ /** The private link resource Private link DNS zone name. */
400
+ requiredZoneNames?: string[];
343
401
  }
344
402
  /** Response for ElasticSan request. */
345
403
  export interface ElasticSan extends TrackedResource {
346
- /**
347
- * Resource metadata required by ARM RPC
348
- * NOTE: This property will not be serialized. It can only be populated by the server.
349
- */
350
- readonly systemData?: SystemData;
351
404
  /** resource sku */
352
405
  sku: Sku;
353
406
  /** Logical zone for Elastic San resource; example: ["1"]. */
@@ -386,7 +439,108 @@ export interface ElasticSan extends TrackedResource {
386
439
  * NOTE: This property will not be serialized. It can only be populated by the server.
387
440
  */
388
441
  readonly totalSizeTiB?: number;
442
+ /**
443
+ * The list of Private Endpoint Connections.
444
+ * NOTE: This property will not be serialized. It can only be populated by the server.
445
+ */
446
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
447
+ }
448
+ /** Response for Volume Group request. */
449
+ export interface VolumeGroup extends ProxyResource {
450
+ /**
451
+ * State of the operation on the resource.
452
+ * NOTE: This property will not be serialized. It can only be populated by the server.
453
+ */
454
+ readonly provisioningState?: ProvisioningStates;
455
+ /** Type of storage target */
456
+ protocolType?: StorageTargetType;
457
+ /** Type of encryption */
458
+ encryption?: EncryptionType;
459
+ /** A collection of rules governing the accessibility from specific network locations. */
460
+ networkAcls?: NetworkRuleSet;
461
+ /**
462
+ * The list of Private Endpoint Connections.
463
+ * NOTE: This property will not be serialized. It can only be populated by the server.
464
+ */
465
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
389
466
  }
467
+ /** Response for Volume request. */
468
+ export interface Volume extends ProxyResource {
469
+ /**
470
+ * Unique Id of the volume in GUID format
471
+ * NOTE: This property will not be serialized. It can only be populated by the server.
472
+ */
473
+ readonly volumeId?: string;
474
+ /** State of the operation on the resource. */
475
+ creationData?: SourceCreationData;
476
+ /** Volume size. */
477
+ sizeGiB: number;
478
+ /**
479
+ * Storage target information
480
+ * NOTE: This property will not be serialized. It can only be populated by the server.
481
+ */
482
+ readonly storageTarget?: IscsiTargetInfo;
483
+ }
484
+ /** Defines headers for ElasticSans_update operation. */
485
+ export interface ElasticSansUpdateHeaders {
486
+ location?: string;
487
+ }
488
+ /** Defines headers for ElasticSans_delete operation. */
489
+ export interface ElasticSansDeleteHeaders {
490
+ location?: string;
491
+ }
492
+ /** Defines headers for VolumeGroups_update operation. */
493
+ export interface VolumeGroupsUpdateHeaders {
494
+ location?: string;
495
+ }
496
+ /** Defines headers for VolumeGroups_delete operation. */
497
+ export interface VolumeGroupsDeleteHeaders {
498
+ location?: string;
499
+ }
500
+ /** Defines headers for Volumes_update operation. */
501
+ export interface VolumesUpdateHeaders {
502
+ location?: string;
503
+ }
504
+ /** Defines headers for Volumes_delete operation. */
505
+ export interface VolumesDeleteHeaders {
506
+ location?: string;
507
+ }
508
+ /** Defines headers for PrivateEndpointConnections_delete operation. */
509
+ export interface PrivateEndpointConnectionsDeleteHeaders {
510
+ location?: string;
511
+ }
512
+ /** Known values of {@link Origin} that the service accepts. */
513
+ export declare enum KnownOrigin {
514
+ /** User */
515
+ User = "user",
516
+ /** System */
517
+ System = "system",
518
+ /** UserSystem */
519
+ UserSystem = "user,system"
520
+ }
521
+ /**
522
+ * Defines values for Origin. \
523
+ * {@link KnownOrigin} can be used interchangeably with Origin,
524
+ * this enum contains the known values that the service supports.
525
+ * ### Known values supported by the service
526
+ * **user** \
527
+ * **system** \
528
+ * **user,system**
529
+ */
530
+ export type Origin = string;
531
+ /** Known values of {@link ActionType} that the service accepts. */
532
+ export declare enum KnownActionType {
533
+ /** Internal */
534
+ Internal = "Internal"
535
+ }
536
+ /**
537
+ * Defines values for ActionType. \
538
+ * {@link KnownActionType} can be used interchangeably with ActionType,
539
+ * this enum contains the known values that the service supports.
540
+ * ### Known values supported by the service
541
+ * **Internal**
542
+ */
543
+ export type ActionType = string;
390
544
  /** Known values of {@link SkuName} that the service accepts. */
391
545
  export declare enum KnownSkuName {
392
546
  /** Premium locally redundant storage */
@@ -402,7 +556,7 @@ export declare enum KnownSkuName {
402
556
  * **Premium_LRS**: Premium locally redundant storage \
403
557
  * **Premium_ZRS**: Premium zone redundant storage
404
558
  */
405
- export declare type SkuName = string;
559
+ export type SkuName = string;
406
560
  /** Known values of {@link SkuTier} that the service accepts. */
407
561
  export declare enum KnownSkuTier {
408
562
  /** Premium Tier */
@@ -415,7 +569,7 @@ export declare enum KnownSkuTier {
415
569
  * ### Known values supported by the service
416
570
  * **Premium**: Premium Tier
417
571
  */
418
- export declare type SkuTier = string;
572
+ export type SkuTier = string;
419
573
  /** Known values of {@link ProvisioningStates} that the service accepts. */
420
574
  export declare enum KnownProvisioningStates {
421
575
  /** Invalid */
@@ -449,7 +603,29 @@ export declare enum KnownProvisioningStates {
449
603
  * **Updating** \
450
604
  * **Deleting**
451
605
  */
452
- export declare type ProvisioningStates = string;
606
+ export type ProvisioningStates = string;
607
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
608
+ export declare enum KnownPrivateEndpointServiceConnectionStatus {
609
+ /** Pending */
610
+ Pending = "Pending",
611
+ /** Approved */
612
+ Approved = "Approved",
613
+ /** Failed */
614
+ Failed = "Failed",
615
+ /** Rejected */
616
+ Rejected = "Rejected"
617
+ }
618
+ /**
619
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
620
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
621
+ * this enum contains the known values that the service supports.
622
+ * ### Known values supported by the service
623
+ * **Pending** \
624
+ * **Approved** \
625
+ * **Failed** \
626
+ * **Rejected**
627
+ */
628
+ export type PrivateEndpointServiceConnectionStatus = string;
453
629
  /** Known values of {@link CreatedByType} that the service accepts. */
454
630
  export declare enum KnownCreatedByType {
455
631
  /** User */
@@ -471,7 +647,7 @@ export declare enum KnownCreatedByType {
471
647
  * **ManagedIdentity** \
472
648
  * **Key**
473
649
  */
474
- export declare type CreatedByType = string;
650
+ export type CreatedByType = string;
475
651
  /** Known values of {@link StorageTargetType} that the service accepts. */
476
652
  export declare enum KnownStorageTargetType {
477
653
  /** Iscsi */
@@ -487,7 +663,7 @@ export declare enum KnownStorageTargetType {
487
663
  * **Iscsi** \
488
664
  * **None**
489
665
  */
490
- export declare type StorageTargetType = string;
666
+ export type StorageTargetType = string;
491
667
  /** Known values of {@link EncryptionType} that the service accepts. */
492
668
  export declare enum KnownEncryptionType {
493
669
  /** Volume is encrypted at rest with Platform managed key. It is the default encryption type. */
@@ -500,7 +676,7 @@ export declare enum KnownEncryptionType {
500
676
  * ### Known values supported by the service
501
677
  * **EncryptionAtRestWithPlatformKey**: Volume is encrypted at rest with Platform managed key. It is the default encryption type.
502
678
  */
503
- export declare type EncryptionType = string;
679
+ export type EncryptionType = string;
504
680
  /** Known values of {@link OperationalStatus} that the service accepts. */
505
681
  export declare enum KnownOperationalStatus {
506
682
  /** Invalid */
@@ -534,31 +710,31 @@ export declare enum KnownOperationalStatus {
534
710
  * **Stopped** \
535
711
  * **Stopped (deallocated)**
536
712
  */
537
- export declare type OperationalStatus = string;
713
+ export type OperationalStatus = string;
538
714
  /** Defines values for State. */
539
- export declare type State = "provisioning" | "deprovisioning" | "succeeded" | "failed" | "networkSourceDeleted";
715
+ export type State = "provisioning" | "deprovisioning" | "succeeded" | "failed" | "networkSourceDeleted";
540
716
  /** Optional parameters. */
541
717
  export interface OperationsListOptionalParams extends coreClient.OperationOptions {
542
718
  }
543
719
  /** Contains response data for the list operation. */
544
- export declare type OperationsListResponse = ElasticSanOperationListResult;
720
+ export type OperationsListResponse = OperationListResult;
545
721
  /** Optional parameters. */
546
722
  export interface SkusListOptionalParams extends coreClient.OperationOptions {
547
723
  /** Specify $filter='location eq <location>' to filter on location. */
548
724
  filter?: string;
549
725
  }
550
726
  /** Contains response data for the list operation. */
551
- export declare type SkusListResponse = SkuInformationList;
727
+ export type SkusListResponse = SkuInformationList;
552
728
  /** Optional parameters. */
553
729
  export interface ElasticSansListBySubscriptionOptionalParams extends coreClient.OperationOptions {
554
730
  }
555
731
  /** Contains response data for the listBySubscription operation. */
556
- export declare type ElasticSansListBySubscriptionResponse = ElasticSanList;
732
+ export type ElasticSansListBySubscriptionResponse = ElasticSanList;
557
733
  /** Optional parameters. */
558
734
  export interface ElasticSansListByResourceGroupOptionalParams extends coreClient.OperationOptions {
559
735
  }
560
736
  /** Contains response data for the listByResourceGroup operation. */
561
- export declare type ElasticSansListByResourceGroupResponse = ElasticSanList;
737
+ export type ElasticSansListByResourceGroupResponse = ElasticSanList;
562
738
  /** Optional parameters. */
563
739
  export interface ElasticSansCreateOptionalParams extends coreClient.OperationOptions {
564
740
  /** Delay to wait until next poll, in milliseconds. */
@@ -567,7 +743,7 @@ export interface ElasticSansCreateOptionalParams extends coreClient.OperationOpt
567
743
  resumeFrom?: string;
568
744
  }
569
745
  /** Contains response data for the create operation. */
570
- export declare type ElasticSansCreateResponse = ElasticSan;
746
+ export type ElasticSansCreateResponse = ElasticSan;
571
747
  /** Optional parameters. */
572
748
  export interface ElasticSansUpdateOptionalParams extends coreClient.OperationOptions {
573
749
  /** Delay to wait until next poll, in milliseconds. */
@@ -576,7 +752,7 @@ export interface ElasticSansUpdateOptionalParams extends coreClient.OperationOpt
576
752
  resumeFrom?: string;
577
753
  }
578
754
  /** Contains response data for the update operation. */
579
- export declare type ElasticSansUpdateResponse = ElasticSan;
755
+ export type ElasticSansUpdateResponse = ElasticSan;
580
756
  /** Optional parameters. */
581
757
  export interface ElasticSansDeleteOptionalParams extends coreClient.OperationOptions {
582
758
  /** Delay to wait until next poll, in milliseconds. */
@@ -588,22 +764,22 @@ export interface ElasticSansDeleteOptionalParams extends coreClient.OperationOpt
588
764
  export interface ElasticSansGetOptionalParams extends coreClient.OperationOptions {
589
765
  }
590
766
  /** Contains response data for the get operation. */
591
- export declare type ElasticSansGetResponse = ElasticSan;
767
+ export type ElasticSansGetResponse = ElasticSan;
592
768
  /** Optional parameters. */
593
769
  export interface ElasticSansListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
594
770
  }
595
771
  /** Contains response data for the listBySubscriptionNext operation. */
596
- export declare type ElasticSansListBySubscriptionNextResponse = ElasticSanList;
772
+ export type ElasticSansListBySubscriptionNextResponse = ElasticSanList;
597
773
  /** Optional parameters. */
598
774
  export interface ElasticSansListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
599
775
  }
600
776
  /** Contains response data for the listByResourceGroupNext operation. */
601
- export declare type ElasticSansListByResourceGroupNextResponse = ElasticSanList;
777
+ export type ElasticSansListByResourceGroupNextResponse = ElasticSanList;
602
778
  /** Optional parameters. */
603
779
  export interface VolumeGroupsListByElasticSanOptionalParams extends coreClient.OperationOptions {
604
780
  }
605
781
  /** Contains response data for the listByElasticSan operation. */
606
- export declare type VolumeGroupsListByElasticSanResponse = VolumeGroupList;
782
+ export type VolumeGroupsListByElasticSanResponse = VolumeGroupList;
607
783
  /** Optional parameters. */
608
784
  export interface VolumeGroupsCreateOptionalParams extends coreClient.OperationOptions {
609
785
  /** Delay to wait until next poll, in milliseconds. */
@@ -612,7 +788,7 @@ export interface VolumeGroupsCreateOptionalParams extends coreClient.OperationOp
612
788
  resumeFrom?: string;
613
789
  }
614
790
  /** Contains response data for the create operation. */
615
- export declare type VolumeGroupsCreateResponse = VolumeGroup;
791
+ export type VolumeGroupsCreateResponse = VolumeGroup;
616
792
  /** Optional parameters. */
617
793
  export interface VolumeGroupsUpdateOptionalParams extends coreClient.OperationOptions {
618
794
  /** Delay to wait until next poll, in milliseconds. */
@@ -621,7 +797,7 @@ export interface VolumeGroupsUpdateOptionalParams extends coreClient.OperationOp
621
797
  resumeFrom?: string;
622
798
  }
623
799
  /** Contains response data for the update operation. */
624
- export declare type VolumeGroupsUpdateResponse = VolumeGroup;
800
+ export type VolumeGroupsUpdateResponse = VolumeGroup;
625
801
  /** Optional parameters. */
626
802
  export interface VolumeGroupsDeleteOptionalParams extends coreClient.OperationOptions {
627
803
  /** Delay to wait until next poll, in milliseconds. */
@@ -633,12 +809,12 @@ export interface VolumeGroupsDeleteOptionalParams extends coreClient.OperationOp
633
809
  export interface VolumeGroupsGetOptionalParams extends coreClient.OperationOptions {
634
810
  }
635
811
  /** Contains response data for the get operation. */
636
- export declare type VolumeGroupsGetResponse = VolumeGroup;
812
+ export type VolumeGroupsGetResponse = VolumeGroup;
637
813
  /** Optional parameters. */
638
814
  export interface VolumeGroupsListByElasticSanNextOptionalParams extends coreClient.OperationOptions {
639
815
  }
640
816
  /** Contains response data for the listByElasticSanNext operation. */
641
- export declare type VolumeGroupsListByElasticSanNextResponse = VolumeGroupList;
817
+ export type VolumeGroupsListByElasticSanNextResponse = VolumeGroupList;
642
818
  /** Optional parameters. */
643
819
  export interface VolumesCreateOptionalParams extends coreClient.OperationOptions {
644
820
  /** Delay to wait until next poll, in milliseconds. */
@@ -647,7 +823,7 @@ export interface VolumesCreateOptionalParams extends coreClient.OperationOptions
647
823
  resumeFrom?: string;
648
824
  }
649
825
  /** Contains response data for the create operation. */
650
- export declare type VolumesCreateResponse = Volume;
826
+ export type VolumesCreateResponse = Volume;
651
827
  /** Optional parameters. */
652
828
  export interface VolumesUpdateOptionalParams extends coreClient.OperationOptions {
653
829
  /** Delay to wait until next poll, in milliseconds. */
@@ -656,7 +832,7 @@ export interface VolumesUpdateOptionalParams extends coreClient.OperationOptions
656
832
  resumeFrom?: string;
657
833
  }
658
834
  /** Contains response data for the update operation. */
659
- export declare type VolumesUpdateResponse = Volume;
835
+ export type VolumesUpdateResponse = Volume;
660
836
  /** Optional parameters. */
661
837
  export interface VolumesDeleteOptionalParams extends coreClient.OperationOptions {
662
838
  /** Delay to wait until next poll, in milliseconds. */
@@ -668,17 +844,48 @@ export interface VolumesDeleteOptionalParams extends coreClient.OperationOptions
668
844
  export interface VolumesGetOptionalParams extends coreClient.OperationOptions {
669
845
  }
670
846
  /** Contains response data for the get operation. */
671
- export declare type VolumesGetResponse = Volume;
847
+ export type VolumesGetResponse = Volume;
672
848
  /** Optional parameters. */
673
849
  export interface VolumesListByVolumeGroupOptionalParams extends coreClient.OperationOptions {
674
850
  }
675
851
  /** Contains response data for the listByVolumeGroup operation. */
676
- export declare type VolumesListByVolumeGroupResponse = VolumeList;
852
+ export type VolumesListByVolumeGroupResponse = VolumeList;
677
853
  /** Optional parameters. */
678
854
  export interface VolumesListByVolumeGroupNextOptionalParams extends coreClient.OperationOptions {
679
855
  }
680
856
  /** Contains response data for the listByVolumeGroupNext operation. */
681
- export declare type VolumesListByVolumeGroupNextResponse = VolumeList;
857
+ export type VolumesListByVolumeGroupNextResponse = VolumeList;
858
+ /** Optional parameters. */
859
+ export interface PrivateEndpointConnectionsCreateOptionalParams extends coreClient.OperationOptions {
860
+ /** Delay to wait until next poll, in milliseconds. */
861
+ updateIntervalInMs?: number;
862
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
863
+ resumeFrom?: string;
864
+ }
865
+ /** Contains response data for the create operation. */
866
+ export type PrivateEndpointConnectionsCreateResponse = PrivateEndpointConnection;
867
+ /** Optional parameters. */
868
+ export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
869
+ }
870
+ /** Contains response data for the get operation. */
871
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
872
+ /** Optional parameters. */
873
+ export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
874
+ /** Delay to wait until next poll, in milliseconds. */
875
+ updateIntervalInMs?: number;
876
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
877
+ resumeFrom?: string;
878
+ }
879
+ /** Optional parameters. */
880
+ export interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions {
881
+ }
882
+ /** Contains response data for the list operation. */
883
+ export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult;
884
+ /** Optional parameters. */
885
+ export interface PrivateLinkResourcesListByElasticSanOptionalParams extends coreClient.OperationOptions {
886
+ }
887
+ /** Contains response data for the listByElasticSan operation. */
888
+ export type PrivateLinkResourcesListByElasticSanResponse = PrivateLinkResourceListResult;
682
889
  /** Optional parameters. */
683
890
  export interface ElasticSanManagementOptionalParams extends coreClient.ServiceClientOptions {
684
891
  /** server parameter */