@azure/arm-hardwaresecuritymodules 2.0.0-alpha.20250205.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
@@ -0,0 +1,937 @@
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
+ import { createHttpPoller, } from "@azure/core-lro";
14
+ import { createLroSpec } from "../lroImpl.js";
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Class containing CloudHsmClusters operations. */
17
+ export class CloudHsmClustersImpl {
18
+ /**
19
+ * Initialize a new instance of the class CloudHsmClusters class.
20
+ * @param client Reference to the service client
21
+ */
22
+ constructor(client) {
23
+ this.client = client;
24
+ }
25
+ /**
26
+ * The List operation gets information about the Cloud HSM Clusters associated with the subscription
27
+ * and within the specified resource group.
28
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
29
+ * @param options The options parameters.
30
+ */
31
+ listByResourceGroup(resourceGroupName, options) {
32
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
33
+ return {
34
+ next() {
35
+ return iter.next();
36
+ },
37
+ [Symbol.asyncIterator]() {
38
+ return this;
39
+ },
40
+ byPage: (settings) => {
41
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
42
+ throw new Error("maxPageSize is not supported by this operation.");
43
+ }
44
+ return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
45
+ },
46
+ };
47
+ }
48
+ listByResourceGroupPagingPage(resourceGroupName, options, settings) {
49
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
50
+ let result;
51
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
52
+ if (!continuationToken) {
53
+ result = yield __await(this._listByResourceGroup(resourceGroupName, options));
54
+ let page = result.value || [];
55
+ continuationToken = result.nextLink;
56
+ setContinuationToken(page, continuationToken);
57
+ yield yield __await(page);
58
+ }
59
+ while (continuationToken) {
60
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
61
+ continuationToken = result.nextLink;
62
+ let page = result.value || [];
63
+ setContinuationToken(page, continuationToken);
64
+ yield yield __await(page);
65
+ }
66
+ });
67
+ }
68
+ listByResourceGroupPagingAll(resourceGroupName, options) {
69
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
70
+ var _a, e_1, _b, _c;
71
+ try {
72
+ for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
73
+ _c = _f.value;
74
+ _d = false;
75
+ const page = _c;
76
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
77
+ }
78
+ }
79
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
80
+ finally {
81
+ try {
82
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
83
+ }
84
+ finally { if (e_1) throw e_1.error; }
85
+ }
86
+ });
87
+ }
88
+ /**
89
+ * The List operation gets information about the Cloud HSM Clusters associated with the subscription.
90
+ * @param options The options parameters.
91
+ */
92
+ listBySubscription(options) {
93
+ const iter = this.listBySubscriptionPagingAll(options);
94
+ return {
95
+ next() {
96
+ return iter.next();
97
+ },
98
+ [Symbol.asyncIterator]() {
99
+ return this;
100
+ },
101
+ byPage: (settings) => {
102
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
103
+ throw new Error("maxPageSize is not supported by this operation.");
104
+ }
105
+ return this.listBySubscriptionPagingPage(options, settings);
106
+ },
107
+ };
108
+ }
109
+ listBySubscriptionPagingPage(options, settings) {
110
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
111
+ let result;
112
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
113
+ if (!continuationToken) {
114
+ result = yield __await(this._listBySubscription(options));
115
+ let page = result.value || [];
116
+ continuationToken = result.nextLink;
117
+ setContinuationToken(page, continuationToken);
118
+ yield yield __await(page);
119
+ }
120
+ while (continuationToken) {
121
+ result = yield __await(this._listBySubscriptionNext(continuationToken, options));
122
+ continuationToken = result.nextLink;
123
+ let page = result.value || [];
124
+ setContinuationToken(page, continuationToken);
125
+ yield yield __await(page);
126
+ }
127
+ });
128
+ }
129
+ listBySubscriptionPagingAll(options) {
130
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
131
+ var _a, e_2, _b, _c;
132
+ try {
133
+ for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
134
+ _c = _f.value;
135
+ _d = false;
136
+ const page = _c;
137
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
138
+ }
139
+ }
140
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
141
+ finally {
142
+ try {
143
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
144
+ }
145
+ finally { if (e_2) throw e_2.error; }
146
+ }
147
+ });
148
+ }
149
+ /**
150
+ * Create or Update a Cloud HSM Cluster in the specified subscription.
151
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
152
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
153
+ * Cloud HSM Cluster names must be between 3 and 23 characters in length.
154
+ * @param location The geo-location where the resource lives
155
+ * @param options The options parameters.
156
+ */
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,
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;
192
+ }
193
+ /**
194
+ * Create or Update a Cloud HSM Cluster in the specified subscription.
195
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
196
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
197
+ * Cloud HSM Cluster names must be between 3 and 23 characters in length.
198
+ * @param location The geo-location where the resource lives
199
+ * @param options The options parameters.
200
+ */
201
+ async beginCreateOrUpdateAndWait(resourceGroupName, cloudHsmClusterName, location, options) {
202
+ const poller = await this.beginCreateOrUpdate(resourceGroupName, cloudHsmClusterName, location, options);
203
+ return poller.pollUntilDone();
204
+ }
205
+ /**
206
+ * Update a Cloud HSM Cluster in the specified subscription.
207
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
208
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
209
+ * Cloud HSM Cluster names must be between 3 and 23 characters in length.
210
+ * @param options The options parameters.
211
+ */
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",
244
+ });
245
+ await poller.poll();
246
+ return poller;
247
+ }
248
+ /**
249
+ * Update a Cloud HSM Cluster in the specified subscription.
250
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
251
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
252
+ * Cloud HSM Cluster names must be between 3 and 23 characters in length.
253
+ * @param options The options parameters.
254
+ */
255
+ async beginUpdateAndWait(resourceGroupName, cloudHsmClusterName, options) {
256
+ const poller = await this.beginUpdate(resourceGroupName, cloudHsmClusterName, options);
257
+ return poller.pollUntilDone();
258
+ }
259
+ /**
260
+ * Gets the specified Cloud HSM Cluster
261
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
262
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
263
+ * Cloud HSM Cluster names must be between 3 and 23 characters in length.
264
+ * @param options The options parameters.
265
+ */
266
+ get(resourceGroupName, cloudHsmClusterName, options) {
267
+ return this.client.sendOperationRequest({ resourceGroupName, cloudHsmClusterName, options }, getOperationSpec);
268
+ }
269
+ /**
270
+ * Deletes the specified Cloud HSM Cluster
271
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
272
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
273
+ * Cloud HSM Cluster names must be between 3 and 23 characters in length.
274
+ * @param options The options parameters.
275
+ */
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",
308
+ });
309
+ await poller.poll();
310
+ return poller;
311
+ }
312
+ /**
313
+ * Deletes the specified Cloud HSM Cluster
314
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
315
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
316
+ * Cloud HSM Cluster names must be between 3 and 23 characters in length.
317
+ * @param options The options parameters.
318
+ */
319
+ async beginDeleteAndWait(resourceGroupName, cloudHsmClusterName, options) {
320
+ const poller = await this.beginDelete(resourceGroupName, cloudHsmClusterName, options);
321
+ return poller.pollUntilDone();
322
+ }
323
+ /**
324
+ * The List operation gets information about the Cloud HSM Clusters associated with the subscription
325
+ * and within the specified resource group.
326
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
327
+ * @param options The options parameters.
328
+ */
329
+ _listByResourceGroup(resourceGroupName, options) {
330
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
331
+ }
332
+ /**
333
+ * The List operation gets information about the Cloud HSM Clusters associated with the subscription.
334
+ * @param options The options parameters.
335
+ */
336
+ _listBySubscription(options) {
337
+ return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
338
+ }
339
+ /**
340
+ * Pre Backup operation to validate whether the customer can perform a backup on the Cloud HSM Cluster
341
+ * resource in the specified subscription.
342
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
343
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
344
+ * Cloud HSM Cluster names must be between 3 and 23 characters in length.
345
+ * @param options The options parameters.
346
+ */
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,
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;
382
+ }
383
+ /**
384
+ * Pre Backup operation to validate whether the customer can perform a backup on the Cloud HSM Cluster
385
+ * resource in the specified subscription.
386
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
387
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
388
+ * Cloud HSM Cluster names must be between 3 and 23 characters in length.
389
+ * @param options The options parameters.
390
+ */
391
+ async beginValidateBackupPropertiesAndWait(resourceGroupName, cloudHsmClusterName, options) {
392
+ const poller = await this.beginValidateBackupProperties(resourceGroupName, cloudHsmClusterName, options);
393
+ return poller.pollUntilDone();
394
+ }
395
+ /**
396
+ * Create a backup of the Cloud HSM Cluster in the specified subscription
397
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
398
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
399
+ * Cloud HSM Cluster names must be between 3 and 23 characters in length.
400
+ * @param options The options parameters.
401
+ */
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,
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;
437
+ }
438
+ /**
439
+ * Create a backup of the Cloud HSM Cluster in the specified subscription
440
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
441
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
442
+ * Cloud HSM Cluster names must be between 3 and 23 characters in length.
443
+ * @param options The options parameters.
444
+ */
445
+ async beginBackupAndWait(resourceGroupName, cloudHsmClusterName, options) {
446
+ const poller = await this.beginBackup(resourceGroupName, cloudHsmClusterName, options);
447
+ return poller.pollUntilDone();
448
+ }
449
+ /**
450
+ * Queued validating pre restore operation
451
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
452
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
453
+ * Cloud HSM Cluster names must be between 3 and 23 characters in length.
454
+ * @param options The options parameters.
455
+ */
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",
488
+ });
489
+ await poller.poll();
490
+ return poller;
491
+ }
492
+ /**
493
+ * Queued validating pre restore operation
494
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
495
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
496
+ * Cloud HSM Cluster names must be between 3 and 23 characters in length.
497
+ * @param options The options parameters.
498
+ */
499
+ async beginValidateRestorePropertiesAndWait(resourceGroupName, cloudHsmClusterName, options) {
500
+ const poller = await this.beginValidateRestoreProperties(resourceGroupName, cloudHsmClusterName, options);
501
+ return poller.pollUntilDone();
502
+ }
503
+ /**
504
+ * Restores all key materials of a specified Cloud HSM Cluster
505
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
506
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
507
+ * Cloud HSM Cluster names must be between 3 and 23 characters in length.
508
+ * @param restoreRequestProperties Restore Operation Required properties
509
+ * @param options The options parameters.
510
+ */
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(),
531
+ },
532
+ };
533
+ };
534
+ const lro = createLroSpec({
535
+ sendOperationFn,
536
+ args: {
537
+ resourceGroupName,
538
+ cloudHsmClusterName,
539
+ restoreRequestProperties,
540
+ options,
541
+ },
542
+ spec: restoreOperationSpec,
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;
551
+ }
552
+ /**
553
+ * Restores all key materials of a specified Cloud HSM Cluster
554
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
555
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
556
+ * Cloud HSM Cluster names must be between 3 and 23 characters in length.
557
+ * @param restoreRequestProperties Restore Operation Required properties
558
+ * @param options The options parameters.
559
+ */
560
+ async beginRestoreAndWait(resourceGroupName, cloudHsmClusterName, restoreRequestProperties, options) {
561
+ const poller = await this.beginRestore(resourceGroupName, cloudHsmClusterName, restoreRequestProperties, options);
562
+ return poller.pollUntilDone();
563
+ }
564
+ /**
565
+ * ListByResourceGroupNext
566
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
567
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
568
+ * @param options The options parameters.
569
+ */
570
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
571
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
572
+ }
573
+ /**
574
+ * ListBySubscriptionNext
575
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
576
+ * @param options The options parameters.
577
+ */
578
+ _listBySubscriptionNext(nextLink, options) {
579
+ return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
580
+ }
581
+ }
582
+ // Operation Specifications
583
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
584
+ const createOrUpdateOperationSpec = {
585
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}",
586
+ httpMethod: "PUT",
587
+ responses: {
588
+ 200: {
589
+ bodyMapper: Mappers.CloudHsmCluster,
590
+ },
591
+ 201: {
592
+ bodyMapper: Mappers.CloudHsmCluster,
593
+ },
594
+ 202: {
595
+ bodyMapper: Mappers.CloudHsmCluster,
596
+ },
597
+ 204: {
598
+ bodyMapper: Mappers.CloudHsmCluster,
599
+ },
600
+ default: {
601
+ bodyMapper: Mappers.ErrorResponse,
602
+ },
603
+ },
604
+ requestBody: {
605
+ parameterPath: {
606
+ tags: ["options", "tags"],
607
+ location: ["location"],
608
+ identity: ["options", "identity"],
609
+ sku: ["options", "sku"],
610
+ autoGeneratedDomainNameLabelScope: [
611
+ "options",
612
+ "autoGeneratedDomainNameLabelScope",
613
+ ],
614
+ publicNetworkAccess: ["options", "publicNetworkAccess"],
615
+ },
616
+ mapper: Object.assign(Object.assign({}, Mappers.CloudHsmCluster), { required: true }),
617
+ },
618
+ queryParameters: [Parameters.apiVersion],
619
+ urlParameters: [
620
+ Parameters.$host,
621
+ Parameters.subscriptionId,
622
+ Parameters.resourceGroupName,
623
+ Parameters.cloudHsmClusterName,
624
+ ],
625
+ headerParameters: [Parameters.contentType, Parameters.accept],
626
+ mediaType: "json",
627
+ serializer,
628
+ };
629
+ const updateOperationSpec = {
630
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}",
631
+ httpMethod: "PATCH",
632
+ responses: {
633
+ 200: {
634
+ bodyMapper: Mappers.CloudHsmCluster,
635
+ },
636
+ 201: {
637
+ bodyMapper: Mappers.CloudHsmCluster,
638
+ },
639
+ 202: {
640
+ bodyMapper: Mappers.CloudHsmCluster,
641
+ },
642
+ 204: {
643
+ bodyMapper: Mappers.CloudHsmCluster,
644
+ },
645
+ default: {
646
+ bodyMapper: Mappers.ErrorResponse,
647
+ },
648
+ },
649
+ requestBody: {
650
+ parameterPath: {
651
+ tags: ["options", "tags"],
652
+ identity: ["options", "identity"],
653
+ },
654
+ mapper: Object.assign(Object.assign({}, Mappers.CloudHsmClusterPatchParameters), { required: true }),
655
+ },
656
+ queryParameters: [Parameters.apiVersion],
657
+ urlParameters: [
658
+ Parameters.$host,
659
+ Parameters.subscriptionId,
660
+ Parameters.resourceGroupName,
661
+ Parameters.cloudHsmClusterName,
662
+ ],
663
+ headerParameters: [Parameters.contentType, Parameters.accept],
664
+ mediaType: "json",
665
+ serializer,
666
+ };
667
+ const getOperationSpec = {
668
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}",
669
+ httpMethod: "GET",
670
+ responses: {
671
+ 200: {
672
+ bodyMapper: Mappers.CloudHsmCluster,
673
+ },
674
+ default: {
675
+ bodyMapper: Mappers.ErrorResponse,
676
+ },
677
+ },
678
+ queryParameters: [Parameters.apiVersion],
679
+ urlParameters: [
680
+ Parameters.$host,
681
+ Parameters.subscriptionId,
682
+ Parameters.resourceGroupName,
683
+ Parameters.cloudHsmClusterName,
684
+ ],
685
+ headerParameters: [Parameters.accept],
686
+ serializer,
687
+ };
688
+ const deleteOperationSpec = {
689
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}",
690
+ httpMethod: "DELETE",
691
+ responses: {
692
+ 200: {
693
+ headersMapper: Mappers.CloudHsmClustersDeleteHeaders,
694
+ },
695
+ 201: {
696
+ headersMapper: Mappers.CloudHsmClustersDeleteHeaders,
697
+ },
698
+ 202: {
699
+ headersMapper: Mappers.CloudHsmClustersDeleteHeaders,
700
+ },
701
+ 204: {
702
+ headersMapper: Mappers.CloudHsmClustersDeleteHeaders,
703
+ },
704
+ default: {
705
+ bodyMapper: Mappers.ErrorResponse,
706
+ },
707
+ },
708
+ queryParameters: [Parameters.apiVersion],
709
+ urlParameters: [
710
+ Parameters.$host,
711
+ Parameters.subscriptionId,
712
+ Parameters.resourceGroupName,
713
+ Parameters.cloudHsmClusterName,
714
+ ],
715
+ headerParameters: [Parameters.accept],
716
+ serializer,
717
+ };
718
+ const listByResourceGroupOperationSpec = {
719
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters",
720
+ httpMethod: "GET",
721
+ responses: {
722
+ 200: {
723
+ bodyMapper: Mappers.CloudHsmClusterListResult,
724
+ },
725
+ default: {
726
+ bodyMapper: Mappers.ErrorResponse,
727
+ },
728
+ },
729
+ queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
730
+ urlParameters: [
731
+ Parameters.$host,
732
+ Parameters.subscriptionId,
733
+ Parameters.resourceGroupName,
734
+ ],
735
+ headerParameters: [Parameters.accept],
736
+ serializer,
737
+ };
738
+ const listBySubscriptionOperationSpec = {
739
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters",
740
+ httpMethod: "GET",
741
+ responses: {
742
+ 200: {
743
+ bodyMapper: Mappers.CloudHsmClusterListResult,
744
+ },
745
+ default: {
746
+ bodyMapper: Mappers.ErrorResponse,
747
+ },
748
+ },
749
+ queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
750
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
751
+ headerParameters: [Parameters.accept],
752
+ serializer,
753
+ };
754
+ const validateBackupPropertiesOperationSpec = {
755
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/validateBackupProperties",
756
+ httpMethod: "POST",
757
+ responses: {
758
+ 200: {
759
+ bodyMapper: Mappers.BackupResult,
760
+ headersMapper: Mappers.CloudHsmClustersValidateBackupPropertiesHeaders,
761
+ },
762
+ 201: {
763
+ bodyMapper: Mappers.BackupResult,
764
+ headersMapper: Mappers.CloudHsmClustersValidateBackupPropertiesHeaders,
765
+ },
766
+ 202: {
767
+ bodyMapper: Mappers.BackupResult,
768
+ headersMapper: Mappers.CloudHsmClustersValidateBackupPropertiesHeaders,
769
+ },
770
+ 204: {
771
+ bodyMapper: Mappers.BackupResult,
772
+ headersMapper: Mappers.CloudHsmClustersValidateBackupPropertiesHeaders,
773
+ },
774
+ default: {
775
+ bodyMapper: Mappers.ErrorResponse,
776
+ },
777
+ },
778
+ requestBody: Parameters.backupRequestProperties,
779
+ queryParameters: [Parameters.apiVersion],
780
+ urlParameters: [
781
+ Parameters.$host,
782
+ Parameters.subscriptionId,
783
+ Parameters.resourceGroupName,
784
+ Parameters.cloudHsmClusterName,
785
+ ],
786
+ headerParameters: [Parameters.contentType, Parameters.accept],
787
+ mediaType: "json",
788
+ serializer,
789
+ };
790
+ const backupOperationSpec = {
791
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/backup",
792
+ httpMethod: "POST",
793
+ responses: {
794
+ 200: {
795
+ bodyMapper: Mappers.BackupResult,
796
+ headersMapper: Mappers.CloudHsmClustersBackupHeaders,
797
+ },
798
+ 201: {
799
+ bodyMapper: Mappers.BackupResult,
800
+ headersMapper: Mappers.CloudHsmClustersBackupHeaders,
801
+ },
802
+ 202: {
803
+ bodyMapper: Mappers.BackupResult,
804
+ headersMapper: Mappers.CloudHsmClustersBackupHeaders,
805
+ },
806
+ 204: {
807
+ bodyMapper: Mappers.BackupResult,
808
+ headersMapper: Mappers.CloudHsmClustersBackupHeaders,
809
+ },
810
+ default: {
811
+ bodyMapper: Mappers.ErrorResponse,
812
+ },
813
+ },
814
+ requestBody: Parameters.backupRequestProperties,
815
+ queryParameters: [Parameters.apiVersion],
816
+ urlParameters: [
817
+ Parameters.$host,
818
+ Parameters.subscriptionId,
819
+ Parameters.resourceGroupName,
820
+ Parameters.cloudHsmClusterName,
821
+ ],
822
+ headerParameters: [Parameters.contentType, Parameters.accept],
823
+ mediaType: "json",
824
+ serializer,
825
+ };
826
+ const validateRestorePropertiesOperationSpec = {
827
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/validateRestoreProperties",
828
+ httpMethod: "POST",
829
+ responses: {
830
+ 200: {
831
+ bodyMapper: Mappers.RestoreResult,
832
+ headersMapper: Mappers.CloudHsmClustersValidateRestorePropertiesHeaders,
833
+ },
834
+ 201: {
835
+ bodyMapper: Mappers.RestoreResult,
836
+ headersMapper: Mappers.CloudHsmClustersValidateRestorePropertiesHeaders,
837
+ },
838
+ 202: {
839
+ bodyMapper: Mappers.RestoreResult,
840
+ headersMapper: Mappers.CloudHsmClustersValidateRestorePropertiesHeaders,
841
+ },
842
+ 204: {
843
+ bodyMapper: Mappers.RestoreResult,
844
+ headersMapper: Mappers.CloudHsmClustersValidateRestorePropertiesHeaders,
845
+ },
846
+ default: {
847
+ bodyMapper: Mappers.ErrorResponse,
848
+ },
849
+ },
850
+ requestBody: Parameters.restoreRequestProperties,
851
+ queryParameters: [Parameters.apiVersion],
852
+ urlParameters: [
853
+ Parameters.$host,
854
+ Parameters.subscriptionId,
855
+ Parameters.resourceGroupName,
856
+ Parameters.cloudHsmClusterName,
857
+ ],
858
+ headerParameters: [Parameters.contentType, Parameters.accept],
859
+ mediaType: "json",
860
+ serializer,
861
+ };
862
+ const restoreOperationSpec = {
863
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/restore",
864
+ httpMethod: "POST",
865
+ responses: {
866
+ 200: {
867
+ bodyMapper: Mappers.RestoreResult,
868
+ headersMapper: Mappers.CloudHsmClustersRestoreHeaders,
869
+ },
870
+ 201: {
871
+ bodyMapper: Mappers.RestoreResult,
872
+ headersMapper: Mappers.CloudHsmClustersRestoreHeaders,
873
+ },
874
+ 202: {
875
+ bodyMapper: Mappers.RestoreResult,
876
+ headersMapper: Mappers.CloudHsmClustersRestoreHeaders,
877
+ },
878
+ 204: {
879
+ bodyMapper: Mappers.RestoreResult,
880
+ headersMapper: Mappers.CloudHsmClustersRestoreHeaders,
881
+ },
882
+ default: {
883
+ bodyMapper: Mappers.ErrorResponse,
884
+ },
885
+ },
886
+ requestBody: Parameters.restoreRequestProperties1,
887
+ queryParameters: [Parameters.apiVersion],
888
+ urlParameters: [
889
+ Parameters.$host,
890
+ Parameters.subscriptionId,
891
+ Parameters.resourceGroupName,
892
+ Parameters.cloudHsmClusterName,
893
+ ],
894
+ headerParameters: [Parameters.contentType, Parameters.accept],
895
+ mediaType: "json",
896
+ serializer,
897
+ };
898
+ const listByResourceGroupNextOperationSpec = {
899
+ path: "{nextLink}",
900
+ httpMethod: "GET",
901
+ responses: {
902
+ 200: {
903
+ bodyMapper: Mappers.CloudHsmClusterListResult,
904
+ },
905
+ default: {
906
+ bodyMapper: Mappers.ErrorResponse,
907
+ },
908
+ },
909
+ urlParameters: [
910
+ Parameters.$host,
911
+ Parameters.subscriptionId,
912
+ Parameters.resourceGroupName,
913
+ Parameters.nextLink,
914
+ ],
915
+ headerParameters: [Parameters.accept],
916
+ serializer,
917
+ };
918
+ const listBySubscriptionNextOperationSpec = {
919
+ path: "{nextLink}",
920
+ httpMethod: "GET",
921
+ responses: {
922
+ 200: {
923
+ bodyMapper: Mappers.CloudHsmClusterListResult,
924
+ },
925
+ default: {
926
+ bodyMapper: Mappers.ErrorResponse,
927
+ },
928
+ },
929
+ urlParameters: [
930
+ Parameters.$host,
931
+ Parameters.subscriptionId,
932
+ Parameters.nextLink,
933
+ ],
934
+ headerParameters: [Parameters.accept],
935
+ serializer,
936
+ };
937
+ //# sourceMappingURL=cloudHsmClusters.js.map