@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
@@ -1,1283 +0,0 @@
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
-
9
- import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
- import { setContinuationToken } from "../pagingHelper";
11
- import { CloudHsmClusters } from "../operationsInterfaces";
12
- import * as coreClient from "@azure/core-client";
13
- import * as Mappers from "../models/mappers";
14
- import * as Parameters from "../models/parameters";
15
- import { AzureHSMResourceProvider } from "../azureHSMResourceProvider";
16
- import {
17
- SimplePollerLike,
18
- OperationState,
19
- createHttpPoller,
20
- } from "@azure/core-lro";
21
- import { createLroSpec } from "../lroImpl";
22
- import {
23
- CloudHsmCluster,
24
- CloudHsmClustersListByResourceGroupNextOptionalParams,
25
- CloudHsmClustersListByResourceGroupOptionalParams,
26
- CloudHsmClustersListByResourceGroupResponse,
27
- CloudHsmClustersListBySubscriptionNextOptionalParams,
28
- CloudHsmClustersListBySubscriptionOptionalParams,
29
- CloudHsmClustersListBySubscriptionResponse,
30
- CloudHsmClustersCreateOrUpdateOptionalParams,
31
- CloudHsmClustersCreateOrUpdateResponse,
32
- CloudHsmClustersUpdateOptionalParams,
33
- CloudHsmClustersUpdateResponse,
34
- CloudHsmClustersGetOptionalParams,
35
- CloudHsmClustersGetResponse,
36
- CloudHsmClustersDeleteOptionalParams,
37
- CloudHsmClustersDeleteResponse,
38
- CloudHsmClustersValidateBackupPropertiesOptionalParams,
39
- CloudHsmClustersValidateBackupPropertiesResponse,
40
- CloudHsmClustersBackupOptionalParams,
41
- CloudHsmClustersBackupResponse,
42
- CloudHsmClustersValidateRestorePropertiesOptionalParams,
43
- CloudHsmClustersValidateRestorePropertiesResponse,
44
- RestoreRequestProperties,
45
- CloudHsmClustersRestoreOptionalParams,
46
- CloudHsmClustersRestoreResponse,
47
- CloudHsmClustersListByResourceGroupNextResponse,
48
- CloudHsmClustersListBySubscriptionNextResponse,
49
- } from "../models";
50
-
51
- /// <reference lib="esnext.asynciterable" />
52
- /** Class containing CloudHsmClusters operations. */
53
- export class CloudHsmClustersImpl implements CloudHsmClusters {
54
- private readonly client: AzureHSMResourceProvider;
55
-
56
- /**
57
- * Initialize a new instance of the class CloudHsmClusters class.
58
- * @param client Reference to the service client
59
- */
60
- constructor(client: AzureHSMResourceProvider) {
61
- this.client = client;
62
- }
63
-
64
- /**
65
- * The List operation gets information about the Cloud HSM Clusters associated with the subscription
66
- * and within the specified resource group.
67
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
68
- * @param options The options parameters.
69
- */
70
- public listByResourceGroup(
71
- resourceGroupName: string,
72
- options?: CloudHsmClustersListByResourceGroupOptionalParams,
73
- ): PagedAsyncIterableIterator<CloudHsmCluster> {
74
- const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
75
- return {
76
- next() {
77
- return iter.next();
78
- },
79
- [Symbol.asyncIterator]() {
80
- return this;
81
- },
82
- byPage: (settings?: PageSettings) => {
83
- if (settings?.maxPageSize) {
84
- throw new Error("maxPageSize is not supported by this operation.");
85
- }
86
- return this.listByResourceGroupPagingPage(
87
- resourceGroupName,
88
- options,
89
- settings,
90
- );
91
- },
92
- };
93
- }
94
-
95
- private async *listByResourceGroupPagingPage(
96
- resourceGroupName: string,
97
- options?: CloudHsmClustersListByResourceGroupOptionalParams,
98
- settings?: PageSettings,
99
- ): AsyncIterableIterator<CloudHsmCluster[]> {
100
- let result: CloudHsmClustersListByResourceGroupResponse;
101
- let continuationToken = settings?.continuationToken;
102
- if (!continuationToken) {
103
- result = await this._listByResourceGroup(resourceGroupName, options);
104
- let page = result.value || [];
105
- continuationToken = result.nextLink;
106
- setContinuationToken(page, continuationToken);
107
- yield page;
108
- }
109
- while (continuationToken) {
110
- result = await this._listByResourceGroupNext(
111
- resourceGroupName,
112
- continuationToken,
113
- options,
114
- );
115
- continuationToken = result.nextLink;
116
- let page = result.value || [];
117
- setContinuationToken(page, continuationToken);
118
- yield page;
119
- }
120
- }
121
-
122
- private async *listByResourceGroupPagingAll(
123
- resourceGroupName: string,
124
- options?: CloudHsmClustersListByResourceGroupOptionalParams,
125
- ): AsyncIterableIterator<CloudHsmCluster> {
126
- for await (const page of this.listByResourceGroupPagingPage(
127
- resourceGroupName,
128
- options,
129
- )) {
130
- yield* page;
131
- }
132
- }
133
-
134
- /**
135
- * The List operation gets information about the Cloud HSM Clusters associated with the subscription.
136
- * @param options The options parameters.
137
- */
138
- public listBySubscription(
139
- options?: CloudHsmClustersListBySubscriptionOptionalParams,
140
- ): PagedAsyncIterableIterator<CloudHsmCluster> {
141
- const iter = this.listBySubscriptionPagingAll(options);
142
- return {
143
- next() {
144
- return iter.next();
145
- },
146
- [Symbol.asyncIterator]() {
147
- return this;
148
- },
149
- byPage: (settings?: PageSettings) => {
150
- if (settings?.maxPageSize) {
151
- throw new Error("maxPageSize is not supported by this operation.");
152
- }
153
- return this.listBySubscriptionPagingPage(options, settings);
154
- },
155
- };
156
- }
157
-
158
- private async *listBySubscriptionPagingPage(
159
- options?: CloudHsmClustersListBySubscriptionOptionalParams,
160
- settings?: PageSettings,
161
- ): AsyncIterableIterator<CloudHsmCluster[]> {
162
- let result: CloudHsmClustersListBySubscriptionResponse;
163
- let continuationToken = settings?.continuationToken;
164
- if (!continuationToken) {
165
- result = await this._listBySubscription(options);
166
- let page = result.value || [];
167
- continuationToken = result.nextLink;
168
- setContinuationToken(page, continuationToken);
169
- yield page;
170
- }
171
- while (continuationToken) {
172
- result = await this._listBySubscriptionNext(continuationToken, options);
173
- continuationToken = result.nextLink;
174
- let page = result.value || [];
175
- setContinuationToken(page, continuationToken);
176
- yield page;
177
- }
178
- }
179
-
180
- private async *listBySubscriptionPagingAll(
181
- options?: CloudHsmClustersListBySubscriptionOptionalParams,
182
- ): AsyncIterableIterator<CloudHsmCluster> {
183
- for await (const page of this.listBySubscriptionPagingPage(options)) {
184
- yield* page;
185
- }
186
- }
187
-
188
- /**
189
- * Create or Update a Cloud HSM Cluster in the specified subscription.
190
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
191
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
192
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
193
- * @param location The geo-location where the resource lives
194
- * @param options The options parameters.
195
- */
196
- async beginCreateOrUpdate(
197
- resourceGroupName: string,
198
- cloudHsmClusterName: string,
199
- location: string,
200
- options?: CloudHsmClustersCreateOrUpdateOptionalParams,
201
- ): Promise<
202
- SimplePollerLike<
203
- OperationState<CloudHsmClustersCreateOrUpdateResponse>,
204
- CloudHsmClustersCreateOrUpdateResponse
205
- >
206
- > {
207
- const directSendOperation = async (
208
- args: coreClient.OperationArguments,
209
- spec: coreClient.OperationSpec,
210
- ): Promise<CloudHsmClustersCreateOrUpdateResponse> => {
211
- return this.client.sendOperationRequest(args, spec);
212
- };
213
- const sendOperationFn = async (
214
- args: coreClient.OperationArguments,
215
- spec: coreClient.OperationSpec,
216
- ) => {
217
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
218
- undefined;
219
- const providedCallback = args.options?.onResponse;
220
- const callback: coreClient.RawResponseCallback = (
221
- rawResponse: coreClient.FullOperationResponse,
222
- flatResponse: unknown,
223
- ) => {
224
- currentRawResponse = rawResponse;
225
- providedCallback?.(rawResponse, flatResponse);
226
- };
227
- const updatedArgs = {
228
- ...args,
229
- options: {
230
- ...args.options,
231
- onResponse: callback,
232
- },
233
- };
234
- const flatResponse = await directSendOperation(updatedArgs, spec);
235
- return {
236
- flatResponse,
237
- rawResponse: {
238
- statusCode: currentRawResponse!.status,
239
- body: currentRawResponse!.parsedBody,
240
- headers: currentRawResponse!.headers.toJSON(),
241
- },
242
- };
243
- };
244
-
245
- const lro = createLroSpec({
246
- sendOperationFn,
247
- args: { resourceGroupName, cloudHsmClusterName, location, options },
248
- spec: createOrUpdateOperationSpec,
249
- });
250
- const poller = await createHttpPoller<
251
- CloudHsmClustersCreateOrUpdateResponse,
252
- OperationState<CloudHsmClustersCreateOrUpdateResponse>
253
- >(lro, {
254
- restoreFrom: options?.resumeFrom,
255
- intervalInMs: options?.updateIntervalInMs,
256
- resourceLocationConfig: "original-uri",
257
- });
258
- await poller.poll();
259
- return poller;
260
- }
261
-
262
- /**
263
- * Create or Update a Cloud HSM Cluster in the specified subscription.
264
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
265
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
266
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
267
- * @param location The geo-location where the resource lives
268
- * @param options The options parameters.
269
- */
270
- async beginCreateOrUpdateAndWait(
271
- resourceGroupName: string,
272
- cloudHsmClusterName: string,
273
- location: string,
274
- options?: CloudHsmClustersCreateOrUpdateOptionalParams,
275
- ): Promise<CloudHsmClustersCreateOrUpdateResponse> {
276
- const poller = await this.beginCreateOrUpdate(
277
- resourceGroupName,
278
- cloudHsmClusterName,
279
- location,
280
- options,
281
- );
282
- return poller.pollUntilDone();
283
- }
284
-
285
- /**
286
- * Update a Cloud HSM Cluster in the specified subscription.
287
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
288
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
289
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
290
- * @param options The options parameters.
291
- */
292
- async beginUpdate(
293
- resourceGroupName: string,
294
- cloudHsmClusterName: string,
295
- options?: CloudHsmClustersUpdateOptionalParams,
296
- ): Promise<
297
- SimplePollerLike<
298
- OperationState<CloudHsmClustersUpdateResponse>,
299
- CloudHsmClustersUpdateResponse
300
- >
301
- > {
302
- const directSendOperation = async (
303
- args: coreClient.OperationArguments,
304
- spec: coreClient.OperationSpec,
305
- ): Promise<CloudHsmClustersUpdateResponse> => {
306
- return this.client.sendOperationRequest(args, spec);
307
- };
308
- const sendOperationFn = async (
309
- args: coreClient.OperationArguments,
310
- spec: coreClient.OperationSpec,
311
- ) => {
312
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
313
- undefined;
314
- const providedCallback = args.options?.onResponse;
315
- const callback: coreClient.RawResponseCallback = (
316
- rawResponse: coreClient.FullOperationResponse,
317
- flatResponse: unknown,
318
- ) => {
319
- currentRawResponse = rawResponse;
320
- providedCallback?.(rawResponse, flatResponse);
321
- };
322
- const updatedArgs = {
323
- ...args,
324
- options: {
325
- ...args.options,
326
- onResponse: callback,
327
- },
328
- };
329
- const flatResponse = await directSendOperation(updatedArgs, spec);
330
- return {
331
- flatResponse,
332
- rawResponse: {
333
- statusCode: currentRawResponse!.status,
334
- body: currentRawResponse!.parsedBody,
335
- headers: currentRawResponse!.headers.toJSON(),
336
- },
337
- };
338
- };
339
-
340
- const lro = createLroSpec({
341
- sendOperationFn,
342
- args: { resourceGroupName, cloudHsmClusterName, options },
343
- spec: updateOperationSpec,
344
- });
345
- const poller = await createHttpPoller<
346
- CloudHsmClustersUpdateResponse,
347
- OperationState<CloudHsmClustersUpdateResponse>
348
- >(lro, {
349
- restoreFrom: options?.resumeFrom,
350
- intervalInMs: options?.updateIntervalInMs,
351
- resourceLocationConfig: "location",
352
- });
353
- await poller.poll();
354
- return poller;
355
- }
356
-
357
- /**
358
- * Update a Cloud HSM Cluster in the specified subscription.
359
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
360
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
361
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
362
- * @param options The options parameters.
363
- */
364
- async beginUpdateAndWait(
365
- resourceGroupName: string,
366
- cloudHsmClusterName: string,
367
- options?: CloudHsmClustersUpdateOptionalParams,
368
- ): Promise<CloudHsmClustersUpdateResponse> {
369
- const poller = await this.beginUpdate(
370
- resourceGroupName,
371
- cloudHsmClusterName,
372
- options,
373
- );
374
- return poller.pollUntilDone();
375
- }
376
-
377
- /**
378
- * Gets the specified Cloud HSM Cluster
379
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
380
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
381
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
382
- * @param options The options parameters.
383
- */
384
- get(
385
- resourceGroupName: string,
386
- cloudHsmClusterName: string,
387
- options?: CloudHsmClustersGetOptionalParams,
388
- ): Promise<CloudHsmClustersGetResponse> {
389
- return this.client.sendOperationRequest(
390
- { resourceGroupName, cloudHsmClusterName, options },
391
- getOperationSpec,
392
- );
393
- }
394
-
395
- /**
396
- * Deletes the specified Cloud HSM Cluster
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 beginDelete(
403
- resourceGroupName: string,
404
- cloudHsmClusterName: string,
405
- options?: CloudHsmClustersDeleteOptionalParams,
406
- ): Promise<
407
- SimplePollerLike<
408
- OperationState<CloudHsmClustersDeleteResponse>,
409
- CloudHsmClustersDeleteResponse
410
- >
411
- > {
412
- const directSendOperation = async (
413
- args: coreClient.OperationArguments,
414
- spec: coreClient.OperationSpec,
415
- ): Promise<CloudHsmClustersDeleteResponse> => {
416
- return this.client.sendOperationRequest(args, spec);
417
- };
418
- const sendOperationFn = async (
419
- args: coreClient.OperationArguments,
420
- spec: coreClient.OperationSpec,
421
- ) => {
422
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
423
- undefined;
424
- const providedCallback = args.options?.onResponse;
425
- const callback: coreClient.RawResponseCallback = (
426
- rawResponse: coreClient.FullOperationResponse,
427
- flatResponse: unknown,
428
- ) => {
429
- currentRawResponse = rawResponse;
430
- providedCallback?.(rawResponse, flatResponse);
431
- };
432
- const updatedArgs = {
433
- ...args,
434
- options: {
435
- ...args.options,
436
- onResponse: callback,
437
- },
438
- };
439
- const flatResponse = await directSendOperation(updatedArgs, spec);
440
- return {
441
- flatResponse,
442
- rawResponse: {
443
- statusCode: currentRawResponse!.status,
444
- body: currentRawResponse!.parsedBody,
445
- headers: currentRawResponse!.headers.toJSON(),
446
- },
447
- };
448
- };
449
-
450
- const lro = createLroSpec({
451
- sendOperationFn,
452
- args: { resourceGroupName, cloudHsmClusterName, options },
453
- spec: deleteOperationSpec,
454
- });
455
- const poller = await createHttpPoller<
456
- CloudHsmClustersDeleteResponse,
457
- OperationState<CloudHsmClustersDeleteResponse>
458
- >(lro, {
459
- restoreFrom: options?.resumeFrom,
460
- intervalInMs: options?.updateIntervalInMs,
461
- resourceLocationConfig: "location",
462
- });
463
- await poller.poll();
464
- return poller;
465
- }
466
-
467
- /**
468
- * Deletes the specified Cloud HSM Cluster
469
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
470
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
471
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
472
- * @param options The options parameters.
473
- */
474
- async beginDeleteAndWait(
475
- resourceGroupName: string,
476
- cloudHsmClusterName: string,
477
- options?: CloudHsmClustersDeleteOptionalParams,
478
- ): Promise<CloudHsmClustersDeleteResponse> {
479
- const poller = await this.beginDelete(
480
- resourceGroupName,
481
- cloudHsmClusterName,
482
- options,
483
- );
484
- return poller.pollUntilDone();
485
- }
486
-
487
- /**
488
- * The List operation gets information about the Cloud HSM Clusters associated with the subscription
489
- * and within the specified resource group.
490
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
491
- * @param options The options parameters.
492
- */
493
- private _listByResourceGroup(
494
- resourceGroupName: string,
495
- options?: CloudHsmClustersListByResourceGroupOptionalParams,
496
- ): Promise<CloudHsmClustersListByResourceGroupResponse> {
497
- return this.client.sendOperationRequest(
498
- { resourceGroupName, options },
499
- listByResourceGroupOperationSpec,
500
- );
501
- }
502
-
503
- /**
504
- * The List operation gets information about the Cloud HSM Clusters associated with the subscription.
505
- * @param options The options parameters.
506
- */
507
- private _listBySubscription(
508
- options?: CloudHsmClustersListBySubscriptionOptionalParams,
509
- ): Promise<CloudHsmClustersListBySubscriptionResponse> {
510
- return this.client.sendOperationRequest(
511
- { options },
512
- listBySubscriptionOperationSpec,
513
- );
514
- }
515
-
516
- /**
517
- * Pre Backup operation to validate whether the customer can perform a backup on the Cloud HSM Cluster
518
- * resource in the specified subscription.
519
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
520
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
521
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
522
- * @param options The options parameters.
523
- */
524
- async beginValidateBackupProperties(
525
- resourceGroupName: string,
526
- cloudHsmClusterName: string,
527
- options?: CloudHsmClustersValidateBackupPropertiesOptionalParams,
528
- ): Promise<
529
- SimplePollerLike<
530
- OperationState<CloudHsmClustersValidateBackupPropertiesResponse>,
531
- CloudHsmClustersValidateBackupPropertiesResponse
532
- >
533
- > {
534
- const directSendOperation = async (
535
- args: coreClient.OperationArguments,
536
- spec: coreClient.OperationSpec,
537
- ): Promise<CloudHsmClustersValidateBackupPropertiesResponse> => {
538
- return this.client.sendOperationRequest(args, spec);
539
- };
540
- const sendOperationFn = async (
541
- args: coreClient.OperationArguments,
542
- spec: coreClient.OperationSpec,
543
- ) => {
544
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
545
- undefined;
546
- const providedCallback = args.options?.onResponse;
547
- const callback: coreClient.RawResponseCallback = (
548
- rawResponse: coreClient.FullOperationResponse,
549
- flatResponse: unknown,
550
- ) => {
551
- currentRawResponse = rawResponse;
552
- providedCallback?.(rawResponse, flatResponse);
553
- };
554
- const updatedArgs = {
555
- ...args,
556
- options: {
557
- ...args.options,
558
- onResponse: callback,
559
- },
560
- };
561
- const flatResponse = await directSendOperation(updatedArgs, spec);
562
- return {
563
- flatResponse,
564
- rawResponse: {
565
- statusCode: currentRawResponse!.status,
566
- body: currentRawResponse!.parsedBody,
567
- headers: currentRawResponse!.headers.toJSON(),
568
- },
569
- };
570
- };
571
-
572
- const lro = createLroSpec({
573
- sendOperationFn,
574
- args: { resourceGroupName, cloudHsmClusterName, options },
575
- spec: validateBackupPropertiesOperationSpec,
576
- });
577
- const poller = await createHttpPoller<
578
- CloudHsmClustersValidateBackupPropertiesResponse,
579
- OperationState<CloudHsmClustersValidateBackupPropertiesResponse>
580
- >(lro, {
581
- restoreFrom: options?.resumeFrom,
582
- intervalInMs: options?.updateIntervalInMs,
583
- resourceLocationConfig: "azure-async-operation",
584
- });
585
- await poller.poll();
586
- return poller;
587
- }
588
-
589
- /**
590
- * Pre Backup operation to validate whether the customer can perform a backup on the Cloud HSM Cluster
591
- * resource in the specified subscription.
592
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
593
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
594
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
595
- * @param options The options parameters.
596
- */
597
- async beginValidateBackupPropertiesAndWait(
598
- resourceGroupName: string,
599
- cloudHsmClusterName: string,
600
- options?: CloudHsmClustersValidateBackupPropertiesOptionalParams,
601
- ): Promise<CloudHsmClustersValidateBackupPropertiesResponse> {
602
- const poller = await this.beginValidateBackupProperties(
603
- resourceGroupName,
604
- cloudHsmClusterName,
605
- options,
606
- );
607
- return poller.pollUntilDone();
608
- }
609
-
610
- /**
611
- * Create a backup of the Cloud HSM Cluster in the specified subscription
612
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
613
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
614
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
615
- * @param options The options parameters.
616
- */
617
- async beginBackup(
618
- resourceGroupName: string,
619
- cloudHsmClusterName: string,
620
- options?: CloudHsmClustersBackupOptionalParams,
621
- ): Promise<
622
- SimplePollerLike<
623
- OperationState<CloudHsmClustersBackupResponse>,
624
- CloudHsmClustersBackupResponse
625
- >
626
- > {
627
- const directSendOperation = async (
628
- args: coreClient.OperationArguments,
629
- spec: coreClient.OperationSpec,
630
- ): Promise<CloudHsmClustersBackupResponse> => {
631
- return this.client.sendOperationRequest(args, spec);
632
- };
633
- const sendOperationFn = async (
634
- args: coreClient.OperationArguments,
635
- spec: coreClient.OperationSpec,
636
- ) => {
637
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
638
- undefined;
639
- const providedCallback = args.options?.onResponse;
640
- const callback: coreClient.RawResponseCallback = (
641
- rawResponse: coreClient.FullOperationResponse,
642
- flatResponse: unknown,
643
- ) => {
644
- currentRawResponse = rawResponse;
645
- providedCallback?.(rawResponse, flatResponse);
646
- };
647
- const updatedArgs = {
648
- ...args,
649
- options: {
650
- ...args.options,
651
- onResponse: callback,
652
- },
653
- };
654
- const flatResponse = await directSendOperation(updatedArgs, spec);
655
- return {
656
- flatResponse,
657
- rawResponse: {
658
- statusCode: currentRawResponse!.status,
659
- body: currentRawResponse!.parsedBody,
660
- headers: currentRawResponse!.headers.toJSON(),
661
- },
662
- };
663
- };
664
-
665
- const lro = createLroSpec({
666
- sendOperationFn,
667
- args: { resourceGroupName, cloudHsmClusterName, options },
668
- spec: backupOperationSpec,
669
- });
670
- const poller = await createHttpPoller<
671
- CloudHsmClustersBackupResponse,
672
- OperationState<CloudHsmClustersBackupResponse>
673
- >(lro, {
674
- restoreFrom: options?.resumeFrom,
675
- intervalInMs: options?.updateIntervalInMs,
676
- resourceLocationConfig: "azure-async-operation",
677
- });
678
- await poller.poll();
679
- return poller;
680
- }
681
-
682
- /**
683
- * Create a backup of the Cloud HSM Cluster in the specified subscription
684
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
685
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
686
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
687
- * @param options The options parameters.
688
- */
689
- async beginBackupAndWait(
690
- resourceGroupName: string,
691
- cloudHsmClusterName: string,
692
- options?: CloudHsmClustersBackupOptionalParams,
693
- ): Promise<CloudHsmClustersBackupResponse> {
694
- const poller = await this.beginBackup(
695
- resourceGroupName,
696
- cloudHsmClusterName,
697
- options,
698
- );
699
- return poller.pollUntilDone();
700
- }
701
-
702
- /**
703
- * Queued validating pre restore operation
704
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
705
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
706
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
707
- * @param options The options parameters.
708
- */
709
- async beginValidateRestoreProperties(
710
- resourceGroupName: string,
711
- cloudHsmClusterName: string,
712
- options?: CloudHsmClustersValidateRestorePropertiesOptionalParams,
713
- ): Promise<
714
- SimplePollerLike<
715
- OperationState<CloudHsmClustersValidateRestorePropertiesResponse>,
716
- CloudHsmClustersValidateRestorePropertiesResponse
717
- >
718
- > {
719
- const directSendOperation = async (
720
- args: coreClient.OperationArguments,
721
- spec: coreClient.OperationSpec,
722
- ): Promise<CloudHsmClustersValidateRestorePropertiesResponse> => {
723
- return this.client.sendOperationRequest(args, spec);
724
- };
725
- const sendOperationFn = async (
726
- args: coreClient.OperationArguments,
727
- spec: coreClient.OperationSpec,
728
- ) => {
729
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
730
- undefined;
731
- const providedCallback = args.options?.onResponse;
732
- const callback: coreClient.RawResponseCallback = (
733
- rawResponse: coreClient.FullOperationResponse,
734
- flatResponse: unknown,
735
- ) => {
736
- currentRawResponse = rawResponse;
737
- providedCallback?.(rawResponse, flatResponse);
738
- };
739
- const updatedArgs = {
740
- ...args,
741
- options: {
742
- ...args.options,
743
- onResponse: callback,
744
- },
745
- };
746
- const flatResponse = await directSendOperation(updatedArgs, spec);
747
- return {
748
- flatResponse,
749
- rawResponse: {
750
- statusCode: currentRawResponse!.status,
751
- body: currentRawResponse!.parsedBody,
752
- headers: currentRawResponse!.headers.toJSON(),
753
- },
754
- };
755
- };
756
-
757
- const lro = createLroSpec({
758
- sendOperationFn,
759
- args: { resourceGroupName, cloudHsmClusterName, options },
760
- spec: validateRestorePropertiesOperationSpec,
761
- });
762
- const poller = await createHttpPoller<
763
- CloudHsmClustersValidateRestorePropertiesResponse,
764
- OperationState<CloudHsmClustersValidateRestorePropertiesResponse>
765
- >(lro, {
766
- restoreFrom: options?.resumeFrom,
767
- intervalInMs: options?.updateIntervalInMs,
768
- resourceLocationConfig: "azure-async-operation",
769
- });
770
- await poller.poll();
771
- return poller;
772
- }
773
-
774
- /**
775
- * Queued validating pre restore operation
776
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
777
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
778
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
779
- * @param options The options parameters.
780
- */
781
- async beginValidateRestorePropertiesAndWait(
782
- resourceGroupName: string,
783
- cloudHsmClusterName: string,
784
- options?: CloudHsmClustersValidateRestorePropertiesOptionalParams,
785
- ): Promise<CloudHsmClustersValidateRestorePropertiesResponse> {
786
- const poller = await this.beginValidateRestoreProperties(
787
- resourceGroupName,
788
- cloudHsmClusterName,
789
- options,
790
- );
791
- return poller.pollUntilDone();
792
- }
793
-
794
- /**
795
- * Restores all key materials of a specified Cloud HSM Cluster
796
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
797
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
798
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
799
- * @param restoreRequestProperties Restore Operation Required properties
800
- * @param options The options parameters.
801
- */
802
- async beginRestore(
803
- resourceGroupName: string,
804
- cloudHsmClusterName: string,
805
- restoreRequestProperties: RestoreRequestProperties,
806
- options?: CloudHsmClustersRestoreOptionalParams,
807
- ): Promise<
808
- SimplePollerLike<
809
- OperationState<CloudHsmClustersRestoreResponse>,
810
- CloudHsmClustersRestoreResponse
811
- >
812
- > {
813
- const directSendOperation = async (
814
- args: coreClient.OperationArguments,
815
- spec: coreClient.OperationSpec,
816
- ): Promise<CloudHsmClustersRestoreResponse> => {
817
- return this.client.sendOperationRequest(args, spec);
818
- };
819
- const sendOperationFn = async (
820
- args: coreClient.OperationArguments,
821
- spec: coreClient.OperationSpec,
822
- ) => {
823
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
824
- undefined;
825
- const providedCallback = args.options?.onResponse;
826
- const callback: coreClient.RawResponseCallback = (
827
- rawResponse: coreClient.FullOperationResponse,
828
- flatResponse: unknown,
829
- ) => {
830
- currentRawResponse = rawResponse;
831
- providedCallback?.(rawResponse, flatResponse);
832
- };
833
- const updatedArgs = {
834
- ...args,
835
- options: {
836
- ...args.options,
837
- onResponse: callback,
838
- },
839
- };
840
- const flatResponse = await directSendOperation(updatedArgs, spec);
841
- return {
842
- flatResponse,
843
- rawResponse: {
844
- statusCode: currentRawResponse!.status,
845
- body: currentRawResponse!.parsedBody,
846
- headers: currentRawResponse!.headers.toJSON(),
847
- },
848
- };
849
- };
850
-
851
- const lro = createLroSpec({
852
- sendOperationFn,
853
- args: {
854
- resourceGroupName,
855
- cloudHsmClusterName,
856
- restoreRequestProperties,
857
- options,
858
- },
859
- spec: restoreOperationSpec,
860
- });
861
- const poller = await createHttpPoller<
862
- CloudHsmClustersRestoreResponse,
863
- OperationState<CloudHsmClustersRestoreResponse>
864
- >(lro, {
865
- restoreFrom: options?.resumeFrom,
866
- intervalInMs: options?.updateIntervalInMs,
867
- resourceLocationConfig: "azure-async-operation",
868
- });
869
- await poller.poll();
870
- return poller;
871
- }
872
-
873
- /**
874
- * Restores all key materials of a specified Cloud HSM Cluster
875
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
876
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
877
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
878
- * @param restoreRequestProperties Restore Operation Required properties
879
- * @param options The options parameters.
880
- */
881
- async beginRestoreAndWait(
882
- resourceGroupName: string,
883
- cloudHsmClusterName: string,
884
- restoreRequestProperties: RestoreRequestProperties,
885
- options?: CloudHsmClustersRestoreOptionalParams,
886
- ): Promise<CloudHsmClustersRestoreResponse> {
887
- const poller = await this.beginRestore(
888
- resourceGroupName,
889
- cloudHsmClusterName,
890
- restoreRequestProperties,
891
- options,
892
- );
893
- return poller.pollUntilDone();
894
- }
895
-
896
- /**
897
- * ListByResourceGroupNext
898
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
899
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
900
- * @param options The options parameters.
901
- */
902
- private _listByResourceGroupNext(
903
- resourceGroupName: string,
904
- nextLink: string,
905
- options?: CloudHsmClustersListByResourceGroupNextOptionalParams,
906
- ): Promise<CloudHsmClustersListByResourceGroupNextResponse> {
907
- return this.client.sendOperationRequest(
908
- { resourceGroupName, nextLink, options },
909
- listByResourceGroupNextOperationSpec,
910
- );
911
- }
912
-
913
- /**
914
- * ListBySubscriptionNext
915
- * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
916
- * @param options The options parameters.
917
- */
918
- private _listBySubscriptionNext(
919
- nextLink: string,
920
- options?: CloudHsmClustersListBySubscriptionNextOptionalParams,
921
- ): Promise<CloudHsmClustersListBySubscriptionNextResponse> {
922
- return this.client.sendOperationRequest(
923
- { nextLink, options },
924
- listBySubscriptionNextOperationSpec,
925
- );
926
- }
927
- }
928
- // Operation Specifications
929
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
930
-
931
- const createOrUpdateOperationSpec: coreClient.OperationSpec = {
932
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}",
933
- httpMethod: "PUT",
934
- responses: {
935
- 200: {
936
- bodyMapper: Mappers.CloudHsmCluster,
937
- },
938
- 201: {
939
- bodyMapper: Mappers.CloudHsmCluster,
940
- },
941
- 202: {
942
- bodyMapper: Mappers.CloudHsmCluster,
943
- },
944
- 204: {
945
- bodyMapper: Mappers.CloudHsmCluster,
946
- },
947
- default: {
948
- bodyMapper: Mappers.ErrorResponse,
949
- },
950
- },
951
- requestBody: {
952
- parameterPath: {
953
- tags: ["options", "tags"],
954
- location: ["location"],
955
- identity: ["options", "identity"],
956
- sku: ["options", "sku"],
957
- autoGeneratedDomainNameLabelScope: [
958
- "options",
959
- "autoGeneratedDomainNameLabelScope",
960
- ],
961
- publicNetworkAccess: ["options", "publicNetworkAccess"],
962
- },
963
- mapper: { ...Mappers.CloudHsmCluster, required: true },
964
- },
965
- queryParameters: [Parameters.apiVersion],
966
- urlParameters: [
967
- Parameters.$host,
968
- Parameters.subscriptionId,
969
- Parameters.resourceGroupName,
970
- Parameters.cloudHsmClusterName,
971
- ],
972
- headerParameters: [Parameters.contentType, Parameters.accept],
973
- mediaType: "json",
974
- serializer,
975
- };
976
- const updateOperationSpec: coreClient.OperationSpec = {
977
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}",
978
- httpMethod: "PATCH",
979
- responses: {
980
- 200: {
981
- bodyMapper: Mappers.CloudHsmCluster,
982
- },
983
- 201: {
984
- bodyMapper: Mappers.CloudHsmCluster,
985
- },
986
- 202: {
987
- bodyMapper: Mappers.CloudHsmCluster,
988
- },
989
- 204: {
990
- bodyMapper: Mappers.CloudHsmCluster,
991
- },
992
- default: {
993
- bodyMapper: Mappers.ErrorResponse,
994
- },
995
- },
996
- requestBody: {
997
- parameterPath: {
998
- tags: ["options", "tags"],
999
- identity: ["options", "identity"],
1000
- },
1001
- mapper: { ...Mappers.CloudHsmClusterPatchParameters, required: true },
1002
- },
1003
- queryParameters: [Parameters.apiVersion],
1004
- urlParameters: [
1005
- Parameters.$host,
1006
- Parameters.subscriptionId,
1007
- Parameters.resourceGroupName,
1008
- Parameters.cloudHsmClusterName,
1009
- ],
1010
- headerParameters: [Parameters.contentType, Parameters.accept],
1011
- mediaType: "json",
1012
- serializer,
1013
- };
1014
- const getOperationSpec: coreClient.OperationSpec = {
1015
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}",
1016
- httpMethod: "GET",
1017
- responses: {
1018
- 200: {
1019
- bodyMapper: Mappers.CloudHsmCluster,
1020
- },
1021
- default: {
1022
- bodyMapper: Mappers.ErrorResponse,
1023
- },
1024
- },
1025
- queryParameters: [Parameters.apiVersion],
1026
- urlParameters: [
1027
- Parameters.$host,
1028
- Parameters.subscriptionId,
1029
- Parameters.resourceGroupName,
1030
- Parameters.cloudHsmClusterName,
1031
- ],
1032
- headerParameters: [Parameters.accept],
1033
- serializer,
1034
- };
1035
- const deleteOperationSpec: coreClient.OperationSpec = {
1036
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}",
1037
- httpMethod: "DELETE",
1038
- responses: {
1039
- 200: {
1040
- headersMapper: Mappers.CloudHsmClustersDeleteHeaders,
1041
- },
1042
- 201: {
1043
- headersMapper: Mappers.CloudHsmClustersDeleteHeaders,
1044
- },
1045
- 202: {
1046
- headersMapper: Mappers.CloudHsmClustersDeleteHeaders,
1047
- },
1048
- 204: {
1049
- headersMapper: Mappers.CloudHsmClustersDeleteHeaders,
1050
- },
1051
- default: {
1052
- bodyMapper: Mappers.ErrorResponse,
1053
- },
1054
- },
1055
- queryParameters: [Parameters.apiVersion],
1056
- urlParameters: [
1057
- Parameters.$host,
1058
- Parameters.subscriptionId,
1059
- Parameters.resourceGroupName,
1060
- Parameters.cloudHsmClusterName,
1061
- ],
1062
- headerParameters: [Parameters.accept],
1063
- serializer,
1064
- };
1065
- const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
1066
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters",
1067
- httpMethod: "GET",
1068
- responses: {
1069
- 200: {
1070
- bodyMapper: Mappers.CloudHsmClusterListResult,
1071
- },
1072
- default: {
1073
- bodyMapper: Mappers.ErrorResponse,
1074
- },
1075
- },
1076
- queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
1077
- urlParameters: [
1078
- Parameters.$host,
1079
- Parameters.subscriptionId,
1080
- Parameters.resourceGroupName,
1081
- ],
1082
- headerParameters: [Parameters.accept],
1083
- serializer,
1084
- };
1085
- const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
1086
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters",
1087
- httpMethod: "GET",
1088
- responses: {
1089
- 200: {
1090
- bodyMapper: Mappers.CloudHsmClusterListResult,
1091
- },
1092
- default: {
1093
- bodyMapper: Mappers.ErrorResponse,
1094
- },
1095
- },
1096
- queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
1097
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
1098
- headerParameters: [Parameters.accept],
1099
- serializer,
1100
- };
1101
- const validateBackupPropertiesOperationSpec: coreClient.OperationSpec = {
1102
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/validateBackupProperties",
1103
- httpMethod: "POST",
1104
- responses: {
1105
- 200: {
1106
- bodyMapper: Mappers.BackupResult,
1107
- headersMapper: Mappers.CloudHsmClustersValidateBackupPropertiesHeaders,
1108
- },
1109
- 201: {
1110
- bodyMapper: Mappers.BackupResult,
1111
- headersMapper: Mappers.CloudHsmClustersValidateBackupPropertiesHeaders,
1112
- },
1113
- 202: {
1114
- bodyMapper: Mappers.BackupResult,
1115
- headersMapper: Mappers.CloudHsmClustersValidateBackupPropertiesHeaders,
1116
- },
1117
- 204: {
1118
- bodyMapper: Mappers.BackupResult,
1119
- headersMapper: Mappers.CloudHsmClustersValidateBackupPropertiesHeaders,
1120
- },
1121
- default: {
1122
- bodyMapper: Mappers.ErrorResponse,
1123
- },
1124
- },
1125
- requestBody: Parameters.backupRequestProperties,
1126
- queryParameters: [Parameters.apiVersion],
1127
- urlParameters: [
1128
- Parameters.$host,
1129
- Parameters.subscriptionId,
1130
- Parameters.resourceGroupName,
1131
- Parameters.cloudHsmClusterName,
1132
- ],
1133
- headerParameters: [Parameters.contentType, Parameters.accept],
1134
- mediaType: "json",
1135
- serializer,
1136
- };
1137
- const backupOperationSpec: coreClient.OperationSpec = {
1138
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/backup",
1139
- httpMethod: "POST",
1140
- responses: {
1141
- 200: {
1142
- bodyMapper: Mappers.BackupResult,
1143
- headersMapper: Mappers.CloudHsmClustersBackupHeaders,
1144
- },
1145
- 201: {
1146
- bodyMapper: Mappers.BackupResult,
1147
- headersMapper: Mappers.CloudHsmClustersBackupHeaders,
1148
- },
1149
- 202: {
1150
- bodyMapper: Mappers.BackupResult,
1151
- headersMapper: Mappers.CloudHsmClustersBackupHeaders,
1152
- },
1153
- 204: {
1154
- bodyMapper: Mappers.BackupResult,
1155
- headersMapper: Mappers.CloudHsmClustersBackupHeaders,
1156
- },
1157
- default: {
1158
- bodyMapper: Mappers.ErrorResponse,
1159
- },
1160
- },
1161
- requestBody: Parameters.backupRequestProperties,
1162
- queryParameters: [Parameters.apiVersion],
1163
- urlParameters: [
1164
- Parameters.$host,
1165
- Parameters.subscriptionId,
1166
- Parameters.resourceGroupName,
1167
- Parameters.cloudHsmClusterName,
1168
- ],
1169
- headerParameters: [Parameters.contentType, Parameters.accept],
1170
- mediaType: "json",
1171
- serializer,
1172
- };
1173
- const validateRestorePropertiesOperationSpec: coreClient.OperationSpec = {
1174
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/validateRestoreProperties",
1175
- httpMethod: "POST",
1176
- responses: {
1177
- 200: {
1178
- bodyMapper: Mappers.RestoreResult,
1179
- headersMapper: Mappers.CloudHsmClustersValidateRestorePropertiesHeaders,
1180
- },
1181
- 201: {
1182
- bodyMapper: Mappers.RestoreResult,
1183
- headersMapper: Mappers.CloudHsmClustersValidateRestorePropertiesHeaders,
1184
- },
1185
- 202: {
1186
- bodyMapper: Mappers.RestoreResult,
1187
- headersMapper: Mappers.CloudHsmClustersValidateRestorePropertiesHeaders,
1188
- },
1189
- 204: {
1190
- bodyMapper: Mappers.RestoreResult,
1191
- headersMapper: Mappers.CloudHsmClustersValidateRestorePropertiesHeaders,
1192
- },
1193
- default: {
1194
- bodyMapper: Mappers.ErrorResponse,
1195
- },
1196
- },
1197
- requestBody: Parameters.restoreRequestProperties,
1198
- queryParameters: [Parameters.apiVersion],
1199
- urlParameters: [
1200
- Parameters.$host,
1201
- Parameters.subscriptionId,
1202
- Parameters.resourceGroupName,
1203
- Parameters.cloudHsmClusterName,
1204
- ],
1205
- headerParameters: [Parameters.contentType, Parameters.accept],
1206
- mediaType: "json",
1207
- serializer,
1208
- };
1209
- const restoreOperationSpec: coreClient.OperationSpec = {
1210
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/restore",
1211
- httpMethod: "POST",
1212
- responses: {
1213
- 200: {
1214
- bodyMapper: Mappers.RestoreResult,
1215
- headersMapper: Mappers.CloudHsmClustersRestoreHeaders,
1216
- },
1217
- 201: {
1218
- bodyMapper: Mappers.RestoreResult,
1219
- headersMapper: Mappers.CloudHsmClustersRestoreHeaders,
1220
- },
1221
- 202: {
1222
- bodyMapper: Mappers.RestoreResult,
1223
- headersMapper: Mappers.CloudHsmClustersRestoreHeaders,
1224
- },
1225
- 204: {
1226
- bodyMapper: Mappers.RestoreResult,
1227
- headersMapper: Mappers.CloudHsmClustersRestoreHeaders,
1228
- },
1229
- default: {
1230
- bodyMapper: Mappers.ErrorResponse,
1231
- },
1232
- },
1233
- requestBody: Parameters.restoreRequestProperties1,
1234
- queryParameters: [Parameters.apiVersion],
1235
- urlParameters: [
1236
- Parameters.$host,
1237
- Parameters.subscriptionId,
1238
- Parameters.resourceGroupName,
1239
- Parameters.cloudHsmClusterName,
1240
- ],
1241
- headerParameters: [Parameters.contentType, Parameters.accept],
1242
- mediaType: "json",
1243
- serializer,
1244
- };
1245
- const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
1246
- path: "{nextLink}",
1247
- httpMethod: "GET",
1248
- responses: {
1249
- 200: {
1250
- bodyMapper: Mappers.CloudHsmClusterListResult,
1251
- },
1252
- default: {
1253
- bodyMapper: Mappers.ErrorResponse,
1254
- },
1255
- },
1256
- urlParameters: [
1257
- Parameters.$host,
1258
- Parameters.subscriptionId,
1259
- Parameters.resourceGroupName,
1260
- Parameters.nextLink,
1261
- ],
1262
- headerParameters: [Parameters.accept],
1263
- serializer,
1264
- };
1265
- const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
1266
- path: "{nextLink}",
1267
- httpMethod: "GET",
1268
- responses: {
1269
- 200: {
1270
- bodyMapper: Mappers.CloudHsmClusterListResult,
1271
- },
1272
- default: {
1273
- bodyMapper: Mappers.ErrorResponse,
1274
- },
1275
- },
1276
- urlParameters: [
1277
- Parameters.$host,
1278
- Parameters.subscriptionId,
1279
- Parameters.nextLink,
1280
- ],
1281
- headerParameters: [Parameters.accept],
1282
- serializer,
1283
- };