@azure/arm-elasticsan 1.2.0-beta.1 → 1.2.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (604) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/LICENSE +3 -3
  3. package/README.md +24 -18
  4. package/dist/browser/elasticSanManagement.d.ts +48 -0
  5. package/dist/browser/elasticSanManagement.d.ts.map +1 -0
  6. package/dist/browser/elasticSanManagement.js +206 -0
  7. package/dist/browser/elasticSanManagement.js.map +1 -0
  8. package/dist/browser/index.d.ts +5 -0
  9. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  10. package/{dist-esm/src → dist/browser}/index.js +4 -4
  11. package/dist/browser/index.js.map +1 -0
  12. package/dist/browser/lroImpl.js.map +1 -0
  13. package/{dist-esm/src → dist/browser}/models/index.d.ts +130 -2
  14. package/dist/browser/models/index.d.ts.map +1 -0
  15. package/{dist-esm/src → dist/browser}/models/index.js +28 -0
  16. package/dist/browser/models/index.js.map +1 -0
  17. package/{dist-esm/src → dist/browser}/models/mappers.d.ts +7 -0
  18. package/dist/browser/models/mappers.d.ts.map +1 -0
  19. package/{dist-esm/src → dist/browser}/models/mappers.js +133 -0
  20. package/dist/browser/models/mappers.js.map +1 -0
  21. package/{dist-esm/src → dist/browser}/models/parameters.d.ts +5 -1
  22. package/dist/browser/models/parameters.d.ts.map +1 -0
  23. package/{dist-esm/src → dist/browser}/models/parameters.js +29 -3
  24. package/dist/browser/models/parameters.js.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operations/elasticSans.d.ts +3 -3
  26. package/dist/browser/operations/elasticSans.d.ts.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/elasticSans.js +116 -128
  28. package/dist/browser/operations/elasticSans.js.map +1 -0
  29. package/dist/browser/operations/index.d.ts +9 -0
  30. package/dist/browser/operations/index.d.ts.map +1 -0
  31. package/dist/browser/operations/index.js +16 -0
  32. package/dist/browser/operations/index.js.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  34. package/dist/browser/operations/operations.d.ts.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/operations.js +2 -2
  36. package/dist/browser/operations/operations.js.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
  38. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
  39. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +88 -96
  40. package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
  41. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +3 -3
  42. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +2 -2
  44. package/dist/browser/operations/privateLinkResources.js.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operations/skus.d.ts +3 -3
  46. package/dist/browser/operations/skus.d.ts.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operations/skus.js +2 -2
  48. package/dist/browser/operations/skus.js.map +1 -0
  49. package/{dist-esm/src → dist/browser}/operations/volumeGroups.d.ts +3 -3
  50. package/dist/browser/operations/volumeGroups.d.ts.map +1 -0
  51. package/{dist-esm/src → dist/browser}/operations/volumeGroups.js +134 -140
  52. package/dist/browser/operations/volumeGroups.js.map +1 -0
  53. package/{dist-esm/src → dist/browser}/operations/volumeSnapshots.d.ts +3 -3
  54. package/dist/browser/operations/volumeSnapshots.d.ts.map +1 -0
  55. package/{dist-esm/src → dist/browser}/operations/volumeSnapshots.js +91 -99
  56. package/dist/browser/operations/volumeSnapshots.js.map +1 -0
  57. package/dist/browser/operations/volumes.d.ts +151 -0
  58. package/dist/browser/operations/volumes.d.ts.map +1 -0
  59. package/dist/browser/operations/volumes.js +687 -0
  60. package/dist/browser/operations/volumes.js.map +1 -0
  61. package/{dist-esm/src → dist/browser}/operationsInterfaces/elasticSans.d.ts +1 -1
  62. package/dist/browser/operationsInterfaces/elasticSans.d.ts.map +1 -0
  63. package/dist/browser/operationsInterfaces/elasticSans.js.map +1 -0
  64. package/dist/browser/operationsInterfaces/index.d.ts +9 -0
  65. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  66. package/dist/browser/operationsInterfaces/index.js +16 -0
  67. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  68. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  69. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  70. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  71. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
  72. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  73. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  74. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +1 -1
  75. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  76. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
  77. package/{dist-esm/src → dist/browser}/operationsInterfaces/skus.d.ts +1 -1
  78. package/{dist-esm/src → dist/browser}/operationsInterfaces/skus.d.ts.map +1 -1
  79. package/dist/browser/operationsInterfaces/skus.js.map +1 -0
  80. package/{dist-esm/src → dist/browser}/operationsInterfaces/volumeGroups.d.ts +1 -1
  81. package/dist/browser/operationsInterfaces/volumeGroups.d.ts.map +1 -0
  82. package/dist/browser/operationsInterfaces/volumeGroups.js.map +1 -0
  83. package/{dist-esm/src → dist/browser}/operationsInterfaces/volumeSnapshots.d.ts +1 -1
  84. package/dist/browser/operationsInterfaces/volumeSnapshots.d.ts.map +1 -0
  85. package/dist/browser/operationsInterfaces/volumeSnapshots.js.map +1 -0
  86. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/volumes.d.ts +33 -18
  87. package/dist/browser/operationsInterfaces/volumes.d.ts.map +1 -0
  88. package/dist/browser/operationsInterfaces/volumes.js.map +1 -0
  89. package/dist/browser/package.json +3 -0
  90. package/dist/browser/pagingHelper.js.map +1 -0
  91. package/dist/commonjs/elasticSanManagement.d.ts +48 -0
  92. package/dist/commonjs/elasticSanManagement.d.ts.map +1 -0
  93. package/dist/commonjs/elasticSanManagement.js +211 -0
  94. package/dist/commonjs/elasticSanManagement.js.map +1 -0
  95. package/dist/commonjs/index.d.ts +5 -0
  96. package/dist/commonjs/index.d.ts.map +1 -0
  97. package/dist/commonjs/index.js +19 -0
  98. package/dist/commonjs/index.js.map +1 -0
  99. package/dist/commonjs/lroImpl.d.ts +11 -0
  100. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  101. package/dist/commonjs/lroImpl.js +24 -0
  102. package/dist/commonjs/lroImpl.js.map +1 -0
  103. package/{types/arm-elasticsan.d.ts → dist/commonjs/models/index.d.ts} +1385 -1809
  104. package/dist/commonjs/models/index.d.ts.map +1 -0
  105. package/dist/commonjs/models/index.js +213 -0
  106. package/dist/commonjs/models/index.js.map +1 -0
  107. package/dist/commonjs/models/mappers.d.ts +71 -0
  108. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  109. package/dist/commonjs/models/mappers.js +1822 -0
  110. package/dist/commonjs/models/mappers.js.map +1 -0
  111. package/dist/commonjs/models/parameters.d.ts +29 -0
  112. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  113. package/dist/commonjs/models/parameters.js +249 -0
  114. package/dist/commonjs/models/parameters.js.map +1 -0
  115. package/dist/commonjs/operations/elasticSans.d.ts +107 -0
  116. package/dist/commonjs/operations/elasticSans.d.ts.map +1 -0
  117. package/dist/commonjs/operations/elasticSans.js +538 -0
  118. package/dist/commonjs/operations/elasticSans.js.map +1 -0
  119. package/dist/commonjs/operations/index.d.ts +9 -0
  120. package/dist/commonjs/operations/index.d.ts.map +1 -0
  121. package/dist/commonjs/operations/index.js +19 -0
  122. package/dist/commonjs/operations/index.js.map +1 -0
  123. package/dist/commonjs/operations/operations.d.ts +26 -0
  124. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  125. package/dist/commonjs/operations/operations.js +100 -0
  126. package/dist/commonjs/operations/operations.js.map +1 -0
  127. package/dist/commonjs/operations/privateEndpointConnections.d.ts +73 -0
  128. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  129. package/dist/commonjs/operations/privateEndpointConnections.js +325 -0
  130. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  131. package/dist/commonjs/operations/privateLinkResources.d.ts +20 -0
  132. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
  133. package/dist/commonjs/operations/privateLinkResources.js +58 -0
  134. package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
  135. package/dist/commonjs/operations/skus.d.ts +26 -0
  136. package/dist/commonjs/operations/skus.d.ts.map +1 -0
  137. package/dist/commonjs/operations/skus.js +100 -0
  138. package/dist/commonjs/operations/skus.js.map +1 -0
  139. package/dist/commonjs/operations/volumeGroups.d.ts +99 -0
  140. package/dist/commonjs/operations/volumeGroups.d.ts.map +1 -0
  141. package/dist/commonjs/operations/volumeGroups.js +461 -0
  142. package/dist/commonjs/operations/volumeGroups.js.map +1 -0
  143. package/dist/commonjs/operations/volumeSnapshots.d.ts +89 -0
  144. package/dist/commonjs/operations/volumeSnapshots.d.ts.map +1 -0
  145. package/dist/commonjs/operations/volumeSnapshots.js +386 -0
  146. package/dist/commonjs/operations/volumeSnapshots.js.map +1 -0
  147. package/dist/commonjs/operations/volumes.d.ts +151 -0
  148. package/dist/commonjs/operations/volumes.d.ts.map +1 -0
  149. package/dist/commonjs/operations/volumes.js +691 -0
  150. package/dist/commonjs/operations/volumes.js.map +1 -0
  151. package/dist/commonjs/operationsInterfaces/elasticSans.d.ts +71 -0
  152. package/dist/commonjs/operationsInterfaces/elasticSans.d.ts.map +1 -0
  153. package/dist/commonjs/operationsInterfaces/elasticSans.js +10 -0
  154. package/dist/commonjs/operationsInterfaces/elasticSans.js.map +1 -0
  155. package/dist/commonjs/operationsInterfaces/index.d.ts +9 -0
  156. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  157. package/dist/commonjs/operationsInterfaces/index.js +19 -0
  158. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  159. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  160. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  161. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  162. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  163. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
  164. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  165. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  166. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  167. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +12 -0
  168. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  169. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
  170. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
  171. package/dist/commonjs/operationsInterfaces/skus.d.ts +11 -0
  172. package/dist/commonjs/operationsInterfaces/skus.d.ts.map +1 -0
  173. package/dist/commonjs/operationsInterfaces/skus.js +10 -0
  174. package/dist/commonjs/operationsInterfaces/skus.js.map +1 -0
  175. package/dist/commonjs/operationsInterfaces/volumeGroups.d.ts +74 -0
  176. package/dist/commonjs/operationsInterfaces/volumeGroups.d.ts.map +1 -0
  177. package/dist/commonjs/operationsInterfaces/volumeGroups.js +10 -0
  178. package/dist/commonjs/operationsInterfaces/volumeGroups.js.map +1 -0
  179. package/dist/commonjs/operationsInterfaces/volumeSnapshots.d.ts +62 -0
  180. package/dist/commonjs/operationsInterfaces/volumeSnapshots.d.ts.map +1 -0
  181. package/dist/commonjs/operationsInterfaces/volumeSnapshots.js +10 -0
  182. package/dist/commonjs/operationsInterfaces/volumeSnapshots.js.map +1 -0
  183. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/volumes.d.ts +43 -1
  184. package/dist/commonjs/operationsInterfaces/volumes.d.ts.map +1 -0
  185. package/dist/commonjs/operationsInterfaces/volumes.js +10 -0
  186. package/dist/commonjs/operationsInterfaces/volumes.js.map +1 -0
  187. package/dist/commonjs/package.json +3 -0
  188. package/dist/commonjs/pagingHelper.d.ts +13 -0
  189. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  190. package/dist/commonjs/pagingHelper.js +36 -0
  191. package/dist/commonjs/pagingHelper.js.map +1 -0
  192. package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
  193. package/dist/esm/elasticSanManagement.d.ts +48 -0
  194. package/dist/esm/elasticSanManagement.d.ts.map +1 -0
  195. package/dist/esm/elasticSanManagement.js +206 -0
  196. package/dist/esm/elasticSanManagement.js.map +1 -0
  197. package/dist/esm/index.d.ts +5 -0
  198. package/dist/esm/index.d.ts.map +1 -0
  199. package/{src/index.ts → dist/esm/index.js} +5 -5
  200. package/dist/esm/index.js.map +1 -0
  201. package/dist/esm/lroImpl.d.ts +11 -0
  202. package/dist/esm/lroImpl.d.ts.map +1 -0
  203. package/dist/esm/lroImpl.js +21 -0
  204. package/dist/esm/lroImpl.js.map +1 -0
  205. package/dist/esm/models/index.d.ts +1385 -0
  206. package/dist/esm/models/index.d.ts.map +1 -0
  207. package/dist/esm/models/index.js +210 -0
  208. package/dist/esm/models/index.js.map +1 -0
  209. package/dist/esm/models/mappers.d.ts +71 -0
  210. package/dist/esm/models/mappers.d.ts.map +1 -0
  211. package/dist/esm/models/mappers.js +1818 -0
  212. package/dist/esm/models/mappers.js.map +1 -0
  213. package/dist/esm/models/parameters.d.ts +29 -0
  214. package/dist/esm/models/parameters.d.ts.map +1 -0
  215. package/dist/esm/models/parameters.js +246 -0
  216. package/dist/esm/models/parameters.js.map +1 -0
  217. package/dist/esm/operations/elasticSans.d.ts +107 -0
  218. package/dist/esm/operations/elasticSans.d.ts.map +1 -0
  219. package/dist/esm/operations/elasticSans.js +534 -0
  220. package/dist/esm/operations/elasticSans.js.map +1 -0
  221. package/dist/esm/operations/index.d.ts +9 -0
  222. package/dist/esm/operations/index.d.ts.map +1 -0
  223. package/dist/esm/operations/index.js +16 -0
  224. package/dist/esm/operations/index.js.map +1 -0
  225. package/dist/esm/operations/operations.d.ts +26 -0
  226. package/dist/esm/operations/operations.d.ts.map +1 -0
  227. package/dist/esm/operations/operations.js +96 -0
  228. package/dist/esm/operations/operations.js.map +1 -0
  229. package/dist/esm/operations/privateEndpointConnections.d.ts +73 -0
  230. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  231. package/dist/esm/operations/privateEndpointConnections.js +321 -0
  232. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  233. package/dist/esm/operations/privateLinkResources.d.ts +20 -0
  234. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
  235. package/dist/esm/operations/privateLinkResources.js +53 -0
  236. package/dist/esm/operations/privateLinkResources.js.map +1 -0
  237. package/dist/esm/operations/skus.d.ts +26 -0
  238. package/dist/esm/operations/skus.d.ts.map +1 -0
  239. package/dist/esm/operations/skus.js +96 -0
  240. package/dist/esm/operations/skus.js.map +1 -0
  241. package/dist/esm/operations/volumeGroups.d.ts +99 -0
  242. package/dist/esm/operations/volumeGroups.d.ts.map +1 -0
  243. package/dist/esm/operations/volumeGroups.js +457 -0
  244. package/dist/esm/operations/volumeGroups.js.map +1 -0
  245. package/dist/esm/operations/volumeSnapshots.d.ts +89 -0
  246. package/dist/esm/operations/volumeSnapshots.d.ts.map +1 -0
  247. package/dist/esm/operations/volumeSnapshots.js +382 -0
  248. package/dist/esm/operations/volumeSnapshots.js.map +1 -0
  249. package/dist/esm/operations/volumes.d.ts +151 -0
  250. package/dist/esm/operations/volumes.d.ts.map +1 -0
  251. package/dist/esm/operations/volumes.js +687 -0
  252. package/dist/esm/operations/volumes.js.map +1 -0
  253. package/dist/esm/operationsInterfaces/elasticSans.d.ts +71 -0
  254. package/dist/esm/operationsInterfaces/elasticSans.d.ts.map +1 -0
  255. package/dist/esm/operationsInterfaces/elasticSans.js +9 -0
  256. package/dist/esm/operationsInterfaces/elasticSans.js.map +1 -0
  257. package/dist/esm/operationsInterfaces/index.d.ts +9 -0
  258. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  259. package/dist/esm/operationsInterfaces/index.js +16 -0
  260. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  261. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  262. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  263. package/dist/esm/operationsInterfaces/operations.js +9 -0
  264. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  265. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
  266. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  267. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  268. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  269. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +12 -0
  270. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  271. package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
  272. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
  273. package/dist/esm/operationsInterfaces/skus.d.ts +11 -0
  274. package/dist/esm/operationsInterfaces/skus.d.ts.map +1 -0
  275. package/dist/esm/operationsInterfaces/skus.js +9 -0
  276. package/dist/esm/operationsInterfaces/skus.js.map +1 -0
  277. package/dist/esm/operationsInterfaces/volumeGroups.d.ts +74 -0
  278. package/dist/esm/operationsInterfaces/volumeGroups.d.ts.map +1 -0
  279. package/dist/esm/operationsInterfaces/volumeGroups.js +9 -0
  280. package/dist/esm/operationsInterfaces/volumeGroups.js.map +1 -0
  281. package/dist/esm/operationsInterfaces/volumeSnapshots.d.ts +62 -0
  282. package/dist/esm/operationsInterfaces/volumeSnapshots.d.ts.map +1 -0
  283. package/dist/esm/operationsInterfaces/volumeSnapshots.js +9 -0
  284. package/dist/esm/operationsInterfaces/volumeSnapshots.js.map +1 -0
  285. package/dist/esm/operationsInterfaces/volumes.d.ts +124 -0
  286. package/dist/esm/operationsInterfaces/volumes.d.ts.map +1 -0
  287. package/dist/esm/operationsInterfaces/volumes.js +9 -0
  288. package/dist/esm/operationsInterfaces/volumes.js.map +1 -0
  289. package/dist/esm/package.json +3 -0
  290. package/dist/esm/pagingHelper.d.ts +13 -0
  291. package/dist/esm/pagingHelper.d.ts.map +1 -0
  292. package/dist/esm/pagingHelper.js +32 -0
  293. package/dist/esm/pagingHelper.js.map +1 -0
  294. package/dist/react-native/elasticSanManagement.d.ts +48 -0
  295. package/dist/react-native/elasticSanManagement.d.ts.map +1 -0
  296. package/dist/react-native/elasticSanManagement.js +206 -0
  297. package/dist/react-native/elasticSanManagement.js.map +1 -0
  298. package/dist/react-native/index.d.ts +5 -0
  299. package/dist/react-native/index.d.ts.map +1 -0
  300. package/dist/react-native/index.js +13 -0
  301. package/dist/react-native/index.js.map +1 -0
  302. package/dist/react-native/lroImpl.d.ts +11 -0
  303. package/dist/react-native/lroImpl.d.ts.map +1 -0
  304. package/dist/react-native/lroImpl.js +21 -0
  305. package/dist/react-native/lroImpl.js.map +1 -0
  306. package/dist/react-native/models/index.d.ts +1385 -0
  307. package/dist/react-native/models/index.d.ts.map +1 -0
  308. package/dist/react-native/models/index.js +210 -0
  309. package/dist/react-native/models/index.js.map +1 -0
  310. package/dist/react-native/models/mappers.d.ts +71 -0
  311. package/dist/react-native/models/mappers.d.ts.map +1 -0
  312. package/dist/react-native/models/mappers.js +1818 -0
  313. package/dist/react-native/models/mappers.js.map +1 -0
  314. package/dist/react-native/models/parameters.d.ts +29 -0
  315. package/dist/react-native/models/parameters.d.ts.map +1 -0
  316. package/dist/react-native/models/parameters.js +246 -0
  317. package/dist/react-native/models/parameters.js.map +1 -0
  318. package/dist/react-native/operations/elasticSans.d.ts +107 -0
  319. package/dist/react-native/operations/elasticSans.d.ts.map +1 -0
  320. package/dist/react-native/operations/elasticSans.js +534 -0
  321. package/dist/react-native/operations/elasticSans.js.map +1 -0
  322. package/dist/react-native/operations/index.d.ts +9 -0
  323. package/dist/react-native/operations/index.d.ts.map +1 -0
  324. package/dist/react-native/operations/index.js +16 -0
  325. package/dist/react-native/operations/index.js.map +1 -0
  326. package/dist/react-native/operations/operations.d.ts +26 -0
  327. package/dist/react-native/operations/operations.d.ts.map +1 -0
  328. package/dist/react-native/operations/operations.js +96 -0
  329. package/dist/react-native/operations/operations.js.map +1 -0
  330. package/dist/react-native/operations/privateEndpointConnections.d.ts +73 -0
  331. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
  332. package/dist/react-native/operations/privateEndpointConnections.js +321 -0
  333. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
  334. package/dist/react-native/operations/privateLinkResources.d.ts +20 -0
  335. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
  336. package/dist/react-native/operations/privateLinkResources.js +53 -0
  337. package/dist/react-native/operations/privateLinkResources.js.map +1 -0
  338. package/dist/react-native/operations/skus.d.ts +26 -0
  339. package/dist/react-native/operations/skus.d.ts.map +1 -0
  340. package/dist/react-native/operations/skus.js +96 -0
  341. package/dist/react-native/operations/skus.js.map +1 -0
  342. package/dist/react-native/operations/volumeGroups.d.ts +99 -0
  343. package/dist/react-native/operations/volumeGroups.d.ts.map +1 -0
  344. package/dist/react-native/operations/volumeGroups.js +457 -0
  345. package/dist/react-native/operations/volumeGroups.js.map +1 -0
  346. package/dist/react-native/operations/volumeSnapshots.d.ts +89 -0
  347. package/dist/react-native/operations/volumeSnapshots.d.ts.map +1 -0
  348. package/dist/react-native/operations/volumeSnapshots.js +382 -0
  349. package/dist/react-native/operations/volumeSnapshots.js.map +1 -0
  350. package/dist/react-native/operations/volumes.d.ts +151 -0
  351. package/dist/react-native/operations/volumes.d.ts.map +1 -0
  352. package/dist/react-native/operations/volumes.js +687 -0
  353. package/dist/react-native/operations/volumes.js.map +1 -0
  354. package/dist/react-native/operationsInterfaces/elasticSans.d.ts +71 -0
  355. package/dist/react-native/operationsInterfaces/elasticSans.d.ts.map +1 -0
  356. package/dist/react-native/operationsInterfaces/elasticSans.js +9 -0
  357. package/dist/react-native/operationsInterfaces/elasticSans.js.map +1 -0
  358. package/dist/react-native/operationsInterfaces/index.d.ts +9 -0
  359. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  360. package/dist/react-native/operationsInterfaces/index.js +16 -0
  361. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  362. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  363. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  364. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  365. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  366. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
  367. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  368. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
  369. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  370. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +12 -0
  371. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  372. package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
  373. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
  374. package/dist/react-native/operationsInterfaces/skus.d.ts +11 -0
  375. package/dist/react-native/operationsInterfaces/skus.d.ts.map +1 -0
  376. package/dist/react-native/operationsInterfaces/skus.js +9 -0
  377. package/dist/react-native/operationsInterfaces/skus.js.map +1 -0
  378. package/dist/react-native/operationsInterfaces/volumeGroups.d.ts +74 -0
  379. package/dist/react-native/operationsInterfaces/volumeGroups.d.ts.map +1 -0
  380. package/dist/react-native/operationsInterfaces/volumeGroups.js +9 -0
  381. package/dist/react-native/operationsInterfaces/volumeGroups.js.map +1 -0
  382. package/dist/react-native/operationsInterfaces/volumeSnapshots.d.ts +62 -0
  383. package/dist/react-native/operationsInterfaces/volumeSnapshots.d.ts.map +1 -0
  384. package/dist/react-native/operationsInterfaces/volumeSnapshots.js +9 -0
  385. package/dist/react-native/operationsInterfaces/volumeSnapshots.js.map +1 -0
  386. package/dist/react-native/operationsInterfaces/volumes.d.ts +124 -0
  387. package/dist/react-native/operationsInterfaces/volumes.d.ts.map +1 -0
  388. package/dist/react-native/operationsInterfaces/volumes.js +9 -0
  389. package/dist/react-native/operationsInterfaces/volumes.js.map +1 -0
  390. package/dist/react-native/package.json +3 -0
  391. package/dist/react-native/pagingHelper.d.ts +13 -0
  392. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  393. package/dist/react-native/pagingHelper.js +32 -0
  394. package/dist/react-native/pagingHelper.js.map +1 -0
  395. package/package.json +80 -51
  396. package/review/arm-elasticsan.api.md +109 -0
  397. package/dist/index.js +0 -4764
  398. package/dist/index.js.map +0 -1
  399. package/dist/index.min.js +0 -1
  400. package/dist/index.min.js.map +0 -1
  401. package/dist-esm/samples-dev/elasticSansCreateSample.d.ts +0 -2
  402. package/dist-esm/samples-dev/elasticSansCreateSample.d.ts.map +0 -1
  403. package/dist-esm/samples-dev/elasticSansCreateSample.js +0 -83
  404. package/dist-esm/samples-dev/elasticSansCreateSample.js.map +0 -1
  405. package/dist-esm/samples-dev/elasticSansDeleteSample.d.ts +0 -2
  406. package/dist-esm/samples-dev/elasticSansDeleteSample.d.ts.map +0 -1
  407. package/dist-esm/samples-dev/elasticSansDeleteSample.js +0 -56
  408. package/dist-esm/samples-dev/elasticSansDeleteSample.js.map +0 -1
  409. package/dist-esm/samples-dev/elasticSansGetSample.d.ts +0 -2
  410. package/dist-esm/samples-dev/elasticSansGetSample.d.ts.map +0 -1
  411. package/dist-esm/samples-dev/elasticSansGetSample.js +0 -56
  412. package/dist-esm/samples-dev/elasticSansGetSample.js.map +0 -1
  413. package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.d.ts +0 -2
  414. package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.d.ts.map +0 -1
  415. package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js +0 -86
  416. package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js.map +0 -1
  417. package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.d.ts +0 -2
  418. package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.d.ts.map +0 -1
  419. package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js +0 -84
  420. package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js.map +0 -1
  421. package/dist-esm/samples-dev/elasticSansUpdateSample.d.ts +0 -2
  422. package/dist-esm/samples-dev/elasticSansUpdateSample.d.ts.map +0 -1
  423. package/dist-esm/samples-dev/elasticSansUpdateSample.js +0 -73
  424. package/dist-esm/samples-dev/elasticSansUpdateSample.js.map +0 -1
  425. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  426. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  427. package/dist-esm/samples-dev/operationsListSample.js +0 -86
  428. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  429. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.d.ts +0 -2
  430. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.d.ts.map +0 -1
  431. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +0 -72
  432. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js.map +0 -1
  433. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
  434. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  435. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -58
  436. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
  437. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
  438. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
  439. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -58
  440. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
  441. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +0 -2
  442. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +0 -1
  443. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +0 -88
  444. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +0 -1
  445. package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.d.ts +0 -2
  446. package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.d.ts.map +0 -1
  447. package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.js +0 -56
  448. package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.js.map +0 -1
  449. package/dist-esm/samples-dev/skusListSample.d.ts +0 -2
  450. package/dist-esm/samples-dev/skusListSample.d.ts.map +0 -1
  451. package/dist-esm/samples-dev/skusListSample.js +0 -86
  452. package/dist-esm/samples-dev/skusListSample.js.map +0 -1
  453. package/dist-esm/samples-dev/volumeGroupsCreateSample.d.ts +0 -2
  454. package/dist-esm/samples-dev/volumeGroupsCreateSample.d.ts.map +0 -1
  455. package/dist-esm/samples-dev/volumeGroupsCreateSample.js +0 -85
  456. package/dist-esm/samples-dev/volumeGroupsCreateSample.js.map +0 -1
  457. package/dist-esm/samples-dev/volumeGroupsDeleteSample.d.ts +0 -2
  458. package/dist-esm/samples-dev/volumeGroupsDeleteSample.d.ts.map +0 -1
  459. package/dist-esm/samples-dev/volumeGroupsDeleteSample.js +0 -58
  460. package/dist-esm/samples-dev/volumeGroupsDeleteSample.js.map +0 -1
  461. package/dist-esm/samples-dev/volumeGroupsGetSample.d.ts +0 -2
  462. package/dist-esm/samples-dev/volumeGroupsGetSample.d.ts.map +0 -1
  463. package/dist-esm/samples-dev/volumeGroupsGetSample.js +0 -58
  464. package/dist-esm/samples-dev/volumeGroupsGetSample.js.map +0 -1
  465. package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.d.ts +0 -2
  466. package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.d.ts.map +0 -1
  467. package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js +0 -88
  468. package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js.map +0 -1
  469. package/dist-esm/samples-dev/volumeGroupsUpdateSample.d.ts +0 -2
  470. package/dist-esm/samples-dev/volumeGroupsUpdateSample.d.ts.map +0 -1
  471. package/dist-esm/samples-dev/volumeGroupsUpdateSample.js +0 -85
  472. package/dist-esm/samples-dev/volumeGroupsUpdateSample.js.map +0 -1
  473. package/dist-esm/samples-dev/volumeSnapshotsCreateSample.d.ts +0 -2
  474. package/dist-esm/samples-dev/volumeSnapshotsCreateSample.d.ts.map +0 -1
  475. package/dist-esm/samples-dev/volumeSnapshotsCreateSample.js +0 -74
  476. package/dist-esm/samples-dev/volumeSnapshotsCreateSample.js.map +0 -1
  477. package/dist-esm/samples-dev/volumeSnapshotsDeleteSample.d.ts +0 -2
  478. package/dist-esm/samples-dev/volumeSnapshotsDeleteSample.d.ts.map +0 -1
  479. package/dist-esm/samples-dev/volumeSnapshotsDeleteSample.js +0 -60
  480. package/dist-esm/samples-dev/volumeSnapshotsDeleteSample.js.map +0 -1
  481. package/dist-esm/samples-dev/volumeSnapshotsGetSample.d.ts +0 -2
  482. package/dist-esm/samples-dev/volumeSnapshotsGetSample.d.ts.map +0 -1
  483. package/dist-esm/samples-dev/volumeSnapshotsGetSample.js +0 -60
  484. package/dist-esm/samples-dev/volumeSnapshotsGetSample.js.map +0 -1
  485. package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.d.ts +0 -2
  486. package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.d.ts.map +0 -1
  487. package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.js +0 -92
  488. package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.js.map +0 -1
  489. package/dist-esm/samples-dev/volumesCreateSample.d.ts +0 -2
  490. package/dist-esm/samples-dev/volumesCreateSample.d.ts.map +0 -1
  491. package/dist-esm/samples-dev/volumesCreateSample.js +0 -68
  492. package/dist-esm/samples-dev/volumesCreateSample.js.map +0 -1
  493. package/dist-esm/samples-dev/volumesDeleteSample.d.ts +0 -2
  494. package/dist-esm/samples-dev/volumesDeleteSample.d.ts.map +0 -1
  495. package/dist-esm/samples-dev/volumesDeleteSample.js +0 -66
  496. package/dist-esm/samples-dev/volumesDeleteSample.js.map +0 -1
  497. package/dist-esm/samples-dev/volumesGetSample.d.ts +0 -2
  498. package/dist-esm/samples-dev/volumesGetSample.d.ts.map +0 -1
  499. package/dist-esm/samples-dev/volumesGetSample.js +0 -60
  500. package/dist-esm/samples-dev/volumesGetSample.js.map +0 -1
  501. package/dist-esm/samples-dev/volumesListByVolumeGroupSample.d.ts +0 -2
  502. package/dist-esm/samples-dev/volumesListByVolumeGroupSample.d.ts.map +0 -1
  503. package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js +0 -90
  504. package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js.map +0 -1
  505. package/dist-esm/samples-dev/volumesUpdateSample.d.ts +0 -2
  506. package/dist-esm/samples-dev/volumesUpdateSample.d.ts.map +0 -1
  507. package/dist-esm/samples-dev/volumesUpdateSample.js +0 -62
  508. package/dist-esm/samples-dev/volumesUpdateSample.js.map +0 -1
  509. package/dist-esm/src/elasticSanManagement.d.ts +0 -27
  510. package/dist-esm/src/elasticSanManagement.d.ts.map +0 -1
  511. package/dist-esm/src/elasticSanManagement.js +0 -107
  512. package/dist-esm/src/elasticSanManagement.js.map +0 -1
  513. package/dist-esm/src/index.d.ts +0 -5
  514. package/dist-esm/src/index.js.map +0 -1
  515. package/dist-esm/src/lroImpl.js.map +0 -1
  516. package/dist-esm/src/models/index.d.ts.map +0 -1
  517. package/dist-esm/src/models/index.js.map +0 -1
  518. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  519. package/dist-esm/src/models/mappers.js.map +0 -1
  520. package/dist-esm/src/models/parameters.d.ts.map +0 -1
  521. package/dist-esm/src/models/parameters.js.map +0 -1
  522. package/dist-esm/src/operations/elasticSans.d.ts.map +0 -1
  523. package/dist-esm/src/operations/elasticSans.js.map +0 -1
  524. package/dist-esm/src/operations/index.d.ts +0 -9
  525. package/dist-esm/src/operations/index.d.ts.map +0 -1
  526. package/dist-esm/src/operations/index.js +0 -16
  527. package/dist-esm/src/operations/index.js.map +0 -1
  528. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  529. package/dist-esm/src/operations/operations.js.map +0 -1
  530. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  531. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  532. package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
  533. package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
  534. package/dist-esm/src/operations/skus.d.ts.map +0 -1
  535. package/dist-esm/src/operations/skus.js.map +0 -1
  536. package/dist-esm/src/operations/volumeGroups.d.ts.map +0 -1
  537. package/dist-esm/src/operations/volumeGroups.js.map +0 -1
  538. package/dist-esm/src/operations/volumeSnapshots.d.ts.map +0 -1
  539. package/dist-esm/src/operations/volumeSnapshots.js.map +0 -1
  540. package/dist-esm/src/operations/volumes.d.ts.map +0 -1
  541. package/dist-esm/src/operations/volumes.js +0 -497
  542. package/dist-esm/src/operations/volumes.js.map +0 -1
  543. package/dist-esm/src/operationsInterfaces/elasticSans.d.ts.map +0 -1
  544. package/dist-esm/src/operationsInterfaces/elasticSans.js.map +0 -1
  545. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -9
  546. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  547. package/dist-esm/src/operationsInterfaces/index.js +0 -16
  548. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  549. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  550. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  551. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  552. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  553. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
  554. package/dist-esm/src/operationsInterfaces/skus.js.map +0 -1
  555. package/dist-esm/src/operationsInterfaces/volumeGroups.d.ts.map +0 -1
  556. package/dist-esm/src/operationsInterfaces/volumeGroups.js.map +0 -1
  557. package/dist-esm/src/operationsInterfaces/volumeSnapshots.d.ts.map +0 -1
  558. package/dist-esm/src/operationsInterfaces/volumeSnapshots.js.map +0 -1
  559. package/dist-esm/src/operationsInterfaces/volumes.d.ts.map +0 -1
  560. package/dist-esm/src/operationsInterfaces/volumes.js.map +0 -1
  561. package/dist-esm/src/pagingHelper.js.map +0 -1
  562. package/dist-esm/test/elasticsan_examples.spec.d.ts +0 -4
  563. package/dist-esm/test/elasticsan_examples.spec.d.ts.map +0 -1
  564. package/dist-esm/test/elasticsan_examples.spec.js +0 -134
  565. package/dist-esm/test/elasticsan_examples.spec.js.map +0 -1
  566. package/src/elasticSanManagement.ts +0 -173
  567. package/src/lroImpl.ts +0 -42
  568. package/src/models/index.ts +0 -1430
  569. package/src/models/mappers.ts +0 -1774
  570. package/src/models/parameters.ts +0 -257
  571. package/src/operations/elasticSans.ts +0 -711
  572. package/src/operations/index.ts +0 -16
  573. package/src/operations/operations.ts +0 -103
  574. package/src/operations/privateEndpointConnections.ts +0 -445
  575. package/src/operations/privateLinkResources.ts +0 -71
  576. package/src/operations/skus.ts +0 -101
  577. package/src/operations/volumeGroups.ts +0 -644
  578. package/src/operations/volumeSnapshots.ts +0 -545
  579. package/src/operations/volumes.ts +0 -698
  580. package/src/operationsInterfaces/elasticSans.ts +0 -139
  581. package/src/operationsInterfaces/index.ts +0 -16
  582. package/src/operationsInterfaces/operations.ts +0 -22
  583. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -109
  584. package/src/operationsInterfaces/privateLinkResources.ts +0 -27
  585. package/src/operationsInterfaces/skus.ts +0 -22
  586. package/src/operationsInterfaces/volumeGroups.ts +0 -147
  587. package/src/operationsInterfaces/volumeSnapshots.ts +0 -121
  588. package/src/operationsInterfaces/volumes.ts +0 -163
  589. package/src/pagingHelper.ts +0 -39
  590. package/tsconfig.json +0 -33
  591. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  592. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  593. /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
  594. /package/{dist-esm/src → dist/browser}/operationsInterfaces/elasticSans.js +0 -0
  595. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  596. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
  597. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.js +0 -0
  598. /package/{dist-esm/src → dist/browser}/operationsInterfaces/skus.js +0 -0
  599. /package/{dist-esm/src → dist/browser}/operationsInterfaces/volumeGroups.js +0 -0
  600. /package/{dist-esm/src → dist/browser}/operationsInterfaces/volumeSnapshots.js +0 -0
  601. /package/{dist-esm/src → dist/browser}/operationsInterfaces/volumes.js +0 -0
  602. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  603. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  604. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,51 @@
1
1
  # Release History
2
2
 
3
+ ## 1.2.0-beta.2 (2025-04-18)
4
+ Compared with version 1.1.0
5
+
6
+ ### Features Added
7
+
8
+ - Added operation Volumes.beginPreBackup
9
+ - Added operation Volumes.beginPreBackupAndWait
10
+ - Added operation Volumes.beginPreRestore
11
+ - Added operation Volumes.beginPreRestoreAndWait
12
+ - Added Interface AutoScaleProperties
13
+ - Added Interface DeleteRetentionPolicy
14
+ - Added Interface DiskSnapshotList
15
+ - Added Interface ElasticSanManagementRestoreVolumeHeaders
16
+ - Added Interface PreValidationResponse
17
+ - Added Interface RestoreVolumeOptionalParams
18
+ - Added Interface ScaleUpProperties
19
+ - Added Interface VolumeNameList
20
+ - Added Interface VolumesPreBackupHeaders
21
+ - Added Interface VolumesPreBackupOptionalParams
22
+ - Added Interface VolumesPreRestoreHeaders
23
+ - Added Interface VolumesPreRestoreOptionalParams
24
+ - Added Type Alias AutoScalePolicyEnforcement
25
+ - Added Type Alias DeleteType
26
+ - Added Type Alias PolicyState
27
+ - Added Type Alias RestoreVolumeResponse
28
+ - Added Type Alias VolumesPreBackupResponse
29
+ - Added Type Alias VolumesPreRestoreResponse
30
+ - Added Type Alias XMsAccessSoftDeletedResources
31
+ - Interface ElasticSanProperties has a new optional parameter autoScaleProperties
32
+ - Interface ElasticSanUpdateProperties has a new optional parameter autoScaleProperties
33
+ - Interface VolumeGroupProperties has a new optional parameter deleteRetentionPolicy
34
+ - Interface VolumeGroupsListByElasticSanNextOptionalParams has a new optional parameter xMsAccessSoftDeletedResources
35
+ - Interface VolumeGroupsListByElasticSanOptionalParams has a new optional parameter xMsAccessSoftDeletedResources
36
+ - Interface VolumeGroupUpdateProperties has a new optional parameter deleteRetentionPolicy
37
+ - Interface VolumesDeleteOptionalParams has a new optional parameter deleteType
38
+ - Interface VolumesListByVolumeGroupNextOptionalParams has a new optional parameter xMsAccessSoftDeletedResources
39
+ - Interface VolumesListByVolumeGroupOptionalParams has a new optional parameter xMsAccessSoftDeletedResources
40
+ - Added Enum KnownAutoScalePolicyEnforcement
41
+ - Added Enum KnownDeleteType
42
+ - Added Enum KnownPolicyState
43
+ - Added Enum KnownXMsAccessSoftDeletedResources
44
+ - Enum KnownProvisioningStates has a new value Deleted
45
+ - Enum KnownProvisioningStates has a new value Restoring
46
+ - Enum KnownProvisioningStates has a new value SoftDeleting
47
+
48
+
3
49
  ## 1.2.0-beta.1 (2024-10-18)
4
50
  Compared with version 1.1.0
5
51
 
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ Copyright (c) Microsoft Corporation.
2
2
 
3
- Copyright (c) 2024 Microsoft
3
+ MIT License
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -12,7 +12,7 @@ furnished to do so, subject to the following conditions:
12
12
  The above copyright notice and this permission notice shall be included in all
13
13
  copies or substantial portions of the Software.
14
14
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
package/README.md CHANGED
@@ -6,7 +6,7 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
6
6
 
7
7
  [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/elasticsans/arm-elasticsan) |
8
8
  [Package (NPM)](https://www.npmjs.com/package/@azure/arm-elasticsan) |
9
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-elasticsan?view=azure-node-preview) |
9
+ [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-elasticsan?view=azure-node-preview) |
10
10
  [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
11
11
 
12
12
  ## Getting started
@@ -44,26 +44,32 @@ npm install @azure/identity
44
44
  ```
45
45
 
46
46
  You will also need to **register a new AAD application and grant access to Azure ElasticSanManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47
- Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
48
47
 
49
- For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
48
+ For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
50
49
 
51
- ```javascript
52
- const { ElasticSanManagement } = require("@azure/arm-elasticsan");
53
- const { DefaultAzureCredential } = require("@azure/identity");
54
- // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
50
+ Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
51
+
52
+ ```ts snippet:ReadmeSampleCreateClient_Node
53
+ import { ElasticSanManagement } from "@azure/arm-elasticsan";
54
+ import { DefaultAzureCredential } from "@azure/identity";
55
55
 
56
56
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
57
57
  const client = new ElasticSanManagement(new DefaultAzureCredential(), subscriptionId);
58
-
59
- // For client-side applications running in the browser, use this code instead:
60
- // const credential = new InteractiveBrowserCredential({
61
- // tenantId: "<YOUR_TENANT_ID>",
62
- // clientId: "<YOUR_CLIENT_ID>"
63
- // });
64
- // const client = new ElasticSanManagement(credential, subscriptionId);
65
58
  ```
66
59
 
60
+ For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
61
+
62
+ ```ts snippet:ReadmeSampleCreateClient_Browser
63
+ import { InteractiveBrowserCredential } from "@azure/identity";
64
+ import { ElasticSanManagement } from "@azure/arm-elasticsan";
65
+
66
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
67
+ const credential = new InteractiveBrowserCredential({
68
+ tenantId: "<YOUR_TENANT_ID>",
69
+ clientId: "<YOUR_CLIENT_ID>"
70
+ });
71
+ const client = new ElasticSanManagement(credential, subscriptionId);
72
+ ```
67
73
 
68
74
  ### JavaScript Bundle
69
75
  To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
@@ -80,8 +86,9 @@ To use this client library in the browser, first you need to use a bundler. For
80
86
 
81
87
  Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
82
88
 
83
- ```javascript
84
- const { setLogLevel } = require("@azure/logger");
89
+ ```ts snippet:SetLogLevel
90
+ import { setLogLevel } from "@azure/logger";
91
+
85
92
  setLogLevel("info");
86
93
  ```
87
94
 
@@ -99,9 +106,8 @@ If you'd like to contribute to this library, please read the [contributing guide
99
106
 
100
107
  - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
101
108
 
102
- ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Felasticsans%2Farm-elasticsan%2FREADME.png)
103
109
 
104
- [azure_cli]: https://docs.microsoft.com/cli/azure
110
+ [azure_cli]: https://learn.microsoft.com/cli/azure
105
111
  [azure_sub]: https://azure.microsoft.com/free/
106
112
  [azure_sub]: https://azure.microsoft.com/free/
107
113
  [azure_portal]: https://portal.azure.com
@@ -0,0 +1,48 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ import * as coreAuth from "@azure/core-auth";
3
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
4
+ import { Operations, Skus, ElasticSans, VolumeGroups, Volumes, PrivateEndpointConnections, PrivateLinkResources, VolumeSnapshots } from "./operationsInterfaces/index.js";
5
+ import { ElasticSanManagementOptionalParams, RestoreVolumeOptionalParams, RestoreVolumeResponse } from "./models/index.js";
6
+ export declare class ElasticSanManagement extends coreClient.ServiceClient {
7
+ $host: string;
8
+ apiVersion: string;
9
+ subscriptionId: string;
10
+ /**
11
+ * Initializes a new instance of the ElasticSanManagement class.
12
+ * @param credentials Subscription credentials which uniquely identify client subscription.
13
+ * @param subscriptionId The ID of the target subscription.
14
+ * @param options The parameter options
15
+ */
16
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ElasticSanManagementOptionalParams);
17
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
18
+ private addCustomApiVersionPolicy;
19
+ /**
20
+ * Restore Soft Deleted Volumes. The volume name is obtained by using the API to list soft deleted
21
+ * volumes by volume group
22
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
+ * @param elasticSanName The name of the ElasticSan.
24
+ * @param volumeGroupName The name of the VolumeGroup.
25
+ * @param volumeName The name of the Volume.
26
+ * @param options The options parameters.
27
+ */
28
+ beginRestoreVolume(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: RestoreVolumeOptionalParams): Promise<SimplePollerLike<OperationState<RestoreVolumeResponse>, RestoreVolumeResponse>>;
29
+ /**
30
+ * Restore Soft Deleted Volumes. The volume name is obtained by using the API to list soft deleted
31
+ * volumes by volume group
32
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
33
+ * @param elasticSanName The name of the ElasticSan.
34
+ * @param volumeGroupName The name of the VolumeGroup.
35
+ * @param volumeName The name of the Volume.
36
+ * @param options The options parameters.
37
+ */
38
+ beginRestoreVolumeAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: RestoreVolumeOptionalParams): Promise<RestoreVolumeResponse>;
39
+ operations: Operations;
40
+ skus: Skus;
41
+ elasticSans: ElasticSans;
42
+ volumeGroups: VolumeGroups;
43
+ volumes: Volumes;
44
+ privateEndpointConnections: PrivateEndpointConnections;
45
+ privateLinkResources: PrivateLinkResources;
46
+ volumeSnapshots: VolumeSnapshots;
47
+ }
48
+ //# sourceMappingURL=elasticSanManagement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elasticSanManagement.d.ts","sourceRoot":"","sources":["../../src/elasticSanManagement.ts"],"names":[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AE,YAAY,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,eAAe,EAAE,eAAe,CAAC;CAClC"}
@@ -0,0 +1,206 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
+ import { createHttpPoller, } from "@azure/core-lro";
11
+ import { createLroSpec } from "./lroImpl.js";
12
+ import { OperationsImpl, SkusImpl, ElasticSansImpl, VolumeGroupsImpl, VolumesImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, VolumeSnapshotsImpl, } from "./operations/index.js";
13
+ import * as Parameters from "./models/parameters.js";
14
+ import * as Mappers from "./models/mappers.js";
15
+ export class ElasticSanManagement extends coreClient.ServiceClient {
16
+ /**
17
+ * Initializes a new instance of the ElasticSanManagement class.
18
+ * @param credentials Subscription credentials which uniquely identify client subscription.
19
+ * @param subscriptionId The ID of the target subscription.
20
+ * @param options The parameter options
21
+ */
22
+ constructor(credentials, subscriptionId, options) {
23
+ var _a, _b, _c;
24
+ if (credentials === undefined) {
25
+ throw new Error("'credentials' cannot be null");
26
+ }
27
+ if (subscriptionId === undefined) {
28
+ throw new Error("'subscriptionId' cannot be null");
29
+ }
30
+ // Initializing default values for options
31
+ if (!options) {
32
+ options = {};
33
+ }
34
+ const defaults = {
35
+ requestContentType: "application/json; charset=utf-8",
36
+ credential: credentials,
37
+ };
38
+ const packageDetails = `azsdk-js-arm-elasticsan/1.2.0-beta.2`;
39
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
40
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
41
+ : `${packageDetails}`;
42
+ const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
43
+ userAgentPrefix,
44
+ }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
45
+ super(optionsWithDefaults);
46
+ let bearerTokenAuthenticationPolicyFound = false;
47
+ if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
48
+ const pipelinePolicies = options.pipeline.getOrderedPolicies();
49
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
50
+ coreRestPipeline.bearerTokenAuthenticationPolicyName);
51
+ }
52
+ if (!options ||
53
+ !options.pipeline ||
54
+ options.pipeline.getOrderedPolicies().length == 0 ||
55
+ !bearerTokenAuthenticationPolicyFound) {
56
+ this.pipeline.removePolicy({
57
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
58
+ });
59
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
60
+ credential: credentials,
61
+ scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
62
+ challengeCallbacks: {
63
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
64
+ },
65
+ }));
66
+ }
67
+ // Parameter assignments
68
+ this.subscriptionId = subscriptionId;
69
+ // Assigning values to Constant parameters
70
+ this.$host = options.$host || "https://management.azure.com";
71
+ this.apiVersion = options.apiVersion || "2024-07-01-preview";
72
+ this.operations = new OperationsImpl(this);
73
+ this.skus = new SkusImpl(this);
74
+ this.elasticSans = new ElasticSansImpl(this);
75
+ this.volumeGroups = new VolumeGroupsImpl(this);
76
+ this.volumes = new VolumesImpl(this);
77
+ this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
78
+ this.privateLinkResources = new PrivateLinkResourcesImpl(this);
79
+ this.volumeSnapshots = new VolumeSnapshotsImpl(this);
80
+ this.addCustomApiVersionPolicy(options.apiVersion);
81
+ }
82
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
83
+ addCustomApiVersionPolicy(apiVersion) {
84
+ if (!apiVersion) {
85
+ return;
86
+ }
87
+ const apiVersionPolicy = {
88
+ name: "CustomApiVersionPolicy",
89
+ async sendRequest(request, next) {
90
+ const param = request.url.split("?");
91
+ if (param.length > 1) {
92
+ const newParams = param[1].split("&").map((item) => {
93
+ if (item.indexOf("api-version") > -1) {
94
+ return "api-version=" + apiVersion;
95
+ }
96
+ else {
97
+ return item;
98
+ }
99
+ });
100
+ request.url = param[0] + "?" + newParams.join("&");
101
+ }
102
+ return next(request);
103
+ },
104
+ };
105
+ this.pipeline.addPolicy(apiVersionPolicy);
106
+ }
107
+ /**
108
+ * Restore Soft Deleted Volumes. The volume name is obtained by using the API to list soft deleted
109
+ * volumes by volume group
110
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
111
+ * @param elasticSanName The name of the ElasticSan.
112
+ * @param volumeGroupName The name of the VolumeGroup.
113
+ * @param volumeName The name of the Volume.
114
+ * @param options The options parameters.
115
+ */
116
+ async beginRestoreVolume(resourceGroupName, elasticSanName, volumeGroupName, volumeName, options) {
117
+ const directSendOperation = async (args, spec) => {
118
+ return this.sendOperationRequest(args, spec);
119
+ };
120
+ const sendOperationFn = async (args, spec) => {
121
+ var _a;
122
+ let currentRawResponse = undefined;
123
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
124
+ const callback = (rawResponse, flatResponse) => {
125
+ currentRawResponse = rawResponse;
126
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
127
+ };
128
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
129
+ const flatResponse = await directSendOperation(updatedArgs, spec);
130
+ return {
131
+ flatResponse,
132
+ rawResponse: {
133
+ statusCode: currentRawResponse.status,
134
+ body: currentRawResponse.parsedBody,
135
+ headers: currentRawResponse.headers.toJSON(),
136
+ },
137
+ };
138
+ };
139
+ const lro = createLroSpec({
140
+ sendOperationFn,
141
+ args: {
142
+ resourceGroupName,
143
+ elasticSanName,
144
+ volumeGroupName,
145
+ volumeName,
146
+ options,
147
+ },
148
+ spec: restoreVolumeOperationSpec,
149
+ });
150
+ const poller = await createHttpPoller(lro, {
151
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
152
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
153
+ resourceLocationConfig: "location",
154
+ });
155
+ await poller.poll();
156
+ return poller;
157
+ }
158
+ /**
159
+ * Restore Soft Deleted Volumes. The volume name is obtained by using the API to list soft deleted
160
+ * volumes by volume group
161
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
162
+ * @param elasticSanName The name of the ElasticSan.
163
+ * @param volumeGroupName The name of the VolumeGroup.
164
+ * @param volumeName The name of the Volume.
165
+ * @param options The options parameters.
166
+ */
167
+ async beginRestoreVolumeAndWait(resourceGroupName, elasticSanName, volumeGroupName, volumeName, options) {
168
+ const poller = await this.beginRestoreVolume(resourceGroupName, elasticSanName, volumeGroupName, volumeName, options);
169
+ return poller.pollUntilDone();
170
+ }
171
+ }
172
+ // Operation Specifications
173
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
174
+ const restoreVolumeOperationSpec = {
175
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}/restore",
176
+ httpMethod: "POST",
177
+ responses: {
178
+ 200: {
179
+ bodyMapper: Mappers.Volume,
180
+ },
181
+ 201: {
182
+ bodyMapper: Mappers.Volume,
183
+ },
184
+ 202: {
185
+ bodyMapper: Mappers.Volume,
186
+ },
187
+ 204: {
188
+ bodyMapper: Mappers.Volume,
189
+ },
190
+ default: {
191
+ bodyMapper: Mappers.ErrorResponse,
192
+ },
193
+ },
194
+ queryParameters: [Parameters.apiVersion],
195
+ urlParameters: [
196
+ Parameters.$host,
197
+ Parameters.subscriptionId,
198
+ Parameters.resourceGroupName,
199
+ Parameters.elasticSanName,
200
+ Parameters.volumeGroupName,
201
+ Parameters.volumeName,
202
+ ],
203
+ headerParameters: [Parameters.accept],
204
+ serializer,
205
+ };
206
+ //# sourceMappingURL=elasticSanManagement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elasticSanManagement.js","sourceRoot":"","sources":["../../src/elasticSanManagement.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EACL,cAAc,EACd,QAAQ,EACR,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,8BAA8B,EAC9B,wBAAwB,EACxB,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAW/B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAO/C,MAAM,OAAO,oBAAqB,SAAQ,UAAU,CAAC,aAAa;IAKhE;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA4C;;QAE5C,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf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AErC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAC1C,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,UAAU,EACV,OAAO,CACR,CAAC;QACF,OAAO,MAAM,CAAC,aAAa,EAAE,CAAC;IAChC,CAAC;CAUF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,0BAA0B,GAA6B;IAC3D,IAAI,EAAE,4LAA4L;IAClM,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,MAAM;SAC3B;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,MAAM;SAC3B;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,MAAM;SAC3B;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,MAAM;SAC3B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"./lroImpl.js\";\nimport {\n OperationsImpl,\n SkusImpl,\n ElasticSansImpl,\n VolumeGroupsImpl,\n VolumesImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n VolumeSnapshotsImpl,\n} from \"./operations/index.js\";\nimport {\n Operations,\n Skus,\n ElasticSans,\n VolumeGroups,\n Volumes,\n PrivateEndpointConnections,\n PrivateLinkResources,\n VolumeSnapshots,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n ElasticSanManagementOptionalParams,\n RestoreVolumeOptionalParams,\n RestoreVolumeResponse,\n} from \"./models/index.js\";\n\nexport class ElasticSanManagement extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ElasticSanManagement class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ElasticSanManagementOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ElasticSanManagementOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-elasticsan/1.2.0-beta.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2024-07-01-preview\";\n this.operations = new OperationsImpl(this);\n this.skus = new SkusImpl(this);\n this.elasticSans = new ElasticSansImpl(this);\n this.volumeGroups = new VolumeGroupsImpl(this);\n this.volumes = new VolumesImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.volumeSnapshots = new VolumeSnapshotsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * Restore Soft Deleted Volumes. The volume name is obtained by using the API to list soft deleted\n * volumes by volume group\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param elasticSanName The name of the ElasticSan.\n * @param volumeGroupName The name of the VolumeGroup.\n * @param volumeName The name of the Volume.\n * @param options The options parameters.\n */\n async beginRestoreVolume(\n resourceGroupName: string,\n elasticSanName: string,\n volumeGroupName: string,\n volumeName: string,\n options?: RestoreVolumeOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<RestoreVolumeResponse>,\n RestoreVolumeResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<RestoreVolumeResponse> => {\n return this.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n elasticSanName,\n volumeGroupName,\n volumeName,\n options,\n },\n spec: restoreVolumeOperationSpec,\n });\n const poller = await createHttpPoller<\n RestoreVolumeResponse,\n OperationState<RestoreVolumeResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Restore Soft Deleted Volumes. The volume name is obtained by using the API to list soft deleted\n * volumes by volume group\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param elasticSanName The name of the ElasticSan.\n * @param volumeGroupName The name of the VolumeGroup.\n * @param volumeName The name of the Volume.\n * @param options The options parameters.\n */\n async beginRestoreVolumeAndWait(\n resourceGroupName: string,\n elasticSanName: string,\n volumeGroupName: string,\n volumeName: string,\n options?: RestoreVolumeOptionalParams,\n ): Promise<RestoreVolumeResponse> {\n const poller = await this.beginRestoreVolume(\n resourceGroupName,\n elasticSanName,\n volumeGroupName,\n volumeName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n operations: Operations;\n skus: Skus;\n elasticSans: ElasticSans;\n volumeGroups: VolumeGroups;\n volumes: Volumes;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n volumeSnapshots: VolumeSnapshots;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst restoreVolumeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}/restore\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Volume,\n },\n 201: {\n bodyMapper: Mappers.Volume,\n },\n 202: {\n bodyMapper: Mappers.Volume,\n },\n 204: {\n bodyMapper: Mappers.Volume,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.elasticSanName,\n Parameters.volumeGroupName,\n Parameters.volumeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { ElasticSanManagement } from "./elasticSanManagement.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,cAAc,iCAAiC,CAAC"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  /// <reference lib="esnext.asynciterable" />
9
- export { getContinuationToken } from "./pagingHelper";
10
- export * from "./models";
11
- export { ElasticSanManagement } from "./elasticSanManagement";
12
- export * from "./operationsInterfaces";
9
+ export { getContinuationToken } from "./pagingHelper.js";
10
+ export * from "./models/index.js";
11
+ export { ElasticSanManagement } from "./elasticSanManagement.js";
12
+ export * from "./operationsInterfaces/index.js";
13
13
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { ElasticSanManagement } from \"./elasticSanManagement.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAQH,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,UAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}