@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,691 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ /** List of operations supported by the RP. */
3
+ export interface ElasticSanOperationListResult {
4
+ /** An array of operations supported by the ElasticSan RP. */
5
+ value: ElasticSanRPOperation[];
6
+ /** URI to fetch the next section of the paginated response. */
7
+ nextLink?: string;
8
+ }
9
+ /** Description of a ElasticSan RP Operation */
10
+ export interface ElasticSanRPOperation {
11
+ /** The name of the operation being performed on this particular object */
12
+ name: string;
13
+ /**
14
+ * Indicates whether the operation applies to data-plane.
15
+ * NOTE: This property will not be serialized. It can only be populated by the server.
16
+ */
17
+ readonly isDataAction?: boolean;
18
+ /**
19
+ * Additional metadata about RP operation.
20
+ * NOTE: This property will not be serialized. It can only be populated by the server.
21
+ */
22
+ readonly display?: ElasticSanOperationDisplay;
23
+ }
24
+ /** Metadata about an operation. */
25
+ export interface ElasticSanOperationDisplay {
26
+ /** Localized friendly form of the resource provider name. */
27
+ provider: string;
28
+ /** Localized friendly form of the resource type related to this action/operation. */
29
+ resource: string;
30
+ /** Localized friendly name for the operation, as it should be shown to the user. */
31
+ operation: string;
32
+ /** Localized friendly description for the operation, as it should be shown to the user. */
33
+ description: string;
34
+ }
35
+ /** The resource management error response. */
36
+ export interface ErrorModel {
37
+ /** RP error response. */
38
+ error?: ErrorResponse;
39
+ }
40
+ /** The resource management error response. */
41
+ export interface ErrorResponse {
42
+ /**
43
+ * The error code.
44
+ * NOTE: This property will not be serialized. It can only be populated by the server.
45
+ */
46
+ readonly code?: string;
47
+ /**
48
+ * The error message.
49
+ * NOTE: This property will not be serialized. It can only be populated by the server.
50
+ */
51
+ readonly message?: string;
52
+ /**
53
+ * The error target.
54
+ * NOTE: This property will not be serialized. It can only be populated by the server.
55
+ */
56
+ readonly target?: string;
57
+ /**
58
+ * The error details.
59
+ * NOTE: This property will not be serialized. It can only be populated by the server.
60
+ */
61
+ readonly details?: ErrorResponse[];
62
+ /**
63
+ * The error additional info.
64
+ * NOTE: This property will not be serialized. It can only be populated by the server.
65
+ */
66
+ readonly additionalInfo?: ErrorAdditionalInfo[];
67
+ }
68
+ /** The resource management error additional info. */
69
+ export interface ErrorAdditionalInfo {
70
+ /**
71
+ * The additional info type.
72
+ * NOTE: This property will not be serialized. It can only be populated by the server.
73
+ */
74
+ readonly type?: string;
75
+ /**
76
+ * The additional info.
77
+ * NOTE: This property will not be serialized. It can only be populated by the server.
78
+ */
79
+ readonly info?: Record<string, unknown>;
80
+ }
81
+ /** List of SKU Information objects */
82
+ export interface SkuInformationList {
83
+ /**
84
+ * List of ResourceType Sku
85
+ * NOTE: This property will not be serialized. It can only be populated by the server.
86
+ */
87
+ readonly value?: SkuInformation[];
88
+ }
89
+ /** ElasticSAN SKU and its properties */
90
+ export interface SkuInformation {
91
+ /** Sku Name */
92
+ name: SkuName;
93
+ /** Sku Tier */
94
+ tier?: SkuTier;
95
+ /**
96
+ * The type of the resource.
97
+ * NOTE: This property will not be serialized. It can only be populated by the server.
98
+ */
99
+ readonly resourceType?: string;
100
+ /**
101
+ * 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.).
102
+ * NOTE: This property will not be serialized. It can only be populated by the server.
103
+ */
104
+ readonly locations?: string[];
105
+ /**
106
+ * Availability of the SKU for the location/zone
107
+ * NOTE: This property will not be serialized. It can only be populated by the server.
108
+ */
109
+ readonly locationInfo?: SkuLocationInfo[];
110
+ /**
111
+ * The capability information in the specified SKU.
112
+ * NOTE: This property will not be serialized. It can only be populated by the server.
113
+ */
114
+ readonly capabilities?: SKUCapability[];
115
+ }
116
+ /** The location info. */
117
+ export interface SkuLocationInfo {
118
+ /**
119
+ * The location.
120
+ * NOTE: This property will not be serialized. It can only be populated by the server.
121
+ */
122
+ readonly location?: string;
123
+ /**
124
+ * The zones.
125
+ * NOTE: This property will not be serialized. It can only be populated by the server.
126
+ */
127
+ readonly zones?: string[];
128
+ }
129
+ /** The capability information in the specified SKU. */
130
+ export interface SKUCapability {
131
+ /**
132
+ * The name of capability.
133
+ * NOTE: This property will not be serialized. It can only be populated by the server.
134
+ */
135
+ readonly name?: string;
136
+ /**
137
+ * A string value to indicate states of given capability.
138
+ * NOTE: This property will not be serialized. It can only be populated by the server.
139
+ */
140
+ readonly value?: string;
141
+ }
142
+ /** List of Elastic Sans */
143
+ export interface ElasticSanList {
144
+ /** An array of Elastic San objects. */
145
+ value: ElasticSan[];
146
+ /**
147
+ * URI to fetch the next section of the paginated response.
148
+ * NOTE: This property will not be serialized. It can only be populated by the server.
149
+ */
150
+ readonly nextLink?: string;
151
+ }
152
+ /** The SKU name. Required for account creation; optional for update. */
153
+ export interface Sku {
154
+ /** The sku name. */
155
+ name: SkuName;
156
+ /** The sku tier. */
157
+ tier?: SkuTier;
158
+ }
159
+ /** Metadata pertaining to creation and last modification of the resource. */
160
+ export interface SystemData {
161
+ /** The identity that created the resource. */
162
+ createdBy?: string;
163
+ /** The type of identity that created the resource. */
164
+ createdByType?: CreatedByType;
165
+ /** The timestamp of resource creation (UTC). */
166
+ createdAt?: Date;
167
+ /** The identity that last modified the resource. */
168
+ lastModifiedBy?: string;
169
+ /** The type of identity that last modified the resource. */
170
+ lastModifiedByType?: CreatedByType;
171
+ /** The timestamp of resource last modification (UTC) */
172
+ lastModifiedAt?: Date;
173
+ }
174
+ /** The resource model definition. */
175
+ export interface Resource {
176
+ /**
177
+ * Azure resource identifier.
178
+ * NOTE: This property will not be serialized. It can only be populated by the server.
179
+ */
180
+ readonly id?: string;
181
+ /**
182
+ * Azure resource name.
183
+ * NOTE: This property will not be serialized. It can only be populated by the server.
184
+ */
185
+ readonly name?: string;
186
+ /**
187
+ * Azure resource type.
188
+ * NOTE: This property will not be serialized. It can only be populated by the server.
189
+ */
190
+ readonly type?: string;
191
+ /** Azure resource tags. */
192
+ tags?: {
193
+ [propertyName: string]: string;
194
+ };
195
+ }
196
+ /** Response for ElasticSan update request. */
197
+ export interface ElasticSanUpdate {
198
+ /** Update tags */
199
+ tags?: {
200
+ [propertyName: string]: string;
201
+ };
202
+ /** Base size of the Elastic San appliance in TiB. */
203
+ baseSizeTiB?: number;
204
+ /** Extended size of the Elastic San appliance in TiB. */
205
+ extendedCapacitySizeTiB?: number;
206
+ }
207
+ /** List of Volume Groups */
208
+ export interface VolumeGroupList {
209
+ /** An array of Volume Groups objects. */
210
+ value: VolumeGroup[];
211
+ /**
212
+ * URI to fetch the next section of the paginated response.
213
+ * NOTE: This property will not be serialized. It can only be populated by the server.
214
+ */
215
+ readonly nextLink?: string;
216
+ }
217
+ /** A set of rules governing the network accessibility. */
218
+ export interface NetworkRuleSet {
219
+ /** The list of virtual network rules. */
220
+ virtualNetworkRules?: VirtualNetworkRule[];
221
+ }
222
+ /** Virtual Network rule. */
223
+ export interface VirtualNetworkRule {
224
+ /** Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. */
225
+ virtualNetworkResourceId: string;
226
+ /** The action of virtual network rule. */
227
+ action?: "Allow";
228
+ /**
229
+ * Gets the state of virtual network rule.
230
+ * NOTE: This property will not be serialized. It can only be populated by the server.
231
+ */
232
+ readonly state?: State;
233
+ }
234
+ /** Volume Group request. */
235
+ export interface VolumeGroupUpdate {
236
+ /** Resource tags. */
237
+ tags?: {
238
+ [propertyName: string]: string;
239
+ };
240
+ /** Type of storage target */
241
+ protocolType?: StorageTargetType;
242
+ /** Type of encryption */
243
+ encryption?: EncryptionType;
244
+ /** A collection of rules governing the accessibility from specific network locations. */
245
+ networkAcls?: NetworkRuleSet;
246
+ }
247
+ /** Data source used when creating the volume. */
248
+ export interface SourceCreationData {
249
+ /** This enumerates the possible sources of a volume creation. */
250
+ createSource?: "None";
251
+ /** 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. */
252
+ sourceUri?: string;
253
+ }
254
+ /** Iscsi target information */
255
+ export interface IscsiTargetInfo {
256
+ /**
257
+ * iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
258
+ * NOTE: This property will not be serialized. It can only be populated by the server.
259
+ */
260
+ readonly targetIqn?: string;
261
+ /**
262
+ * iSCSI Target Portal Host Name
263
+ * NOTE: This property will not be serialized. It can only be populated by the server.
264
+ */
265
+ readonly targetPortalHostname?: string;
266
+ /**
267
+ * iSCSI Target Portal Port
268
+ * NOTE: This property will not be serialized. It can only be populated by the server.
269
+ */
270
+ readonly targetPortalPort?: number;
271
+ /**
272
+ * State of the operation on the resource.
273
+ * NOTE: This property will not be serialized. It can only be populated by the server.
274
+ */
275
+ readonly provisioningState?: ProvisioningStates;
276
+ /** Operational status of the iSCSI Target. */
277
+ status?: OperationalStatus;
278
+ }
279
+ /** Response for Volume request. */
280
+ export interface VolumeUpdate {
281
+ /** Resource tags. */
282
+ tags?: {
283
+ [propertyName: string]: string;
284
+ };
285
+ /** Volume size. */
286
+ sizeGiB?: number;
287
+ }
288
+ /** List of Volumes */
289
+ export interface VolumeList {
290
+ /** An array of Volume objects. */
291
+ value: Volume[];
292
+ /**
293
+ * URI to fetch the next section of the paginated response.
294
+ * NOTE: This property will not be serialized. It can only be populated by the server.
295
+ */
296
+ readonly nextLink?: string;
297
+ }
298
+ /** The resource model definition for a ARM tracked top level resource. */
299
+ export interface TrackedResource extends Resource {
300
+ /** The geo-location where the resource lives. */
301
+ location?: string;
302
+ }
303
+ /** Response for Volume Group request. */
304
+ export interface VolumeGroup extends Resource {
305
+ /**
306
+ * Resource metadata required by ARM RPC
307
+ * NOTE: This property will not be serialized. It can only be populated by the server.
308
+ */
309
+ readonly systemData?: SystemData;
310
+ /**
311
+ * State of the operation on the resource.
312
+ * NOTE: This property will not be serialized. It can only be populated by the server.
313
+ */
314
+ readonly provisioningState?: ProvisioningStates;
315
+ /** Type of storage target */
316
+ protocolType?: StorageTargetType;
317
+ /** Type of encryption */
318
+ encryption?: EncryptionType;
319
+ /** A collection of rules governing the accessibility from specific network locations. */
320
+ networkAcls?: NetworkRuleSet;
321
+ }
322
+ /** Response for Volume request. */
323
+ export interface Volume extends Resource {
324
+ /**
325
+ * Resource metadata required by ARM RPC
326
+ * NOTE: This property will not be serialized. It can only be populated by the server.
327
+ */
328
+ readonly systemData?: SystemData;
329
+ /**
330
+ * Unique Id of the volume in GUID format
331
+ * NOTE: This property will not be serialized. It can only be populated by the server.
332
+ */
333
+ readonly volumeId?: string;
334
+ /** State of the operation on the resource. */
335
+ creationData?: SourceCreationData;
336
+ /** Volume size. */
337
+ sizeGiB?: number;
338
+ /**
339
+ * Storage target information
340
+ * NOTE: This property will not be serialized. It can only be populated by the server.
341
+ */
342
+ readonly storageTarget?: IscsiTargetInfo;
343
+ }
344
+ /** Response for ElasticSan request. */
345
+ export interface ElasticSan extends TrackedResource {
346
+ /**
347
+ * Resource metadata required by ARM RPC
348
+ * NOTE: This property will not be serialized. It can only be populated by the server.
349
+ */
350
+ readonly systemData?: SystemData;
351
+ /** resource sku */
352
+ sku: Sku;
353
+ /** Logical zone for Elastic San resource; example: ["1"]. */
354
+ availabilityZones?: string[];
355
+ /**
356
+ * State of the operation on the resource.
357
+ * NOTE: This property will not be serialized. It can only be populated by the server.
358
+ */
359
+ readonly provisioningState?: ProvisioningStates;
360
+ /** Base size of the Elastic San appliance in TiB. */
361
+ baseSizeTiB: number;
362
+ /** Extended size of the Elastic San appliance in TiB. */
363
+ extendedCapacitySizeTiB: number;
364
+ /**
365
+ * Total size of the provisioned Volumes in GiB.
366
+ * NOTE: This property will not be serialized. It can only be populated by the server.
367
+ */
368
+ readonly totalVolumeSizeGiB?: number;
369
+ /**
370
+ * Total number of volume groups in this Elastic San appliance.
371
+ * NOTE: This property will not be serialized. It can only be populated by the server.
372
+ */
373
+ readonly volumeGroupCount?: number;
374
+ /**
375
+ * Total Provisioned IOPS of the Elastic San appliance.
376
+ * NOTE: This property will not be serialized. It can only be populated by the server.
377
+ */
378
+ readonly totalIops?: number;
379
+ /**
380
+ * Total Provisioned MBps Elastic San appliance.
381
+ * NOTE: This property will not be serialized. It can only be populated by the server.
382
+ */
383
+ readonly totalMBps?: number;
384
+ /**
385
+ * Total size of the Elastic San appliance in TB.
386
+ * NOTE: This property will not be serialized. It can only be populated by the server.
387
+ */
388
+ readonly totalSizeTiB?: number;
389
+ }
390
+ /** Known values of {@link SkuName} that the service accepts. */
391
+ export declare enum KnownSkuName {
392
+ /** Premium locally redundant storage */
393
+ PremiumLRS = "Premium_LRS",
394
+ /** Premium zone redundant storage */
395
+ PremiumZRS = "Premium_ZRS"
396
+ }
397
+ /**
398
+ * Defines values for SkuName. \
399
+ * {@link KnownSkuName} can be used interchangeably with SkuName,
400
+ * this enum contains the known values that the service supports.
401
+ * ### Known values supported by the service
402
+ * **Premium_LRS**: Premium locally redundant storage \
403
+ * **Premium_ZRS**: Premium zone redundant storage
404
+ */
405
+ export declare type SkuName = string;
406
+ /** Known values of {@link SkuTier} that the service accepts. */
407
+ export declare enum KnownSkuTier {
408
+ /** Premium Tier */
409
+ Premium = "Premium"
410
+ }
411
+ /**
412
+ * Defines values for SkuTier. \
413
+ * {@link KnownSkuTier} can be used interchangeably with SkuTier,
414
+ * this enum contains the known values that the service supports.
415
+ * ### Known values supported by the service
416
+ * **Premium**: Premium Tier
417
+ */
418
+ export declare type SkuTier = string;
419
+ /** Known values of {@link ProvisioningStates} that the service accepts. */
420
+ export declare enum KnownProvisioningStates {
421
+ /** Invalid */
422
+ Invalid = "Invalid",
423
+ /** Succeeded */
424
+ Succeeded = "Succeeded",
425
+ /** Failed */
426
+ Failed = "Failed",
427
+ /** Canceled */
428
+ Canceled = "Canceled",
429
+ /** Pending */
430
+ Pending = "Pending",
431
+ /** Creating */
432
+ Creating = "Creating",
433
+ /** Updating */
434
+ Updating = "Updating",
435
+ /** Deleting */
436
+ Deleting = "Deleting"
437
+ }
438
+ /**
439
+ * Defines values for ProvisioningStates. \
440
+ * {@link KnownProvisioningStates} can be used interchangeably with ProvisioningStates,
441
+ * this enum contains the known values that the service supports.
442
+ * ### Known values supported by the service
443
+ * **Invalid** \
444
+ * **Succeeded** \
445
+ * **Failed** \
446
+ * **Canceled** \
447
+ * **Pending** \
448
+ * **Creating** \
449
+ * **Updating** \
450
+ * **Deleting**
451
+ */
452
+ export declare type ProvisioningStates = string;
453
+ /** Known values of {@link CreatedByType} that the service accepts. */
454
+ export declare enum KnownCreatedByType {
455
+ /** User */
456
+ User = "User",
457
+ /** Application */
458
+ Application = "Application",
459
+ /** ManagedIdentity */
460
+ ManagedIdentity = "ManagedIdentity",
461
+ /** Key */
462
+ Key = "Key"
463
+ }
464
+ /**
465
+ * Defines values for CreatedByType. \
466
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
467
+ * this enum contains the known values that the service supports.
468
+ * ### Known values supported by the service
469
+ * **User** \
470
+ * **Application** \
471
+ * **ManagedIdentity** \
472
+ * **Key**
473
+ */
474
+ export declare type CreatedByType = string;
475
+ /** Known values of {@link StorageTargetType} that the service accepts. */
476
+ export declare enum KnownStorageTargetType {
477
+ /** Iscsi */
478
+ Iscsi = "Iscsi",
479
+ /** None */
480
+ None = "None"
481
+ }
482
+ /**
483
+ * Defines values for StorageTargetType. \
484
+ * {@link KnownStorageTargetType} can be used interchangeably with StorageTargetType,
485
+ * this enum contains the known values that the service supports.
486
+ * ### Known values supported by the service
487
+ * **Iscsi** \
488
+ * **None**
489
+ */
490
+ export declare type StorageTargetType = string;
491
+ /** Known values of {@link EncryptionType} that the service accepts. */
492
+ export declare enum KnownEncryptionType {
493
+ /** Volume is encrypted at rest with Platform managed key. It is the default encryption type. */
494
+ EncryptionAtRestWithPlatformKey = "EncryptionAtRestWithPlatformKey"
495
+ }
496
+ /**
497
+ * Defines values for EncryptionType. \
498
+ * {@link KnownEncryptionType} can be used interchangeably with EncryptionType,
499
+ * this enum contains the known values that the service supports.
500
+ * ### Known values supported by the service
501
+ * **EncryptionAtRestWithPlatformKey**: Volume is encrypted at rest with Platform managed key. It is the default encryption type.
502
+ */
503
+ export declare type EncryptionType = string;
504
+ /** Known values of {@link OperationalStatus} that the service accepts. */
505
+ export declare enum KnownOperationalStatus {
506
+ /** Invalid */
507
+ Invalid = "Invalid",
508
+ /** Unknown */
509
+ Unknown = "Unknown",
510
+ /** Healthy */
511
+ Healthy = "Healthy",
512
+ /** Unhealthy */
513
+ Unhealthy = "Unhealthy",
514
+ /** Updating */
515
+ Updating = "Updating",
516
+ /** Running */
517
+ Running = "Running",
518
+ /** Stopped */
519
+ Stopped = "Stopped",
520
+ /** StoppedDeallocated */
521
+ StoppedDeallocated = "Stopped (deallocated)"
522
+ }
523
+ /**
524
+ * Defines values for OperationalStatus. \
525
+ * {@link KnownOperationalStatus} can be used interchangeably with OperationalStatus,
526
+ * this enum contains the known values that the service supports.
527
+ * ### Known values supported by the service
528
+ * **Invalid** \
529
+ * **Unknown** \
530
+ * **Healthy** \
531
+ * **Unhealthy** \
532
+ * **Updating** \
533
+ * **Running** \
534
+ * **Stopped** \
535
+ * **Stopped (deallocated)**
536
+ */
537
+ export declare type OperationalStatus = string;
538
+ /** Defines values for State. */
539
+ export declare type State = "provisioning" | "deprovisioning" | "succeeded" | "failed" | "networkSourceDeleted";
540
+ /** Optional parameters. */
541
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
542
+ }
543
+ /** Contains response data for the list operation. */
544
+ export declare type OperationsListResponse = ElasticSanOperationListResult;
545
+ /** Optional parameters. */
546
+ export interface SkusListOptionalParams extends coreClient.OperationOptions {
547
+ /** Specify $filter='location eq <location>' to filter on location. */
548
+ filter?: string;
549
+ }
550
+ /** Contains response data for the list operation. */
551
+ export declare type SkusListResponse = SkuInformationList;
552
+ /** Optional parameters. */
553
+ export interface ElasticSansListBySubscriptionOptionalParams extends coreClient.OperationOptions {
554
+ }
555
+ /** Contains response data for the listBySubscription operation. */
556
+ export declare type ElasticSansListBySubscriptionResponse = ElasticSanList;
557
+ /** Optional parameters. */
558
+ export interface ElasticSansListByResourceGroupOptionalParams extends coreClient.OperationOptions {
559
+ }
560
+ /** Contains response data for the listByResourceGroup operation. */
561
+ export declare type ElasticSansListByResourceGroupResponse = ElasticSanList;
562
+ /** Optional parameters. */
563
+ export interface ElasticSansCreateOptionalParams extends coreClient.OperationOptions {
564
+ /** Delay to wait until next poll, in milliseconds. */
565
+ updateIntervalInMs?: number;
566
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
567
+ resumeFrom?: string;
568
+ }
569
+ /** Contains response data for the create operation. */
570
+ export declare type ElasticSansCreateResponse = ElasticSan;
571
+ /** Optional parameters. */
572
+ export interface ElasticSansUpdateOptionalParams extends coreClient.OperationOptions {
573
+ /** Delay to wait until next poll, in milliseconds. */
574
+ updateIntervalInMs?: number;
575
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
576
+ resumeFrom?: string;
577
+ }
578
+ /** Contains response data for the update operation. */
579
+ export declare type ElasticSansUpdateResponse = ElasticSan;
580
+ /** Optional parameters. */
581
+ export interface ElasticSansDeleteOptionalParams extends coreClient.OperationOptions {
582
+ /** Delay to wait until next poll, in milliseconds. */
583
+ updateIntervalInMs?: number;
584
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
585
+ resumeFrom?: string;
586
+ }
587
+ /** Optional parameters. */
588
+ export interface ElasticSansGetOptionalParams extends coreClient.OperationOptions {
589
+ }
590
+ /** Contains response data for the get operation. */
591
+ export declare type ElasticSansGetResponse = ElasticSan;
592
+ /** Optional parameters. */
593
+ export interface ElasticSansListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
594
+ }
595
+ /** Contains response data for the listBySubscriptionNext operation. */
596
+ export declare type ElasticSansListBySubscriptionNextResponse = ElasticSanList;
597
+ /** Optional parameters. */
598
+ export interface ElasticSansListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
599
+ }
600
+ /** Contains response data for the listByResourceGroupNext operation. */
601
+ export declare type ElasticSansListByResourceGroupNextResponse = ElasticSanList;
602
+ /** Optional parameters. */
603
+ export interface VolumeGroupsListByElasticSanOptionalParams extends coreClient.OperationOptions {
604
+ }
605
+ /** Contains response data for the listByElasticSan operation. */
606
+ export declare type VolumeGroupsListByElasticSanResponse = VolumeGroupList;
607
+ /** Optional parameters. */
608
+ export interface VolumeGroupsCreateOptionalParams extends coreClient.OperationOptions {
609
+ /** Delay to wait until next poll, in milliseconds. */
610
+ updateIntervalInMs?: number;
611
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
612
+ resumeFrom?: string;
613
+ }
614
+ /** Contains response data for the create operation. */
615
+ export declare type VolumeGroupsCreateResponse = VolumeGroup;
616
+ /** Optional parameters. */
617
+ export interface VolumeGroupsUpdateOptionalParams extends coreClient.OperationOptions {
618
+ /** Delay to wait until next poll, in milliseconds. */
619
+ updateIntervalInMs?: number;
620
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
621
+ resumeFrom?: string;
622
+ }
623
+ /** Contains response data for the update operation. */
624
+ export declare type VolumeGroupsUpdateResponse = VolumeGroup;
625
+ /** Optional parameters. */
626
+ export interface VolumeGroupsDeleteOptionalParams extends coreClient.OperationOptions {
627
+ /** Delay to wait until next poll, in milliseconds. */
628
+ updateIntervalInMs?: number;
629
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
630
+ resumeFrom?: string;
631
+ }
632
+ /** Optional parameters. */
633
+ export interface VolumeGroupsGetOptionalParams extends coreClient.OperationOptions {
634
+ }
635
+ /** Contains response data for the get operation. */
636
+ export declare type VolumeGroupsGetResponse = VolumeGroup;
637
+ /** Optional parameters. */
638
+ export interface VolumeGroupsListByElasticSanNextOptionalParams extends coreClient.OperationOptions {
639
+ }
640
+ /** Contains response data for the listByElasticSanNext operation. */
641
+ export declare type VolumeGroupsListByElasticSanNextResponse = VolumeGroupList;
642
+ /** Optional parameters. */
643
+ export interface VolumesCreateOptionalParams extends coreClient.OperationOptions {
644
+ /** Delay to wait until next poll, in milliseconds. */
645
+ updateIntervalInMs?: number;
646
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
647
+ resumeFrom?: string;
648
+ }
649
+ /** Contains response data for the create operation. */
650
+ export declare type VolumesCreateResponse = Volume;
651
+ /** Optional parameters. */
652
+ export interface VolumesUpdateOptionalParams extends coreClient.OperationOptions {
653
+ /** Delay to wait until next poll, in milliseconds. */
654
+ updateIntervalInMs?: number;
655
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
656
+ resumeFrom?: string;
657
+ }
658
+ /** Contains response data for the update operation. */
659
+ export declare type VolumesUpdateResponse = Volume;
660
+ /** Optional parameters. */
661
+ export interface VolumesDeleteOptionalParams extends coreClient.OperationOptions {
662
+ /** Delay to wait until next poll, in milliseconds. */
663
+ updateIntervalInMs?: number;
664
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
665
+ resumeFrom?: string;
666
+ }
667
+ /** Optional parameters. */
668
+ export interface VolumesGetOptionalParams extends coreClient.OperationOptions {
669
+ }
670
+ /** Contains response data for the get operation. */
671
+ export declare type VolumesGetResponse = Volume;
672
+ /** Optional parameters. */
673
+ export interface VolumesListByVolumeGroupOptionalParams extends coreClient.OperationOptions {
674
+ }
675
+ /** Contains response data for the listByVolumeGroup operation. */
676
+ export declare type VolumesListByVolumeGroupResponse = VolumeList;
677
+ /** Optional parameters. */
678
+ export interface VolumesListByVolumeGroupNextOptionalParams extends coreClient.OperationOptions {
679
+ }
680
+ /** Contains response data for the listByVolumeGroupNext operation. */
681
+ export declare type VolumesListByVolumeGroupNextResponse = VolumeList;
682
+ /** Optional parameters. */
683
+ export interface ElasticSanManagementOptionalParams extends coreClient.ServiceClientOptions {
684
+ /** server parameter */
685
+ $host?: string;
686
+ /** Api Version */
687
+ apiVersion?: string;
688
+ /** Overrides client endpoint. */
689
+ endpoint?: string;
690
+ }
691
+ //# sourceMappingURL=index.d.ts.map