@azure/arm-hardwaresecuritymodules 2.0.0-alpha.20250204.1 → 2.0.0-alpha.20250206.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 (586) hide show
  1. package/README.md +21 -14
  2. package/{dist-esm/src → dist/browser}/azureHSMResourceProvider.d.ts +2 -2
  3. package/dist/browser/azureHSMResourceProvider.d.ts.map +1 -0
  4. package/{dist-esm/src → dist/browser}/azureHSMResourceProvider.js +15 -18
  5. package/dist/browser/azureHSMResourceProvider.js.map +1 -0
  6. package/dist/browser/index.d.ts +5 -0
  7. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  8. package/{dist-esm/src → dist/browser}/index.js +4 -4
  9. package/dist/browser/index.js.map +1 -0
  10. package/dist/browser/lroImpl.js.map +1 -0
  11. package/dist/browser/models/index.js.map +1 -0
  12. package/dist/browser/models/mappers.js.map +1 -0
  13. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  14. package/dist/browser/models/parameters.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/operations/cloudHsmClusterBackupStatus.d.ts +3 -3
  16. package/dist/browser/operations/cloudHsmClusterBackupStatus.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/operations/cloudHsmClusterBackupStatus.js +2 -2
  18. package/dist/browser/operations/cloudHsmClusterBackupStatus.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/cloudHsmClusterPrivateEndpointConnections.d.ts +3 -3
  20. package/dist/browser/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/cloudHsmClusterPrivateEndpointConnections.js +44 -49
  22. package/dist/browser/operations/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/cloudHsmClusterPrivateLinkResources.d.ts +3 -3
  24. package/dist/browser/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operations/cloudHsmClusterPrivateLinkResources.js +3 -3
  26. package/dist/browser/operations/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/cloudHsmClusterRestoreStatus.d.ts +3 -3
  28. package/dist/browser/operations/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/cloudHsmClusterRestoreStatus.js +2 -2
  30. package/dist/browser/operations/cloudHsmClusterRestoreStatus.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/cloudHsmClusters.d.ts +3 -3
  32. package/dist/browser/operations/cloudHsmClusters.d.ts.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/cloudHsmClusters.js +268 -296
  34. package/dist/browser/operations/cloudHsmClusters.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/dedicatedHsmOperations.d.ts +3 -3
  36. package/dist/browser/operations/dedicatedHsmOperations.d.ts.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operations/dedicatedHsmOperations.js +113 -125
  38. package/dist/browser/operations/dedicatedHsmOperations.js.map +1 -0
  39. package/dist/browser/operations/index.d.ts +9 -0
  40. package/dist/browser/operations/index.d.ts.map +1 -0
  41. package/dist/browser/operations/index.js +16 -0
  42. package/dist/browser/operations/index.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  44. package/dist/browser/operations/operations.d.ts.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operations/operations.js +2 -2
  46. package/dist/browser/operations/operations.js.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
  48. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
  49. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +3 -3
  50. package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
  51. package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts +1 -1
  52. package/dist/browser/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts.map +1 -0
  53. package/dist/browser/operationsInterfaces/cloudHsmClusterBackupStatus.js.map +1 -0
  54. package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts +1 -1
  55. package/dist/browser/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  56. package/dist/browser/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  57. package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts +1 -1
  58. package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -1
  59. package/dist/browser/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  60. package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts +1 -1
  61. package/dist/browser/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
  62. package/dist/browser/operationsInterfaces/cloudHsmClusterRestoreStatus.js.map +1 -0
  63. package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusters.d.ts +1 -1
  64. package/dist/browser/operationsInterfaces/cloudHsmClusters.d.ts.map +1 -0
  65. package/dist/browser/operationsInterfaces/cloudHsmClusters.js.map +1 -0
  66. package/{dist-esm/src → dist/browser}/operationsInterfaces/dedicatedHsmOperations.d.ts +1 -1
  67. package/dist/browser/operationsInterfaces/dedicatedHsmOperations.d.ts.map +1 -0
  68. package/dist/browser/operationsInterfaces/dedicatedHsmOperations.js.map +1 -0
  69. package/dist/browser/operationsInterfaces/index.d.ts +9 -0
  70. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  71. package/dist/browser/operationsInterfaces/index.js +16 -0
  72. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  73. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  74. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  75. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  76. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
  77. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  78. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  79. package/dist/browser/package.json +3 -0
  80. package/dist/browser/pagingHelper.js.map +1 -0
  81. package/dist/commonjs/azureHSMResourceProvider.d.ts +27 -0
  82. package/dist/commonjs/azureHSMResourceProvider.d.ts.map +1 -0
  83. package/dist/commonjs/azureHSMResourceProvider.js +111 -0
  84. package/dist/commonjs/azureHSMResourceProvider.js.map +1 -0
  85. package/dist/commonjs/index.d.ts +5 -0
  86. package/dist/commonjs/index.d.ts.map +1 -0
  87. package/dist/commonjs/index.js +19 -0
  88. package/dist/commonjs/index.js.map +1 -0
  89. package/dist/commonjs/lroImpl.d.ts +11 -0
  90. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  91. package/dist/commonjs/lroImpl.js +17 -0
  92. package/dist/commonjs/lroImpl.js.map +1 -0
  93. package/{types/arm-hardwaresecuritymodules.d.ts → dist/commonjs/models/index.d.ts} +1182 -1694
  94. package/dist/commonjs/models/index.d.ts.map +1 -0
  95. package/dist/commonjs/models/index.js +191 -0
  96. package/dist/commonjs/models/index.js.map +1 -0
  97. package/dist/commonjs/models/mappers.d.ts +59 -0
  98. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  99. package/dist/commonjs/models/mappers.js +1418 -0
  100. package/dist/commonjs/models/mappers.js.map +1 -0
  101. package/dist/commonjs/models/parameters.d.ts +29 -0
  102. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  103. package/dist/commonjs/models/parameters.js +218 -0
  104. package/dist/commonjs/models/parameters.js.map +1 -0
  105. package/dist/commonjs/operations/cloudHsmClusterBackupStatus.d.ts +22 -0
  106. package/dist/commonjs/operations/cloudHsmClusterBackupStatus.d.ts.map +1 -0
  107. package/dist/commonjs/operations/cloudHsmClusterBackupStatus.js +66 -0
  108. package/dist/commonjs/operations/cloudHsmClusterBackupStatus.js.map +1 -0
  109. package/dist/commonjs/operations/cloudHsmClusterPrivateEndpointConnections.d.ts +55 -0
  110. package/dist/commonjs/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  111. package/dist/commonjs/operations/cloudHsmClusterPrivateEndpointConnections.js +201 -0
  112. package/dist/commonjs/operations/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  113. package/dist/commonjs/operations/cloudHsmClusterPrivateLinkResources.d.ts +41 -0
  114. package/dist/commonjs/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
  115. package/dist/commonjs/operations/cloudHsmClusterPrivateLinkResources.js +157 -0
  116. package/dist/commonjs/operations/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  117. package/dist/commonjs/operations/cloudHsmClusterRestoreStatus.d.ts +22 -0
  118. package/dist/commonjs/operations/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
  119. package/dist/commonjs/operations/cloudHsmClusterRestoreStatus.js +66 -0
  120. package/dist/commonjs/operations/cloudHsmClusterRestoreStatus.js.map +1 -0
  121. package/dist/commonjs/operations/cloudHsmClusters.d.ts +182 -0
  122. package/dist/commonjs/operations/cloudHsmClusters.d.ts.map +1 -0
  123. package/dist/commonjs/operations/cloudHsmClusters.js +941 -0
  124. package/dist/commonjs/operations/cloudHsmClusters.js.map +1 -0
  125. package/dist/commonjs/operations/dedicatedHsmOperations.d.ts +134 -0
  126. package/dist/commonjs/operations/dedicatedHsmOperations.d.ts.map +1 -0
  127. package/dist/commonjs/operations/dedicatedHsmOperations.js +673 -0
  128. package/dist/commonjs/operations/dedicatedHsmOperations.js.map +1 -0
  129. package/dist/commonjs/operations/index.d.ts +9 -0
  130. package/dist/commonjs/operations/index.d.ts.map +1 -0
  131. package/dist/commonjs/operations/index.js +19 -0
  132. package/dist/commonjs/operations/index.js.map +1 -0
  133. package/dist/commonjs/operations/operations.d.ts +26 -0
  134. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  135. package/dist/commonjs/operations/operations.js +100 -0
  136. package/dist/commonjs/operations/operations.js.map +1 -0
  137. package/dist/commonjs/operations/privateEndpointConnections.d.ts +43 -0
  138. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  139. package/dist/commonjs/operations/privateEndpointConnections.js +159 -0
  140. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  141. package/dist/commonjs/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts +14 -0
  142. package/dist/commonjs/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts.map +1 -0
  143. package/dist/commonjs/operationsInterfaces/cloudHsmClusterBackupStatus.js +10 -0
  144. package/dist/commonjs/operationsInterfaces/cloudHsmClusterBackupStatus.js.map +1 -0
  145. package/dist/commonjs/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts +47 -0
  146. package/dist/commonjs/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  147. package/dist/commonjs/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js +10 -0
  148. package/dist/commonjs/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  149. package/dist/commonjs/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts +14 -0
  150. package/dist/commonjs/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
  151. package/dist/commonjs/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js +10 -0
  152. package/dist/commonjs/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  153. package/dist/commonjs/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts +14 -0
  154. package/dist/commonjs/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
  155. package/dist/commonjs/operationsInterfaces/cloudHsmClusterRestoreStatus.js +10 -0
  156. package/dist/commonjs/operationsInterfaces/cloudHsmClusterRestoreStatus.js.map +1 -0
  157. package/dist/commonjs/operationsInterfaces/cloudHsmClusters.d.ts +145 -0
  158. package/dist/commonjs/operationsInterfaces/cloudHsmClusters.d.ts.map +1 -0
  159. package/dist/commonjs/operationsInterfaces/cloudHsmClusters.js +10 -0
  160. package/dist/commonjs/operationsInterfaces/cloudHsmClusters.js.map +1 -0
  161. package/dist/commonjs/operationsInterfaces/dedicatedHsmOperations.d.ts +78 -0
  162. package/dist/commonjs/operationsInterfaces/dedicatedHsmOperations.d.ts.map +1 -0
  163. package/dist/commonjs/operationsInterfaces/dedicatedHsmOperations.js +10 -0
  164. package/dist/commonjs/operationsInterfaces/dedicatedHsmOperations.js.map +1 -0
  165. package/dist/commonjs/operationsInterfaces/index.d.ts +9 -0
  166. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  167. package/dist/commonjs/operationsInterfaces/index.js +19 -0
  168. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  169. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  170. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  171. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  172. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  173. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +15 -0
  174. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  175. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  176. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  177. package/dist/commonjs/package.json +3 -0
  178. package/dist/commonjs/pagingHelper.d.ts +13 -0
  179. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  180. package/dist/commonjs/pagingHelper.js +36 -0
  181. package/dist/commonjs/pagingHelper.js.map +1 -0
  182. package/dist/esm/azureHSMResourceProvider.d.ts +27 -0
  183. package/dist/esm/azureHSMResourceProvider.d.ts.map +1 -0
  184. package/dist/esm/azureHSMResourceProvider.js +106 -0
  185. package/dist/esm/azureHSMResourceProvider.js.map +1 -0
  186. package/dist/esm/index.d.ts +5 -0
  187. package/dist/esm/index.d.ts.map +1 -0
  188. package/{src/index.ts → dist/esm/index.js} +5 -5
  189. package/dist/esm/index.js.map +1 -0
  190. package/dist/esm/lroImpl.d.ts +11 -0
  191. package/dist/esm/lroImpl.d.ts.map +1 -0
  192. package/dist/esm/lroImpl.js +14 -0
  193. package/dist/esm/lroImpl.js.map +1 -0
  194. package/dist/esm/models/index.d.ts +1182 -0
  195. package/dist/esm/models/index.d.ts.map +1 -0
  196. package/dist/esm/models/index.js +188 -0
  197. package/dist/esm/models/index.js.map +1 -0
  198. package/dist/esm/models/mappers.d.ts +59 -0
  199. package/dist/esm/models/mappers.d.ts.map +1 -0
  200. package/dist/esm/models/mappers.js +1414 -0
  201. package/dist/esm/models/mappers.js.map +1 -0
  202. package/dist/esm/models/parameters.d.ts +29 -0
  203. package/dist/esm/models/parameters.d.ts.map +1 -0
  204. package/dist/esm/models/parameters.js +215 -0
  205. package/dist/esm/models/parameters.js.map +1 -0
  206. package/dist/esm/operations/cloudHsmClusterBackupStatus.d.ts +22 -0
  207. package/dist/esm/operations/cloudHsmClusterBackupStatus.d.ts.map +1 -0
  208. package/dist/esm/operations/cloudHsmClusterBackupStatus.js +61 -0
  209. package/dist/esm/operations/cloudHsmClusterBackupStatus.js.map +1 -0
  210. package/dist/esm/operations/cloudHsmClusterPrivateEndpointConnections.d.ts +55 -0
  211. package/dist/esm/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  212. package/dist/esm/operations/cloudHsmClusterPrivateEndpointConnections.js +196 -0
  213. package/dist/esm/operations/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  214. package/dist/esm/operations/cloudHsmClusterPrivateLinkResources.d.ts +41 -0
  215. package/dist/esm/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
  216. package/dist/esm/operations/cloudHsmClusterPrivateLinkResources.js +153 -0
  217. package/dist/esm/operations/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  218. package/dist/esm/operations/cloudHsmClusterRestoreStatus.d.ts +22 -0
  219. package/dist/esm/operations/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
  220. package/dist/esm/operations/cloudHsmClusterRestoreStatus.js +61 -0
  221. package/dist/esm/operations/cloudHsmClusterRestoreStatus.js.map +1 -0
  222. package/dist/esm/operations/cloudHsmClusters.d.ts +182 -0
  223. package/dist/esm/operations/cloudHsmClusters.d.ts.map +1 -0
  224. package/dist/esm/operations/cloudHsmClusters.js +937 -0
  225. package/dist/esm/operations/cloudHsmClusters.js.map +1 -0
  226. package/dist/esm/operations/dedicatedHsmOperations.d.ts +134 -0
  227. package/dist/esm/operations/dedicatedHsmOperations.d.ts.map +1 -0
  228. package/dist/esm/operations/dedicatedHsmOperations.js +669 -0
  229. package/dist/esm/operations/dedicatedHsmOperations.js.map +1 -0
  230. package/dist/esm/operations/index.d.ts +9 -0
  231. package/dist/esm/operations/index.d.ts.map +1 -0
  232. package/dist/esm/operations/index.js +16 -0
  233. package/dist/esm/operations/index.js.map +1 -0
  234. package/dist/esm/operations/operations.d.ts +26 -0
  235. package/dist/esm/operations/operations.d.ts.map +1 -0
  236. package/dist/esm/operations/operations.js +96 -0
  237. package/dist/esm/operations/operations.js.map +1 -0
  238. package/dist/esm/operations/privateEndpointConnections.d.ts +43 -0
  239. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  240. package/dist/esm/operations/privateEndpointConnections.js +155 -0
  241. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  242. package/dist/esm/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts +14 -0
  243. package/dist/esm/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts.map +1 -0
  244. package/dist/esm/operationsInterfaces/cloudHsmClusterBackupStatus.js +9 -0
  245. package/dist/esm/operationsInterfaces/cloudHsmClusterBackupStatus.js.map +1 -0
  246. package/dist/esm/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts +47 -0
  247. package/dist/esm/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  248. package/dist/esm/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js +9 -0
  249. package/dist/esm/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  250. package/dist/esm/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts +14 -0
  251. package/dist/esm/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
  252. package/dist/esm/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js +9 -0
  253. package/dist/esm/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  254. package/dist/esm/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts +14 -0
  255. package/dist/esm/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
  256. package/dist/esm/operationsInterfaces/cloudHsmClusterRestoreStatus.js +9 -0
  257. package/dist/esm/operationsInterfaces/cloudHsmClusterRestoreStatus.js.map +1 -0
  258. package/dist/esm/operationsInterfaces/cloudHsmClusters.d.ts +145 -0
  259. package/dist/esm/operationsInterfaces/cloudHsmClusters.d.ts.map +1 -0
  260. package/dist/esm/operationsInterfaces/cloudHsmClusters.js +9 -0
  261. package/dist/esm/operationsInterfaces/cloudHsmClusters.js.map +1 -0
  262. package/dist/esm/operationsInterfaces/dedicatedHsmOperations.d.ts +78 -0
  263. package/dist/esm/operationsInterfaces/dedicatedHsmOperations.d.ts.map +1 -0
  264. package/dist/esm/operationsInterfaces/dedicatedHsmOperations.js +9 -0
  265. package/dist/esm/operationsInterfaces/dedicatedHsmOperations.js.map +1 -0
  266. package/dist/esm/operationsInterfaces/index.d.ts +9 -0
  267. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  268. package/dist/esm/operationsInterfaces/index.js +16 -0
  269. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  270. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  271. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  272. package/dist/esm/operationsInterfaces/operations.js +9 -0
  273. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  274. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +15 -0
  275. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  276. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  277. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  278. package/dist/esm/package.json +3 -0
  279. package/dist/esm/pagingHelper.d.ts +13 -0
  280. package/dist/esm/pagingHelper.d.ts.map +1 -0
  281. package/dist/esm/pagingHelper.js +32 -0
  282. package/dist/esm/pagingHelper.js.map +1 -0
  283. package/dist/react-native/azureHSMResourceProvider.d.ts +27 -0
  284. package/dist/react-native/azureHSMResourceProvider.d.ts.map +1 -0
  285. package/dist/react-native/azureHSMResourceProvider.js +106 -0
  286. package/dist/react-native/azureHSMResourceProvider.js.map +1 -0
  287. package/dist/react-native/index.d.ts +5 -0
  288. package/dist/react-native/index.d.ts.map +1 -0
  289. package/dist/react-native/index.js +13 -0
  290. package/dist/react-native/index.js.map +1 -0
  291. package/dist/react-native/lroImpl.d.ts +11 -0
  292. package/dist/react-native/lroImpl.d.ts.map +1 -0
  293. package/dist/react-native/lroImpl.js +14 -0
  294. package/dist/react-native/lroImpl.js.map +1 -0
  295. package/dist/react-native/models/index.d.ts +1182 -0
  296. package/dist/react-native/models/index.d.ts.map +1 -0
  297. package/dist/react-native/models/index.js +188 -0
  298. package/dist/react-native/models/index.js.map +1 -0
  299. package/dist/react-native/models/mappers.d.ts +59 -0
  300. package/dist/react-native/models/mappers.d.ts.map +1 -0
  301. package/dist/react-native/models/mappers.js +1414 -0
  302. package/dist/react-native/models/mappers.js.map +1 -0
  303. package/dist/react-native/models/parameters.d.ts +29 -0
  304. package/dist/react-native/models/parameters.d.ts.map +1 -0
  305. package/dist/react-native/models/parameters.js +215 -0
  306. package/dist/react-native/models/parameters.js.map +1 -0
  307. package/dist/react-native/operations/cloudHsmClusterBackupStatus.d.ts +22 -0
  308. package/dist/react-native/operations/cloudHsmClusterBackupStatus.d.ts.map +1 -0
  309. package/dist/react-native/operations/cloudHsmClusterBackupStatus.js +61 -0
  310. package/dist/react-native/operations/cloudHsmClusterBackupStatus.js.map +1 -0
  311. package/dist/react-native/operations/cloudHsmClusterPrivateEndpointConnections.d.ts +55 -0
  312. package/dist/react-native/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  313. package/dist/react-native/operations/cloudHsmClusterPrivateEndpointConnections.js +196 -0
  314. package/dist/react-native/operations/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  315. package/dist/react-native/operations/cloudHsmClusterPrivateLinkResources.d.ts +41 -0
  316. package/dist/react-native/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
  317. package/dist/react-native/operations/cloudHsmClusterPrivateLinkResources.js +153 -0
  318. package/dist/react-native/operations/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  319. package/dist/react-native/operations/cloudHsmClusterRestoreStatus.d.ts +22 -0
  320. package/dist/react-native/operations/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
  321. package/dist/react-native/operations/cloudHsmClusterRestoreStatus.js +61 -0
  322. package/dist/react-native/operations/cloudHsmClusterRestoreStatus.js.map +1 -0
  323. package/dist/react-native/operations/cloudHsmClusters.d.ts +182 -0
  324. package/dist/react-native/operations/cloudHsmClusters.d.ts.map +1 -0
  325. package/dist/react-native/operations/cloudHsmClusters.js +937 -0
  326. package/dist/react-native/operations/cloudHsmClusters.js.map +1 -0
  327. package/dist/react-native/operations/dedicatedHsmOperations.d.ts +134 -0
  328. package/dist/react-native/operations/dedicatedHsmOperations.d.ts.map +1 -0
  329. package/dist/react-native/operations/dedicatedHsmOperations.js +669 -0
  330. package/dist/react-native/operations/dedicatedHsmOperations.js.map +1 -0
  331. package/dist/react-native/operations/index.d.ts +9 -0
  332. package/dist/react-native/operations/index.d.ts.map +1 -0
  333. package/dist/react-native/operations/index.js +16 -0
  334. package/dist/react-native/operations/index.js.map +1 -0
  335. package/dist/react-native/operations/operations.d.ts +26 -0
  336. package/dist/react-native/operations/operations.d.ts.map +1 -0
  337. package/dist/react-native/operations/operations.js +96 -0
  338. package/dist/react-native/operations/operations.js.map +1 -0
  339. package/dist/react-native/operations/privateEndpointConnections.d.ts +43 -0
  340. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
  341. package/dist/react-native/operations/privateEndpointConnections.js +155 -0
  342. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
  343. package/dist/react-native/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts +14 -0
  344. package/dist/react-native/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts.map +1 -0
  345. package/dist/react-native/operationsInterfaces/cloudHsmClusterBackupStatus.js +9 -0
  346. package/dist/react-native/operationsInterfaces/cloudHsmClusterBackupStatus.js.map +1 -0
  347. package/dist/react-native/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts +47 -0
  348. package/dist/react-native/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  349. package/dist/react-native/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js +9 -0
  350. package/dist/react-native/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  351. package/dist/react-native/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts +14 -0
  352. package/dist/react-native/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
  353. package/dist/react-native/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js +9 -0
  354. package/dist/react-native/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  355. package/dist/react-native/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts +14 -0
  356. package/dist/react-native/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
  357. package/dist/react-native/operationsInterfaces/cloudHsmClusterRestoreStatus.js +9 -0
  358. package/dist/react-native/operationsInterfaces/cloudHsmClusterRestoreStatus.js.map +1 -0
  359. package/dist/react-native/operationsInterfaces/cloudHsmClusters.d.ts +145 -0
  360. package/dist/react-native/operationsInterfaces/cloudHsmClusters.d.ts.map +1 -0
  361. package/dist/react-native/operationsInterfaces/cloudHsmClusters.js +9 -0
  362. package/dist/react-native/operationsInterfaces/cloudHsmClusters.js.map +1 -0
  363. package/dist/react-native/operationsInterfaces/dedicatedHsmOperations.d.ts +78 -0
  364. package/dist/react-native/operationsInterfaces/dedicatedHsmOperations.d.ts.map +1 -0
  365. package/dist/react-native/operationsInterfaces/dedicatedHsmOperations.js +9 -0
  366. package/dist/react-native/operationsInterfaces/dedicatedHsmOperations.js.map +1 -0
  367. package/dist/react-native/operationsInterfaces/index.d.ts +9 -0
  368. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  369. package/dist/react-native/operationsInterfaces/index.js +16 -0
  370. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  371. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  372. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  373. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  374. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  375. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +15 -0
  376. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  377. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
  378. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  379. package/dist/react-native/package.json +3 -0
  380. package/dist/react-native/pagingHelper.d.ts +13 -0
  381. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  382. package/dist/react-native/pagingHelper.js +32 -0
  383. package/dist/react-native/pagingHelper.js.map +1 -0
  384. package/package.json +85 -57
  385. package/dist/index.js +0 -4356
  386. package/dist/index.js.map +0 -1
  387. package/dist/index.min.js +0 -1
  388. package/dist/index.min.js.map +0 -1
  389. package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.d.ts +0 -2
  390. package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.d.ts.map +0 -1
  391. package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.js +0 -38
  392. package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.js.map +0 -1
  393. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.d.ts +0 -2
  394. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.d.ts.map +0 -1
  395. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js +0 -37
  396. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js.map +0 -1
  397. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.d.ts +0 -2
  398. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  399. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js +0 -38
  400. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js.map +0 -1
  401. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.d.ts +0 -2
  402. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.d.ts.map +0 -1
  403. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js +0 -38
  404. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js.map +0 -1
  405. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.d.ts +0 -2
  406. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.d.ts.map +0 -1
  407. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js +0 -53
  408. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js.map +0 -1
  409. package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.d.ts +0 -2
  410. package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.d.ts.map +0 -1
  411. package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.js +0 -38
  412. package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.js.map +0 -1
  413. package/dist-esm/samples-dev/cloudHsmClustersBackupSample.d.ts +0 -2
  414. package/dist-esm/samples-dev/cloudHsmClustersBackupSample.d.ts.map +0 -1
  415. package/dist-esm/samples-dev/cloudHsmClustersBackupSample.js +0 -37
  416. package/dist-esm/samples-dev/cloudHsmClustersBackupSample.js.map +0 -1
  417. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.d.ts +0 -2
  418. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.d.ts.map +0 -1
  419. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js +0 -44
  420. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js.map +0 -1
  421. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.d.ts +0 -2
  422. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.d.ts.map +0 -1
  423. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js +0 -37
  424. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js.map +0 -1
  425. package/dist-esm/samples-dev/cloudHsmClustersGetSample.d.ts +0 -2
  426. package/dist-esm/samples-dev/cloudHsmClustersGetSample.d.ts.map +0 -1
  427. package/dist-esm/samples-dev/cloudHsmClustersGetSample.js +0 -37
  428. package/dist-esm/samples-dev/cloudHsmClustersGetSample.js.map +0 -1
  429. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.d.ts +0 -2
  430. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.d.ts.map +0 -1
  431. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js +0 -52
  432. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js.map +0 -1
  433. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.d.ts +0 -2
  434. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.d.ts.map +0 -1
  435. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js +0 -51
  436. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js.map +0 -1
  437. package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.d.ts +0 -2
  438. package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.d.ts.map +0 -1
  439. package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.js +0 -34
  440. package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.js.map +0 -1
  441. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.d.ts +0 -2
  442. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.d.ts.map +0 -1
  443. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js +0 -38
  444. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js.map +0 -1
  445. package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.d.ts +0 -2
  446. package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.d.ts.map +0 -1
  447. package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.js +0 -37
  448. package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.js.map +0 -1
  449. package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.d.ts +0 -2
  450. package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.d.ts.map +0 -1
  451. package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.js +0 -37
  452. package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.js.map +0 -1
  453. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.d.ts +0 -2
  454. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.d.ts.map +0 -1
  455. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js +0 -110
  456. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js.map +0 -1
  457. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.d.ts +0 -2
  458. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.d.ts.map +0 -1
  459. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js +0 -37
  460. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js.map +0 -1
  461. package/dist-esm/samples-dev/dedicatedHsmGetSample.d.ts +0 -2
  462. package/dist-esm/samples-dev/dedicatedHsmGetSample.d.ts.map +0 -1
  463. package/dist-esm/samples-dev/dedicatedHsmGetSample.js +0 -75
  464. package/dist-esm/samples-dev/dedicatedHsmGetSample.js.map +0 -1
  465. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.d.ts +0 -2
  466. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.d.ts.map +0 -1
  467. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js +0 -86
  468. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js.map +0 -1
  469. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.d.ts +0 -2
  470. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.d.ts.map +0 -1
  471. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js +0 -84
  472. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js.map +0 -1
  473. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.d.ts +0 -2
  474. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.d.ts.map +0 -1
  475. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js +0 -53
  476. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js.map +0 -1
  477. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.d.ts +0 -2
  478. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.d.ts.map +0 -1
  479. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js +0 -53
  480. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js.map +0 -1
  481. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  482. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  483. package/dist-esm/samples-dev/operationsListSample.js +0 -84
  484. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  485. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.d.ts +0 -2
  486. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.d.ts.map +0 -1
  487. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js +0 -53
  488. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js.map +0 -1
  489. package/dist-esm/src/azureHSMResourceProvider.d.ts.map +0 -1
  490. package/dist-esm/src/azureHSMResourceProvider.js.map +0 -1
  491. package/dist-esm/src/index.d.ts +0 -5
  492. package/dist-esm/src/index.js.map +0 -1
  493. package/dist-esm/src/lroImpl.js.map +0 -1
  494. package/dist-esm/src/models/index.js.map +0 -1
  495. package/dist-esm/src/models/mappers.js.map +0 -1
  496. package/dist-esm/src/models/parameters.js.map +0 -1
  497. package/dist-esm/src/operations/cloudHsmClusterBackupStatus.d.ts.map +0 -1
  498. package/dist-esm/src/operations/cloudHsmClusterBackupStatus.js.map +0 -1
  499. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +0 -1
  500. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js.map +0 -1
  501. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +0 -1
  502. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js.map +0 -1
  503. package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.d.ts.map +0 -1
  504. package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.js.map +0 -1
  505. package/dist-esm/src/operations/cloudHsmClusters.d.ts.map +0 -1
  506. package/dist-esm/src/operations/cloudHsmClusters.js.map +0 -1
  507. package/dist-esm/src/operations/dedicatedHsmOperations.d.ts.map +0 -1
  508. package/dist-esm/src/operations/dedicatedHsmOperations.js.map +0 -1
  509. package/dist-esm/src/operations/index.d.ts +0 -9
  510. package/dist-esm/src/operations/index.d.ts.map +0 -1
  511. package/dist-esm/src/operations/index.js +0 -16
  512. package/dist-esm/src/operations/index.js.map +0 -1
  513. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  514. package/dist-esm/src/operations/operations.js.map +0 -1
  515. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  516. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  517. package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts.map +0 -1
  518. package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.js.map +0 -1
  519. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +0 -1
  520. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js.map +0 -1
  521. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js.map +0 -1
  522. package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts.map +0 -1
  523. package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.js.map +0 -1
  524. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts.map +0 -1
  525. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.js.map +0 -1
  526. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts.map +0 -1
  527. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.js.map +0 -1
  528. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -9
  529. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  530. package/dist-esm/src/operationsInterfaces/index.js +0 -16
  531. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  532. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  533. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  534. package/dist-esm/src/pagingHelper.js.map +0 -1
  535. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts +0 -4
  536. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts.map +0 -1
  537. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js +0 -77
  538. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js.map +0 -1
  539. package/src/azureHSMResourceProvider.ts +0 -179
  540. package/src/lroImpl.ts +0 -38
  541. package/src/models/index.ts +0 -1366
  542. package/src/models/mappers.ts +0 -1529
  543. package/src/models/parameters.ts +0 -255
  544. package/src/operations/cloudHsmClusterBackupStatus.ts +0 -82
  545. package/src/operations/cloudHsmClusterPrivateEndpointConnections.ts +0 -281
  546. package/src/operations/cloudHsmClusterPrivateLinkResources.ts +0 -206
  547. package/src/operations/cloudHsmClusterRestoreStatus.ts +0 -82
  548. package/src/operations/cloudHsmClusters.ts +0 -1283
  549. package/src/operations/dedicatedHsmOperations.ts +0 -888
  550. package/src/operations/index.ts +0 -16
  551. package/src/operations/operations.ts +0 -103
  552. package/src/operations/privateEndpointConnections.ts +0 -208
  553. package/src/operationsInterfaces/cloudHsmClusterBackupStatus.ts +0 -30
  554. package/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.ts +0 -89
  555. package/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.ts +0 -30
  556. package/src/operationsInterfaces/cloudHsmClusterRestoreStatus.ts +0 -30
  557. package/src/operationsInterfaces/cloudHsmClusters.ts +0 -279
  558. package/src/operationsInterfaces/dedicatedHsmOperations.ts +0 -155
  559. package/src/operationsInterfaces/index.ts +0 -16
  560. package/src/operationsInterfaces/operations.ts +0 -22
  561. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -31
  562. package/src/pagingHelper.ts +0 -39
  563. package/tsconfig.json +0 -33
  564. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  565. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  566. /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
  567. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  568. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  569. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  570. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  571. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  572. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  573. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  574. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  575. /package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusterBackupStatus.js +0 -0
  576. /package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js +0 -0
  577. /package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js +0 -0
  578. /package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusterRestoreStatus.js +0 -0
  579. /package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusters.js +0 -0
  580. /package/{dist-esm/src → dist/browser}/operationsInterfaces/dedicatedHsmOperations.js +0 -0
  581. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  582. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
  583. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  584. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  585. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  586. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -5,13 +5,13 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
13
  import { createHttpPoller, } from "@azure/core-lro";
14
- import { createLroSpec } from "../lroImpl";
14
+ import { createLroSpec } from "../lroImpl.js";
15
15
  /// <reference lib="esnext.asynciterable" />
16
16
  /** Class containing CloudHsmClusters operations. */
17
17
  export class CloudHsmClustersImpl {
@@ -154,43 +154,41 @@ export class CloudHsmClustersImpl {
154
154
  * @param location The geo-location where the resource lives
155
155
  * @param options The options parameters.
156
156
  */
157
- beginCreateOrUpdate(resourceGroupName, cloudHsmClusterName, location, options) {
158
- return __awaiter(this, void 0, void 0, function* () {
159
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
160
- return this.client.sendOperationRequest(args, spec);
161
- });
162
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
163
- var _a;
164
- let currentRawResponse = undefined;
165
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
166
- const callback = (rawResponse, flatResponse) => {
167
- currentRawResponse = rawResponse;
168
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
169
- };
170
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
171
- const flatResponse = yield directSendOperation(updatedArgs, spec);
172
- return {
173
- flatResponse,
174
- rawResponse: {
175
- statusCode: currentRawResponse.status,
176
- body: currentRawResponse.parsedBody,
177
- headers: currentRawResponse.headers.toJSON(),
178
- },
179
- };
180
- });
181
- const lro = createLroSpec({
182
- sendOperationFn,
183
- args: { resourceGroupName, cloudHsmClusterName, location, options },
184
- spec: createOrUpdateOperationSpec,
185
- });
186
- const poller = yield createHttpPoller(lro, {
187
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
188
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
189
- resourceLocationConfig: "original-uri",
190
- });
191
- yield poller.poll();
192
- return poller;
157
+ async beginCreateOrUpdate(resourceGroupName, cloudHsmClusterName, location, options) {
158
+ const directSendOperation = async (args, spec) => {
159
+ return this.client.sendOperationRequest(args, spec);
160
+ };
161
+ const sendOperationFn = async (args, spec) => {
162
+ var _a;
163
+ let currentRawResponse = undefined;
164
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
165
+ const callback = (rawResponse, flatResponse) => {
166
+ currentRawResponse = rawResponse;
167
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
168
+ };
169
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
170
+ const flatResponse = await directSendOperation(updatedArgs, spec);
171
+ return {
172
+ flatResponse,
173
+ rawResponse: {
174
+ statusCode: currentRawResponse.status,
175
+ body: currentRawResponse.parsedBody,
176
+ headers: currentRawResponse.headers.toJSON(),
177
+ },
178
+ };
179
+ };
180
+ const lro = createLroSpec({
181
+ sendOperationFn,
182
+ args: { resourceGroupName, cloudHsmClusterName, location, options },
183
+ spec: createOrUpdateOperationSpec,
193
184
  });
185
+ const poller = await createHttpPoller(lro, {
186
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
187
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
188
+ resourceLocationConfig: "original-uri",
189
+ });
190
+ await poller.poll();
191
+ return poller;
194
192
  }
195
193
  /**
196
194
  * Create or Update a Cloud HSM Cluster in the specified subscription.
@@ -200,11 +198,9 @@ export class CloudHsmClustersImpl {
200
198
  * @param location The geo-location where the resource lives
201
199
  * @param options The options parameters.
202
200
  */
203
- beginCreateOrUpdateAndWait(resourceGroupName, cloudHsmClusterName, location, options) {
204
- return __awaiter(this, void 0, void 0, function* () {
205
- const poller = yield this.beginCreateOrUpdate(resourceGroupName, cloudHsmClusterName, location, options);
206
- return poller.pollUntilDone();
207
- });
201
+ async beginCreateOrUpdateAndWait(resourceGroupName, cloudHsmClusterName, location, options) {
202
+ const poller = await this.beginCreateOrUpdate(resourceGroupName, cloudHsmClusterName, location, options);
203
+ return poller.pollUntilDone();
208
204
  }
209
205
  /**
210
206
  * Update a Cloud HSM Cluster in the specified subscription.
@@ -213,43 +209,41 @@ export class CloudHsmClustersImpl {
213
209
  * Cloud HSM Cluster names must be between 3 and 23 characters in length.
214
210
  * @param options The options parameters.
215
211
  */
216
- beginUpdate(resourceGroupName, cloudHsmClusterName, options) {
217
- return __awaiter(this, void 0, void 0, function* () {
218
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
219
- return this.client.sendOperationRequest(args, spec);
220
- });
221
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
222
- var _a;
223
- let currentRawResponse = undefined;
224
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
225
- const callback = (rawResponse, flatResponse) => {
226
- currentRawResponse = rawResponse;
227
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
228
- };
229
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
230
- const flatResponse = yield directSendOperation(updatedArgs, spec);
231
- return {
232
- flatResponse,
233
- rawResponse: {
234
- statusCode: currentRawResponse.status,
235
- body: currentRawResponse.parsedBody,
236
- headers: currentRawResponse.headers.toJSON(),
237
- },
238
- };
239
- });
240
- const lro = createLroSpec({
241
- sendOperationFn,
242
- args: { resourceGroupName, cloudHsmClusterName, options },
243
- spec: updateOperationSpec,
244
- });
245
- const poller = yield createHttpPoller(lro, {
246
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
247
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
248
- resourceLocationConfig: "location",
249
- });
250
- yield poller.poll();
251
- return poller;
212
+ async beginUpdate(resourceGroupName, cloudHsmClusterName, options) {
213
+ const directSendOperation = async (args, spec) => {
214
+ return this.client.sendOperationRequest(args, spec);
215
+ };
216
+ const sendOperationFn = async (args, spec) => {
217
+ var _a;
218
+ let currentRawResponse = undefined;
219
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
220
+ const callback = (rawResponse, flatResponse) => {
221
+ currentRawResponse = rawResponse;
222
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
223
+ };
224
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
225
+ const flatResponse = await directSendOperation(updatedArgs, spec);
226
+ return {
227
+ flatResponse,
228
+ rawResponse: {
229
+ statusCode: currentRawResponse.status,
230
+ body: currentRawResponse.parsedBody,
231
+ headers: currentRawResponse.headers.toJSON(),
232
+ },
233
+ };
234
+ };
235
+ const lro = createLroSpec({
236
+ sendOperationFn,
237
+ args: { resourceGroupName, cloudHsmClusterName, options },
238
+ spec: updateOperationSpec,
239
+ });
240
+ const poller = await createHttpPoller(lro, {
241
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
242
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
243
+ resourceLocationConfig: "location",
252
244
  });
245
+ await poller.poll();
246
+ return poller;
253
247
  }
254
248
  /**
255
249
  * Update a Cloud HSM Cluster in the specified subscription.
@@ -258,11 +252,9 @@ export class CloudHsmClustersImpl {
258
252
  * Cloud HSM Cluster names must be between 3 and 23 characters in length.
259
253
  * @param options The options parameters.
260
254
  */
261
- beginUpdateAndWait(resourceGroupName, cloudHsmClusterName, options) {
262
- return __awaiter(this, void 0, void 0, function* () {
263
- const poller = yield this.beginUpdate(resourceGroupName, cloudHsmClusterName, options);
264
- return poller.pollUntilDone();
265
- });
255
+ async beginUpdateAndWait(resourceGroupName, cloudHsmClusterName, options) {
256
+ const poller = await this.beginUpdate(resourceGroupName, cloudHsmClusterName, options);
257
+ return poller.pollUntilDone();
266
258
  }
267
259
  /**
268
260
  * Gets the specified Cloud HSM Cluster
@@ -281,43 +273,41 @@ export class CloudHsmClustersImpl {
281
273
  * Cloud HSM Cluster names must be between 3 and 23 characters in length.
282
274
  * @param options The options parameters.
283
275
  */
284
- beginDelete(resourceGroupName, cloudHsmClusterName, options) {
285
- return __awaiter(this, void 0, void 0, function* () {
286
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
287
- return this.client.sendOperationRequest(args, spec);
288
- });
289
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
290
- var _a;
291
- let currentRawResponse = undefined;
292
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
293
- const callback = (rawResponse, flatResponse) => {
294
- currentRawResponse = rawResponse;
295
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
296
- };
297
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
298
- const flatResponse = yield directSendOperation(updatedArgs, spec);
299
- return {
300
- flatResponse,
301
- rawResponse: {
302
- statusCode: currentRawResponse.status,
303
- body: currentRawResponse.parsedBody,
304
- headers: currentRawResponse.headers.toJSON(),
305
- },
306
- };
307
- });
308
- const lro = createLroSpec({
309
- sendOperationFn,
310
- args: { resourceGroupName, cloudHsmClusterName, options },
311
- spec: deleteOperationSpec,
312
- });
313
- const poller = yield createHttpPoller(lro, {
314
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
315
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
316
- resourceLocationConfig: "location",
317
- });
318
- yield poller.poll();
319
- return poller;
276
+ async beginDelete(resourceGroupName, cloudHsmClusterName, options) {
277
+ const directSendOperation = async (args, spec) => {
278
+ return this.client.sendOperationRequest(args, spec);
279
+ };
280
+ const sendOperationFn = async (args, spec) => {
281
+ var _a;
282
+ let currentRawResponse = undefined;
283
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
284
+ const callback = (rawResponse, flatResponse) => {
285
+ currentRawResponse = rawResponse;
286
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
287
+ };
288
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
289
+ const flatResponse = await directSendOperation(updatedArgs, spec);
290
+ return {
291
+ flatResponse,
292
+ rawResponse: {
293
+ statusCode: currentRawResponse.status,
294
+ body: currentRawResponse.parsedBody,
295
+ headers: currentRawResponse.headers.toJSON(),
296
+ },
297
+ };
298
+ };
299
+ const lro = createLroSpec({
300
+ sendOperationFn,
301
+ args: { resourceGroupName, cloudHsmClusterName, options },
302
+ spec: deleteOperationSpec,
303
+ });
304
+ const poller = await createHttpPoller(lro, {
305
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
306
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
307
+ resourceLocationConfig: "location",
320
308
  });
309
+ await poller.poll();
310
+ return poller;
321
311
  }
322
312
  /**
323
313
  * Deletes the specified Cloud HSM Cluster
@@ -326,11 +316,9 @@ export class CloudHsmClustersImpl {
326
316
  * Cloud HSM Cluster names must be between 3 and 23 characters in length.
327
317
  * @param options The options parameters.
328
318
  */
329
- beginDeleteAndWait(resourceGroupName, cloudHsmClusterName, options) {
330
- return __awaiter(this, void 0, void 0, function* () {
331
- const poller = yield this.beginDelete(resourceGroupName, cloudHsmClusterName, options);
332
- return poller.pollUntilDone();
333
- });
319
+ async beginDeleteAndWait(resourceGroupName, cloudHsmClusterName, options) {
320
+ const poller = await this.beginDelete(resourceGroupName, cloudHsmClusterName, options);
321
+ return poller.pollUntilDone();
334
322
  }
335
323
  /**
336
324
  * The List operation gets information about the Cloud HSM Clusters associated with the subscription
@@ -356,43 +344,41 @@ export class CloudHsmClustersImpl {
356
344
  * Cloud HSM Cluster names must be between 3 and 23 characters in length.
357
345
  * @param options The options parameters.
358
346
  */
359
- beginValidateBackupProperties(resourceGroupName, cloudHsmClusterName, options) {
360
- return __awaiter(this, void 0, void 0, function* () {
361
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
362
- return this.client.sendOperationRequest(args, spec);
363
- });
364
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
365
- var _a;
366
- let currentRawResponse = undefined;
367
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
368
- const callback = (rawResponse, flatResponse) => {
369
- currentRawResponse = rawResponse;
370
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
371
- };
372
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
373
- const flatResponse = yield directSendOperation(updatedArgs, spec);
374
- return {
375
- flatResponse,
376
- rawResponse: {
377
- statusCode: currentRawResponse.status,
378
- body: currentRawResponse.parsedBody,
379
- headers: currentRawResponse.headers.toJSON(),
380
- },
381
- };
382
- });
383
- const lro = createLroSpec({
384
- sendOperationFn,
385
- args: { resourceGroupName, cloudHsmClusterName, options },
386
- spec: validateBackupPropertiesOperationSpec,
387
- });
388
- const poller = yield createHttpPoller(lro, {
389
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
390
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
391
- resourceLocationConfig: "azure-async-operation",
392
- });
393
- yield poller.poll();
394
- return poller;
347
+ async beginValidateBackupProperties(resourceGroupName, cloudHsmClusterName, options) {
348
+ const directSendOperation = async (args, spec) => {
349
+ return this.client.sendOperationRequest(args, spec);
350
+ };
351
+ const sendOperationFn = async (args, spec) => {
352
+ var _a;
353
+ let currentRawResponse = undefined;
354
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
355
+ const callback = (rawResponse, flatResponse) => {
356
+ currentRawResponse = rawResponse;
357
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
358
+ };
359
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
360
+ const flatResponse = await directSendOperation(updatedArgs, spec);
361
+ return {
362
+ flatResponse,
363
+ rawResponse: {
364
+ statusCode: currentRawResponse.status,
365
+ body: currentRawResponse.parsedBody,
366
+ headers: currentRawResponse.headers.toJSON(),
367
+ },
368
+ };
369
+ };
370
+ const lro = createLroSpec({
371
+ sendOperationFn,
372
+ args: { resourceGroupName, cloudHsmClusterName, options },
373
+ spec: validateBackupPropertiesOperationSpec,
395
374
  });
375
+ const poller = await createHttpPoller(lro, {
376
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
377
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
378
+ resourceLocationConfig: "azure-async-operation",
379
+ });
380
+ await poller.poll();
381
+ return poller;
396
382
  }
397
383
  /**
398
384
  * Pre Backup operation to validate whether the customer can perform a backup on the Cloud HSM Cluster
@@ -402,11 +388,9 @@ export class CloudHsmClustersImpl {
402
388
  * Cloud HSM Cluster names must be between 3 and 23 characters in length.
403
389
  * @param options The options parameters.
404
390
  */
405
- beginValidateBackupPropertiesAndWait(resourceGroupName, cloudHsmClusterName, options) {
406
- return __awaiter(this, void 0, void 0, function* () {
407
- const poller = yield this.beginValidateBackupProperties(resourceGroupName, cloudHsmClusterName, options);
408
- return poller.pollUntilDone();
409
- });
391
+ async beginValidateBackupPropertiesAndWait(resourceGroupName, cloudHsmClusterName, options) {
392
+ const poller = await this.beginValidateBackupProperties(resourceGroupName, cloudHsmClusterName, options);
393
+ return poller.pollUntilDone();
410
394
  }
411
395
  /**
412
396
  * Create a backup of the Cloud HSM Cluster in the specified subscription
@@ -415,43 +399,41 @@ export class CloudHsmClustersImpl {
415
399
  * Cloud HSM Cluster names must be between 3 and 23 characters in length.
416
400
  * @param options The options parameters.
417
401
  */
418
- beginBackup(resourceGroupName, cloudHsmClusterName, options) {
419
- return __awaiter(this, void 0, void 0, function* () {
420
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
421
- return this.client.sendOperationRequest(args, spec);
422
- });
423
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
424
- var _a;
425
- let currentRawResponse = undefined;
426
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
427
- const callback = (rawResponse, flatResponse) => {
428
- currentRawResponse = rawResponse;
429
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
430
- };
431
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
432
- const flatResponse = yield directSendOperation(updatedArgs, spec);
433
- return {
434
- flatResponse,
435
- rawResponse: {
436
- statusCode: currentRawResponse.status,
437
- body: currentRawResponse.parsedBody,
438
- headers: currentRawResponse.headers.toJSON(),
439
- },
440
- };
441
- });
442
- const lro = createLroSpec({
443
- sendOperationFn,
444
- args: { resourceGroupName, cloudHsmClusterName, options },
445
- spec: backupOperationSpec,
446
- });
447
- const poller = yield createHttpPoller(lro, {
448
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
449
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
450
- resourceLocationConfig: "azure-async-operation",
451
- });
452
- yield poller.poll();
453
- return poller;
402
+ async beginBackup(resourceGroupName, cloudHsmClusterName, options) {
403
+ const directSendOperation = async (args, spec) => {
404
+ return this.client.sendOperationRequest(args, spec);
405
+ };
406
+ const sendOperationFn = async (args, spec) => {
407
+ var _a;
408
+ let currentRawResponse = undefined;
409
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
410
+ const callback = (rawResponse, flatResponse) => {
411
+ currentRawResponse = rawResponse;
412
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
413
+ };
414
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
415
+ const flatResponse = await directSendOperation(updatedArgs, spec);
416
+ return {
417
+ flatResponse,
418
+ rawResponse: {
419
+ statusCode: currentRawResponse.status,
420
+ body: currentRawResponse.parsedBody,
421
+ headers: currentRawResponse.headers.toJSON(),
422
+ },
423
+ };
424
+ };
425
+ const lro = createLroSpec({
426
+ sendOperationFn,
427
+ args: { resourceGroupName, cloudHsmClusterName, options },
428
+ spec: backupOperationSpec,
454
429
  });
430
+ const poller = await createHttpPoller(lro, {
431
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
432
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
433
+ resourceLocationConfig: "azure-async-operation",
434
+ });
435
+ await poller.poll();
436
+ return poller;
455
437
  }
456
438
  /**
457
439
  * Create a backup of the Cloud HSM Cluster in the specified subscription
@@ -460,11 +442,9 @@ export class CloudHsmClustersImpl {
460
442
  * Cloud HSM Cluster names must be between 3 and 23 characters in length.
461
443
  * @param options The options parameters.
462
444
  */
463
- beginBackupAndWait(resourceGroupName, cloudHsmClusterName, options) {
464
- return __awaiter(this, void 0, void 0, function* () {
465
- const poller = yield this.beginBackup(resourceGroupName, cloudHsmClusterName, options);
466
- return poller.pollUntilDone();
467
- });
445
+ async beginBackupAndWait(resourceGroupName, cloudHsmClusterName, options) {
446
+ const poller = await this.beginBackup(resourceGroupName, cloudHsmClusterName, options);
447
+ return poller.pollUntilDone();
468
448
  }
469
449
  /**
470
450
  * Queued validating pre restore operation
@@ -473,43 +453,41 @@ export class CloudHsmClustersImpl {
473
453
  * Cloud HSM Cluster names must be between 3 and 23 characters in length.
474
454
  * @param options The options parameters.
475
455
  */
476
- beginValidateRestoreProperties(resourceGroupName, cloudHsmClusterName, options) {
477
- return __awaiter(this, void 0, void 0, function* () {
478
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
479
- return this.client.sendOperationRequest(args, spec);
480
- });
481
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
482
- var _a;
483
- let currentRawResponse = undefined;
484
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
485
- const callback = (rawResponse, flatResponse) => {
486
- currentRawResponse = rawResponse;
487
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
488
- };
489
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
490
- const flatResponse = yield directSendOperation(updatedArgs, spec);
491
- return {
492
- flatResponse,
493
- rawResponse: {
494
- statusCode: currentRawResponse.status,
495
- body: currentRawResponse.parsedBody,
496
- headers: currentRawResponse.headers.toJSON(),
497
- },
498
- };
499
- });
500
- const lro = createLroSpec({
501
- sendOperationFn,
502
- args: { resourceGroupName, cloudHsmClusterName, options },
503
- spec: validateRestorePropertiesOperationSpec,
504
- });
505
- const poller = yield createHttpPoller(lro, {
506
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
507
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
508
- resourceLocationConfig: "azure-async-operation",
509
- });
510
- yield poller.poll();
511
- return poller;
456
+ async beginValidateRestoreProperties(resourceGroupName, cloudHsmClusterName, options) {
457
+ const directSendOperation = async (args, spec) => {
458
+ return this.client.sendOperationRequest(args, spec);
459
+ };
460
+ const sendOperationFn = async (args, spec) => {
461
+ var _a;
462
+ let currentRawResponse = undefined;
463
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
464
+ const callback = (rawResponse, flatResponse) => {
465
+ currentRawResponse = rawResponse;
466
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
467
+ };
468
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
469
+ const flatResponse = await directSendOperation(updatedArgs, spec);
470
+ return {
471
+ flatResponse,
472
+ rawResponse: {
473
+ statusCode: currentRawResponse.status,
474
+ body: currentRawResponse.parsedBody,
475
+ headers: currentRawResponse.headers.toJSON(),
476
+ },
477
+ };
478
+ };
479
+ const lro = createLroSpec({
480
+ sendOperationFn,
481
+ args: { resourceGroupName, cloudHsmClusterName, options },
482
+ spec: validateRestorePropertiesOperationSpec,
483
+ });
484
+ const poller = await createHttpPoller(lro, {
485
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
486
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
487
+ resourceLocationConfig: "azure-async-operation",
512
488
  });
489
+ await poller.poll();
490
+ return poller;
513
491
  }
514
492
  /**
515
493
  * Queued validating pre restore operation
@@ -518,11 +496,9 @@ export class CloudHsmClustersImpl {
518
496
  * Cloud HSM Cluster names must be between 3 and 23 characters in length.
519
497
  * @param options The options parameters.
520
498
  */
521
- beginValidateRestorePropertiesAndWait(resourceGroupName, cloudHsmClusterName, options) {
522
- return __awaiter(this, void 0, void 0, function* () {
523
- const poller = yield this.beginValidateRestoreProperties(resourceGroupName, cloudHsmClusterName, options);
524
- return poller.pollUntilDone();
525
- });
499
+ async beginValidateRestorePropertiesAndWait(resourceGroupName, cloudHsmClusterName, options) {
500
+ const poller = await this.beginValidateRestoreProperties(resourceGroupName, cloudHsmClusterName, options);
501
+ return poller.pollUntilDone();
526
502
  }
527
503
  /**
528
504
  * Restores all key materials of a specified Cloud HSM Cluster
@@ -532,48 +508,46 @@ export class CloudHsmClustersImpl {
532
508
  * @param restoreRequestProperties Restore Operation Required properties
533
509
  * @param options The options parameters.
534
510
  */
535
- beginRestore(resourceGroupName, cloudHsmClusterName, restoreRequestProperties, options) {
536
- return __awaiter(this, void 0, void 0, function* () {
537
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
538
- return this.client.sendOperationRequest(args, spec);
539
- });
540
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
541
- var _a;
542
- let currentRawResponse = undefined;
543
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
544
- const callback = (rawResponse, flatResponse) => {
545
- currentRawResponse = rawResponse;
546
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
547
- };
548
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
549
- const flatResponse = yield directSendOperation(updatedArgs, spec);
550
- return {
551
- flatResponse,
552
- rawResponse: {
553
- statusCode: currentRawResponse.status,
554
- body: currentRawResponse.parsedBody,
555
- headers: currentRawResponse.headers.toJSON(),
556
- },
557
- };
558
- });
559
- const lro = createLroSpec({
560
- sendOperationFn,
561
- args: {
562
- resourceGroupName,
563
- cloudHsmClusterName,
564
- restoreRequestProperties,
565
- options,
511
+ async beginRestore(resourceGroupName, cloudHsmClusterName, restoreRequestProperties, options) {
512
+ const directSendOperation = async (args, spec) => {
513
+ return this.client.sendOperationRequest(args, spec);
514
+ };
515
+ const sendOperationFn = async (args, spec) => {
516
+ var _a;
517
+ let currentRawResponse = undefined;
518
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
519
+ const callback = (rawResponse, flatResponse) => {
520
+ currentRawResponse = rawResponse;
521
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
522
+ };
523
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
524
+ const flatResponse = await directSendOperation(updatedArgs, spec);
525
+ return {
526
+ flatResponse,
527
+ rawResponse: {
528
+ statusCode: currentRawResponse.status,
529
+ body: currentRawResponse.parsedBody,
530
+ headers: currentRawResponse.headers.toJSON(),
566
531
  },
567
- spec: restoreOperationSpec,
568
- });
569
- const poller = yield createHttpPoller(lro, {
570
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
571
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
572
- resourceLocationConfig: "azure-async-operation",
573
- });
574
- yield poller.poll();
575
- return poller;
532
+ };
533
+ };
534
+ const lro = createLroSpec({
535
+ sendOperationFn,
536
+ args: {
537
+ resourceGroupName,
538
+ cloudHsmClusterName,
539
+ restoreRequestProperties,
540
+ options,
541
+ },
542
+ spec: restoreOperationSpec,
576
543
  });
544
+ const poller = await createHttpPoller(lro, {
545
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
546
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
547
+ resourceLocationConfig: "azure-async-operation",
548
+ });
549
+ await poller.poll();
550
+ return poller;
577
551
  }
578
552
  /**
579
553
  * Restores all key materials of a specified Cloud HSM Cluster
@@ -583,11 +557,9 @@ export class CloudHsmClustersImpl {
583
557
  * @param restoreRequestProperties Restore Operation Required properties
584
558
  * @param options The options parameters.
585
559
  */
586
- beginRestoreAndWait(resourceGroupName, cloudHsmClusterName, restoreRequestProperties, options) {
587
- return __awaiter(this, void 0, void 0, function* () {
588
- const poller = yield this.beginRestore(resourceGroupName, cloudHsmClusterName, restoreRequestProperties, options);
589
- return poller.pollUntilDone();
590
- });
560
+ async beginRestoreAndWait(resourceGroupName, cloudHsmClusterName, restoreRequestProperties, options) {
561
+ const poller = await this.beginRestore(resourceGroupName, cloudHsmClusterName, restoreRequestProperties, options);
562
+ return poller.pollUntilDone();
591
563
  }
592
564
  /**
593
565
  * ListByResourceGroupNext