@azure/arm-elasticsan 1.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +109 -0
  4. package/dist/index.js +2897 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/elasticSansCreateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/elasticSansCreateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/elasticSansCreateSample.js +62 -0
  11. package/dist-esm/samples-dev/elasticSansCreateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/elasticSansDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/elasticSansDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/elasticSansDeleteSample.js +49 -0
  15. package/dist-esm/samples-dev/elasticSansDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/elasticSansGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/elasticSansGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/elasticSansGetSample.js +49 -0
  19. package/dist-esm/samples-dev/elasticSansGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js +75 -0
  23. package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js.map +1 -0
  24. package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js +73 -0
  27. package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js.map +1 -0
  28. package/dist-esm/samples-dev/elasticSansUpdateSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/elasticSansUpdateSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/elasticSansUpdateSample.js +55 -0
  31. package/dist-esm/samples-dev/elasticSansUpdateSample.js.map +1 -0
  32. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/operationsListSample.js +73 -0
  35. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  36. package/dist-esm/samples-dev/skusListSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/skusListSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/skusListSample.js +75 -0
  39. package/dist-esm/samples-dev/skusListSample.js.map +1 -0
  40. package/dist-esm/samples-dev/volumeGroupsCreateSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/volumeGroupsCreateSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/volumeGroupsCreateSample.js +62 -0
  43. package/dist-esm/samples-dev/volumeGroupsCreateSample.js.map +1 -0
  44. package/dist-esm/samples-dev/volumeGroupsDeleteSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/volumeGroupsDeleteSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/volumeGroupsDeleteSample.js +51 -0
  47. package/dist-esm/samples-dev/volumeGroupsDeleteSample.js.map +1 -0
  48. package/dist-esm/samples-dev/volumeGroupsGetSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/volumeGroupsGetSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/volumeGroupsGetSample.js +51 -0
  51. package/dist-esm/samples-dev/volumeGroupsGetSample.js.map +1 -0
  52. package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js +77 -0
  55. package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js.map +1 -0
  56. package/dist-esm/samples-dev/volumeGroupsUpdateSample.d.ts +2 -0
  57. package/dist-esm/samples-dev/volumeGroupsUpdateSample.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/volumeGroupsUpdateSample.js +62 -0
  59. package/dist-esm/samples-dev/volumeGroupsUpdateSample.js.map +1 -0
  60. package/dist-esm/samples-dev/volumesCreateSample.d.ts +2 -0
  61. package/dist-esm/samples-dev/volumesCreateSample.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/volumesCreateSample.js +59 -0
  63. package/dist-esm/samples-dev/volumesCreateSample.js.map +1 -0
  64. package/dist-esm/samples-dev/volumesDeleteSample.d.ts +2 -0
  65. package/dist-esm/samples-dev/volumesDeleteSample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/volumesDeleteSample.js +53 -0
  67. package/dist-esm/samples-dev/volumesDeleteSample.js.map +1 -0
  68. package/dist-esm/samples-dev/volumesGetSample.d.ts +2 -0
  69. package/dist-esm/samples-dev/volumesGetSample.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/volumesGetSample.js +53 -0
  71. package/dist-esm/samples-dev/volumesGetSample.js.map +1 -0
  72. package/dist-esm/samples-dev/volumesListByVolumeGroupSample.d.ts +2 -0
  73. package/dist-esm/samples-dev/volumesListByVolumeGroupSample.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js +79 -0
  75. package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js.map +1 -0
  76. package/dist-esm/samples-dev/volumesUpdateSample.d.ts +2 -0
  77. package/dist-esm/samples-dev/volumesUpdateSample.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/volumesUpdateSample.js +58 -0
  79. package/dist-esm/samples-dev/volumesUpdateSample.js.map +1 -0
  80. package/dist-esm/src/elasticSanManagement.d.ts +24 -0
  81. package/dist-esm/src/elasticSanManagement.d.ts.map +1 -0
  82. package/dist-esm/src/elasticSanManagement.js +107 -0
  83. package/dist-esm/src/elasticSanManagement.js.map +1 -0
  84. package/dist-esm/src/index.d.ts +5 -0
  85. package/dist-esm/src/index.d.ts.map +1 -0
  86. package/dist-esm/src/index.js +12 -0
  87. package/dist-esm/src/index.js.map +1 -0
  88. package/dist-esm/src/lroImpl.d.ts +16 -0
  89. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  90. package/dist-esm/src/lroImpl.js +29 -0
  91. package/dist-esm/src/lroImpl.js.map +1 -0
  92. package/dist-esm/src/models/index.d.ts +691 -0
  93. package/dist-esm/src/models/index.d.ts.map +1 -0
  94. package/dist-esm/src/models/index.js +88 -0
  95. package/dist-esm/src/models/index.js.map +1 -0
  96. package/dist-esm/src/models/mappers.d.ts +29 -0
  97. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  98. package/dist-esm/src/models/mappers.js +877 -0
  99. package/dist-esm/src/models/mappers.js.map +1 -0
  100. package/dist-esm/src/models/parameters.d.ts +19 -0
  101. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  102. package/dist-esm/src/models/parameters.js +170 -0
  103. package/dist-esm/src/models/parameters.js.map +1 -0
  104. package/dist-esm/src/operations/elasticSans.d.ts +107 -0
  105. package/dist-esm/src/operations/elasticSans.d.ts.map +1 -0
  106. package/dist-esm/src/operations/elasticSans.js +509 -0
  107. package/dist-esm/src/operations/elasticSans.js.map +1 -0
  108. package/dist-esm/src/operations/index.d.ts +6 -0
  109. package/dist-esm/src/operations/index.d.ts.map +1 -0
  110. package/dist-esm/src/operations/index.js +13 -0
  111. package/dist-esm/src/operations/index.js.map +1 -0
  112. package/dist-esm/src/operations/operations.d.ts +26 -0
  113. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  114. package/dist-esm/src/operations/operations.js +90 -0
  115. package/dist-esm/src/operations/operations.js.map +1 -0
  116. package/dist-esm/src/operations/skus.d.ts +26 -0
  117. package/dist-esm/src/operations/skus.d.ts.map +1 -0
  118. package/dist-esm/src/operations/skus.js +90 -0
  119. package/dist-esm/src/operations/skus.js.map +1 -0
  120. package/dist-esm/src/operations/volumeGroups.d.ts +99 -0
  121. package/dist-esm/src/operations/volumeGroups.d.ts.map +1 -0
  122. package/dist-esm/src/operations/volumeGroups.js +438 -0
  123. package/dist-esm/src/operations/volumeGroups.js.map +1 -0
  124. package/dist-esm/src/operations/volumes.d.ts +109 -0
  125. package/dist-esm/src/operations/volumes.d.ts.map +1 -0
  126. package/dist-esm/src/operations/volumes.js +468 -0
  127. package/dist-esm/src/operations/volumes.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/elasticSans.d.ts +71 -0
  129. package/dist-esm/src/operationsInterfaces/elasticSans.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/elasticSans.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/elasticSans.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  133. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  135. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  137. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  139. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/skus.d.ts +11 -0
  141. package/dist-esm/src/operationsInterfaces/skus.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/skus.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/skus.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/volumeGroups.d.ts +74 -0
  145. package/dist-esm/src/operationsInterfaces/volumeGroups.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/volumeGroups.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/volumeGroups.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/volumes.d.ts +82 -0
  149. package/dist-esm/src/operationsInterfaces/volumes.d.ts.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/volumes.js +9 -0
  151. package/dist-esm/src/operationsInterfaces/volumes.js.map +1 -0
  152. package/dist-esm/test/elasticsan_examples.spec.d.ts +4 -0
  153. package/dist-esm/test/elasticsan_examples.spec.d.ts.map +1 -0
  154. package/dist-esm/test/elasticsan_examples.spec.js +80 -0
  155. package/dist-esm/test/elasticsan_examples.spec.js.map +1 -0
  156. package/package.json +122 -0
  157. package/review/arm-elasticsan.api.md +536 -0
  158. package/rollup.config.js +122 -0
  159. package/src/elasticSanManagement.ts +161 -0
  160. package/src/index.ts +12 -0
  161. package/src/lroImpl.ts +34 -0
  162. package/src/models/index.ts +787 -0
  163. package/src/models/mappers.ts +935 -0
  164. package/src/models/parameters.ts +199 -0
  165. package/src/operations/elasticSans.ts +683 -0
  166. package/src/operations/index.ts +13 -0
  167. package/src/operations/operations.ts +98 -0
  168. package/src/operations/skus.ts +96 -0
  169. package/src/operations/volumeGroups.ts +629 -0
  170. package/src/operations/volumes.ts +673 -0
  171. package/src/operationsInterfaces/elasticSans.ts +139 -0
  172. package/src/operationsInterfaces/index.ts +13 -0
  173. package/src/operationsInterfaces/operations.ts +22 -0
  174. package/src/operationsInterfaces/skus.ts +22 -0
  175. package/src/operationsInterfaces/volumeGroups.ts +147 -0
  176. package/src/operationsInterfaces/volumes.ts +157 -0
  177. package/tsconfig.json +33 -0
  178. package/types/arm-elasticsan.d.ts +1036 -0
  179. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,1036 @@
1
+ import * as coreAuth from '@azure/core-auth';
2
+ import * as coreClient from '@azure/core-client';
3
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
+ import { PollerLike } from '@azure/core-lro';
5
+ import { PollOperationState } from '@azure/core-lro';
6
+
7
+ /**
8
+ * Defines values for CreatedByType. \
9
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
10
+ * this enum contains the known values that the service supports.
11
+ * ### Known values supported by the service
12
+ * **User** \
13
+ * **Application** \
14
+ * **ManagedIdentity** \
15
+ * **Key**
16
+ */
17
+ export declare type CreatedByType = string;
18
+
19
+ /** Response for ElasticSan request. */
20
+ 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
+ /** resource sku */
27
+ sku: Sku;
28
+ /** Logical zone for Elastic San resource; example: ["1"]. */
29
+ availabilityZones?: string[];
30
+ /**
31
+ * State of the operation on the resource.
32
+ * NOTE: This property will not be serialized. It can only be populated by the server.
33
+ */
34
+ readonly provisioningState?: ProvisioningStates;
35
+ /** Base size of the Elastic San appliance in TiB. */
36
+ baseSizeTiB: number;
37
+ /** Extended size of the Elastic San appliance in TiB. */
38
+ extendedCapacitySizeTiB: number;
39
+ /**
40
+ * Total size of the provisioned Volumes in GiB.
41
+ * NOTE: This property will not be serialized. It can only be populated by the server.
42
+ */
43
+ readonly totalVolumeSizeGiB?: number;
44
+ /**
45
+ * Total number of volume groups in this Elastic San appliance.
46
+ * NOTE: This property will not be serialized. It can only be populated by the server.
47
+ */
48
+ readonly volumeGroupCount?: number;
49
+ /**
50
+ * Total Provisioned IOPS of the Elastic San appliance.
51
+ * NOTE: This property will not be serialized. It can only be populated by the server.
52
+ */
53
+ readonly totalIops?: number;
54
+ /**
55
+ * Total Provisioned MBps Elastic San appliance.
56
+ * NOTE: This property will not be serialized. It can only be populated by the server.
57
+ */
58
+ readonly totalMBps?: number;
59
+ /**
60
+ * Total size of the Elastic San appliance in TB.
61
+ * NOTE: This property will not be serialized. It can only be populated by the server.
62
+ */
63
+ readonly totalSizeTiB?: number;
64
+ }
65
+
66
+ /** List of Elastic Sans */
67
+ export declare interface ElasticSanList {
68
+ /** An array of Elastic San objects. */
69
+ value: ElasticSan[];
70
+ /**
71
+ * URI to fetch the next section of the paginated response.
72
+ * NOTE: This property will not be serialized. It can only be populated by the server.
73
+ */
74
+ readonly nextLink?: string;
75
+ }
76
+
77
+ export declare class ElasticSanManagement extends coreClient.ServiceClient {
78
+ $host: string;
79
+ apiVersion: string;
80
+ subscriptionId: string;
81
+ /**
82
+ * Initializes a new instance of the ElasticSanManagement class.
83
+ * @param credentials Subscription credentials which uniquely identify client subscription.
84
+ * @param subscriptionId The ID of the target subscription.
85
+ * @param options The parameter options
86
+ */
87
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ElasticSanManagementOptionalParams);
88
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
89
+ private addCustomApiVersionPolicy;
90
+ operations: Operations;
91
+ skus: Skus;
92
+ elasticSans: ElasticSans;
93
+ volumeGroups: VolumeGroups;
94
+ volumes: Volumes;
95
+ }
96
+
97
+ /** Optional parameters. */
98
+ export declare interface ElasticSanManagementOptionalParams extends coreClient.ServiceClientOptions {
99
+ /** server parameter */
100
+ $host?: string;
101
+ /** Api Version */
102
+ apiVersion?: string;
103
+ /** Overrides client endpoint. */
104
+ endpoint?: string;
105
+ }
106
+
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
+ /** Interface representing a ElasticSans. */
144
+ export declare interface ElasticSans {
145
+ /**
146
+ * Gets a list of ElasticSans in a subscription
147
+ * @param options The options parameters.
148
+ */
149
+ listBySubscription(options?: ElasticSansListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ElasticSan>;
150
+ /**
151
+ * Gets a list of ElasticSan in a resource group.
152
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
153
+ * @param options The options parameters.
154
+ */
155
+ listByResourceGroup(resourceGroupName: string, options?: ElasticSansListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ElasticSan>;
156
+ /**
157
+ * Create ElasticSan.
158
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
159
+ * @param elasticSanName The name of the ElasticSan.
160
+ * @param parameters Elastic San object.
161
+ * @param options The options parameters.
162
+ */
163
+ beginCreate(resourceGroupName: string, elasticSanName: string, parameters: ElasticSan, options?: ElasticSansCreateOptionalParams): Promise<PollerLike<PollOperationState<ElasticSansCreateResponse>, ElasticSansCreateResponse>>;
164
+ /**
165
+ * Create ElasticSan.
166
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
167
+ * @param elasticSanName The name of the ElasticSan.
168
+ * @param parameters Elastic San object.
169
+ * @param options The options parameters.
170
+ */
171
+ beginCreateAndWait(resourceGroupName: string, elasticSanName: string, parameters: ElasticSan, options?: ElasticSansCreateOptionalParams): Promise<ElasticSansCreateResponse>;
172
+ /**
173
+ * Update a Elastic San.
174
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
175
+ * @param elasticSanName The name of the ElasticSan.
176
+ * @param parameters Elastic San object.
177
+ * @param options The options parameters.
178
+ */
179
+ beginUpdate(resourceGroupName: string, elasticSanName: string, parameters: ElasticSanUpdate, options?: ElasticSansUpdateOptionalParams): Promise<PollerLike<PollOperationState<ElasticSansUpdateResponse>, ElasticSansUpdateResponse>>;
180
+ /**
181
+ * Update a Elastic San.
182
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
183
+ * @param elasticSanName The name of the ElasticSan.
184
+ * @param parameters Elastic San object.
185
+ * @param options The options parameters.
186
+ */
187
+ beginUpdateAndWait(resourceGroupName: string, elasticSanName: string, parameters: ElasticSanUpdate, options?: ElasticSansUpdateOptionalParams): Promise<ElasticSansUpdateResponse>;
188
+ /**
189
+ * Delete a Elastic San.
190
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
191
+ * @param elasticSanName The name of the ElasticSan.
192
+ * @param options The options parameters.
193
+ */
194
+ beginDelete(resourceGroupName: string, elasticSanName: string, options?: ElasticSansDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
195
+ /**
196
+ * Delete a Elastic San.
197
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
198
+ * @param elasticSanName The name of the ElasticSan.
199
+ * @param options The options parameters.
200
+ */
201
+ beginDeleteAndWait(resourceGroupName: string, elasticSanName: string, options?: ElasticSansDeleteOptionalParams): Promise<void>;
202
+ /**
203
+ * Get a ElasticSan.
204
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
205
+ * @param elasticSanName The name of the ElasticSan.
206
+ * @param options The options parameters.
207
+ */
208
+ get(resourceGroupName: string, elasticSanName: string, options?: ElasticSansGetOptionalParams): Promise<ElasticSansGetResponse>;
209
+ }
210
+
211
+ /** Optional parameters. */
212
+ export declare interface ElasticSansCreateOptionalParams extends coreClient.OperationOptions {
213
+ /** Delay to wait until next poll, in milliseconds. */
214
+ updateIntervalInMs?: number;
215
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
216
+ resumeFrom?: string;
217
+ }
218
+
219
+ /** Contains response data for the create operation. */
220
+ export declare type ElasticSansCreateResponse = ElasticSan;
221
+
222
+ /** Optional parameters. */
223
+ export declare interface ElasticSansDeleteOptionalParams extends coreClient.OperationOptions {
224
+ /** Delay to wait until next poll, in milliseconds. */
225
+ updateIntervalInMs?: number;
226
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
227
+ resumeFrom?: string;
228
+ }
229
+
230
+ /** Optional parameters. */
231
+ export declare interface ElasticSansGetOptionalParams extends coreClient.OperationOptions {
232
+ }
233
+
234
+ /** Contains response data for the get operation. */
235
+ export declare type ElasticSansGetResponse = ElasticSan;
236
+
237
+ /** Optional parameters. */
238
+ export declare interface ElasticSansListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
239
+ }
240
+
241
+ /** Contains response data for the listByResourceGroupNext operation. */
242
+ export declare type ElasticSansListByResourceGroupNextResponse = ElasticSanList;
243
+
244
+ /** Optional parameters. */
245
+ export declare interface ElasticSansListByResourceGroupOptionalParams extends coreClient.OperationOptions {
246
+ }
247
+
248
+ /** Contains response data for the listByResourceGroup operation. */
249
+ export declare type ElasticSansListByResourceGroupResponse = ElasticSanList;
250
+
251
+ /** Optional parameters. */
252
+ export declare interface ElasticSansListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
253
+ }
254
+
255
+ /** Contains response data for the listBySubscriptionNext operation. */
256
+ export declare type ElasticSansListBySubscriptionNextResponse = ElasticSanList;
257
+
258
+ /** Optional parameters. */
259
+ export declare interface ElasticSansListBySubscriptionOptionalParams extends coreClient.OperationOptions {
260
+ }
261
+
262
+ /** Contains response data for the listBySubscription operation. */
263
+ export declare type ElasticSansListBySubscriptionResponse = ElasticSanList;
264
+
265
+ /** Optional parameters. */
266
+ export declare interface ElasticSansUpdateOptionalParams extends coreClient.OperationOptions {
267
+ /** Delay to wait until next poll, in milliseconds. */
268
+ updateIntervalInMs?: number;
269
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
270
+ resumeFrom?: string;
271
+ }
272
+
273
+ /** Contains response data for the update operation. */
274
+ export declare type ElasticSansUpdateResponse = ElasticSan;
275
+
276
+ /** Response for ElasticSan update request. */
277
+ export declare interface ElasticSanUpdate {
278
+ /** Update tags */
279
+ tags?: {
280
+ [propertyName: string]: string;
281
+ };
282
+ /** Base size of the Elastic San appliance in TiB. */
283
+ baseSizeTiB?: number;
284
+ /** Extended size of the Elastic San appliance in TiB. */
285
+ extendedCapacitySizeTiB?: number;
286
+ }
287
+
288
+ /**
289
+ * Defines values for EncryptionType. \
290
+ * {@link KnownEncryptionType} can be used interchangeably with EncryptionType,
291
+ * this enum contains the known values that the service supports.
292
+ * ### Known values supported by the service
293
+ * **EncryptionAtRestWithPlatformKey**: Volume is encrypted at rest with Platform managed key. It is the default encryption type.
294
+ */
295
+ export declare type EncryptionType = string;
296
+
297
+ /** The resource management error additional info. */
298
+ export declare interface ErrorAdditionalInfo {
299
+ /**
300
+ * The additional info type.
301
+ * NOTE: This property will not be serialized. It can only be populated by the server.
302
+ */
303
+ readonly type?: string;
304
+ /**
305
+ * The additional info.
306
+ * NOTE: This property will not be serialized. It can only be populated by the server.
307
+ */
308
+ readonly info?: Record<string, unknown>;
309
+ }
310
+
311
+ /** The resource management error response. */
312
+ export declare interface ErrorModel {
313
+ /** RP error response. */
314
+ error?: ErrorResponse;
315
+ }
316
+
317
+ /** The resource management error response. */
318
+ export declare interface ErrorResponse {
319
+ /**
320
+ * The error code.
321
+ * NOTE: This property will not be serialized. It can only be populated by the server.
322
+ */
323
+ readonly code?: string;
324
+ /**
325
+ * The error message.
326
+ * NOTE: This property will not be serialized. It can only be populated by the server.
327
+ */
328
+ readonly message?: string;
329
+ /**
330
+ * The error target.
331
+ * NOTE: This property will not be serialized. It can only be populated by the server.
332
+ */
333
+ readonly target?: string;
334
+ /**
335
+ * The error details.
336
+ * NOTE: This property will not be serialized. It can only be populated by the server.
337
+ */
338
+ readonly details?: ErrorResponse[];
339
+ /**
340
+ * The error additional info.
341
+ * NOTE: This property will not be serialized. It can only be populated by the server.
342
+ */
343
+ readonly additionalInfo?: ErrorAdditionalInfo[];
344
+ }
345
+
346
+ /** Iscsi target information */
347
+ export declare interface IscsiTargetInfo {
348
+ /**
349
+ * iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
350
+ * NOTE: This property will not be serialized. It can only be populated by the server.
351
+ */
352
+ readonly targetIqn?: string;
353
+ /**
354
+ * iSCSI Target Portal Host Name
355
+ * NOTE: This property will not be serialized. It can only be populated by the server.
356
+ */
357
+ readonly targetPortalHostname?: string;
358
+ /**
359
+ * iSCSI Target Portal Port
360
+ * NOTE: This property will not be serialized. It can only be populated by the server.
361
+ */
362
+ readonly targetPortalPort?: number;
363
+ /**
364
+ * State of the operation on the resource.
365
+ * NOTE: This property will not be serialized. It can only be populated by the server.
366
+ */
367
+ readonly provisioningState?: ProvisioningStates;
368
+ /** Operational status of the iSCSI Target. */
369
+ status?: OperationalStatus;
370
+ }
371
+
372
+ /** Known values of {@link CreatedByType} that the service accepts. */
373
+ export declare enum KnownCreatedByType {
374
+ /** User */
375
+ User = "User",
376
+ /** Application */
377
+ Application = "Application",
378
+ /** ManagedIdentity */
379
+ ManagedIdentity = "ManagedIdentity",
380
+ /** Key */
381
+ Key = "Key"
382
+ }
383
+
384
+ /** Known values of {@link EncryptionType} that the service accepts. */
385
+ export declare enum KnownEncryptionType {
386
+ /** Volume is encrypted at rest with Platform managed key. It is the default encryption type. */
387
+ EncryptionAtRestWithPlatformKey = "EncryptionAtRestWithPlatformKey"
388
+ }
389
+
390
+ /** Known values of {@link OperationalStatus} that the service accepts. */
391
+ export declare enum KnownOperationalStatus {
392
+ /** Invalid */
393
+ Invalid = "Invalid",
394
+ /** Unknown */
395
+ Unknown = "Unknown",
396
+ /** Healthy */
397
+ Healthy = "Healthy",
398
+ /** Unhealthy */
399
+ Unhealthy = "Unhealthy",
400
+ /** Updating */
401
+ Updating = "Updating",
402
+ /** Running */
403
+ Running = "Running",
404
+ /** Stopped */
405
+ Stopped = "Stopped",
406
+ /** StoppedDeallocated */
407
+ StoppedDeallocated = "Stopped (deallocated)"
408
+ }
409
+
410
+ /** Known values of {@link ProvisioningStates} that the service accepts. */
411
+ export declare enum KnownProvisioningStates {
412
+ /** Invalid */
413
+ Invalid = "Invalid",
414
+ /** Succeeded */
415
+ Succeeded = "Succeeded",
416
+ /** Failed */
417
+ Failed = "Failed",
418
+ /** Canceled */
419
+ Canceled = "Canceled",
420
+ /** Pending */
421
+ Pending = "Pending",
422
+ /** Creating */
423
+ Creating = "Creating",
424
+ /** Updating */
425
+ Updating = "Updating",
426
+ /** Deleting */
427
+ Deleting = "Deleting"
428
+ }
429
+
430
+ /** Known values of {@link SkuName} that the service accepts. */
431
+ export declare enum KnownSkuName {
432
+ /** Premium locally redundant storage */
433
+ PremiumLRS = "Premium_LRS",
434
+ /** Premium zone redundant storage */
435
+ PremiumZRS = "Premium_ZRS"
436
+ }
437
+
438
+ /** Known values of {@link SkuTier} that the service accepts. */
439
+ export declare enum KnownSkuTier {
440
+ /** Premium Tier */
441
+ Premium = "Premium"
442
+ }
443
+
444
+ /** Known values of {@link StorageTargetType} that the service accepts. */
445
+ export declare enum KnownStorageTargetType {
446
+ /** Iscsi */
447
+ Iscsi = "Iscsi",
448
+ /** None */
449
+ None = "None"
450
+ }
451
+
452
+ /** A set of rules governing the network accessibility. */
453
+ export declare interface NetworkRuleSet {
454
+ /** The list of virtual network rules. */
455
+ virtualNetworkRules?: VirtualNetworkRule[];
456
+ }
457
+
458
+ /**
459
+ * Defines values for OperationalStatus. \
460
+ * {@link KnownOperationalStatus} can be used interchangeably with OperationalStatus,
461
+ * this enum contains the known values that the service supports.
462
+ * ### Known values supported by the service
463
+ * **Invalid** \
464
+ * **Unknown** \
465
+ * **Healthy** \
466
+ * **Unhealthy** \
467
+ * **Updating** \
468
+ * **Running** \
469
+ * **Stopped** \
470
+ * **Stopped (deallocated)**
471
+ */
472
+ export declare type OperationalStatus = string;
473
+
474
+ /** Interface representing a Operations. */
475
+ export declare interface Operations {
476
+ /**
477
+ * Gets a list of ElasticSan operations.
478
+ * @param options The options parameters.
479
+ */
480
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<ElasticSanRPOperation>;
481
+ }
482
+
483
+ /** Optional parameters. */
484
+ export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
485
+ }
486
+
487
+ /** Contains response data for the list operation. */
488
+ export declare type OperationsListResponse = ElasticSanOperationListResult;
489
+
490
+ /**
491
+ * Defines values for ProvisioningStates. \
492
+ * {@link KnownProvisioningStates} can be used interchangeably with ProvisioningStates,
493
+ * this enum contains the known values that the service supports.
494
+ * ### Known values supported by the service
495
+ * **Invalid** \
496
+ * **Succeeded** \
497
+ * **Failed** \
498
+ * **Canceled** \
499
+ * **Pending** \
500
+ * **Creating** \
501
+ * **Updating** \
502
+ * **Deleting**
503
+ */
504
+ export declare type ProvisioningStates = string;
505
+
506
+ /** The resource model definition. */
507
+ export declare interface Resource {
508
+ /**
509
+ * Azure resource identifier.
510
+ * NOTE: This property will not be serialized. It can only be populated by the server.
511
+ */
512
+ readonly id?: string;
513
+ /**
514
+ * Azure resource name.
515
+ * NOTE: This property will not be serialized. It can only be populated by the server.
516
+ */
517
+ readonly name?: string;
518
+ /**
519
+ * Azure resource type.
520
+ * NOTE: This property will not be serialized. It can only be populated by the server.
521
+ */
522
+ readonly type?: string;
523
+ /** Azure resource tags. */
524
+ tags?: {
525
+ [propertyName: string]: string;
526
+ };
527
+ }
528
+
529
+ /** The SKU name. Required for account creation; optional for update. */
530
+ export declare interface Sku {
531
+ /** The sku name. */
532
+ name: SkuName;
533
+ /** The sku tier. */
534
+ tier?: SkuTier;
535
+ }
536
+
537
+ /** The capability information in the specified SKU. */
538
+ export declare interface SKUCapability {
539
+ /**
540
+ * The name of capability.
541
+ * NOTE: This property will not be serialized. It can only be populated by the server.
542
+ */
543
+ readonly name?: string;
544
+ /**
545
+ * A string value to indicate states of given capability.
546
+ * NOTE: This property will not be serialized. It can only be populated by the server.
547
+ */
548
+ readonly value?: string;
549
+ }
550
+
551
+ /** ElasticSAN SKU and its properties */
552
+ export declare interface SkuInformation {
553
+ /** Sku Name */
554
+ name: SkuName;
555
+ /** Sku Tier */
556
+ tier?: SkuTier;
557
+ /**
558
+ * The type of the resource.
559
+ * NOTE: This property will not be serialized. It can only be populated by the server.
560
+ */
561
+ readonly resourceType?: string;
562
+ /**
563
+ * The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).
564
+ * NOTE: This property will not be serialized. It can only be populated by the server.
565
+ */
566
+ readonly locations?: string[];
567
+ /**
568
+ * Availability of the SKU for the location/zone
569
+ * NOTE: This property will not be serialized. It can only be populated by the server.
570
+ */
571
+ readonly locationInfo?: SkuLocationInfo[];
572
+ /**
573
+ * The capability information in the specified SKU.
574
+ * NOTE: This property will not be serialized. It can only be populated by the server.
575
+ */
576
+ readonly capabilities?: SKUCapability[];
577
+ }
578
+
579
+ /** List of SKU Information objects */
580
+ export declare interface SkuInformationList {
581
+ /**
582
+ * List of ResourceType Sku
583
+ * NOTE: This property will not be serialized. It can only be populated by the server.
584
+ */
585
+ readonly value?: SkuInformation[];
586
+ }
587
+
588
+ /** The location info. */
589
+ export declare interface SkuLocationInfo {
590
+ /**
591
+ * The location.
592
+ * NOTE: This property will not be serialized. It can only be populated by the server.
593
+ */
594
+ readonly location?: string;
595
+ /**
596
+ * The zones.
597
+ * NOTE: This property will not be serialized. It can only be populated by the server.
598
+ */
599
+ readonly zones?: string[];
600
+ }
601
+
602
+ /**
603
+ * Defines values for SkuName. \
604
+ * {@link KnownSkuName} can be used interchangeably with SkuName,
605
+ * this enum contains the known values that the service supports.
606
+ * ### Known values supported by the service
607
+ * **Premium_LRS**: Premium locally redundant storage \
608
+ * **Premium_ZRS**: Premium zone redundant storage
609
+ */
610
+ export declare type SkuName = string;
611
+
612
+ /** Interface representing a Skus. */
613
+ export declare interface Skus {
614
+ /**
615
+ * List all the available Skus in the region and information related to them
616
+ * @param options The options parameters.
617
+ */
618
+ list(options?: SkusListOptionalParams): PagedAsyncIterableIterator<SkuInformation>;
619
+ }
620
+
621
+ /** Optional parameters. */
622
+ export declare interface SkusListOptionalParams extends coreClient.OperationOptions {
623
+ /** Specify $filter='location eq <location>' to filter on location. */
624
+ filter?: string;
625
+ }
626
+
627
+ /** Contains response data for the list operation. */
628
+ export declare type SkusListResponse = SkuInformationList;
629
+
630
+ /**
631
+ * Defines values for SkuTier. \
632
+ * {@link KnownSkuTier} can be used interchangeably with SkuTier,
633
+ * this enum contains the known values that the service supports.
634
+ * ### Known values supported by the service
635
+ * **Premium**: Premium Tier
636
+ */
637
+ export declare type SkuTier = string;
638
+
639
+ /** Data source used when creating the volume. */
640
+ export declare interface SourceCreationData {
641
+ /** This enumerates the possible sources of a volume creation. */
642
+ createSource?: "None";
643
+ /** If createOption is Copy, this is the ARM id of the source snapshot or disk. If createOption is Restore, this is the ARM-like id of the source disk restore point. */
644
+ sourceUri?: string;
645
+ }
646
+
647
+ /** Defines values for State. */
648
+ export declare type State = "provisioning" | "deprovisioning" | "succeeded" | "failed" | "networkSourceDeleted";
649
+
650
+ /**
651
+ * Defines values for StorageTargetType. \
652
+ * {@link KnownStorageTargetType} can be used interchangeably with StorageTargetType,
653
+ * this enum contains the known values that the service supports.
654
+ * ### Known values supported by the service
655
+ * **Iscsi** \
656
+ * **None**
657
+ */
658
+ export declare type StorageTargetType = string;
659
+
660
+ /** Metadata pertaining to creation and last modification of the resource. */
661
+ export declare interface SystemData {
662
+ /** The identity that created the resource. */
663
+ createdBy?: string;
664
+ /** The type of identity that created the resource. */
665
+ createdByType?: CreatedByType;
666
+ /** The timestamp of resource creation (UTC). */
667
+ createdAt?: Date;
668
+ /** The identity that last modified the resource. */
669
+ lastModifiedBy?: string;
670
+ /** The type of identity that last modified the resource. */
671
+ lastModifiedByType?: CreatedByType;
672
+ /** The timestamp of resource last modification (UTC) */
673
+ lastModifiedAt?: Date;
674
+ }
675
+
676
+ /** The resource model definition for a ARM tracked top level resource. */
677
+ export declare interface TrackedResource extends Resource {
678
+ /** The geo-location where the resource lives. */
679
+ location?: string;
680
+ }
681
+
682
+ /** Virtual Network rule. */
683
+ export declare interface VirtualNetworkRule {
684
+ /** Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. */
685
+ virtualNetworkResourceId: string;
686
+ /** The action of virtual network rule. */
687
+ action?: "Allow";
688
+ /**
689
+ * Gets the state of virtual network rule.
690
+ * NOTE: This property will not be serialized. It can only be populated by the server.
691
+ */
692
+ readonly state?: State;
693
+ }
694
+
695
+ /** Response for Volume request. */
696
+ export declare interface Volume extends Resource {
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;
702
+ /**
703
+ * Unique Id of the volume in GUID format
704
+ * NOTE: This property will not be serialized. It can only be populated by the server.
705
+ */
706
+ readonly volumeId?: string;
707
+ /** State of the operation on the resource. */
708
+ creationData?: SourceCreationData;
709
+ /** Volume size. */
710
+ sizeGiB?: number;
711
+ /**
712
+ * Storage target information
713
+ * NOTE: This property will not be serialized. It can only be populated by the server.
714
+ */
715
+ readonly storageTarget?: IscsiTargetInfo;
716
+ }
717
+
718
+ /** Response for Volume Group request. */
719
+ export declare interface VolumeGroup extends Resource {
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;
725
+ /**
726
+ * State of the operation on the resource.
727
+ * NOTE: This property will not be serialized. It can only be populated by the server.
728
+ */
729
+ readonly provisioningState?: ProvisioningStates;
730
+ /** Type of storage target */
731
+ protocolType?: StorageTargetType;
732
+ /** Type of encryption */
733
+ encryption?: EncryptionType;
734
+ /** A collection of rules governing the accessibility from specific network locations. */
735
+ networkAcls?: NetworkRuleSet;
736
+ }
737
+
738
+ /** List of Volume Groups */
739
+ export declare interface VolumeGroupList {
740
+ /** An array of Volume Groups objects. */
741
+ value: VolumeGroup[];
742
+ /**
743
+ * URI to fetch the next section of the paginated response.
744
+ * NOTE: This property will not be serialized. It can only be populated by the server.
745
+ */
746
+ readonly nextLink?: string;
747
+ }
748
+
749
+ /** Interface representing a VolumeGroups. */
750
+ export declare interface VolumeGroups {
751
+ /**
752
+ * List VolumeGroups.
753
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
754
+ * @param elasticSanName The name of the ElasticSan.
755
+ * @param options The options parameters.
756
+ */
757
+ listByElasticSan(resourceGroupName: string, elasticSanName: string, options?: VolumeGroupsListByElasticSanOptionalParams): PagedAsyncIterableIterator<VolumeGroup>;
758
+ /**
759
+ * Create a Volume Group.
760
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
761
+ * @param elasticSanName The name of the ElasticSan.
762
+ * @param volumeGroupName The name of the VolumeGroup.
763
+ * @param parameters Volume Group object.
764
+ * @param options The options parameters.
765
+ */
766
+ beginCreate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroup, options?: VolumeGroupsCreateOptionalParams): Promise<PollerLike<PollOperationState<VolumeGroupsCreateResponse>, VolumeGroupsCreateResponse>>;
767
+ /**
768
+ * Create a Volume Group.
769
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
770
+ * @param elasticSanName The name of the ElasticSan.
771
+ * @param volumeGroupName The name of the VolumeGroup.
772
+ * @param parameters Volume Group object.
773
+ * @param options The options parameters.
774
+ */
775
+ beginCreateAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroup, options?: VolumeGroupsCreateOptionalParams): Promise<VolumeGroupsCreateResponse>;
776
+ /**
777
+ * Update an VolumeGroup.
778
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
779
+ * @param elasticSanName The name of the ElasticSan.
780
+ * @param volumeGroupName The name of the VolumeGroup.
781
+ * @param parameters Volume Group object.
782
+ * @param options The options parameters.
783
+ */
784
+ beginUpdate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroupUpdate, options?: VolumeGroupsUpdateOptionalParams): Promise<PollerLike<PollOperationState<VolumeGroupsUpdateResponse>, VolumeGroupsUpdateResponse>>;
785
+ /**
786
+ * Update an VolumeGroup.
787
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
788
+ * @param elasticSanName The name of the ElasticSan.
789
+ * @param volumeGroupName The name of the VolumeGroup.
790
+ * @param parameters Volume Group object.
791
+ * @param options The options parameters.
792
+ */
793
+ beginUpdateAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroupUpdate, options?: VolumeGroupsUpdateOptionalParams): Promise<VolumeGroupsUpdateResponse>;
794
+ /**
795
+ * Delete an VolumeGroup.
796
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
797
+ * @param elasticSanName The name of the ElasticSan.
798
+ * @param volumeGroupName The name of the VolumeGroup.
799
+ * @param options The options parameters.
800
+ */
801
+ beginDelete(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeGroupsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
802
+ /**
803
+ * Delete an VolumeGroup.
804
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
805
+ * @param elasticSanName The name of the ElasticSan.
806
+ * @param volumeGroupName The name of the VolumeGroup.
807
+ * @param options The options parameters.
808
+ */
809
+ beginDeleteAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeGroupsDeleteOptionalParams): Promise<void>;
810
+ /**
811
+ * Get an VolumeGroups.
812
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
813
+ * @param elasticSanName The name of the ElasticSan.
814
+ * @param volumeGroupName The name of the VolumeGroup.
815
+ * @param options The options parameters.
816
+ */
817
+ get(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeGroupsGetOptionalParams): Promise<VolumeGroupsGetResponse>;
818
+ }
819
+
820
+ /** Optional parameters. */
821
+ export declare interface VolumeGroupsCreateOptionalParams extends coreClient.OperationOptions {
822
+ /** Delay to wait until next poll, in milliseconds. */
823
+ updateIntervalInMs?: number;
824
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
825
+ resumeFrom?: string;
826
+ }
827
+
828
+ /** Contains response data for the create operation. */
829
+ export declare type VolumeGroupsCreateResponse = VolumeGroup;
830
+
831
+ /** Optional parameters. */
832
+ export declare interface VolumeGroupsDeleteOptionalParams extends coreClient.OperationOptions {
833
+ /** Delay to wait until next poll, in milliseconds. */
834
+ updateIntervalInMs?: number;
835
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
836
+ resumeFrom?: string;
837
+ }
838
+
839
+ /** Optional parameters. */
840
+ export declare interface VolumeGroupsGetOptionalParams extends coreClient.OperationOptions {
841
+ }
842
+
843
+ /** Contains response data for the get operation. */
844
+ export declare type VolumeGroupsGetResponse = VolumeGroup;
845
+
846
+ /** Optional parameters. */
847
+ export declare interface VolumeGroupsListByElasticSanNextOptionalParams extends coreClient.OperationOptions {
848
+ }
849
+
850
+ /** Contains response data for the listByElasticSanNext operation. */
851
+ export declare type VolumeGroupsListByElasticSanNextResponse = VolumeGroupList;
852
+
853
+ /** Optional parameters. */
854
+ export declare interface VolumeGroupsListByElasticSanOptionalParams extends coreClient.OperationOptions {
855
+ }
856
+
857
+ /** Contains response data for the listByElasticSan operation. */
858
+ export declare type VolumeGroupsListByElasticSanResponse = VolumeGroupList;
859
+
860
+ /** Optional parameters. */
861
+ export declare interface VolumeGroupsUpdateOptionalParams extends coreClient.OperationOptions {
862
+ /** Delay to wait until next poll, in milliseconds. */
863
+ updateIntervalInMs?: number;
864
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
865
+ resumeFrom?: string;
866
+ }
867
+
868
+ /** Contains response data for the update operation. */
869
+ export declare type VolumeGroupsUpdateResponse = VolumeGroup;
870
+
871
+ /** Volume Group request. */
872
+ export declare interface VolumeGroupUpdate {
873
+ /** Resource tags. */
874
+ tags?: {
875
+ [propertyName: string]: string;
876
+ };
877
+ /** Type of storage target */
878
+ protocolType?: StorageTargetType;
879
+ /** Type of encryption */
880
+ encryption?: EncryptionType;
881
+ /** A collection of rules governing the accessibility from specific network locations. */
882
+ networkAcls?: NetworkRuleSet;
883
+ }
884
+
885
+ /** List of Volumes */
886
+ export declare interface VolumeList {
887
+ /** An array of Volume objects. */
888
+ value: Volume[];
889
+ /**
890
+ * URI to fetch the next section of the paginated response.
891
+ * NOTE: This property will not be serialized. It can only be populated by the server.
892
+ */
893
+ readonly nextLink?: string;
894
+ }
895
+
896
+ /** Interface representing a Volumes. */
897
+ export declare interface Volumes {
898
+ /**
899
+ * List Volumes in a VolumeGroup.
900
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
901
+ * @param elasticSanName The name of the ElasticSan.
902
+ * @param volumeGroupName The name of the VolumeGroup.
903
+ * @param options The options parameters.
904
+ */
905
+ listByVolumeGroup(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumesListByVolumeGroupOptionalParams): PagedAsyncIterableIterator<Volume>;
906
+ /**
907
+ * Create a Volume.
908
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
909
+ * @param elasticSanName The name of the ElasticSan.
910
+ * @param volumeGroupName The name of the VolumeGroup.
911
+ * @param volumeName The name of the Volume.
912
+ * @param parameters Volume object.
913
+ * @param options The options parameters.
914
+ */
915
+ beginCreate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: Volume, options?: VolumesCreateOptionalParams): Promise<PollerLike<PollOperationState<VolumesCreateResponse>, VolumesCreateResponse>>;
916
+ /**
917
+ * Create a Volume.
918
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
919
+ * @param elasticSanName The name of the ElasticSan.
920
+ * @param volumeGroupName The name of the VolumeGroup.
921
+ * @param volumeName The name of the Volume.
922
+ * @param parameters Volume object.
923
+ * @param options The options parameters.
924
+ */
925
+ beginCreateAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: Volume, options?: VolumesCreateOptionalParams): Promise<VolumesCreateResponse>;
926
+ /**
927
+ * Update an Volume.
928
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
929
+ * @param elasticSanName The name of the ElasticSan.
930
+ * @param volumeGroupName The name of the VolumeGroup.
931
+ * @param volumeName The name of the Volume.
932
+ * @param parameters Volume object.
933
+ * @param options The options parameters.
934
+ */
935
+ beginUpdate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: VolumeUpdate, options?: VolumesUpdateOptionalParams): Promise<PollerLike<PollOperationState<VolumesUpdateResponse>, VolumesUpdateResponse>>;
936
+ /**
937
+ * Update an Volume.
938
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
939
+ * @param elasticSanName The name of the ElasticSan.
940
+ * @param volumeGroupName The name of the VolumeGroup.
941
+ * @param volumeName The name of the Volume.
942
+ * @param parameters Volume object.
943
+ * @param options The options parameters.
944
+ */
945
+ beginUpdateAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: VolumeUpdate, options?: VolumesUpdateOptionalParams): Promise<VolumesUpdateResponse>;
946
+ /**
947
+ * Delete an Volume.
948
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
949
+ * @param elasticSanName The name of the ElasticSan.
950
+ * @param volumeGroupName The name of the VolumeGroup.
951
+ * @param volumeName The name of the Volume.
952
+ * @param options The options parameters.
953
+ */
954
+ beginDelete(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
955
+ /**
956
+ * Delete an Volume.
957
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
958
+ * @param elasticSanName The name of the ElasticSan.
959
+ * @param volumeGroupName The name of the VolumeGroup.
960
+ * @param volumeName The name of the Volume.
961
+ * @param options The options parameters.
962
+ */
963
+ beginDeleteAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams): Promise<void>;
964
+ /**
965
+ * Get an Volume.
966
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
967
+ * @param elasticSanName The name of the ElasticSan.
968
+ * @param volumeGroupName The name of the VolumeGroup.
969
+ * @param volumeName The name of the Volume.
970
+ * @param options The options parameters.
971
+ */
972
+ get(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: VolumesGetOptionalParams): Promise<VolumesGetResponse>;
973
+ }
974
+
975
+ /** Optional parameters. */
976
+ export declare interface VolumesCreateOptionalParams extends coreClient.OperationOptions {
977
+ /** Delay to wait until next poll, in milliseconds. */
978
+ updateIntervalInMs?: number;
979
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
980
+ resumeFrom?: string;
981
+ }
982
+
983
+ /** Contains response data for the create operation. */
984
+ export declare type VolumesCreateResponse = Volume;
985
+
986
+ /** Optional parameters. */
987
+ export declare interface VolumesDeleteOptionalParams extends coreClient.OperationOptions {
988
+ /** Delay to wait until next poll, in milliseconds. */
989
+ updateIntervalInMs?: number;
990
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
991
+ resumeFrom?: string;
992
+ }
993
+
994
+ /** Optional parameters. */
995
+ export declare interface VolumesGetOptionalParams extends coreClient.OperationOptions {
996
+ }
997
+
998
+ /** Contains response data for the get operation. */
999
+ export declare type VolumesGetResponse = Volume;
1000
+
1001
+ /** Optional parameters. */
1002
+ export declare interface VolumesListByVolumeGroupNextOptionalParams extends coreClient.OperationOptions {
1003
+ }
1004
+
1005
+ /** Contains response data for the listByVolumeGroupNext operation. */
1006
+ export declare type VolumesListByVolumeGroupNextResponse = VolumeList;
1007
+
1008
+ /** Optional parameters. */
1009
+ export declare interface VolumesListByVolumeGroupOptionalParams extends coreClient.OperationOptions {
1010
+ }
1011
+
1012
+ /** Contains response data for the listByVolumeGroup operation. */
1013
+ export declare type VolumesListByVolumeGroupResponse = VolumeList;
1014
+
1015
+ /** Optional parameters. */
1016
+ export declare interface VolumesUpdateOptionalParams extends coreClient.OperationOptions {
1017
+ /** Delay to wait until next poll, in milliseconds. */
1018
+ updateIntervalInMs?: number;
1019
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1020
+ resumeFrom?: string;
1021
+ }
1022
+
1023
+ /** Contains response data for the update operation. */
1024
+ export declare type VolumesUpdateResponse = Volume;
1025
+
1026
+ /** Response for Volume request. */
1027
+ export declare interface VolumeUpdate {
1028
+ /** Resource tags. */
1029
+ tags?: {
1030
+ [propertyName: string]: string;
1031
+ };
1032
+ /** Volume size. */
1033
+ sizeGiB?: number;
1034
+ }
1035
+
1036
+ export { }