@azure/arm-hardwaresecuritymodules 2.0.0 → 3.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (611) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/README.md +14 -14
  3. package/dist/browser/api/azureDedicatedHSMResourceProviderContext.d.ts +8 -5
  4. package/dist/browser/api/azureDedicatedHSMResourceProviderContext.js +20 -26
  5. package/dist/browser/api/azureDedicatedHSMResourceProviderContext.js.map +1 -1
  6. package/dist/browser/api/cloudHsmClusterBackupStatus/index.d.ts +1 -1
  7. package/dist/browser/api/cloudHsmClusterBackupStatus/index.js.map +1 -1
  8. package/dist/browser/api/cloudHsmClusterBackupStatus/operations.d.ts +6 -6
  9. package/dist/browser/api/cloudHsmClusterBackupStatus/operations.js +19 -21
  10. package/dist/browser/api/cloudHsmClusterBackupStatus/operations.js.map +1 -1
  11. package/dist/browser/api/cloudHsmClusterBackupStatus/options.d.ts +1 -3
  12. package/dist/browser/api/cloudHsmClusterBackupStatus/options.js.map +1 -1
  13. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +1 -1
  14. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -1
  15. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +5 -10
  16. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.js +36 -41
  17. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +1 -1
  18. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +1 -1
  19. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +1 -1
  20. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/index.d.ts +1 -1
  21. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/index.js.map +1 -1
  22. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +5 -5
  23. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.js +16 -8
  24. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.js.map +1 -1
  25. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/options.d.ts +1 -1
  26. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/options.js.map +1 -1
  27. package/dist/browser/api/cloudHsmClusterRestoreStatus/index.d.ts +1 -1
  28. package/dist/browser/api/cloudHsmClusterRestoreStatus/index.js.map +1 -1
  29. package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.d.ts +6 -6
  30. package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.js +19 -21
  31. package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.js.map +1 -1
  32. package/dist/browser/api/cloudHsmClusterRestoreStatus/options.d.ts +1 -3
  33. package/dist/browser/api/cloudHsmClusterRestoreStatus/options.js.map +1 -1
  34. package/dist/browser/api/cloudHsmClusters/index.d.ts +1 -1
  35. package/dist/browser/api/cloudHsmClusters/index.js.map +1 -1
  36. package/dist/browser/api/cloudHsmClusters/operations.d.ts +6 -11
  37. package/dist/browser/api/cloudHsmClusters/operations.js +162 -123
  38. package/dist/browser/api/cloudHsmClusters/operations.js.map +1 -1
  39. package/dist/browser/api/cloudHsmClusters/options.d.ts +2 -2
  40. package/dist/browser/api/cloudHsmClusters/options.js.map +1 -1
  41. package/dist/browser/api/dedicatedHsm/index.d.ts +1 -1
  42. package/dist/browser/api/dedicatedHsm/index.js.map +1 -1
  43. package/dist/browser/api/dedicatedHsm/operations.d.ts +6 -11
  44. package/dist/browser/api/dedicatedHsm/operations.js +100 -69
  45. package/dist/browser/api/dedicatedHsm/operations.js.map +1 -1
  46. package/dist/browser/api/dedicatedHsm/options.d.ts +1 -1
  47. package/dist/browser/api/dedicatedHsm/options.js.map +1 -1
  48. package/dist/browser/api/index.d.ts +2 -1
  49. package/dist/browser/api/index.js +1 -1
  50. package/dist/browser/api/index.js.map +1 -1
  51. package/dist/browser/api/operations/index.d.ts +1 -1
  52. package/dist/browser/api/operations/index.js.map +1 -1
  53. package/dist/browser/api/operations/operations.d.ts +5 -5
  54. package/dist/browser/api/operations/operations.js +16 -8
  55. package/dist/browser/api/operations/operations.js.map +1 -1
  56. package/dist/browser/api/operations/options.d.ts +1 -1
  57. package/dist/browser/api/operations/options.js.map +1 -1
  58. package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
  59. package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/index.js +4 -0
  60. package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  61. package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
  62. package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/operations.js +142 -0
  63. package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/operations.js.map +1 -0
  64. package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/options.d.ts +16 -0
  65. package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/options.js.map +1 -0
  66. package/dist/browser/api/paymentHsmClusterPrivateLinkResources/index.d.ts +3 -0
  67. package/dist/browser/api/paymentHsmClusterPrivateLinkResources/index.js +4 -0
  68. package/dist/browser/api/paymentHsmClusterPrivateLinkResources/index.js.map +1 -0
  69. package/dist/browser/api/paymentHsmClusterPrivateLinkResources/operations.d.ts +10 -0
  70. package/dist/browser/api/paymentHsmClusterPrivateLinkResources/operations.js +44 -0
  71. package/dist/browser/api/paymentHsmClusterPrivateLinkResources/operations.js.map +1 -0
  72. package/dist/browser/api/paymentHsmClusterPrivateLinkResources/options.d.ts +5 -0
  73. package/dist/browser/api/paymentHsmClusterPrivateLinkResources/options.js.map +1 -0
  74. package/dist/browser/api/paymentHsmClusters/index.d.ts +3 -0
  75. package/dist/browser/api/paymentHsmClusters/index.js +4 -0
  76. package/dist/browser/api/paymentHsmClusters/index.js.map +1 -0
  77. package/dist/browser/api/paymentHsmClusters/operations.d.ts +31 -0
  78. package/dist/browser/api/paymentHsmClusters/operations.js +209 -0
  79. package/dist/browser/api/paymentHsmClusters/operations.js.map +1 -0
  80. package/dist/browser/api/paymentHsmClusters/options.d.ts +30 -0
  81. package/dist/browser/api/paymentHsmClusters/options.js.map +1 -0
  82. package/dist/browser/api/privateEndpointConnections/index.d.ts +1 -1
  83. package/dist/browser/api/privateEndpointConnections/index.js.map +1 -1
  84. package/dist/browser/api/privateEndpointConnections/operations.d.ts +5 -5
  85. package/dist/browser/api/privateEndpointConnections/operations.js +18 -14
  86. package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -1
  87. package/dist/browser/api/privateEndpointConnections/options.d.ts +1 -1
  88. package/dist/browser/api/privateEndpointConnections/options.js.map +1 -1
  89. package/dist/browser/azureDedicatedHSMResourceProvider.d.ts +21 -12
  90. package/dist/browser/azureDedicatedHSMResourceProvider.js +42 -14
  91. package/dist/browser/azureDedicatedHSMResourceProvider.js.map +1 -1
  92. package/dist/browser/classic/cloudHsmClusterBackupStatus/index.d.ts +4 -4
  93. package/dist/browser/classic/cloudHsmClusterBackupStatus/index.js +3 -1
  94. package/dist/browser/classic/cloudHsmClusterBackupStatus/index.js.map +1 -1
  95. package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +4 -9
  96. package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.js +3 -1
  97. package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -1
  98. package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +4 -4
  99. package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.js +3 -1
  100. package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.js.map +1 -1
  101. package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.d.ts +4 -4
  102. package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.js +3 -1
  103. package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.js.map +1 -1
  104. package/dist/browser/classic/cloudHsmClusters/index.d.ts +5 -10
  105. package/dist/browser/classic/cloudHsmClusters/index.js +3 -1
  106. package/dist/browser/classic/cloudHsmClusters/index.js.map +1 -1
  107. package/dist/browser/classic/dedicatedHsm/index.d.ts +5 -10
  108. package/dist/browser/classic/dedicatedHsm/index.js +3 -1
  109. package/dist/browser/classic/dedicatedHsm/index.js.map +1 -1
  110. package/dist/browser/classic/index.d.ts +11 -8
  111. package/dist/browser/classic/index.js.map +1 -1
  112. package/dist/browser/classic/operations/index.d.ts +4 -4
  113. package/dist/browser/classic/operations/index.js +3 -1
  114. package/dist/browser/classic/operations/index.js.map +1 -1
  115. package/dist/browser/classic/paymentHsmClusterPrivateEndpointConnections/index.d.ts +18 -0
  116. package/dist/browser/classic/paymentHsmClusterPrivateEndpointConnections/index.js +17 -0
  117. package/dist/browser/classic/paymentHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  118. package/dist/browser/classic/paymentHsmClusterPrivateLinkResources/index.d.ts +11 -0
  119. package/dist/browser/classic/paymentHsmClusterPrivateLinkResources/index.js +14 -0
  120. package/dist/browser/classic/paymentHsmClusterPrivateLinkResources/index.js.map +1 -0
  121. package/dist/browser/classic/paymentHsmClusters/index.d.ts +22 -0
  122. package/dist/browser/classic/paymentHsmClusters/index.js +19 -0
  123. package/dist/browser/classic/paymentHsmClusters/index.js.map +1 -0
  124. package/dist/browser/classic/privateEndpointConnections/index.d.ts +4 -4
  125. package/dist/browser/classic/privateEndpointConnections/index.js +3 -1
  126. package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -1
  127. package/dist/browser/index.d.ts +24 -14
  128. package/dist/browser/index.js +4 -1
  129. package/dist/browser/index.js.map +1 -1
  130. package/dist/browser/models/index.d.ts +2 -1
  131. package/dist/browser/models/index.js +1 -1
  132. package/dist/browser/models/index.js.map +1 -1
  133. package/dist/browser/models/models.d.ts +273 -48
  134. package/dist/browser/models/models.js +274 -49
  135. package/dist/browser/models/models.js.map +1 -1
  136. package/dist/browser/restorePollerHelpers.d.ts +4 -4
  137. package/dist/browser/restorePollerHelpers.js +41 -44
  138. package/dist/browser/restorePollerHelpers.js.map +1 -1
  139. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  140. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  141. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  142. package/dist/browser/static-helpers/pagingHelpers.d.ts +3 -1
  143. package/dist/browser/static-helpers/pagingHelpers.js +59 -53
  144. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
  145. package/dist/browser/static-helpers/pollingHelpers.d.ts +7 -3
  146. package/dist/browser/static-helpers/pollingHelpers.js +33 -14
  147. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
  148. package/dist/browser/static-helpers/urlTemplate.js +43 -12
  149. package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
  150. package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.d.ts +8 -5
  151. package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.js +49 -37
  152. package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.js.map +7 -1
  153. package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.d.ts +1 -1
  154. package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.js +28 -8
  155. package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.js.map +7 -1
  156. package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.d.ts +6 -6
  157. package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.js +65 -41
  158. package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.js.map +7 -1
  159. package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.d.ts +1 -3
  160. package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.js +16 -5
  161. package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.js.map +7 -1
  162. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +1 -1
  163. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.js +32 -10
  164. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +7 -1
  165. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +5 -10
  166. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.js +151 -105
  167. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +7 -1
  168. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +1 -1
  169. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.js +16 -5
  170. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +7 -1
  171. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.d.ts +1 -1
  172. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.js +28 -8
  173. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.js.map +7 -1
  174. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +5 -5
  175. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.js +72 -32
  176. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.js.map +7 -1
  177. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.d.ts +1 -1
  178. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.js +16 -5
  179. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.js.map +7 -1
  180. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.d.ts +1 -1
  181. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.js +28 -8
  182. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.js.map +7 -1
  183. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.d.ts +6 -6
  184. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.js +65 -41
  185. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.js.map +7 -1
  186. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.d.ts +1 -3
  187. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.js +16 -5
  188. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.js.map +7 -1
  189. package/dist/commonjs/api/cloudHsmClusters/index.d.ts +1 -1
  190. package/dist/commonjs/api/cloudHsmClusters/index.js +46 -17
  191. package/dist/commonjs/api/cloudHsmClusters/index.js.map +7 -1
  192. package/dist/commonjs/api/cloudHsmClusters/operations.d.ts +6 -11
  193. package/dist/commonjs/api/cloudHsmClusters/operations.js +437 -296
  194. package/dist/commonjs/api/cloudHsmClusters/operations.js.map +7 -1
  195. package/dist/commonjs/api/cloudHsmClusters/options.d.ts +2 -2
  196. package/dist/commonjs/api/cloudHsmClusters/options.js +16 -5
  197. package/dist/commonjs/api/cloudHsmClusters/options.js.map +7 -1
  198. package/dist/commonjs/api/dedicatedHsm/index.d.ts +1 -1
  199. package/dist/commonjs/api/dedicatedHsm/index.js +40 -14
  200. package/dist/commonjs/api/dedicatedHsm/index.js.map +7 -1
  201. package/dist/commonjs/api/dedicatedHsm/operations.d.ts +6 -11
  202. package/dist/commonjs/api/dedicatedHsm/operations.js +304 -193
  203. package/dist/commonjs/api/dedicatedHsm/operations.js.map +7 -1
  204. package/dist/commonjs/api/dedicatedHsm/options.d.ts +1 -1
  205. package/dist/commonjs/api/dedicatedHsm/options.js +16 -5
  206. package/dist/commonjs/api/dedicatedHsm/options.js.map +7 -1
  207. package/dist/commonjs/api/index.d.ts +2 -1
  208. package/dist/commonjs/api/index.js +28 -8
  209. package/dist/commonjs/api/index.js.map +7 -1
  210. package/dist/commonjs/api/operations/index.d.ts +1 -1
  211. package/dist/commonjs/api/operations/index.js +28 -8
  212. package/dist/commonjs/api/operations/index.js.map +7 -1
  213. package/dist/commonjs/api/operations/operations.d.ts +5 -5
  214. package/dist/commonjs/api/operations/operations.js +67 -27
  215. package/dist/commonjs/api/operations/operations.js.map +7 -1
  216. package/dist/commonjs/api/operations/options.d.ts +1 -1
  217. package/dist/commonjs/api/operations/options.js +16 -5
  218. package/dist/commonjs/api/operations/options.js.map +7 -1
  219. package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
  220. package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/index.js +34 -0
  221. package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/index.js.map +7 -0
  222. package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
  223. package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/operations.js +219 -0
  224. package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/operations.js.map +7 -0
  225. package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/options.d.ts +16 -0
  226. package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/options.js +16 -0
  227. package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/options.js.map +7 -0
  228. package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/index.d.ts +3 -0
  229. package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/index.js +28 -0
  230. package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/index.js.map +7 -0
  231. package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/operations.d.ts +10 -0
  232. package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/operations.js +81 -0
  233. package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/operations.js.map +7 -0
  234. package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/options.d.ts +5 -0
  235. package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/options.js +16 -0
  236. package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/options.js.map +7 -0
  237. package/dist/commonjs/api/paymentHsmClusters/index.d.ts +3 -0
  238. package/dist/commonjs/api/paymentHsmClusters/index.js +38 -0
  239. package/dist/commonjs/api/paymentHsmClusters/index.js.map +7 -0
  240. package/dist/commonjs/api/paymentHsmClusters/operations.d.ts +31 -0
  241. package/dist/commonjs/api/paymentHsmClusters/operations.js +297 -0
  242. package/dist/commonjs/api/paymentHsmClusters/operations.js.map +7 -0
  243. package/dist/commonjs/api/paymentHsmClusters/options.d.ts +30 -0
  244. package/dist/commonjs/api/paymentHsmClusters/options.js +16 -0
  245. package/dist/commonjs/api/paymentHsmClusters/options.js.map +7 -0
  246. package/dist/commonjs/api/privateEndpointConnections/index.d.ts +1 -1
  247. package/dist/commonjs/api/privateEndpointConnections/index.js +28 -8
  248. package/dist/commonjs/api/privateEndpointConnections/index.js.map +7 -1
  249. package/dist/commonjs/api/privateEndpointConnections/operations.d.ts +5 -5
  250. package/dist/commonjs/api/privateEndpointConnections/operations.js +72 -36
  251. package/dist/commonjs/api/privateEndpointConnections/operations.js.map +7 -1
  252. package/dist/commonjs/api/privateEndpointConnections/options.d.ts +1 -1
  253. package/dist/commonjs/api/privateEndpointConnections/options.js +16 -5
  254. package/dist/commonjs/api/privateEndpointConnections/options.js.map +7 -1
  255. package/dist/commonjs/azureDedicatedHSMResourceProvider.d.ts +21 -12
  256. package/dist/commonjs/azureDedicatedHSMResourceProvider.js +82 -35
  257. package/dist/commonjs/azureDedicatedHSMResourceProvider.js.map +7 -1
  258. package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.d.ts +4 -4
  259. package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.js +34 -11
  260. package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.js.map +7 -1
  261. package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +4 -9
  262. package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.js +43 -13
  263. package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +7 -1
  264. package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +4 -4
  265. package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.js +34 -11
  266. package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.js.map +7 -1
  267. package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.d.ts +4 -4
  268. package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.js +34 -11
  269. package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.js.map +7 -1
  270. package/dist/commonjs/classic/cloudHsmClusters/index.d.ts +5 -10
  271. package/dist/commonjs/classic/cloudHsmClusters/index.js +43 -20
  272. package/dist/commonjs/classic/cloudHsmClusters/index.js.map +7 -1
  273. package/dist/commonjs/classic/dedicatedHsm/index.d.ts +5 -10
  274. package/dist/commonjs/classic/dedicatedHsm/index.js +40 -17
  275. package/dist/commonjs/classic/dedicatedHsm/index.js.map +7 -1
  276. package/dist/commonjs/classic/index.d.ts +11 -8
  277. package/dist/commonjs/classic/index.js +16 -5
  278. package/dist/commonjs/classic/index.js.map +7 -1
  279. package/dist/commonjs/classic/operations/index.d.ts +4 -4
  280. package/dist/commonjs/classic/operations/index.js +34 -11
  281. package/dist/commonjs/classic/operations/index.js.map +7 -1
  282. package/dist/commonjs/classic/paymentHsmClusterPrivateEndpointConnections/index.d.ts +18 -0
  283. package/dist/commonjs/classic/paymentHsmClusterPrivateEndpointConnections/index.js +48 -0
  284. package/dist/commonjs/classic/paymentHsmClusterPrivateEndpointConnections/index.js.map +7 -0
  285. package/dist/commonjs/classic/paymentHsmClusterPrivateLinkResources/index.d.ts +11 -0
  286. package/dist/commonjs/classic/paymentHsmClusterPrivateLinkResources/index.js +38 -0
  287. package/dist/commonjs/classic/paymentHsmClusterPrivateLinkResources/index.js.map +7 -0
  288. package/dist/commonjs/classic/paymentHsmClusters/index.d.ts +22 -0
  289. package/dist/commonjs/classic/paymentHsmClusters/index.js +43 -0
  290. package/dist/commonjs/classic/paymentHsmClusters/index.js.map +7 -0
  291. package/dist/commonjs/classic/privateEndpointConnections/index.d.ts +4 -4
  292. package/dist/commonjs/classic/privateEndpointConnections/index.js +34 -11
  293. package/dist/commonjs/classic/privateEndpointConnections/index.js.map +7 -1
  294. package/dist/commonjs/index.d.ts +24 -14
  295. package/dist/commonjs/index.js +78 -26
  296. package/dist/commonjs/index.js.map +7 -1
  297. package/dist/commonjs/logger.js +29 -8
  298. package/dist/commonjs/logger.js.map +7 -1
  299. package/dist/commonjs/models/index.d.ts +2 -1
  300. package/dist/commonjs/models/index.js +64 -22
  301. package/dist/commonjs/models/index.js.map +7 -1
  302. package/dist/commonjs/models/models.d.ts +273 -48
  303. package/dist/commonjs/models/models.js +899 -688
  304. package/dist/commonjs/models/models.js.map +7 -1
  305. package/dist/commonjs/restorePollerHelpers.d.ts +4 -4
  306. package/dist/commonjs/restorePollerHelpers.js +132 -125
  307. package/dist/commonjs/restorePollerHelpers.js.map +7 -1
  308. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  309. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  310. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  311. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +3 -1
  312. package/dist/commonjs/static-helpers/pagingHelpers.js +131 -128
  313. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -1
  314. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +7 -3
  315. package/dist/commonjs/static-helpers/pollingHelpers.js +95 -73
  316. package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -1
  317. package/dist/commonjs/static-helpers/urlTemplate.js +167 -142
  318. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -1
  319. package/dist/commonjs/tsdoc-metadata.json +11 -11
  320. package/dist/esm/api/azureDedicatedHSMResourceProviderContext.d.ts +8 -5
  321. package/dist/esm/api/azureDedicatedHSMResourceProviderContext.js +20 -26
  322. package/dist/esm/api/azureDedicatedHSMResourceProviderContext.js.map +1 -1
  323. package/dist/esm/api/cloudHsmClusterBackupStatus/index.d.ts +1 -1
  324. package/dist/esm/api/cloudHsmClusterBackupStatus/index.js.map +1 -1
  325. package/dist/esm/api/cloudHsmClusterBackupStatus/operations.d.ts +6 -6
  326. package/dist/esm/api/cloudHsmClusterBackupStatus/operations.js +19 -21
  327. package/dist/esm/api/cloudHsmClusterBackupStatus/operations.js.map +1 -1
  328. package/dist/esm/api/cloudHsmClusterBackupStatus/options.d.ts +1 -3
  329. package/dist/esm/api/cloudHsmClusterBackupStatus/options.js.map +1 -1
  330. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +1 -1
  331. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -1
  332. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +5 -10
  333. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.js +36 -41
  334. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +1 -1
  335. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +1 -1
  336. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +1 -1
  337. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/index.d.ts +1 -1
  338. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/index.js.map +1 -1
  339. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +5 -5
  340. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.js +16 -8
  341. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.js.map +1 -1
  342. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/options.d.ts +1 -1
  343. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/options.js.map +1 -1
  344. package/dist/esm/api/cloudHsmClusterRestoreStatus/index.d.ts +1 -1
  345. package/dist/esm/api/cloudHsmClusterRestoreStatus/index.js.map +1 -1
  346. package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.d.ts +6 -6
  347. package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.js +19 -21
  348. package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.js.map +1 -1
  349. package/dist/esm/api/cloudHsmClusterRestoreStatus/options.d.ts +1 -3
  350. package/dist/esm/api/cloudHsmClusterRestoreStatus/options.js.map +1 -1
  351. package/dist/esm/api/cloudHsmClusters/index.d.ts +1 -1
  352. package/dist/esm/api/cloudHsmClusters/index.js.map +1 -1
  353. package/dist/esm/api/cloudHsmClusters/operations.d.ts +6 -11
  354. package/dist/esm/api/cloudHsmClusters/operations.js +162 -123
  355. package/dist/esm/api/cloudHsmClusters/operations.js.map +1 -1
  356. package/dist/esm/api/cloudHsmClusters/options.d.ts +2 -2
  357. package/dist/esm/api/cloudHsmClusters/options.js.map +1 -1
  358. package/dist/esm/api/dedicatedHsm/index.d.ts +1 -1
  359. package/dist/esm/api/dedicatedHsm/index.js.map +1 -1
  360. package/dist/esm/api/dedicatedHsm/operations.d.ts +6 -11
  361. package/dist/esm/api/dedicatedHsm/operations.js +100 -69
  362. package/dist/esm/api/dedicatedHsm/operations.js.map +1 -1
  363. package/dist/esm/api/dedicatedHsm/options.d.ts +1 -1
  364. package/dist/esm/api/dedicatedHsm/options.js.map +1 -1
  365. package/dist/esm/api/index.d.ts +2 -1
  366. package/dist/esm/api/index.js +1 -1
  367. package/dist/esm/api/index.js.map +1 -1
  368. package/dist/esm/api/operations/index.d.ts +1 -1
  369. package/dist/esm/api/operations/index.js.map +1 -1
  370. package/dist/esm/api/operations/operations.d.ts +5 -5
  371. package/dist/esm/api/operations/operations.js +16 -8
  372. package/dist/esm/api/operations/operations.js.map +1 -1
  373. package/dist/esm/api/operations/options.d.ts +1 -1
  374. package/dist/esm/api/operations/options.js.map +1 -1
  375. package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
  376. package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/index.js +4 -0
  377. package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  378. package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
  379. package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/operations.js +142 -0
  380. package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/operations.js.map +1 -0
  381. package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/options.d.ts +16 -0
  382. package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/options.js.map +1 -0
  383. package/dist/esm/api/paymentHsmClusterPrivateLinkResources/index.d.ts +3 -0
  384. package/dist/esm/api/paymentHsmClusterPrivateLinkResources/index.js +4 -0
  385. package/dist/esm/api/paymentHsmClusterPrivateLinkResources/index.js.map +1 -0
  386. package/dist/esm/api/paymentHsmClusterPrivateLinkResources/operations.d.ts +10 -0
  387. package/dist/esm/api/paymentHsmClusterPrivateLinkResources/operations.js +44 -0
  388. package/dist/esm/api/paymentHsmClusterPrivateLinkResources/operations.js.map +1 -0
  389. package/dist/esm/api/paymentHsmClusterPrivateLinkResources/options.d.ts +5 -0
  390. package/dist/esm/api/paymentHsmClusterPrivateLinkResources/options.js.map +1 -0
  391. package/dist/esm/api/paymentHsmClusters/index.d.ts +3 -0
  392. package/dist/esm/api/paymentHsmClusters/index.js +4 -0
  393. package/dist/esm/api/paymentHsmClusters/index.js.map +1 -0
  394. package/dist/esm/api/paymentHsmClusters/operations.d.ts +31 -0
  395. package/dist/esm/api/paymentHsmClusters/operations.js +209 -0
  396. package/dist/esm/api/paymentHsmClusters/operations.js.map +1 -0
  397. package/dist/esm/api/paymentHsmClusters/options.d.ts +30 -0
  398. package/dist/esm/api/paymentHsmClusters/options.js.map +1 -0
  399. package/dist/esm/api/privateEndpointConnections/index.d.ts +1 -1
  400. package/dist/esm/api/privateEndpointConnections/index.js.map +1 -1
  401. package/dist/esm/api/privateEndpointConnections/operations.d.ts +5 -5
  402. package/dist/esm/api/privateEndpointConnections/operations.js +18 -14
  403. package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -1
  404. package/dist/esm/api/privateEndpointConnections/options.d.ts +1 -1
  405. package/dist/esm/api/privateEndpointConnections/options.js.map +1 -1
  406. package/dist/esm/azureDedicatedHSMResourceProvider.d.ts +21 -12
  407. package/dist/esm/azureDedicatedHSMResourceProvider.js +42 -14
  408. package/dist/esm/azureDedicatedHSMResourceProvider.js.map +1 -1
  409. package/dist/esm/classic/cloudHsmClusterBackupStatus/index.d.ts +4 -4
  410. package/dist/esm/classic/cloudHsmClusterBackupStatus/index.js +3 -1
  411. package/dist/esm/classic/cloudHsmClusterBackupStatus/index.js.map +1 -1
  412. package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +4 -9
  413. package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.js +3 -1
  414. package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -1
  415. package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +4 -4
  416. package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.js +3 -1
  417. package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.js.map +1 -1
  418. package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.d.ts +4 -4
  419. package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.js +3 -1
  420. package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.js.map +1 -1
  421. package/dist/esm/classic/cloudHsmClusters/index.d.ts +5 -10
  422. package/dist/esm/classic/cloudHsmClusters/index.js +3 -1
  423. package/dist/esm/classic/cloudHsmClusters/index.js.map +1 -1
  424. package/dist/esm/classic/dedicatedHsm/index.d.ts +5 -10
  425. package/dist/esm/classic/dedicatedHsm/index.js +3 -1
  426. package/dist/esm/classic/dedicatedHsm/index.js.map +1 -1
  427. package/dist/esm/classic/index.d.ts +11 -8
  428. package/dist/esm/classic/index.js.map +1 -1
  429. package/dist/esm/classic/operations/index.d.ts +4 -4
  430. package/dist/esm/classic/operations/index.js +3 -1
  431. package/dist/esm/classic/operations/index.js.map +1 -1
  432. package/dist/esm/classic/paymentHsmClusterPrivateEndpointConnections/index.d.ts +18 -0
  433. package/dist/esm/classic/paymentHsmClusterPrivateEndpointConnections/index.js +17 -0
  434. package/dist/esm/classic/paymentHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  435. package/dist/esm/classic/paymentHsmClusterPrivateLinkResources/index.d.ts +11 -0
  436. package/dist/esm/classic/paymentHsmClusterPrivateLinkResources/index.js +14 -0
  437. package/dist/esm/classic/paymentHsmClusterPrivateLinkResources/index.js.map +1 -0
  438. package/dist/esm/classic/paymentHsmClusters/index.d.ts +22 -0
  439. package/dist/esm/classic/paymentHsmClusters/index.js +19 -0
  440. package/dist/esm/classic/paymentHsmClusters/index.js.map +1 -0
  441. package/dist/esm/classic/privateEndpointConnections/index.d.ts +4 -4
  442. package/dist/esm/classic/privateEndpointConnections/index.js +3 -1
  443. package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -1
  444. package/dist/esm/index.d.ts +24 -14
  445. package/dist/esm/index.js +4 -1
  446. package/dist/esm/index.js.map +1 -1
  447. package/dist/esm/models/index.d.ts +2 -1
  448. package/dist/esm/models/index.js +1 -1
  449. package/dist/esm/models/index.js.map +1 -1
  450. package/dist/esm/models/models.d.ts +273 -48
  451. package/dist/esm/models/models.js +274 -49
  452. package/dist/esm/models/models.js.map +1 -1
  453. package/dist/esm/restorePollerHelpers.d.ts +4 -4
  454. package/dist/esm/restorePollerHelpers.js +41 -44
  455. package/dist/esm/restorePollerHelpers.js.map +1 -1
  456. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  457. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  458. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  459. package/dist/esm/static-helpers/pagingHelpers.d.ts +3 -1
  460. package/dist/esm/static-helpers/pagingHelpers.js +59 -53
  461. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
  462. package/dist/esm/static-helpers/pollingHelpers.d.ts +7 -3
  463. package/dist/esm/static-helpers/pollingHelpers.js +33 -14
  464. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
  465. package/dist/esm/static-helpers/urlTemplate.js +43 -12
  466. package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
  467. package/package.json +91 -108
  468. package/review/{arm-hardwaresecuritymodules.api.md → arm-hardwaresecuritymodules-node.api.md} +198 -41
  469. package/dist/react-native/api/azureDedicatedHSMResourceProviderContext.d.ts +0 -19
  470. package/dist/react-native/api/azureDedicatedHSMResourceProviderContext.js +0 -36
  471. package/dist/react-native/api/azureDedicatedHSMResourceProviderContext.js.map +0 -1
  472. package/dist/react-native/api/cloudHsmClusterBackupStatus/index.d.ts +0 -3
  473. package/dist/react-native/api/cloudHsmClusterBackupStatus/index.js +0 -4
  474. package/dist/react-native/api/cloudHsmClusterBackupStatus/index.js.map +0 -1
  475. package/dist/react-native/api/cloudHsmClusterBackupStatus/operations.d.ts +0 -9
  476. package/dist/react-native/api/cloudHsmClusterBackupStatus/operations.js +0 -42
  477. package/dist/react-native/api/cloudHsmClusterBackupStatus/operations.js.map +0 -1
  478. package/dist/react-native/api/cloudHsmClusterBackupStatus/options.d.ts +0 -7
  479. package/dist/react-native/api/cloudHsmClusterBackupStatus/options.js.map +0 -1
  480. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +0 -3
  481. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/index.js +0 -4
  482. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +0 -1
  483. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +0 -23
  484. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/operations.js +0 -109
  485. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +0 -1
  486. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +0 -13
  487. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +0 -1
  488. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/index.d.ts +0 -3
  489. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/index.js +0 -4
  490. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/index.js.map +0 -1
  491. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +0 -10
  492. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/operations.js +0 -36
  493. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/operations.js.map +0 -1
  494. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/options.d.ts +0 -5
  495. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/options.js.map +0 -1
  496. package/dist/react-native/api/cloudHsmClusterRestoreStatus/index.d.ts +0 -3
  497. package/dist/react-native/api/cloudHsmClusterRestoreStatus/index.js +0 -4
  498. package/dist/react-native/api/cloudHsmClusterRestoreStatus/index.js.map +0 -1
  499. package/dist/react-native/api/cloudHsmClusterRestoreStatus/operations.d.ts +0 -9
  500. package/dist/react-native/api/cloudHsmClusterRestoreStatus/operations.js +0 -42
  501. package/dist/react-native/api/cloudHsmClusterRestoreStatus/operations.js.map +0 -1
  502. package/dist/react-native/api/cloudHsmClusterRestoreStatus/options.d.ts +0 -7
  503. package/dist/react-native/api/cloudHsmClusterRestoreStatus/options.js.map +0 -1
  504. package/dist/react-native/api/cloudHsmClusters/index.d.ts +0 -3
  505. package/dist/react-native/api/cloudHsmClusters/index.js +0 -4
  506. package/dist/react-native/api/cloudHsmClusters/index.js.map +0 -1
  507. package/dist/react-native/api/cloudHsmClusters/operations.d.ts +0 -52
  508. package/dist/react-native/api/cloudHsmClusters/operations.js +0 -324
  509. package/dist/react-native/api/cloudHsmClusters/operations.js.map +0 -1
  510. package/dist/react-native/api/cloudHsmClusters/options.d.ts +0 -57
  511. package/dist/react-native/api/cloudHsmClusters/options.js.map +0 -1
  512. package/dist/react-native/api/dedicatedHsm/index.d.ts +0 -3
  513. package/dist/react-native/api/dedicatedHsm/index.js +0 -4
  514. package/dist/react-native/api/dedicatedHsm/index.js.map +0 -1
  515. package/dist/react-native/api/dedicatedHsm/operations.d.ts +0 -40
  516. package/dist/react-native/api/dedicatedHsm/operations.js +0 -215
  517. package/dist/react-native/api/dedicatedHsm/operations.js.map +0 -1
  518. package/dist/react-native/api/dedicatedHsm/options.d.ts +0 -33
  519. package/dist/react-native/api/dedicatedHsm/options.js.map +0 -1
  520. package/dist/react-native/api/index.d.ts +0 -2
  521. package/dist/react-native/api/index.js +0 -4
  522. package/dist/react-native/api/index.js.map +0 -1
  523. package/dist/react-native/api/operations/index.d.ts +0 -3
  524. package/dist/react-native/api/operations/index.js +0 -4
  525. package/dist/react-native/api/operations/index.js.map +0 -1
  526. package/dist/react-native/api/operations/operations.d.ts +0 -10
  527. package/dist/react-native/api/operations/operations.js +0 -29
  528. package/dist/react-native/api/operations/operations.js.map +0 -1
  529. package/dist/react-native/api/operations/options.d.ts +0 -5
  530. package/dist/react-native/api/operations/options.js +0 -4
  531. package/dist/react-native/api/operations/options.js.map +0 -1
  532. package/dist/react-native/api/privateEndpointConnections/index.d.ts +0 -3
  533. package/dist/react-native/api/privateEndpointConnections/index.js +0 -4
  534. package/dist/react-native/api/privateEndpointConnections/index.js.map +0 -1
  535. package/dist/react-native/api/privateEndpointConnections/operations.d.ts +0 -10
  536. package/dist/react-native/api/privateEndpointConnections/operations.js +0 -36
  537. package/dist/react-native/api/privateEndpointConnections/operations.js.map +0 -1
  538. package/dist/react-native/api/privateEndpointConnections/options.d.ts +0 -5
  539. package/dist/react-native/api/privateEndpointConnections/options.js +0 -4
  540. package/dist/react-native/api/privateEndpointConnections/options.js.map +0 -1
  541. package/dist/react-native/azureDedicatedHSMResourceProvider.d.ts +0 -36
  542. package/dist/react-native/azureDedicatedHSMResourceProvider.js +0 -33
  543. package/dist/react-native/azureDedicatedHSMResourceProvider.js.map +0 -1
  544. package/dist/react-native/classic/cloudHsmClusterBackupStatus/index.d.ts +0 -10
  545. package/dist/react-native/classic/cloudHsmClusterBackupStatus/index.js +0 -12
  546. package/dist/react-native/classic/cloudHsmClusterBackupStatus/index.js.map +0 -1
  547. package/dist/react-native/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +0 -20
  548. package/dist/react-native/classic/cloudHsmClusterPrivateEndpointConnections/index.js +0 -14
  549. package/dist/react-native/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +0 -1
  550. package/dist/react-native/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +0 -11
  551. package/dist/react-native/classic/cloudHsmClusterPrivateLinkResources/index.js +0 -12
  552. package/dist/react-native/classic/cloudHsmClusterPrivateLinkResources/index.js.map +0 -1
  553. package/dist/react-native/classic/cloudHsmClusterRestoreStatus/index.d.ts +0 -10
  554. package/dist/react-native/classic/cloudHsmClusterRestoreStatus/index.js +0 -12
  555. package/dist/react-native/classic/cloudHsmClusterRestoreStatus/index.js.map +0 -1
  556. package/dist/react-native/classic/cloudHsmClusters/index.d.ts +0 -35
  557. package/dist/react-native/classic/cloudHsmClusters/index.js +0 -21
  558. package/dist/react-native/classic/cloudHsmClusters/index.js.map +0 -1
  559. package/dist/react-native/classic/dedicatedHsm/index.d.ts +0 -29
  560. package/dist/react-native/classic/dedicatedHsm/index.js +0 -18
  561. package/dist/react-native/classic/dedicatedHsm/index.js.map +0 -1
  562. package/dist/react-native/classic/index.d.ts +0 -9
  563. package/dist/react-native/classic/index.js +0 -4
  564. package/dist/react-native/classic/index.js.map +0 -1
  565. package/dist/react-native/classic/operations/index.d.ts +0 -11
  566. package/dist/react-native/classic/operations/index.js +0 -12
  567. package/dist/react-native/classic/operations/index.js.map +0 -1
  568. package/dist/react-native/classic/privateEndpointConnections/index.d.ts +0 -11
  569. package/dist/react-native/classic/privateEndpointConnections/index.js +0 -12
  570. package/dist/react-native/classic/privateEndpointConnections/index.js.map +0 -1
  571. package/dist/react-native/index.d.ts +0 -16
  572. package/dist/react-native/index.js +0 -6
  573. package/dist/react-native/index.js.map +0 -1
  574. package/dist/react-native/logger.d.ts +0 -2
  575. package/dist/react-native/logger.js +0 -5
  576. package/dist/react-native/logger.js.map +0 -1
  577. package/dist/react-native/models/index.d.ts +0 -2
  578. package/dist/react-native/models/index.js +0 -4
  579. package/dist/react-native/models/index.js.map +0 -1
  580. package/dist/react-native/models/models.d.ts +0 -751
  581. package/dist/react-native/models/models.js +0 -747
  582. package/dist/react-native/models/models.js.map +0 -1
  583. package/dist/react-native/package.json +0 -3
  584. package/dist/react-native/restorePollerHelpers.d.ts +0 -21
  585. package/dist/react-native/restorePollerHelpers.js +0 -133
  586. package/dist/react-native/restorePollerHelpers.js.map +0 -1
  587. package/dist/react-native/static-helpers/pagingHelpers.d.ts +0 -72
  588. package/dist/react-native/static-helpers/pagingHelpers.js +0 -137
  589. package/dist/react-native/static-helpers/pagingHelpers.js.map +0 -1
  590. package/dist/react-native/static-helpers/pollingHelpers.d.ts +0 -30
  591. package/dist/react-native/static-helpers/pollingHelpers.js +0 -76
  592. package/dist/react-native/static-helpers/pollingHelpers.js.map +0 -1
  593. package/dist/react-native/static-helpers/urlTemplate.d.ts +0 -5
  594. package/dist/react-native/static-helpers/urlTemplate.js +0 -169
  595. package/dist/react-native/static-helpers/urlTemplate.js.map +0 -1
  596. package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterBackupStatus.api.md +0 -22
  597. package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterPrivateEndpointConnections.api.md +0 -36
  598. package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterPrivateLinkResources.api.md +0 -19
  599. package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterRestoreStatus.api.md +0 -22
  600. package/review/arm-hardwaresecuritymodules-api-cloudHsmClusters.api.md +0 -96
  601. package/review/arm-hardwaresecuritymodules-api-dedicatedHsm.api.md +0 -68
  602. package/review/arm-hardwaresecuritymodules-api-operations.api.md +0 -19
  603. package/review/arm-hardwaresecuritymodules-api-privateEndpointConnections.api.md +0 -19
  604. package/review/arm-hardwaresecuritymodules-api.api.md +0 -27
  605. package/review/arm-hardwaresecuritymodules-models.api.md +0 -471
  606. /package/dist/{react-native/api/cloudHsmClusterBackupStatus → browser/api/paymentHsmClusterPrivateEndpointConnections}/options.js +0 -0
  607. /package/dist/{react-native/api/cloudHsmClusterPrivateEndpointConnections → browser/api/paymentHsmClusterPrivateLinkResources}/options.js +0 -0
  608. /package/dist/{react-native/api/cloudHsmClusterPrivateLinkResources → browser/api/paymentHsmClusters}/options.js +0 -0
  609. /package/dist/{react-native/api/cloudHsmClusterRestoreStatus → esm/api/paymentHsmClusterPrivateEndpointConnections}/options.js +0 -0
  610. /package/dist/{react-native/api/cloudHsmClusters → esm/api/paymentHsmClusterPrivateLinkResources}/options.js +0 -0
  611. /package/dist/{react-native/api/dedicatedHsm → esm/api/paymentHsmClusters}/options.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/paymentHsmClusterPrivateLinkResources/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,OAAO,EACL,yBAAyB,EACzB,0CAA0C,GAC3C,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAGxE,OAAO,EAAE,eAAe,EAAE,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AAE/F,MAAM,UAAU,4BAA4B,CAC1C,OAAe,EACf,iBAAyB,EACzB,qBAA6B,EAC7B,UAAsF;IACpF,cAAc,EAAE,EAAE;CACnB;IAED,MAAM,IAAI,GAAG,iBAAiB,CAC5B,gMAAgM,EAChM;QACE,cAAc,EAAE,OAAO,CAAC,cAAc;QACtC,iBAAiB,EAAE,iBAAiB;QACpC,qBAAqB,EAAE,qBAAqB;QAC5C,eAAe,EAAE,OAAO,CAAC,UAAU,IAAI,oBAAoB;KAC5D,EACD;QACE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC;QAC5B,GAAG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,OAAO,EAAE,EAAE,MAAM,EAAE,kBAAkB,EAAE,GAAG,OAAO,CAAC,cAAc,EAAE,OAAO,EAAE;KAC5E,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,mCAAmC,CACvD,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;YAChB,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACzD,CAAC;QAED,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,0CAA0C,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACjE,CAAC;AACD,6EAA6E;AAC7E,MAAM,UAAU,uBAAuB,CACrC,OAAe,EACf,iBAAyB,EACzB,qBAA6B,EAC7B,UAAsF;IACpF,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,4BAA4B,CAAC,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAC9F,mCAAmC,EACnC,CAAC,KAAK,CAAC,EACP;QACE,QAAQ,EAAE,OAAO;QACjB,YAAY,EAAE,UAAU;QACxB,UAAU,EAAE,OAAO,CAAC,UAAU,IAAI,oBAAoB;KACvD,CACF,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AzureDedicatedHSMResourceProviderContext as Client } from \"../index.js\";\nimport type { _PrivateLinkResourceListResult, PrivateLinkResource } from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n _privateLinkResourceListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type { PaymentHsmClusterPrivateLinkResourcesListByPaymentHsmClusterOptionalParams } from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _listByPaymentHsmClusterSend(\n context: Client,\n resourceGroupName: string,\n paymentHsmClusterName: string,\n options: PaymentHsmClusterPrivateLinkResourcesListByPaymentHsmClusterOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}/privateLinkResources{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n paymentHsmClusterName: paymentHsmClusterName,\n \"api%2Dversion\": context.apiVersion ?? \"2025-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listByPaymentHsmClusterDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PrivateLinkResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _privateLinkResourceListResultDeserializer(result.body);\n}\n/** Gets the private link resources supported for the Payment Hsm Cluster. */\nexport function listByPaymentHsmCluster(\n context: Client,\n resourceGroupName: string,\n paymentHsmClusterName: string,\n options: PaymentHsmClusterPrivateLinkResourcesListByPaymentHsmClusterOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<PrivateLinkResource> {\n return buildPagedAsyncIterator(\n context,\n () => _listByPaymentHsmClusterSend(context, resourceGroupName, paymentHsmClusterName, options),\n _listByPaymentHsmClusterDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2025-12-01-preview\",\n },\n );\n}\n"]}
@@ -0,0 +1,5 @@
1
+ import type { OperationOptions } from "@azure-rest/core-client";
2
+ /** Optional parameters. */
3
+ export interface PaymentHsmClusterPrivateLinkResourcesListByPaymentHsmClusterOptionalParams extends OperationOptions {
4
+ }
5
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/paymentHsmClusterPrivateLinkResources/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface PaymentHsmClusterPrivateLinkResourcesListByPaymentHsmClusterOptionalParams extends OperationOptions {}\n"]}
@@ -0,0 +1,3 @@
1
+ export { listBySubscription, listByResourceGroup, $delete, update, createOrUpdate, get, } from "./operations.js";
2
+ export type { PaymentHsmClustersListBySubscriptionOptionalParams, PaymentHsmClustersListByResourceGroupOptionalParams, PaymentHsmClustersDeleteOptionalParams, PaymentHsmClustersUpdateOptionalParams, PaymentHsmClustersCreateOrUpdateOptionalParams, PaymentHsmClustersGetOptionalParams, } from "./options.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export { listBySubscription, listByResourceGroup, $delete, update, createOrUpdate, get, } from "./operations.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/paymentHsmClusters/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,OAAO,EACP,MAAM,EACN,cAAc,EACd,GAAG,GACJ,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n listBySubscription,\n listByResourceGroup,\n $delete,\n update,\n createOrUpdate,\n get,\n} from \"./operations.js\";\nexport type {\n PaymentHsmClustersListBySubscriptionOptionalParams,\n PaymentHsmClustersListByResourceGroupOptionalParams,\n PaymentHsmClustersDeleteOptionalParams,\n PaymentHsmClustersUpdateOptionalParams,\n PaymentHsmClustersCreateOrUpdateOptionalParams,\n PaymentHsmClustersGetOptionalParams,\n} from \"./options.js\";\n"]}
@@ -0,0 +1,31 @@
1
+ import type { AzureDedicatedHSMResourceProviderContext as Client } from "../index.js";
2
+ import type { PaymentHsmCluster, PaymentHsmClusterPatchParameters, _PaymentHsmClusterListResult } from "../../models/models.js";
3
+ import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
+ import type { PaymentHsmClustersListBySubscriptionOptionalParams, PaymentHsmClustersListByResourceGroupOptionalParams, PaymentHsmClustersDeleteOptionalParams, PaymentHsmClustersUpdateOptionalParams, PaymentHsmClustersCreateOrUpdateOptionalParams, PaymentHsmClustersGetOptionalParams } from "./options.js";
5
+ import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
6
+ import type { PollerLike, OperationState } from "@azure/core-lro";
7
+ export declare function _listBySubscriptionSend(context: Client, options?: PaymentHsmClustersListBySubscriptionOptionalParams): StreamableMethod;
8
+ export declare function _listBySubscriptionDeserialize(result: PathUncheckedResponse): Promise<_PaymentHsmClusterListResult>;
9
+ /** The List operation gets information about the Payment HSM Clusters associated with the subscription. */
10
+ export declare function listBySubscription(context: Client, options?: PaymentHsmClustersListBySubscriptionOptionalParams): PagedAsyncIterableIterator<PaymentHsmCluster>;
11
+ export declare function _listByResourceGroupSend(context: Client, resourceGroupName: string, options?: PaymentHsmClustersListByResourceGroupOptionalParams): StreamableMethod;
12
+ export declare function _listByResourceGroupDeserialize(result: PathUncheckedResponse): Promise<_PaymentHsmClusterListResult>;
13
+ /** The List operation gets information about the Payment HSM Clusters associated with the subscription and within the specified resource group. */
14
+ export declare function listByResourceGroup(context: Client, resourceGroupName: string, options?: PaymentHsmClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<PaymentHsmCluster>;
15
+ export declare function _$deleteSend(context: Client, resourceGroupName: string, paymentHsmClusterName: string, options?: PaymentHsmClustersDeleteOptionalParams): StreamableMethod;
16
+ export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
17
+ /** Deletes the specified Payment HSM Cluster */
18
+ export declare function $delete(context: Client, resourceGroupName: string, paymentHsmClusterName: string, options?: PaymentHsmClustersDeleteOptionalParams): PollerLike<OperationState<void>, void>;
19
+ export declare function _updateSend(context: Client, resourceGroupName: string, paymentHsmClusterName: string, body: PaymentHsmClusterPatchParameters, options?: PaymentHsmClustersUpdateOptionalParams): StreamableMethod;
20
+ export declare function _updateDeserialize(result: PathUncheckedResponse): Promise<PaymentHsmCluster>;
21
+ /** Update a Payment HSM Cluster in the specified subscription. */
22
+ export declare function update(context: Client, resourceGroupName: string, paymentHsmClusterName: string, body: PaymentHsmClusterPatchParameters, options?: PaymentHsmClustersUpdateOptionalParams): PollerLike<OperationState<PaymentHsmCluster>, PaymentHsmCluster>;
23
+ export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, paymentHsmClusterName: string, body: PaymentHsmCluster, options?: PaymentHsmClustersCreateOrUpdateOptionalParams): StreamableMethod;
24
+ export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<PaymentHsmCluster>;
25
+ /** Create or Update a Payment HSM Cluster in the specified subscription. */
26
+ export declare function createOrUpdate(context: Client, resourceGroupName: string, paymentHsmClusterName: string, body: PaymentHsmCluster, options?: PaymentHsmClustersCreateOrUpdateOptionalParams): PollerLike<OperationState<PaymentHsmCluster>, PaymentHsmCluster>;
27
+ export declare function _getSend(context: Client, resourceGroupName: string, paymentHsmClusterName: string, options?: PaymentHsmClustersGetOptionalParams): StreamableMethod;
28
+ export declare function _getDeserialize(result: PathUncheckedResponse): Promise<PaymentHsmCluster>;
29
+ /** Gets the specified Payment HSM Cluster */
30
+ export declare function get(context: Client, resourceGroupName: string, paymentHsmClusterName: string, options?: PaymentHsmClustersGetOptionalParams): Promise<PaymentHsmCluster>;
31
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1,209 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { errorResponseDeserializer, paymentHsmClusterSerializer, paymentHsmClusterDeserializer, paymentHsmClusterPatchParametersSerializer, _paymentHsmClusterListResultDeserializer, } from "../../models/models.js";
4
+ import { buildPagedAsyncIterator } from "../../static-helpers/pagingHelpers.js";
5
+ import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
6
+ import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
7
+ import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client";
8
+ export function _listBySubscriptionSend(context, options = { requestOptions: {} }) {
9
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters{?api%2Dversion,%24skiptoken}", {
10
+ subscriptionId: context.subscriptionId,
11
+ "api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
12
+ "%24skiptoken": options?.skiptoken,
13
+ }, {
14
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
15
+ });
16
+ return context.path(path).get({
17
+ ...operationOptionsToRequestParameters(options),
18
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
19
+ });
20
+ }
21
+ export async function _listBySubscriptionDeserialize(result) {
22
+ const expectedStatuses = ["200"];
23
+ if (!expectedStatuses.includes(result.status)) {
24
+ const error = createRestError(result);
25
+ if (result.body) {
26
+ error.details = errorResponseDeserializer(result.body);
27
+ }
28
+ throw error;
29
+ }
30
+ return _paymentHsmClusterListResultDeserializer(result.body);
31
+ }
32
+ /** The List operation gets information about the Payment HSM Clusters associated with the subscription. */
33
+ export function listBySubscription(context, options = { requestOptions: {} }) {
34
+ return buildPagedAsyncIterator(context, () => _listBySubscriptionSend(context, options), _listBySubscriptionDeserialize, ["200"], {
35
+ itemName: "value",
36
+ nextLinkName: "nextLink",
37
+ apiVersion: context.apiVersion ?? "2025-12-01-preview",
38
+ });
39
+ }
40
+ export function _listByResourceGroupSend(context, resourceGroupName, options = { requestOptions: {} }) {
41
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters{?api%2Dversion,%24skiptoken}", {
42
+ subscriptionId: context.subscriptionId,
43
+ resourceGroupName: resourceGroupName,
44
+ "api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
45
+ "%24skiptoken": options?.skiptoken,
46
+ }, {
47
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
48
+ });
49
+ return context.path(path).get({
50
+ ...operationOptionsToRequestParameters(options),
51
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
52
+ });
53
+ }
54
+ export async function _listByResourceGroupDeserialize(result) {
55
+ const expectedStatuses = ["200"];
56
+ if (!expectedStatuses.includes(result.status)) {
57
+ const error = createRestError(result);
58
+ if (result.body) {
59
+ error.details = errorResponseDeserializer(result.body);
60
+ }
61
+ throw error;
62
+ }
63
+ return _paymentHsmClusterListResultDeserializer(result.body);
64
+ }
65
+ /** The List operation gets information about the Payment HSM Clusters associated with the subscription and within the specified resource group. */
66
+ export function listByResourceGroup(context, resourceGroupName, options = { requestOptions: {} }) {
67
+ return buildPagedAsyncIterator(context, () => _listByResourceGroupSend(context, resourceGroupName, options), _listByResourceGroupDeserialize, ["200"], {
68
+ itemName: "value",
69
+ nextLinkName: "nextLink",
70
+ apiVersion: context.apiVersion ?? "2025-12-01-preview",
71
+ });
72
+ }
73
+ export function _$deleteSend(context, resourceGroupName, paymentHsmClusterName, options = { requestOptions: {} }) {
74
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}{?api%2Dversion}", {
75
+ subscriptionId: context.subscriptionId,
76
+ resourceGroupName: resourceGroupName,
77
+ paymentHsmClusterName: paymentHsmClusterName,
78
+ "api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
79
+ }, {
80
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
81
+ });
82
+ return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });
83
+ }
84
+ export async function _$deleteDeserialize(result) {
85
+ const expectedStatuses = ["202", "204", "200"];
86
+ if (!expectedStatuses.includes(result.status)) {
87
+ const error = createRestError(result);
88
+ if (result.body) {
89
+ error.details = errorResponseDeserializer(result.body);
90
+ }
91
+ throw error;
92
+ }
93
+ return;
94
+ }
95
+ /** Deletes the specified Payment HSM Cluster */
96
+ export function $delete(context, resourceGroupName, paymentHsmClusterName, options = { requestOptions: {} }) {
97
+ return getLongRunningPoller(context, _$deleteDeserialize, ["202", "204", "200"], {
98
+ updateIntervalInMs: options?.updateIntervalInMs,
99
+ abortSignal: options?.abortSignal,
100
+ getInitialResponse: () => _$deleteSend(context, resourceGroupName, paymentHsmClusterName, options),
101
+ resourceLocationConfig: "location",
102
+ apiVersion: context.apiVersion ?? "2025-12-01-preview",
103
+ });
104
+ }
105
+ export function _updateSend(context, resourceGroupName, paymentHsmClusterName, body, options = { requestOptions: {} }) {
106
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}{?api%2Dversion}", {
107
+ subscriptionId: context.subscriptionId,
108
+ resourceGroupName: resourceGroupName,
109
+ paymentHsmClusterName: paymentHsmClusterName,
110
+ "api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
111
+ }, {
112
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
113
+ });
114
+ return context.path(path).patch({
115
+ ...operationOptionsToRequestParameters(options),
116
+ contentType: "application/json",
117
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
118
+ body: paymentHsmClusterPatchParametersSerializer(body),
119
+ });
120
+ }
121
+ export async function _updateDeserialize(result) {
122
+ const expectedStatuses = ["200", "202", "201"];
123
+ if (!expectedStatuses.includes(result.status)) {
124
+ const error = createRestError(result);
125
+ if (result.body) {
126
+ error.details = errorResponseDeserializer(result.body);
127
+ }
128
+ throw error;
129
+ }
130
+ return paymentHsmClusterDeserializer(result.body);
131
+ }
132
+ /** Update a Payment HSM Cluster in the specified subscription. */
133
+ export function update(context, resourceGroupName, paymentHsmClusterName, body, options = { requestOptions: {} }) {
134
+ return getLongRunningPoller(context, _updateDeserialize, ["200", "202", "201"], {
135
+ updateIntervalInMs: options?.updateIntervalInMs,
136
+ abortSignal: options?.abortSignal,
137
+ getInitialResponse: () => _updateSend(context, resourceGroupName, paymentHsmClusterName, body, options),
138
+ resourceLocationConfig: "location",
139
+ apiVersion: context.apiVersion ?? "2025-12-01-preview",
140
+ });
141
+ }
142
+ export function _createOrUpdateSend(context, resourceGroupName, paymentHsmClusterName, body, options = { requestOptions: {} }) {
143
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}{?api%2Dversion}", {
144
+ subscriptionId: context.subscriptionId,
145
+ resourceGroupName: resourceGroupName,
146
+ paymentHsmClusterName: paymentHsmClusterName,
147
+ "api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
148
+ }, {
149
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
150
+ });
151
+ return context.path(path).put({
152
+ ...operationOptionsToRequestParameters(options),
153
+ contentType: "application/json",
154
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
155
+ body: paymentHsmClusterSerializer(body),
156
+ });
157
+ }
158
+ export async function _createOrUpdateDeserialize(result) {
159
+ const expectedStatuses = ["200", "201", "202"];
160
+ if (!expectedStatuses.includes(result.status)) {
161
+ const error = createRestError(result);
162
+ if (result.body) {
163
+ error.details = errorResponseDeserializer(result.body);
164
+ }
165
+ throw error;
166
+ }
167
+ return paymentHsmClusterDeserializer(result.body);
168
+ }
169
+ /** Create or Update a Payment HSM Cluster in the specified subscription. */
170
+ export function createOrUpdate(context, resourceGroupName, paymentHsmClusterName, body, options = { requestOptions: {} }) {
171
+ return getLongRunningPoller(context, _createOrUpdateDeserialize, ["200", "201", "202"], {
172
+ updateIntervalInMs: options?.updateIntervalInMs,
173
+ abortSignal: options?.abortSignal,
174
+ getInitialResponse: () => _createOrUpdateSend(context, resourceGroupName, paymentHsmClusterName, body, options),
175
+ resourceLocationConfig: "original-uri",
176
+ apiVersion: context.apiVersion ?? "2025-12-01-preview",
177
+ });
178
+ }
179
+ export function _getSend(context, resourceGroupName, paymentHsmClusterName, options = { requestOptions: {} }) {
180
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}{?api%2Dversion}", {
181
+ subscriptionId: context.subscriptionId,
182
+ resourceGroupName: resourceGroupName,
183
+ paymentHsmClusterName: paymentHsmClusterName,
184
+ "api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
185
+ }, {
186
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
187
+ });
188
+ return context.path(path).get({
189
+ ...operationOptionsToRequestParameters(options),
190
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
191
+ });
192
+ }
193
+ export async function _getDeserialize(result) {
194
+ const expectedStatuses = ["200"];
195
+ if (!expectedStatuses.includes(result.status)) {
196
+ const error = createRestError(result);
197
+ if (result.body) {
198
+ error.details = errorResponseDeserializer(result.body);
199
+ }
200
+ throw error;
201
+ }
202
+ return paymentHsmClusterDeserializer(result.body);
203
+ }
204
+ /** Gets the specified Payment HSM Cluster */
205
+ export async function get(context, resourceGroupName, paymentHsmClusterName, options = { requestOptions: {} }) {
206
+ const result = await _getSend(context, resourceGroupName, paymentHsmClusterName, options);
207
+ return _getDeserialize(result);
208
+ }
209
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/paymentHsmClusters/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAQlC,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,6BAA6B,EAC7B,0CAA0C,EAC1C,wCAAwC,GACzC,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAUxE,OAAO,EAAE,eAAe,EAAE,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AAG/F,MAAM,UAAU,uBAAuB,CACrC,OAAe,EACf,UAA8D,EAAE,cAAc,EAAE,EAAE,EAAE;IAEpF,MAAM,IAAI,GAAG,iBAAiB,CAC5B,6HAA6H,EAC7H;QACE,cAAc,EAAE,OAAO,CAAC,cAAc;QACtC,eAAe,EAAE,OAAO,CAAC,UAAU,IAAI,oBAAoB;QAC3D,cAAc,EAAE,OAAO,EAAE,SAAS;KACnC,EACD;QACE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC;QAC5B,GAAG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,OAAO,EAAE,EAAE,MAAM,EAAE,kB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qB,EAAE,OAAO,CAAC,CAAC;IAC1F,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AzureDedicatedHSMResourceProviderContext as Client } from \"../index.js\";\nimport type {\n PaymentHsmCluster,\n PaymentHsmClusterPatchParameters,\n _PaymentHsmClusterListResult,\n} from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n paymentHsmClusterSerializer,\n paymentHsmClusterDeserializer,\n paymentHsmClusterPatchParametersSerializer,\n _paymentHsmClusterListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n PaymentHsmClustersListBySubscriptionOptionalParams,\n PaymentHsmClustersListByResourceGroupOptionalParams,\n PaymentHsmClustersDeleteOptionalParams,\n PaymentHsmClustersUpdateOptionalParams,\n PaymentHsmClustersCreateOrUpdateOptionalParams,\n PaymentHsmClustersGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _listBySubscriptionSend(\n context: Client,\n options: PaymentHsmClustersListBySubscriptionOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters{?api%2Dversion,%24skiptoken}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2025-12-01-preview\",\n \"%24skiptoken\": options?.skiptoken,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PaymentHsmClusterListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _paymentHsmClusterListResultDeserializer(result.body);\n}\n/** The List operation gets information about the Payment HSM Clusters associated with the subscription. */\nexport function listBySubscription(\n context: Client,\n options: PaymentHsmClustersListBySubscriptionOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<PaymentHsmCluster> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, options),\n _listBySubscriptionDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2025-12-01-preview\",\n },\n );\n}\n\nexport function _listByResourceGroupSend(\n context: Client,\n resourceGroupName: string,\n options: PaymentHsmClustersListByResourceGroupOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters{?api%2Dversion,%24skiptoken}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n \"api%2Dversion\": context.apiVersion ?? \"2025-12-01-preview\",\n \"%24skiptoken\": options?.skiptoken,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PaymentHsmClusterListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _paymentHsmClusterListResultDeserializer(result.body);\n}\n/** The List operation gets information about the Payment HSM Clusters associated with the subscription and within the specified resource group. */\nexport function listByResourceGroup(\n context: Client,\n resourceGroupName: string,\n options: PaymentHsmClustersListByResourceGroupOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<PaymentHsmCluster> {\n return buildPagedAsyncIterator(\n context,\n () => _listByResourceGroupSend(context, resourceGroupName, options),\n _listByResourceGroupDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2025-12-01-preview\",\n },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n paymentHsmClusterName: string,\n options: PaymentHsmClustersDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n paymentHsmClusterName: paymentHsmClusterName,\n \"api%2Dversion\": context.apiVersion ?? \"2025-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n/** Deletes the specified Payment HSM Cluster */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n paymentHsmClusterName: string,\n options: PaymentHsmClustersDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _$deleteSend(context, resourceGroupName, paymentHsmClusterName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2025-12-01-preview\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n paymentHsmClusterName: string,\n body: PaymentHsmClusterPatchParameters,\n options: PaymentHsmClustersUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n paymentHsmClusterName: paymentHsmClusterName,\n \"api%2Dversion\": context.apiVersion ?? \"2025-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: paymentHsmClusterPatchParametersSerializer(body),\n });\n}\n\nexport async function _updateDeserialize(\n result: PathUncheckedResponse,\n): Promise<PaymentHsmCluster> {\n const expectedStatuses = [\"200\", \"202\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return paymentHsmClusterDeserializer(result.body);\n}\n/** Update a Payment HSM Cluster in the specified subscription. */\nexport function update(\n context: Client,\n resourceGroupName: string,\n paymentHsmClusterName: string,\n body: PaymentHsmClusterPatchParameters,\n options: PaymentHsmClustersUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<PaymentHsmCluster>, PaymentHsmCluster> {\n return getLongRunningPoller(context, _updateDeserialize, [\"200\", \"202\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _updateSend(context, resourceGroupName, paymentHsmClusterName, body, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2025-12-01-preview\",\n }) as PollerLike<OperationState<PaymentHsmCluster>, PaymentHsmCluster>;\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n paymentHsmClusterName: string,\n body: PaymentHsmCluster,\n options: PaymentHsmClustersCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n paymentHsmClusterName: paymentHsmClusterName,\n \"api%2Dversion\": context.apiVersion ?? \"2025-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: paymentHsmClusterSerializer(body),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<PaymentHsmCluster> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return paymentHsmClusterDeserializer(result.body);\n}\n/** Create or Update a Payment HSM Cluster in the specified subscription. */\nexport function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n paymentHsmClusterName: string,\n body: PaymentHsmCluster,\n options: PaymentHsmClustersCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<PaymentHsmCluster>, PaymentHsmCluster> {\n return getLongRunningPoller(context, _createOrUpdateDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createOrUpdateSend(context, resourceGroupName, paymentHsmClusterName, body, options),\n resourceLocationConfig: \"original-uri\",\n apiVersion: context.apiVersion ?? \"2025-12-01-preview\",\n }) as PollerLike<OperationState<PaymentHsmCluster>, PaymentHsmCluster>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n paymentHsmClusterName: string,\n options: PaymentHsmClustersGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n paymentHsmClusterName: paymentHsmClusterName,\n \"api%2Dversion\": context.apiVersion ?? \"2025-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<PaymentHsmCluster> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return paymentHsmClusterDeserializer(result.body);\n}\n/** Gets the specified Payment HSM Cluster */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n paymentHsmClusterName: string,\n options: PaymentHsmClustersGetOptionalParams = { requestOptions: {} },\n): Promise<PaymentHsmCluster> {\n const result = await _getSend(context, resourceGroupName, paymentHsmClusterName, options);\n return _getDeserialize(result);\n}\n"]}
@@ -0,0 +1,30 @@
1
+ import type { OperationOptions } from "@azure-rest/core-client";
2
+ /** Optional parameters. */
3
+ export interface PaymentHsmClustersListBySubscriptionOptionalParams extends OperationOptions {
4
+ /** The page-continuation token to use with a paged version of this API */
5
+ skiptoken?: string;
6
+ }
7
+ /** Optional parameters. */
8
+ export interface PaymentHsmClustersListByResourceGroupOptionalParams extends OperationOptions {
9
+ /** The page-continuation token to use with a paged version of this API */
10
+ skiptoken?: string;
11
+ }
12
+ /** Optional parameters. */
13
+ export interface PaymentHsmClustersDeleteOptionalParams extends OperationOptions {
14
+ /** Delay to wait until next poll, in milliseconds. */
15
+ updateIntervalInMs?: number;
16
+ }
17
+ /** Optional parameters. */
18
+ export interface PaymentHsmClustersUpdateOptionalParams extends OperationOptions {
19
+ /** Delay to wait until next poll, in milliseconds. */
20
+ updateIntervalInMs?: number;
21
+ }
22
+ /** Optional parameters. */
23
+ export interface PaymentHsmClustersCreateOrUpdateOptionalParams extends OperationOptions {
24
+ /** Delay to wait until next poll, in milliseconds. */
25
+ updateIntervalInMs?: number;
26
+ }
27
+ /** Optional parameters. */
28
+ export interface PaymentHsmClustersGetOptionalParams extends OperationOptions {
29
+ }
30
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/paymentHsmClusters/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface PaymentHsmClustersListBySubscriptionOptionalParams extends OperationOptions {\n /** The page-continuation token to use with a paged version of this API */\n skiptoken?: string;\n}\n/** Optional parameters. */\nexport interface PaymentHsmClustersListByResourceGroupOptionalParams extends OperationOptions {\n /** The page-continuation token to use with a paged version of this API */\n skiptoken?: string;\n}\n/** Optional parameters. */\nexport interface PaymentHsmClustersDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n/** Optional parameters. */\nexport interface PaymentHsmClustersUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n/** Optional parameters. */\nexport interface PaymentHsmClustersCreateOrUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n/** Optional parameters. */\nexport interface PaymentHsmClustersGetOptionalParams extends OperationOptions {}\n"]}
@@ -1,3 +1,3 @@
1
1
  export { listByCloudHsmCluster } from "./operations.js";
2
- export { PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams } from "./options.js";
2
+ export type { PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams } from "./options.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/privateEndpointConnections/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { listByCloudHsmCluster } from \"./operations.js\";\nexport { PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams } from \"./options.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/privateEndpointConnections/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { listByCloudHsmCluster } from \"./operations.js\";\nexport type { PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams } from \"./options.js\";\n"]}
@@ -1,8 +1,8 @@
1
- import { AzureDedicatedHSMResourceProviderContext as Client } from "../index.js";
2
- import { PrivateEndpointConnection, _PrivateEndpointConnectionListResult } from "../../models/models.js";
3
- import { PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams } from "./options.js";
4
- import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
5
- import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
1
+ import type { AzureDedicatedHSMResourceProviderContext as Client } from "../index.js";
2
+ import type { PrivateEndpointConnection, _PrivateEndpointConnectionListResult } from "../../models/models.js";
3
+ import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
+ import type { PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams } from "./options.js";
5
+ import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
6
6
  export declare function _listByCloudHsmClusterSend(context: Client, resourceGroupName: string, cloudHsmClusterName: string, options?: PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams): StreamableMethod;
7
7
  export declare function _listByCloudHsmClusterDeserialize(result: PathUncheckedResponse): Promise<_PrivateEndpointConnectionListResult>;
8
8
  /** The List operation gets information about the private endpoint connections associated with the Cloud HSM Cluster */
@@ -1,36 +1,40 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
3
  import { errorResponseDeserializer, _privateEndpointConnectionListResultDeserializer, } from "../../models/models.js";
4
- import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
4
+ import { buildPagedAsyncIterator } from "../../static-helpers/pagingHelpers.js";
5
5
  import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
6
- import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
7
- export function _listByCloudHsmClusterSend(context, resourceGroupName, cloudHsmClusterName, options = {
8
- requestOptions: {},
9
- }) {
10
- var _a, _b;
6
+ import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client";
7
+ export function _listByCloudHsmClusterSend(context, resourceGroupName, cloudHsmClusterName, options = { requestOptions: {} }) {
11
8
  const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections{?api%2Dversion}", {
12
9
  subscriptionId: context.subscriptionId,
13
10
  resourceGroupName: resourceGroupName,
14
11
  cloudHsmClusterName: cloudHsmClusterName,
15
- "api%2Dversion": context.apiVersion,
12
+ "api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
16
13
  }, {
17
- allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
14
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
15
+ });
16
+ return context.path(path).get({
17
+ ...operationOptionsToRequestParameters(options),
18
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
18
19
  });
19
- return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
20
20
  }
21
21
  export async function _listByCloudHsmClusterDeserialize(result) {
22
22
  const expectedStatuses = ["200"];
23
23
  if (!expectedStatuses.includes(result.status)) {
24
24
  const error = createRestError(result);
25
- error.details = errorResponseDeserializer(result.body);
25
+ if (result.body) {
26
+ error.details = errorResponseDeserializer(result.body);
27
+ }
26
28
  throw error;
27
29
  }
28
30
  return _privateEndpointConnectionListResultDeserializer(result.body);
29
31
  }
30
32
  /** The List operation gets information about the private endpoint connections associated with the Cloud HSM Cluster */
31
- export function listByCloudHsmCluster(context, resourceGroupName, cloudHsmClusterName, options = {
32
- requestOptions: {},
33
- }) {
34
- return buildPagedAsyncIterator(context, () => _listByCloudHsmClusterSend(context, resourceGroupName, cloudHsmClusterName, options), _listByCloudHsmClusterDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
33
+ export function listByCloudHsmCluster(context, resourceGroupName, cloudHsmClusterName, options = { requestOptions: {} }) {
34
+ return buildPagedAsyncIterator(context, () => _listByCloudHsmClusterSend(context, resourceGroupName, cloudHsmClusterName, options), _listByCloudHsmClusterDeserialize, ["200"], {
35
+ itemName: "value",
36
+ nextLinkName: "nextLink",
37
+ apiVersion: context.apiVersion ?? "2025-12-01-preview",
38
+ });
35
39
  }
36
40
  //# sourceMappingURL=operations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/privateEndpointConnections/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,yBAAyB,EAGzB,gDAAgD,GACjD,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,0BAA0B,CACxC,OAAe,EACf,iBAAyB,EACzB,mBAA2B,EAC3B,UAAyE;IACvE,cAAc,EAAE,EAAE;CACnB;;IAED,MAAM,IAAI,GAAG,iBAAiB,CAC5B,kMAAkM,EAClM;QACE,cAAc,EAAE,OAAO,CAAC,cAAc;QACtC,iBAAiB,EAAE,iBAAiB;QACpC,mBAAmB,EAAE,mBAAmB;QACxC,eAAe,EAAE,OAAO,CAAC,UAAU;KACpC,EACD;QACE,aAAa,EAAE,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,0CAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,iCACxB,mCAAmC,CAAC,OAAO,CAAC,KAC/C,OAAO,kBACL,MAAM,EAAE,kBAAkB,IACvB,MAAA,OAAO,CAAC,cAAc,0CAAE,OAAO,KAEpC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,iCAAiC,CACrD,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,gDAAgD,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACvE,CAAC;AAED,uHAAuH;AACvH,MAAM,UAAU,qBAAqB,CACnC,OAAe,EACf,iBAAyB,EACzB,mBAA2B,EAC3B,UAAyE;IACvE,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,0BAA0B,CAAC,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAC1F,iCAAiC,EACjC,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AzureDedicatedHSMResourceProviderContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n PrivateEndpointConnection,\n _PrivateEndpointConnectionListResult,\n _privateEndpointConnectionListResultDeserializer,\n} from \"../../models/models.js\";\nimport { PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams } from \"./options.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _listByCloudHsmClusterSend(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n options: PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n cloudHsmClusterName: cloudHsmClusterName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listByCloudHsmClusterDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PrivateEndpointConnectionListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _privateEndpointConnectionListResultDeserializer(result.body);\n}\n\n/** The List operation gets information about the private endpoint connections associated with the Cloud HSM Cluster */\nexport function listByCloudHsmCluster(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n options: PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<PrivateEndpointConnection> {\n return buildPagedAsyncIterator(\n context,\n () => _listByCloudHsmClusterSend(context, resourceGroupName, cloudHsmClusterName, options),\n _listByCloudHsmClusterDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/privateEndpointConnections/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAOlC,OAAO,EACL,yBAAyB,EACzB,gDAAgD,GACjD,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,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yB,EACzB,mBAA2B,EAC3B,UAAyE,EAAE,cAAc,EAAE,EAAE,EAAE;IAE/F,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,0BAA0B,CAAC,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAC1F,iCAAiC,EACjC,CAAC,KAAK,CAAC,EACP;QACE,QAAQ,EAAE,OAAO;QACjB,YAAY,EAAE,UAAU;QACxB,UAAU,EAAE,OAAO,CAAC,UAAU,IAAI,oBAAoB;KACvD,CACF,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AzureDedicatedHSMResourceProviderContext as Client } from \"../index.js\";\nimport type {\n PrivateEndpointConnection,\n _PrivateEndpointConnectionListResult,\n} from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n _privateEndpointConnectionListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type { PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams } from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _listByCloudHsmClusterSend(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n options: PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n cloudHsmClusterName: cloudHsmClusterName,\n \"api%2Dversion\": context.apiVersion ?? \"2025-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listByCloudHsmClusterDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PrivateEndpointConnectionListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _privateEndpointConnectionListResultDeserializer(result.body);\n}\n/** The List operation gets information about the private endpoint connections associated with the Cloud HSM Cluster */\nexport function listByCloudHsmCluster(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n options: PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<PrivateEndpointConnection> {\n return buildPagedAsyncIterator(\n context,\n () => _listByCloudHsmClusterSend(context, resourceGroupName, cloudHsmClusterName, options),\n _listByCloudHsmClusterDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2025-12-01-preview\",\n },\n );\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { OperationOptions } from "@azure-rest/core-client";
1
+ import type { OperationOptions } from "@azure-rest/core-client";
2
2
  /** Optional parameters. */
3
3
  export interface PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams extends OperationOptions {
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/privateEndpointConnections/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams\n extends OperationOptions {}\n"]}
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/privateEndpointConnections/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams extends OperationOptions {}\n"]}
@@ -1,21 +1,26 @@
1
- import { AzureDedicatedHSMResourceProviderOptionalParams } from "./api/index.js";
2
- import { DedicatedHsmOperations } from "./classic/dedicatedHsm/index.js";
3
- import { CloudHsmClusterPrivateEndpointConnectionsOperations } from "./classic/cloudHsmClusterPrivateEndpointConnections/index.js";
4
- import { CloudHsmClusterRestoreStatusOperations } from "./classic/cloudHsmClusterRestoreStatus/index.js";
5
- import { CloudHsmClusterBackupStatusOperations } from "./classic/cloudHsmClusterBackupStatus/index.js";
6
- import { CloudHsmClusterPrivateLinkResourcesOperations } from "./classic/cloudHsmClusterPrivateLinkResources/index.js";
7
- import { PrivateEndpointConnectionsOperations } from "./classic/privateEndpointConnections/index.js";
8
- import { CloudHsmClustersOperations } from "./classic/cloudHsmClusters/index.js";
9
- import { OperationsOperations } from "./classic/operations/index.js";
10
- import { Pipeline } from "@azure/core-rest-pipeline";
11
- import { TokenCredential } from "@azure/core-auth";
12
- export { AzureDedicatedHSMResourceProviderOptionalParams } from "./api/azureDedicatedHSMResourceProviderContext.js";
1
+ import type { AzureDedicatedHSMResourceProviderOptionalParams } from "./api/index.js";
2
+ import type { CloudHsmClusterBackupStatusOperations } from "./classic/cloudHsmClusterBackupStatus/index.js";
3
+ import type { CloudHsmClusterPrivateEndpointConnectionsOperations } from "./classic/cloudHsmClusterPrivateEndpointConnections/index.js";
4
+ import type { CloudHsmClusterPrivateLinkResourcesOperations } from "./classic/cloudHsmClusterPrivateLinkResources/index.js";
5
+ import type { CloudHsmClusterRestoreStatusOperations } from "./classic/cloudHsmClusterRestoreStatus/index.js";
6
+ import type { CloudHsmClustersOperations } from "./classic/cloudHsmClusters/index.js";
7
+ import type { DedicatedHsmOperations } from "./classic/dedicatedHsm/index.js";
8
+ import type { OperationsOperations } from "./classic/operations/index.js";
9
+ import type { PaymentHsmClusterPrivateEndpointConnectionsOperations } from "./classic/paymentHsmClusterPrivateEndpointConnections/index.js";
10
+ import type { PaymentHsmClusterPrivateLinkResourcesOperations } from "./classic/paymentHsmClusterPrivateLinkResources/index.js";
11
+ import type { PaymentHsmClustersOperations } from "./classic/paymentHsmClusters/index.js";
12
+ import type { PrivateEndpointConnectionsOperations } from "./classic/privateEndpointConnections/index.js";
13
+ import type { TokenCredential } from "@azure/core-auth";
14
+ import type { Pipeline } from "@azure/core-rest-pipeline";
15
+ export type { AzureDedicatedHSMResourceProviderOptionalParams } from "./api/azureDedicatedHSMResourceProviderContext.js";
13
16
  export declare class AzureDedicatedHSMResourceProvider {
14
17
  private _client;
15
18
  /** The pipeline used by this client to make requests */
16
19
  readonly pipeline: Pipeline;
17
20
  /** The Azure management API provides a RESTful set of web services that interact with Hardware Security Modules. */
18
21
  constructor(credential: TokenCredential, subscriptionId: string, options?: AzureDedicatedHSMResourceProviderOptionalParams);
22
+ /** The operation groups for paymentHsmClusterPrivateLinkResources */
23
+ readonly paymentHsmClusterPrivateLinkResources: PaymentHsmClusterPrivateLinkResourcesOperations;
19
24
  /** The operation groups for dedicatedHsm */
20
25
  readonly dedicatedHsm: DedicatedHsmOperations;
21
26
  /** The operation groups for cloudHsmClusterPrivateEndpointConnections */
@@ -26,6 +31,10 @@ export declare class AzureDedicatedHSMResourceProvider {
26
31
  readonly cloudHsmClusterBackupStatus: CloudHsmClusterBackupStatusOperations;
27
32
  /** The operation groups for cloudHsmClusterPrivateLinkResources */
28
33
  readonly cloudHsmClusterPrivateLinkResources: CloudHsmClusterPrivateLinkResourcesOperations;
34
+ /** The operation groups for paymentHsmClusterPrivateEndpointConnections */
35
+ readonly paymentHsmClusterPrivateEndpointConnections: PaymentHsmClusterPrivateEndpointConnectionsOperations;
36
+ /** The operation groups for paymentHsmClusters */
37
+ readonly paymentHsmClusters: PaymentHsmClustersOperations;
29
38
  /** The operation groups for privateEndpointConnections */
30
39
  readonly privateEndpointConnections: PrivateEndpointConnectionsOperations;
31
40
  /** The operation groups for cloudHsmClusters */