@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
@@ -8,50 +8,78 @@
8
8
 
9
9
  import * as coreClient from "@azure/core-client";
10
10
 
11
- /** List of operations supported by the RP. */
12
- export interface ElasticSanOperationListResult {
13
- /** An array of operations supported by the ElasticSan RP. */
14
- value: ElasticSanRPOperation[];
15
- /** URI to fetch the next section of the paginated response. */
16
- nextLink?: string;
11
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
12
+ export interface OperationListResult {
13
+ /**
14
+ * List of operations supported by the resource provider
15
+ * NOTE: This property will not be serialized. It can only be populated by the server.
16
+ */
17
+ readonly value?: Operation[];
18
+ /**
19
+ * URL to get the next set of operation list results (if there are any).
20
+ * NOTE: This property will not be serialized. It can only be populated by the server.
21
+ */
22
+ readonly nextLink?: string;
17
23
  }
18
24
 
19
- /** Description of a ElasticSan RP Operation */
20
- export interface ElasticSanRPOperation {
21
- /** The name of the operation being performed on this particular object */
22
- name: string;
25
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
26
+ export interface Operation {
23
27
  /**
24
- * Indicates whether the operation applies to data-plane.
28
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
29
+ * NOTE: This property will not be serialized. It can only be populated by the server.
30
+ */
31
+ readonly name?: string;
32
+ /**
33
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
25
34
  * NOTE: This property will not be serialized. It can only be populated by the server.
26
35
  */
27
36
  readonly isDataAction?: boolean;
37
+ /** Localized display information for this particular operation. */
38
+ display?: OperationDisplay;
28
39
  /**
29
- * Additional metadata about RP operation.
40
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
30
41
  * NOTE: This property will not be serialized. It can only be populated by the server.
31
42
  */
32
- readonly display?: ElasticSanOperationDisplay;
43
+ readonly origin?: Origin;
44
+ /**
45
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
46
+ * NOTE: This property will not be serialized. It can only be populated by the server.
47
+ */
48
+ readonly actionType?: ActionType;
33
49
  }
34
50
 
35
- /** Metadata about an operation. */
36
- export interface ElasticSanOperationDisplay {
37
- /** Localized friendly form of the resource provider name. */
38
- provider: string;
39
- /** Localized friendly form of the resource type related to this action/operation. */
40
- resource: string;
41
- /** Localized friendly name for the operation, as it should be shown to the user. */
42
- operation: string;
43
- /** Localized friendly description for the operation, as it should be shown to the user. */
44
- description: string;
51
+ /** Localized display information for this particular operation. */
52
+ export interface OperationDisplay {
53
+ /**
54
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
55
+ * NOTE: This property will not be serialized. It can only be populated by the server.
56
+ */
57
+ readonly provider?: string;
58
+ /**
59
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
60
+ * NOTE: This property will not be serialized. It can only be populated by the server.
61
+ */
62
+ readonly resource?: string;
63
+ /**
64
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
65
+ * NOTE: This property will not be serialized. It can only be populated by the server.
66
+ */
67
+ readonly operation?: string;
68
+ /**
69
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
70
+ * NOTE: This property will not be serialized. It can only be populated by the server.
71
+ */
72
+ readonly description?: string;
45
73
  }
46
74
 
47
- /** The resource management error response. */
48
- export interface ErrorModel {
49
- /** RP error response. */
50
- error?: ErrorResponse;
75
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
76
+ export interface ErrorResponse {
77
+ /** The error object. */
78
+ error?: ErrorDetail;
51
79
  }
52
80
 
53
- /** The resource management error response. */
54
- export interface ErrorResponse {
81
+ /** The error detail. */
82
+ export interface ErrorDetail {
55
83
  /**
56
84
  * The error code.
57
85
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -71,7 +99,7 @@ export interface ErrorResponse {
71
99
  * The error details.
72
100
  * NOTE: This property will not be serialized. It can only be populated by the server.
73
101
  */
74
- readonly details?: ErrorResponse[];
102
+ readonly details?: ErrorDetail[];
75
103
  /**
76
104
  * The error additional info.
77
105
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -100,6 +128,11 @@ export interface SkuInformationList {
100
128
  * NOTE: This property will not be serialized. It can only be populated by the server.
101
129
  */
102
130
  readonly value?: SkuInformation[];
131
+ /**
132
+ * URI to fetch the next section of the paginated response.
133
+ * NOTE: This property will not be serialized. It can only be populated by the server.
134
+ */
135
+ readonly nextLink?: string;
103
136
  }
104
137
 
105
138
  /** ElasticSAN SKU and its properties */
@@ -161,7 +194,7 @@ export interface SKUCapability {
161
194
  /** List of Elastic Sans */
162
195
  export interface ElasticSanList {
163
196
  /** An array of Elastic San objects. */
164
- value: ElasticSan[];
197
+ value?: ElasticSan[];
165
198
  /**
166
199
  * URI to fetch the next section of the paginated response.
167
200
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -177,41 +210,63 @@ export interface Sku {
177
210
  tier?: SkuTier;
178
211
  }
179
212
 
180
- /** Metadata pertaining to creation and last modification of the resource. */
181
- export interface SystemData {
182
- /** The identity that created the resource. */
183
- createdBy?: string;
184
- /** The type of identity that created the resource. */
185
- createdByType?: CreatedByType;
186
- /** The timestamp of resource creation (UTC). */
187
- createdAt?: Date;
188
- /** The identity that last modified the resource. */
189
- lastModifiedBy?: string;
190
- /** The type of identity that last modified the resource. */
191
- lastModifiedByType?: CreatedByType;
192
- /** The timestamp of resource last modification (UTC) */
193
- lastModifiedAt?: Date;
213
+ /** Response for PrivateEndpoint */
214
+ export interface PrivateEndpoint {
215
+ /**
216
+ * The ARM identifier for Private Endpoint
217
+ * NOTE: This property will not be serialized. It can only be populated by the server.
218
+ */
219
+ readonly id?: string;
220
+ }
221
+
222
+ /** Response for Private Link Service Connection state */
223
+ export interface PrivateLinkServiceConnectionState {
224
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
225
+ status?: PrivateEndpointServiceConnectionStatus;
226
+ /** The reason for approval/rejection of the connection. */
227
+ description?: string;
228
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
229
+ actionsRequired?: string;
194
230
  }
195
231
 
196
- /** The resource model definition. */
232
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
197
233
  export interface Resource {
198
234
  /**
199
- * Azure resource identifier.
235
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
200
236
  * NOTE: This property will not be serialized. It can only be populated by the server.
201
237
  */
202
238
  readonly id?: string;
203
239
  /**
204
- * Azure resource name.
240
+ * The name of the resource
205
241
  * NOTE: This property will not be serialized. It can only be populated by the server.
206
242
  */
207
243
  readonly name?: string;
208
244
  /**
209
- * Azure resource type.
245
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
210
246
  * NOTE: This property will not be serialized. It can only be populated by the server.
211
247
  */
212
248
  readonly type?: string;
213
- /** Azure resource tags. */
214
- tags?: { [propertyName: string]: string };
249
+ /**
250
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
251
+ * NOTE: This property will not be serialized. It can only be populated by the server.
252
+ */
253
+ readonly systemData?: SystemData;
254
+ }
255
+
256
+ /** Metadata pertaining to creation and last modification of the resource. */
257
+ export interface SystemData {
258
+ /** The identity that created the resource. */
259
+ createdBy?: string;
260
+ /** The type of identity that created the resource. */
261
+ createdByType?: CreatedByType;
262
+ /** The timestamp of resource creation (UTC). */
263
+ createdAt?: Date;
264
+ /** The identity that last modified the resource. */
265
+ lastModifiedBy?: string;
266
+ /** The type of identity that last modified the resource. */
267
+ lastModifiedByType?: CreatedByType;
268
+ /** The timestamp of resource last modification (UTC) */
269
+ lastModifiedAt?: Date;
215
270
  }
216
271
 
217
272
  /** Response for ElasticSan update request. */
@@ -227,7 +282,7 @@ export interface ElasticSanUpdate {
227
282
  /** List of Volume Groups */
228
283
  export interface VolumeGroupList {
229
284
  /** An array of Volume Groups objects. */
230
- value: VolumeGroup[];
285
+ value?: VolumeGroup[];
231
286
  /**
232
287
  * URI to fetch the next section of the paginated response.
233
288
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -256,8 +311,6 @@ export interface VirtualNetworkRule {
256
311
 
257
312
  /** Volume Group request. */
258
313
  export interface VolumeGroupUpdate {
259
- /** Resource tags. */
260
- tags?: { [propertyName: string]: string };
261
314
  /** Type of storage target */
262
315
  protocolType?: StorageTargetType;
263
316
  /** Type of encryption */
@@ -302,8 +355,6 @@ export interface IscsiTargetInfo {
302
355
 
303
356
  /** Response for Volume request. */
304
357
  export interface VolumeUpdate {
305
- /** Resource tags. */
306
- tags?: { [propertyName: string]: string };
307
358
  /** Volume size. */
308
359
  sizeGiB?: number;
309
360
  }
@@ -311,7 +362,7 @@ export interface VolumeUpdate {
311
362
  /** List of Volumes */
312
363
  export interface VolumeList {
313
364
  /** An array of Volume objects. */
314
- value: Volume[];
365
+ value?: Volume[];
315
366
  /**
316
367
  * URI to fetch the next section of the paginated response.
317
368
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -319,62 +370,72 @@ export interface VolumeList {
319
370
  readonly nextLink?: string;
320
371
  }
321
372
 
322
- /** The resource model definition for a ARM tracked top level resource. */
323
- export interface TrackedResource extends Resource {
324
- /** The geo-location where the resource lives. */
325
- location?: string;
326
- }
327
-
328
- /** Response for Volume Group request. */
329
- export interface VolumeGroup extends Resource {
373
+ /** List of private endpoint connections associated with SAN */
374
+ export interface PrivateEndpointConnectionListResult {
375
+ /** Array of private endpoint connections */
376
+ value?: PrivateEndpointConnection[];
330
377
  /**
331
- * Resource metadata required by ARM RPC
378
+ * URI to fetch the next section of the paginated response.
332
379
  * NOTE: This property will not be serialized. It can only be populated by the server.
333
380
  */
334
- readonly systemData?: SystemData;
381
+ readonly nextLink?: string;
382
+ }
383
+
384
+ /** A list of private link resources */
385
+ export interface PrivateLinkResourceListResult {
386
+ /** Array of private link resources */
387
+ value?: PrivateLinkResource[];
335
388
  /**
336
- * State of the operation on the resource.
389
+ * URI to fetch the next section of the paginated response.
337
390
  * NOTE: This property will not be serialized. It can only be populated by the server.
338
391
  */
339
- readonly provisioningState?: ProvisioningStates;
340
- /** Type of storage target */
341
- protocolType?: StorageTargetType;
342
- /** Type of encryption */
343
- encryption?: EncryptionType;
344
- /** A collection of rules governing the accessibility from specific network locations. */
345
- networkAcls?: NetworkRuleSet;
392
+ readonly nextLink?: string;
346
393
  }
347
394
 
348
- /** Response for Volume request. */
349
- export interface Volume extends Resource {
395
+ /** Response for PrivateEndpoint Connection object */
396
+ export interface PrivateEndpointConnection extends Resource {
350
397
  /**
351
- * Resource metadata required by ARM RPC
398
+ * Provisioning State of Private Endpoint connection resource
352
399
  * NOTE: This property will not be serialized. It can only be populated by the server.
353
400
  */
354
- readonly systemData?: SystemData;
401
+ readonly provisioningState?: ProvisioningStates;
402
+ /** Private Endpoint resource */
403
+ privateEndpoint?: PrivateEndpoint;
404
+ /** Private Link Service Connection State. */
405
+ privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
406
+ /** List of resources private endpoint is mapped */
407
+ groupIds?: string[];
408
+ }
409
+
410
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
411
+ export interface TrackedResource extends Resource {
412
+ /** Resource tags. */
413
+ tags?: { [propertyName: string]: string };
414
+ /** The geo-location where the resource lives */
415
+ location: string;
416
+ }
417
+
418
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
419
+ export interface ProxyResource extends Resource {}
420
+
421
+ /** A private link resource */
422
+ export interface PrivateLinkResource extends Resource {
355
423
  /**
356
- * Unique Id of the volume in GUID format
424
+ * The private link resource group id.
357
425
  * NOTE: This property will not be serialized. It can only be populated by the server.
358
426
  */
359
- readonly volumeId?: string;
360
- /** State of the operation on the resource. */
361
- creationData?: SourceCreationData;
362
- /** Volume size. */
363
- sizeGiB?: number;
427
+ readonly groupId?: string;
364
428
  /**
365
- * Storage target information
429
+ * The private link resource required member names.
366
430
  * NOTE: This property will not be serialized. It can only be populated by the server.
367
431
  */
368
- readonly storageTarget?: IscsiTargetInfo;
432
+ readonly requiredMembers?: string[];
433
+ /** The private link resource Private link DNS zone name. */
434
+ requiredZoneNames?: string[];
369
435
  }
370
436
 
371
437
  /** Response for ElasticSan request. */
372
438
  export interface ElasticSan extends TrackedResource {
373
- /**
374
- * Resource metadata required by ARM RPC
375
- * NOTE: This property will not be serialized. It can only be populated by the server.
376
- */
377
- readonly systemData?: SystemData;
378
439
  /** resource sku */
379
440
  sku: Sku;
380
441
  /** Logical zone for Elastic San resource; example: ["1"]. */
@@ -413,8 +474,122 @@ export interface ElasticSan extends TrackedResource {
413
474
  * NOTE: This property will not be serialized. It can only be populated by the server.
414
475
  */
415
476
  readonly totalSizeTiB?: number;
477
+ /**
478
+ * The list of Private Endpoint Connections.
479
+ * NOTE: This property will not be serialized. It can only be populated by the server.
480
+ */
481
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
482
+ }
483
+
484
+ /** Response for Volume Group request. */
485
+ export interface VolumeGroup extends ProxyResource {
486
+ /**
487
+ * State of the operation on the resource.
488
+ * NOTE: This property will not be serialized. It can only be populated by the server.
489
+ */
490
+ readonly provisioningState?: ProvisioningStates;
491
+ /** Type of storage target */
492
+ protocolType?: StorageTargetType;
493
+ /** Type of encryption */
494
+ encryption?: EncryptionType;
495
+ /** A collection of rules governing the accessibility from specific network locations. */
496
+ networkAcls?: NetworkRuleSet;
497
+ /**
498
+ * The list of Private Endpoint Connections.
499
+ * NOTE: This property will not be serialized. It can only be populated by the server.
500
+ */
501
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
502
+ }
503
+
504
+ /** Response for Volume request. */
505
+ export interface Volume extends ProxyResource {
506
+ /**
507
+ * Unique Id of the volume in GUID format
508
+ * NOTE: This property will not be serialized. It can only be populated by the server.
509
+ */
510
+ readonly volumeId?: string;
511
+ /** State of the operation on the resource. */
512
+ creationData?: SourceCreationData;
513
+ /** Volume size. */
514
+ sizeGiB: number;
515
+ /**
516
+ * Storage target information
517
+ * NOTE: This property will not be serialized. It can only be populated by the server.
518
+ */
519
+ readonly storageTarget?: IscsiTargetInfo;
520
+ }
521
+
522
+ /** Defines headers for ElasticSans_update operation. */
523
+ export interface ElasticSansUpdateHeaders {
524
+ location?: string;
525
+ }
526
+
527
+ /** Defines headers for ElasticSans_delete operation. */
528
+ export interface ElasticSansDeleteHeaders {
529
+ location?: string;
530
+ }
531
+
532
+ /** Defines headers for VolumeGroups_update operation. */
533
+ export interface VolumeGroupsUpdateHeaders {
534
+ location?: string;
535
+ }
536
+
537
+ /** Defines headers for VolumeGroups_delete operation. */
538
+ export interface VolumeGroupsDeleteHeaders {
539
+ location?: string;
416
540
  }
417
541
 
542
+ /** Defines headers for Volumes_update operation. */
543
+ export interface VolumesUpdateHeaders {
544
+ location?: string;
545
+ }
546
+
547
+ /** Defines headers for Volumes_delete operation. */
548
+ export interface VolumesDeleteHeaders {
549
+ location?: string;
550
+ }
551
+
552
+ /** Defines headers for PrivateEndpointConnections_delete operation. */
553
+ export interface PrivateEndpointConnectionsDeleteHeaders {
554
+ location?: string;
555
+ }
556
+
557
+ /** Known values of {@link Origin} that the service accepts. */
558
+ export enum KnownOrigin {
559
+ /** User */
560
+ User = "user",
561
+ /** System */
562
+ System = "system",
563
+ /** UserSystem */
564
+ UserSystem = "user,system"
565
+ }
566
+
567
+ /**
568
+ * Defines values for Origin. \
569
+ * {@link KnownOrigin} can be used interchangeably with Origin,
570
+ * this enum contains the known values that the service supports.
571
+ * ### Known values supported by the service
572
+ * **user** \
573
+ * **system** \
574
+ * **user,system**
575
+ */
576
+ export type Origin = string;
577
+
578
+ /** Known values of {@link ActionType} that the service accepts. */
579
+ export enum KnownActionType {
580
+ /** Internal */
581
+ Internal = "Internal"
582
+ }
583
+
584
+ /**
585
+ * Defines values for ActionType. \
586
+ * {@link KnownActionType} can be used interchangeably with ActionType,
587
+ * this enum contains the known values that the service supports.
588
+ * ### Known values supported by the service
589
+ * **Internal**
590
+ */
591
+ export type ActionType = string;
592
+
418
593
  /** Known values of {@link SkuName} that the service accepts. */
419
594
  export enum KnownSkuName {
420
595
  /** Premium locally redundant storage */
@@ -484,6 +659,30 @@ export enum KnownProvisioningStates {
484
659
  */
485
660
  export type ProvisioningStates = string;
486
661
 
662
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
663
+ export enum KnownPrivateEndpointServiceConnectionStatus {
664
+ /** Pending */
665
+ Pending = "Pending",
666
+ /** Approved */
667
+ Approved = "Approved",
668
+ /** Failed */
669
+ Failed = "Failed",
670
+ /** Rejected */
671
+ Rejected = "Rejected"
672
+ }
673
+
674
+ /**
675
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
676
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
677
+ * this enum contains the known values that the service supports.
678
+ * ### Known values supported by the service
679
+ * **Pending** \
680
+ * **Approved** \
681
+ * **Failed** \
682
+ * **Rejected**
683
+ */
684
+ export type PrivateEndpointServiceConnectionStatus = string;
685
+
487
686
  /** Known values of {@link CreatedByType} that the service accepts. */
488
687
  export enum KnownCreatedByType {
489
688
  /** User */
@@ -589,7 +788,7 @@ export interface OperationsListOptionalParams
589
788
  extends coreClient.OperationOptions {}
590
789
 
591
790
  /** Contains response data for the list operation. */
592
- export type OperationsListResponse = ElasticSanOperationListResult;
791
+ export type OperationsListResponse = OperationListResult;
593
792
 
594
793
  /** Optional parameters. */
595
794
  export interface SkusListOptionalParams extends coreClient.OperationOptions {
@@ -775,6 +974,48 @@ export interface VolumesListByVolumeGroupNextOptionalParams
775
974
  /** Contains response data for the listByVolumeGroupNext operation. */
776
975
  export type VolumesListByVolumeGroupNextResponse = VolumeList;
777
976
 
977
+ /** Optional parameters. */
978
+ export interface PrivateEndpointConnectionsCreateOptionalParams
979
+ extends coreClient.OperationOptions {
980
+ /** Delay to wait until next poll, in milliseconds. */
981
+ updateIntervalInMs?: number;
982
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
983
+ resumeFrom?: string;
984
+ }
985
+
986
+ /** Contains response data for the create operation. */
987
+ export type PrivateEndpointConnectionsCreateResponse = PrivateEndpointConnection;
988
+
989
+ /** Optional parameters. */
990
+ export interface PrivateEndpointConnectionsGetOptionalParams
991
+ extends coreClient.OperationOptions {}
992
+
993
+ /** Contains response data for the get operation. */
994
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
995
+
996
+ /** Optional parameters. */
997
+ export interface PrivateEndpointConnectionsDeleteOptionalParams
998
+ extends coreClient.OperationOptions {
999
+ /** Delay to wait until next poll, in milliseconds. */
1000
+ updateIntervalInMs?: number;
1001
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1002
+ resumeFrom?: string;
1003
+ }
1004
+
1005
+ /** Optional parameters. */
1006
+ export interface PrivateEndpointConnectionsListOptionalParams
1007
+ extends coreClient.OperationOptions {}
1008
+
1009
+ /** Contains response data for the list operation. */
1010
+ export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult;
1011
+
1012
+ /** Optional parameters. */
1013
+ export interface PrivateLinkResourcesListByElasticSanOptionalParams
1014
+ extends coreClient.OperationOptions {}
1015
+
1016
+ /** Contains response data for the listByElasticSan operation. */
1017
+ export type PrivateLinkResourcesListByElasticSanResponse = PrivateLinkResourceListResult;
1018
+
778
1019
  /** Optional parameters. */
779
1020
  export interface ElasticSanManagementOptionalParams
780
1021
  extends coreClient.ServiceClientOptions {