@azure/arm-hardwaresecuritymodules 2.0.0-beta.2 → 2.0.0

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 (783) hide show
  1. package/CHANGELOG.md +126 -0
  2. package/LICENSE +3 -3
  3. package/README.md +39 -33
  4. package/dist/browser/api/azureDedicatedHSMResourceProviderContext.d.ts +19 -0
  5. package/dist/browser/api/azureDedicatedHSMResourceProviderContext.js +36 -0
  6. package/dist/browser/api/azureDedicatedHSMResourceProviderContext.js.map +1 -0
  7. package/dist/browser/api/cloudHsmClusterBackupStatus/index.d.ts +3 -0
  8. package/dist/browser/api/cloudHsmClusterBackupStatus/index.js +4 -0
  9. package/dist/browser/api/cloudHsmClusterBackupStatus/index.js.map +1 -0
  10. package/dist/browser/api/cloudHsmClusterBackupStatus/operations.d.ts +9 -0
  11. package/dist/browser/api/cloudHsmClusterBackupStatus/operations.js +42 -0
  12. package/dist/browser/api/cloudHsmClusterBackupStatus/operations.js.map +1 -0
  13. package/dist/browser/api/cloudHsmClusterBackupStatus/options.d.ts +7 -0
  14. package/dist/browser/api/cloudHsmClusterBackupStatus/options.js +4 -0
  15. package/dist/browser/api/cloudHsmClusterBackupStatus/options.js.map +1 -0
  16. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
  17. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/index.js +4 -0
  18. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  19. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
  20. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.js +109 -0
  21. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +1 -0
  22. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +13 -0
  23. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/options.js +4 -0
  24. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +1 -0
  25. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/index.d.ts +3 -0
  26. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/index.js +4 -0
  27. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
  28. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +10 -0
  29. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.js +36 -0
  30. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.js.map +1 -0
  31. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/options.d.ts +5 -0
  32. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/options.js +4 -0
  33. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/options.js.map +1 -0
  34. package/dist/browser/api/cloudHsmClusterRestoreStatus/index.d.ts +3 -0
  35. package/dist/browser/api/cloudHsmClusterRestoreStatus/index.js +4 -0
  36. package/dist/browser/api/cloudHsmClusterRestoreStatus/index.js.map +1 -0
  37. package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.d.ts +9 -0
  38. package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.js +42 -0
  39. package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.js.map +1 -0
  40. package/dist/browser/api/cloudHsmClusterRestoreStatus/options.d.ts +7 -0
  41. package/dist/browser/api/cloudHsmClusterRestoreStatus/options.js +4 -0
  42. package/dist/browser/api/cloudHsmClusterRestoreStatus/options.js.map +1 -0
  43. package/dist/browser/api/cloudHsmClusters/index.d.ts +3 -0
  44. package/dist/browser/api/cloudHsmClusters/index.js +4 -0
  45. package/dist/browser/api/cloudHsmClusters/index.js.map +1 -0
  46. package/dist/browser/api/cloudHsmClusters/operations.d.ts +52 -0
  47. package/dist/browser/api/cloudHsmClusters/operations.js +324 -0
  48. package/dist/browser/api/cloudHsmClusters/operations.js.map +1 -0
  49. package/dist/browser/api/cloudHsmClusters/options.d.ts +57 -0
  50. package/dist/browser/api/cloudHsmClusters/options.js +4 -0
  51. package/dist/browser/api/cloudHsmClusters/options.js.map +1 -0
  52. package/dist/browser/api/dedicatedHsm/index.d.ts +3 -0
  53. package/dist/browser/api/dedicatedHsm/index.js +4 -0
  54. package/dist/browser/api/dedicatedHsm/index.js.map +1 -0
  55. package/dist/browser/api/dedicatedHsm/operations.d.ts +40 -0
  56. package/dist/browser/api/dedicatedHsm/operations.js +215 -0
  57. package/dist/browser/api/dedicatedHsm/operations.js.map +1 -0
  58. package/dist/browser/api/dedicatedHsm/options.d.ts +33 -0
  59. package/dist/browser/api/dedicatedHsm/options.js +4 -0
  60. package/dist/browser/api/dedicatedHsm/options.js.map +1 -0
  61. package/dist/browser/api/index.d.ts +2 -0
  62. package/dist/browser/api/index.js +4 -0
  63. package/dist/browser/api/index.js.map +1 -0
  64. package/dist/browser/api/operations/index.d.ts +3 -0
  65. package/dist/browser/api/operations/index.js +4 -0
  66. package/dist/browser/api/operations/index.js.map +1 -0
  67. package/dist/browser/api/operations/operations.d.ts +10 -0
  68. package/dist/browser/api/operations/operations.js +29 -0
  69. package/dist/browser/api/operations/operations.js.map +1 -0
  70. package/dist/browser/api/operations/options.d.ts +5 -0
  71. package/dist/browser/api/operations/options.js +4 -0
  72. package/dist/browser/api/operations/options.js.map +1 -0
  73. package/dist/browser/api/privateEndpointConnections/index.d.ts +3 -0
  74. package/dist/browser/api/privateEndpointConnections/index.js +4 -0
  75. package/dist/browser/api/privateEndpointConnections/index.js.map +1 -0
  76. package/dist/browser/api/privateEndpointConnections/operations.d.ts +10 -0
  77. package/dist/browser/api/privateEndpointConnections/operations.js +36 -0
  78. package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -0
  79. package/dist/browser/api/privateEndpointConnections/options.d.ts +5 -0
  80. package/dist/browser/api/privateEndpointConnections/options.js +4 -0
  81. package/dist/browser/api/privateEndpointConnections/options.js.map +1 -0
  82. package/dist/browser/azureDedicatedHSMResourceProvider.d.ts +36 -0
  83. package/dist/browser/azureDedicatedHSMResourceProvider.js +33 -0
  84. package/dist/browser/azureDedicatedHSMResourceProvider.js.map +1 -0
  85. package/dist/browser/classic/cloudHsmClusterBackupStatus/index.d.ts +10 -0
  86. package/dist/browser/classic/cloudHsmClusterBackupStatus/index.js +12 -0
  87. package/dist/browser/classic/cloudHsmClusterBackupStatus/index.js.map +1 -0
  88. package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +20 -0
  89. package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.js +14 -0
  90. package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  91. package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +11 -0
  92. package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.js +12 -0
  93. package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
  94. package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.d.ts +10 -0
  95. package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.js +12 -0
  96. package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.js.map +1 -0
  97. package/dist/browser/classic/cloudHsmClusters/index.d.ts +35 -0
  98. package/dist/browser/classic/cloudHsmClusters/index.js +21 -0
  99. package/dist/browser/classic/cloudHsmClusters/index.js.map +1 -0
  100. package/dist/browser/classic/dedicatedHsm/index.d.ts +29 -0
  101. package/dist/browser/classic/dedicatedHsm/index.js +18 -0
  102. package/dist/browser/classic/dedicatedHsm/index.js.map +1 -0
  103. package/dist/browser/classic/index.d.ts +9 -0
  104. package/dist/browser/classic/index.js +4 -0
  105. package/dist/browser/classic/index.js.map +1 -0
  106. package/dist/browser/classic/operations/index.d.ts +11 -0
  107. package/dist/browser/classic/operations/index.js +12 -0
  108. package/dist/browser/classic/operations/index.js.map +1 -0
  109. package/dist/browser/classic/privateEndpointConnections/index.d.ts +11 -0
  110. package/dist/browser/classic/privateEndpointConnections/index.js +12 -0
  111. package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -0
  112. package/dist/browser/index.d.ts +16 -0
  113. package/dist/browser/index.js +6 -0
  114. package/dist/browser/index.js.map +1 -0
  115. package/dist/browser/logger.d.ts +2 -0
  116. package/dist/browser/logger.js +5 -0
  117. package/dist/browser/logger.js.map +1 -0
  118. package/dist/browser/models/index.d.ts +2 -0
  119. package/dist/browser/models/index.js +4 -0
  120. package/dist/browser/models/index.js.map +1 -0
  121. package/dist/browser/models/models.d.ts +751 -0
  122. package/dist/browser/models/models.js +747 -0
  123. package/dist/browser/models/models.js.map +1 -0
  124. package/dist/browser/package.json +3 -0
  125. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  126. package/dist/browser/restorePollerHelpers.js +133 -0
  127. package/dist/browser/restorePollerHelpers.js.map +1 -0
  128. package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
  129. package/dist/browser/static-helpers/pagingHelpers.js +137 -0
  130. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  131. package/dist/browser/static-helpers/pollingHelpers.d.ts +30 -0
  132. package/dist/browser/static-helpers/pollingHelpers.js +76 -0
  133. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  134. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  135. package/dist/browser/static-helpers/urlTemplate.js +169 -0
  136. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  137. package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.d.ts +19 -0
  138. package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.js +39 -0
  139. package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.js.map +1 -0
  140. package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.d.ts +3 -0
  141. package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.js +8 -0
  142. package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.js.map +1 -0
  143. package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.d.ts +9 -0
  144. package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.js +47 -0
  145. package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.js.map +1 -0
  146. package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.d.ts +7 -0
  147. package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.js +5 -0
  148. package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.js.map +1 -0
  149. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
  150. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.js +10 -0
  151. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  152. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
  153. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.js +120 -0
  154. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +1 -0
  155. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +13 -0
  156. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.js +5 -0
  157. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +1 -0
  158. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.d.ts +3 -0
  159. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.js +8 -0
  160. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
  161. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +10 -0
  162. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.js +41 -0
  163. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.js.map +1 -0
  164. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.d.ts +5 -0
  165. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.js +5 -0
  166. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.js.map +1 -0
  167. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.d.ts +3 -0
  168. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.js +8 -0
  169. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.js.map +1 -0
  170. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.d.ts +9 -0
  171. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.js +47 -0
  172. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.js.map +1 -0
  173. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.d.ts +7 -0
  174. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.js +5 -0
  175. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.js.map +1 -0
  176. package/dist/commonjs/api/cloudHsmClusters/index.d.ts +3 -0
  177. package/dist/commonjs/api/cloudHsmClusters/index.js +17 -0
  178. package/dist/commonjs/api/cloudHsmClusters/index.js.map +1 -0
  179. package/dist/commonjs/api/cloudHsmClusters/operations.d.ts +52 -0
  180. package/dist/commonjs/api/cloudHsmClusters/operations.js +356 -0
  181. package/dist/commonjs/api/cloudHsmClusters/operations.js.map +1 -0
  182. package/dist/commonjs/api/cloudHsmClusters/options.d.ts +57 -0
  183. package/dist/commonjs/api/cloudHsmClusters/options.js +5 -0
  184. package/dist/commonjs/api/cloudHsmClusters/options.js.map +1 -0
  185. package/dist/commonjs/api/dedicatedHsm/index.d.ts +3 -0
  186. package/dist/commonjs/api/dedicatedHsm/index.js +14 -0
  187. package/dist/commonjs/api/dedicatedHsm/index.js.map +1 -0
  188. package/dist/commonjs/api/dedicatedHsm/operations.d.ts +40 -0
  189. package/dist/commonjs/api/dedicatedHsm/operations.js +238 -0
  190. package/dist/commonjs/api/dedicatedHsm/operations.js.map +1 -0
  191. package/dist/commonjs/api/dedicatedHsm/options.d.ts +33 -0
  192. package/dist/commonjs/api/dedicatedHsm/options.js +5 -0
  193. package/dist/commonjs/api/dedicatedHsm/options.js.map +1 -0
  194. package/dist/commonjs/api/index.d.ts +2 -0
  195. package/dist/commonjs/api/index.js +8 -0
  196. package/dist/commonjs/api/index.js.map +1 -0
  197. package/dist/commonjs/api/operations/index.d.ts +3 -0
  198. package/dist/commonjs/api/operations/index.js +8 -0
  199. package/dist/commonjs/api/operations/index.js.map +1 -0
  200. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  201. package/dist/commonjs/api/operations/operations.js +34 -0
  202. package/dist/commonjs/api/operations/operations.js.map +1 -0
  203. package/dist/commonjs/api/operations/options.d.ts +5 -0
  204. package/dist/commonjs/api/operations/options.js +5 -0
  205. package/dist/commonjs/api/operations/options.js.map +1 -0
  206. package/dist/commonjs/api/privateEndpointConnections/index.d.ts +3 -0
  207. package/dist/commonjs/api/privateEndpointConnections/index.js +8 -0
  208. package/dist/commonjs/api/privateEndpointConnections/index.js.map +1 -0
  209. package/dist/commonjs/api/privateEndpointConnections/operations.d.ts +10 -0
  210. package/dist/commonjs/api/privateEndpointConnections/operations.js +41 -0
  211. package/dist/commonjs/api/privateEndpointConnections/operations.js.map +1 -0
  212. package/dist/commonjs/api/privateEndpointConnections/options.d.ts +5 -0
  213. package/dist/commonjs/api/privateEndpointConnections/options.js +5 -0
  214. package/dist/commonjs/api/privateEndpointConnections/options.js.map +1 -0
  215. package/dist/commonjs/azureDedicatedHSMResourceProvider.d.ts +36 -0
  216. package/dist/commonjs/azureDedicatedHSMResourceProvider.js +37 -0
  217. package/dist/commonjs/azureDedicatedHSMResourceProvider.js.map +1 -0
  218. package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.d.ts +10 -0
  219. package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.js +15 -0
  220. package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.js.map +1 -0
  221. package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +20 -0
  222. package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.js +17 -0
  223. package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  224. package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +11 -0
  225. package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.js +15 -0
  226. package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
  227. package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.d.ts +10 -0
  228. package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.js +15 -0
  229. package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.js.map +1 -0
  230. package/dist/commonjs/classic/cloudHsmClusters/index.d.ts +35 -0
  231. package/dist/commonjs/classic/cloudHsmClusters/index.js +24 -0
  232. package/dist/commonjs/classic/cloudHsmClusters/index.js.map +1 -0
  233. package/dist/commonjs/classic/dedicatedHsm/index.d.ts +29 -0
  234. package/dist/commonjs/classic/dedicatedHsm/index.js +21 -0
  235. package/dist/commonjs/classic/dedicatedHsm/index.js.map +1 -0
  236. package/dist/commonjs/classic/index.d.ts +9 -0
  237. package/dist/commonjs/classic/index.js +5 -0
  238. package/dist/commonjs/classic/index.js.map +1 -0
  239. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  240. package/dist/commonjs/classic/operations/index.js +15 -0
  241. package/dist/commonjs/classic/operations/index.js.map +1 -0
  242. package/dist/commonjs/classic/privateEndpointConnections/index.d.ts +11 -0
  243. package/dist/commonjs/classic/privateEndpointConnections/index.js +15 -0
  244. package/dist/commonjs/classic/privateEndpointConnections/index.js.map +1 -0
  245. package/dist/commonjs/index.d.ts +16 -0
  246. package/dist/commonjs/index.js +26 -0
  247. package/dist/commonjs/index.js.map +1 -0
  248. package/dist/commonjs/logger.d.ts +2 -0
  249. package/dist/commonjs/logger.js +8 -0
  250. package/dist/commonjs/logger.js.map +1 -0
  251. package/dist/commonjs/models/index.d.ts +2 -0
  252. package/dist/commonjs/models/index.js +22 -0
  253. package/dist/commonjs/models/index.js.map +1 -0
  254. package/dist/commonjs/models/models.d.ts +751 -0
  255. package/dist/commonjs/models/models.js +831 -0
  256. package/dist/commonjs/models/models.js.map +1 -0
  257. package/dist/commonjs/package.json +3 -0
  258. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  259. package/dist/commonjs/restorePollerHelpers.js +136 -0
  260. package/dist/commonjs/restorePollerHelpers.js.map +1 -0
  261. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
  262. package/dist/commonjs/static-helpers/pagingHelpers.js +140 -0
  263. package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
  264. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +30 -0
  265. package/dist/commonjs/static-helpers/pollingHelpers.js +79 -0
  266. package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
  267. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  268. package/dist/commonjs/static-helpers/urlTemplate.js +172 -0
  269. package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
  270. package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
  271. package/dist/esm/api/azureDedicatedHSMResourceProviderContext.d.ts +19 -0
  272. package/dist/esm/api/azureDedicatedHSMResourceProviderContext.js +36 -0
  273. package/dist/esm/api/azureDedicatedHSMResourceProviderContext.js.map +1 -0
  274. package/dist/esm/api/cloudHsmClusterBackupStatus/index.d.ts +3 -0
  275. package/dist/esm/api/cloudHsmClusterBackupStatus/index.js +4 -0
  276. package/dist/esm/api/cloudHsmClusterBackupStatus/index.js.map +1 -0
  277. package/dist/esm/api/cloudHsmClusterBackupStatus/operations.d.ts +9 -0
  278. package/dist/esm/api/cloudHsmClusterBackupStatus/operations.js +42 -0
  279. package/dist/esm/api/cloudHsmClusterBackupStatus/operations.js.map +1 -0
  280. package/dist/esm/api/cloudHsmClusterBackupStatus/options.d.ts +7 -0
  281. package/dist/esm/api/cloudHsmClusterBackupStatus/options.js +4 -0
  282. package/dist/esm/api/cloudHsmClusterBackupStatus/options.js.map +1 -0
  283. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
  284. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/index.js +4 -0
  285. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  286. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
  287. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.js +109 -0
  288. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +1 -0
  289. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +13 -0
  290. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/options.js +4 -0
  291. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +1 -0
  292. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/index.d.ts +3 -0
  293. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/index.js +4 -0
  294. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
  295. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +10 -0
  296. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.js +36 -0
  297. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.js.map +1 -0
  298. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/options.d.ts +5 -0
  299. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/options.js +4 -0
  300. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/options.js.map +1 -0
  301. package/dist/esm/api/cloudHsmClusterRestoreStatus/index.d.ts +3 -0
  302. package/dist/esm/api/cloudHsmClusterRestoreStatus/index.js +4 -0
  303. package/dist/esm/api/cloudHsmClusterRestoreStatus/index.js.map +1 -0
  304. package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.d.ts +9 -0
  305. package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.js +42 -0
  306. package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.js.map +1 -0
  307. package/dist/esm/api/cloudHsmClusterRestoreStatus/options.d.ts +7 -0
  308. package/dist/esm/api/cloudHsmClusterRestoreStatus/options.js +4 -0
  309. package/dist/esm/api/cloudHsmClusterRestoreStatus/options.js.map +1 -0
  310. package/dist/esm/api/cloudHsmClusters/index.d.ts +3 -0
  311. package/dist/esm/api/cloudHsmClusters/index.js +4 -0
  312. package/dist/esm/api/cloudHsmClusters/index.js.map +1 -0
  313. package/dist/esm/api/cloudHsmClusters/operations.d.ts +52 -0
  314. package/dist/esm/api/cloudHsmClusters/operations.js +324 -0
  315. package/dist/esm/api/cloudHsmClusters/operations.js.map +1 -0
  316. package/dist/esm/api/cloudHsmClusters/options.d.ts +57 -0
  317. package/dist/esm/api/cloudHsmClusters/options.js +4 -0
  318. package/dist/esm/api/cloudHsmClusters/options.js.map +1 -0
  319. package/dist/esm/api/dedicatedHsm/index.d.ts +3 -0
  320. package/dist/esm/api/dedicatedHsm/index.js +4 -0
  321. package/dist/esm/api/dedicatedHsm/index.js.map +1 -0
  322. package/dist/esm/api/dedicatedHsm/operations.d.ts +40 -0
  323. package/dist/esm/api/dedicatedHsm/operations.js +215 -0
  324. package/dist/esm/api/dedicatedHsm/operations.js.map +1 -0
  325. package/dist/esm/api/dedicatedHsm/options.d.ts +33 -0
  326. package/dist/esm/api/dedicatedHsm/options.js +4 -0
  327. package/dist/esm/api/dedicatedHsm/options.js.map +1 -0
  328. package/dist/esm/api/index.d.ts +2 -0
  329. package/dist/esm/api/index.js +4 -0
  330. package/dist/esm/api/index.js.map +1 -0
  331. package/dist/esm/api/operations/index.d.ts +3 -0
  332. package/dist/esm/api/operations/index.js +4 -0
  333. package/dist/esm/api/operations/index.js.map +1 -0
  334. package/dist/esm/api/operations/operations.d.ts +10 -0
  335. package/dist/esm/api/operations/operations.js +29 -0
  336. package/dist/esm/api/operations/operations.js.map +1 -0
  337. package/dist/esm/api/operations/options.d.ts +5 -0
  338. package/dist/esm/api/operations/options.js +4 -0
  339. package/dist/esm/api/operations/options.js.map +1 -0
  340. package/dist/esm/api/privateEndpointConnections/index.d.ts +3 -0
  341. package/dist/esm/api/privateEndpointConnections/index.js +4 -0
  342. package/dist/esm/api/privateEndpointConnections/index.js.map +1 -0
  343. package/dist/esm/api/privateEndpointConnections/operations.d.ts +10 -0
  344. package/dist/esm/api/privateEndpointConnections/operations.js +36 -0
  345. package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -0
  346. package/dist/esm/api/privateEndpointConnections/options.d.ts +5 -0
  347. package/dist/esm/api/privateEndpointConnections/options.js +4 -0
  348. package/dist/esm/api/privateEndpointConnections/options.js.map +1 -0
  349. package/dist/esm/azureDedicatedHSMResourceProvider.d.ts +36 -0
  350. package/dist/esm/azureDedicatedHSMResourceProvider.js +33 -0
  351. package/dist/esm/azureDedicatedHSMResourceProvider.js.map +1 -0
  352. package/dist/esm/classic/cloudHsmClusterBackupStatus/index.d.ts +10 -0
  353. package/dist/esm/classic/cloudHsmClusterBackupStatus/index.js +12 -0
  354. package/dist/esm/classic/cloudHsmClusterBackupStatus/index.js.map +1 -0
  355. package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +20 -0
  356. package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.js +14 -0
  357. package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  358. package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +11 -0
  359. package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.js +12 -0
  360. package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
  361. package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.d.ts +10 -0
  362. package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.js +12 -0
  363. package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.js.map +1 -0
  364. package/dist/esm/classic/cloudHsmClusters/index.d.ts +35 -0
  365. package/dist/esm/classic/cloudHsmClusters/index.js +21 -0
  366. package/dist/esm/classic/cloudHsmClusters/index.js.map +1 -0
  367. package/dist/esm/classic/dedicatedHsm/index.d.ts +29 -0
  368. package/dist/esm/classic/dedicatedHsm/index.js +18 -0
  369. package/dist/esm/classic/dedicatedHsm/index.js.map +1 -0
  370. package/dist/esm/classic/index.d.ts +9 -0
  371. package/dist/esm/classic/index.js +4 -0
  372. package/dist/esm/classic/index.js.map +1 -0
  373. package/dist/esm/classic/operations/index.d.ts +11 -0
  374. package/dist/esm/classic/operations/index.js +12 -0
  375. package/dist/esm/classic/operations/index.js.map +1 -0
  376. package/dist/esm/classic/privateEndpointConnections/index.d.ts +11 -0
  377. package/dist/esm/classic/privateEndpointConnections/index.js +12 -0
  378. package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -0
  379. package/dist/esm/index.d.ts +16 -0
  380. package/dist/esm/index.js +6 -0
  381. package/dist/esm/index.js.map +1 -0
  382. package/dist/esm/logger.d.ts +2 -0
  383. package/dist/esm/logger.js +5 -0
  384. package/dist/esm/logger.js.map +1 -0
  385. package/dist/esm/models/index.d.ts +2 -0
  386. package/dist/esm/models/index.js +4 -0
  387. package/dist/esm/models/index.js.map +1 -0
  388. package/dist/esm/models/models.d.ts +751 -0
  389. package/dist/esm/models/models.js +747 -0
  390. package/dist/esm/models/models.js.map +1 -0
  391. package/dist/esm/package.json +3 -0
  392. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  393. package/dist/esm/restorePollerHelpers.js +133 -0
  394. package/dist/esm/restorePollerHelpers.js.map +1 -0
  395. package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
  396. package/dist/esm/static-helpers/pagingHelpers.js +137 -0
  397. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  398. package/dist/esm/static-helpers/pollingHelpers.d.ts +30 -0
  399. package/dist/esm/static-helpers/pollingHelpers.js +76 -0
  400. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  401. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  402. package/dist/esm/static-helpers/urlTemplate.js +169 -0
  403. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  404. package/dist/react-native/api/azureDedicatedHSMResourceProviderContext.d.ts +19 -0
  405. package/dist/react-native/api/azureDedicatedHSMResourceProviderContext.js +36 -0
  406. package/dist/react-native/api/azureDedicatedHSMResourceProviderContext.js.map +1 -0
  407. package/dist/react-native/api/cloudHsmClusterBackupStatus/index.d.ts +3 -0
  408. package/dist/react-native/api/cloudHsmClusterBackupStatus/index.js +4 -0
  409. package/dist/react-native/api/cloudHsmClusterBackupStatus/index.js.map +1 -0
  410. package/dist/react-native/api/cloudHsmClusterBackupStatus/operations.d.ts +9 -0
  411. package/dist/react-native/api/cloudHsmClusterBackupStatus/operations.js +42 -0
  412. package/dist/react-native/api/cloudHsmClusterBackupStatus/operations.js.map +1 -0
  413. package/dist/react-native/api/cloudHsmClusterBackupStatus/options.d.ts +7 -0
  414. package/dist/react-native/api/cloudHsmClusterBackupStatus/options.js +4 -0
  415. package/dist/react-native/api/cloudHsmClusterBackupStatus/options.js.map +1 -0
  416. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
  417. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/index.js +4 -0
  418. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  419. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
  420. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/operations.js +109 -0
  421. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +1 -0
  422. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +13 -0
  423. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/options.js +4 -0
  424. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +1 -0
  425. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/index.d.ts +3 -0
  426. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/index.js +4 -0
  427. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
  428. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +10 -0
  429. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/operations.js +36 -0
  430. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/operations.js.map +1 -0
  431. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/options.d.ts +5 -0
  432. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/options.js +4 -0
  433. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/options.js.map +1 -0
  434. package/dist/react-native/api/cloudHsmClusterRestoreStatus/index.d.ts +3 -0
  435. package/dist/react-native/api/cloudHsmClusterRestoreStatus/index.js +4 -0
  436. package/dist/react-native/api/cloudHsmClusterRestoreStatus/index.js.map +1 -0
  437. package/dist/react-native/api/cloudHsmClusterRestoreStatus/operations.d.ts +9 -0
  438. package/dist/react-native/api/cloudHsmClusterRestoreStatus/operations.js +42 -0
  439. package/dist/react-native/api/cloudHsmClusterRestoreStatus/operations.js.map +1 -0
  440. package/dist/react-native/api/cloudHsmClusterRestoreStatus/options.d.ts +7 -0
  441. package/dist/react-native/api/cloudHsmClusterRestoreStatus/options.js +4 -0
  442. package/dist/react-native/api/cloudHsmClusterRestoreStatus/options.js.map +1 -0
  443. package/dist/react-native/api/cloudHsmClusters/index.d.ts +3 -0
  444. package/dist/react-native/api/cloudHsmClusters/index.js +4 -0
  445. package/dist/react-native/api/cloudHsmClusters/index.js.map +1 -0
  446. package/dist/react-native/api/cloudHsmClusters/operations.d.ts +52 -0
  447. package/dist/react-native/api/cloudHsmClusters/operations.js +324 -0
  448. package/dist/react-native/api/cloudHsmClusters/operations.js.map +1 -0
  449. package/dist/react-native/api/cloudHsmClusters/options.d.ts +57 -0
  450. package/dist/react-native/api/cloudHsmClusters/options.js +4 -0
  451. package/dist/react-native/api/cloudHsmClusters/options.js.map +1 -0
  452. package/dist/react-native/api/dedicatedHsm/index.d.ts +3 -0
  453. package/dist/react-native/api/dedicatedHsm/index.js +4 -0
  454. package/dist/react-native/api/dedicatedHsm/index.js.map +1 -0
  455. package/dist/react-native/api/dedicatedHsm/operations.d.ts +40 -0
  456. package/dist/react-native/api/dedicatedHsm/operations.js +215 -0
  457. package/dist/react-native/api/dedicatedHsm/operations.js.map +1 -0
  458. package/dist/react-native/api/dedicatedHsm/options.d.ts +33 -0
  459. package/dist/react-native/api/dedicatedHsm/options.js +4 -0
  460. package/dist/react-native/api/dedicatedHsm/options.js.map +1 -0
  461. package/dist/react-native/api/index.d.ts +2 -0
  462. package/dist/react-native/api/index.js +4 -0
  463. package/dist/react-native/api/index.js.map +1 -0
  464. package/dist/react-native/api/operations/index.d.ts +3 -0
  465. package/dist/react-native/api/operations/index.js +4 -0
  466. package/dist/react-native/api/operations/index.js.map +1 -0
  467. package/dist/react-native/api/operations/operations.d.ts +10 -0
  468. package/dist/react-native/api/operations/operations.js +29 -0
  469. package/dist/react-native/api/operations/operations.js.map +1 -0
  470. package/dist/react-native/api/operations/options.d.ts +5 -0
  471. package/dist/react-native/api/operations/options.js +4 -0
  472. package/dist/react-native/api/operations/options.js.map +1 -0
  473. package/dist/react-native/api/privateEndpointConnections/index.d.ts +3 -0
  474. package/dist/react-native/api/privateEndpointConnections/index.js +4 -0
  475. package/dist/react-native/api/privateEndpointConnections/index.js.map +1 -0
  476. package/dist/react-native/api/privateEndpointConnections/operations.d.ts +10 -0
  477. package/dist/react-native/api/privateEndpointConnections/operations.js +36 -0
  478. package/dist/react-native/api/privateEndpointConnections/operations.js.map +1 -0
  479. package/dist/react-native/api/privateEndpointConnections/options.d.ts +5 -0
  480. package/dist/react-native/api/privateEndpointConnections/options.js +4 -0
  481. package/dist/react-native/api/privateEndpointConnections/options.js.map +1 -0
  482. package/dist/react-native/azureDedicatedHSMResourceProvider.d.ts +36 -0
  483. package/dist/react-native/azureDedicatedHSMResourceProvider.js +33 -0
  484. package/dist/react-native/azureDedicatedHSMResourceProvider.js.map +1 -0
  485. package/dist/react-native/classic/cloudHsmClusterBackupStatus/index.d.ts +10 -0
  486. package/dist/react-native/classic/cloudHsmClusterBackupStatus/index.js +12 -0
  487. package/dist/react-native/classic/cloudHsmClusterBackupStatus/index.js.map +1 -0
  488. package/dist/react-native/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +20 -0
  489. package/dist/react-native/classic/cloudHsmClusterPrivateEndpointConnections/index.js +14 -0
  490. package/dist/react-native/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  491. package/dist/react-native/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +11 -0
  492. package/dist/react-native/classic/cloudHsmClusterPrivateLinkResources/index.js +12 -0
  493. package/dist/react-native/classic/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
  494. package/dist/react-native/classic/cloudHsmClusterRestoreStatus/index.d.ts +10 -0
  495. package/dist/react-native/classic/cloudHsmClusterRestoreStatus/index.js +12 -0
  496. package/dist/react-native/classic/cloudHsmClusterRestoreStatus/index.js.map +1 -0
  497. package/dist/react-native/classic/cloudHsmClusters/index.d.ts +35 -0
  498. package/dist/react-native/classic/cloudHsmClusters/index.js +21 -0
  499. package/dist/react-native/classic/cloudHsmClusters/index.js.map +1 -0
  500. package/dist/react-native/classic/dedicatedHsm/index.d.ts +29 -0
  501. package/dist/react-native/classic/dedicatedHsm/index.js +18 -0
  502. package/dist/react-native/classic/dedicatedHsm/index.js.map +1 -0
  503. package/dist/react-native/classic/index.d.ts +9 -0
  504. package/dist/react-native/classic/index.js +4 -0
  505. package/dist/react-native/classic/index.js.map +1 -0
  506. package/dist/react-native/classic/operations/index.d.ts +11 -0
  507. package/dist/react-native/classic/operations/index.js +12 -0
  508. package/dist/react-native/classic/operations/index.js.map +1 -0
  509. package/dist/react-native/classic/privateEndpointConnections/index.d.ts +11 -0
  510. package/dist/react-native/classic/privateEndpointConnections/index.js +12 -0
  511. package/dist/react-native/classic/privateEndpointConnections/index.js.map +1 -0
  512. package/dist/react-native/index.d.ts +16 -0
  513. package/dist/react-native/index.js +6 -0
  514. package/dist/react-native/index.js.map +1 -0
  515. package/dist/react-native/logger.d.ts +2 -0
  516. package/dist/react-native/logger.js +5 -0
  517. package/dist/react-native/logger.js.map +1 -0
  518. package/dist/react-native/models/index.d.ts +2 -0
  519. package/dist/react-native/models/index.js +4 -0
  520. package/dist/react-native/models/index.js.map +1 -0
  521. package/dist/react-native/models/models.d.ts +751 -0
  522. package/dist/react-native/models/models.js +747 -0
  523. package/dist/react-native/models/models.js.map +1 -0
  524. package/dist/react-native/package.json +3 -0
  525. package/dist/react-native/restorePollerHelpers.d.ts +21 -0
  526. package/dist/react-native/restorePollerHelpers.js +133 -0
  527. package/dist/react-native/restorePollerHelpers.js.map +1 -0
  528. package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
  529. package/dist/react-native/static-helpers/pagingHelpers.js +137 -0
  530. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
  531. package/dist/react-native/static-helpers/pollingHelpers.d.ts +30 -0
  532. package/dist/react-native/static-helpers/pollingHelpers.js +76 -0
  533. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
  534. package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
  535. package/dist/react-native/static-helpers/urlTemplate.js +169 -0
  536. package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
  537. package/package.json +298 -88
  538. package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterBackupStatus.api.md +22 -0
  539. package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterPrivateEndpointConnections.api.md +36 -0
  540. package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterPrivateLinkResources.api.md +19 -0
  541. package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterRestoreStatus.api.md +22 -0
  542. package/review/arm-hardwaresecuritymodules-api-cloudHsmClusters.api.md +96 -0
  543. package/review/arm-hardwaresecuritymodules-api-dedicatedHsm.api.md +68 -0
  544. package/review/arm-hardwaresecuritymodules-api-operations.api.md +19 -0
  545. package/review/arm-hardwaresecuritymodules-api-privateEndpointConnections.api.md +19 -0
  546. package/review/arm-hardwaresecuritymodules-api.api.md +27 -0
  547. package/review/arm-hardwaresecuritymodules-models.api.md +471 -0
  548. package/review/arm-hardwaresecuritymodules.api.md +172 -396
  549. package/dist/index.js +0 -4363
  550. package/dist/index.js.map +0 -1
  551. package/dist/index.min.js +0 -1
  552. package/dist/index.min.js.map +0 -1
  553. package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.d.ts +0 -2
  554. package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.d.ts.map +0 -1
  555. package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.js +0 -40
  556. package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.js.map +0 -1
  557. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.d.ts +0 -2
  558. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.d.ts.map +0 -1
  559. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js +0 -46
  560. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js.map +0 -1
  561. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.d.ts +0 -2
  562. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  563. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js +0 -40
  564. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js.map +0 -1
  565. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.d.ts +0 -2
  566. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.d.ts.map +0 -1
  567. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js +0 -40
  568. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js.map +0 -1
  569. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.d.ts +0 -2
  570. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.d.ts.map +0 -1
  571. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js +0 -55
  572. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js.map +0 -1
  573. package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.d.ts +0 -2
  574. package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.d.ts.map +0 -1
  575. package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.js +0 -40
  576. package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.js.map +0 -1
  577. package/dist-esm/samples-dev/cloudHsmClustersBackupSample.d.ts +0 -2
  578. package/dist-esm/samples-dev/cloudHsmClustersBackupSample.d.ts.map +0 -1
  579. package/dist-esm/samples-dev/cloudHsmClustersBackupSample.js +0 -39
  580. package/dist-esm/samples-dev/cloudHsmClustersBackupSample.js.map +0 -1
  581. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.d.ts +0 -2
  582. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.d.ts.map +0 -1
  583. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js +0 -53
  584. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js.map +0 -1
  585. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.d.ts +0 -2
  586. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.d.ts.map +0 -1
  587. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js +0 -39
  588. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js.map +0 -1
  589. package/dist-esm/samples-dev/cloudHsmClustersGetSample.d.ts +0 -2
  590. package/dist-esm/samples-dev/cloudHsmClustersGetSample.d.ts.map +0 -1
  591. package/dist-esm/samples-dev/cloudHsmClustersGetSample.js +0 -39
  592. package/dist-esm/samples-dev/cloudHsmClustersGetSample.js.map +0 -1
  593. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.d.ts +0 -2
  594. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.d.ts.map +0 -1
  595. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js +0 -54
  596. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js.map +0 -1
  597. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.d.ts +0 -2
  598. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.d.ts.map +0 -1
  599. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js +0 -53
  600. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js.map +0 -1
  601. package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.d.ts +0 -2
  602. package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.d.ts.map +0 -1
  603. package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.js +0 -43
  604. package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.js.map +0 -1
  605. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.d.ts +0 -2
  606. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.d.ts.map +0 -1
  607. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js +0 -47
  608. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js.map +0 -1
  609. package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.d.ts +0 -2
  610. package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.d.ts.map +0 -1
  611. package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.js +0 -39
  612. package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.js.map +0 -1
  613. package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.d.ts +0 -2
  614. package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.d.ts.map +0 -1
  615. package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.js +0 -46
  616. package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.js.map +0 -1
  617. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.d.ts +0 -2
  618. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.d.ts.map +0 -1
  619. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js +0 -119
  620. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js.map +0 -1
  621. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.d.ts +0 -2
  622. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.d.ts.map +0 -1
  623. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js +0 -39
  624. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js.map +0 -1
  625. package/dist-esm/samples-dev/dedicatedHsmGetSample.d.ts +0 -2
  626. package/dist-esm/samples-dev/dedicatedHsmGetSample.d.ts.map +0 -1
  627. package/dist-esm/samples-dev/dedicatedHsmGetSample.js +0 -77
  628. package/dist-esm/samples-dev/dedicatedHsmGetSample.js.map +0 -1
  629. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.d.ts +0 -2
  630. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.d.ts.map +0 -1
  631. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js +0 -88
  632. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js.map +0 -1
  633. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.d.ts +0 -2
  634. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.d.ts.map +0 -1
  635. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js +0 -86
  636. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js.map +0 -1
  637. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.d.ts +0 -2
  638. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.d.ts.map +0 -1
  639. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js +0 -55
  640. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js.map +0 -1
  641. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.d.ts +0 -2
  642. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.d.ts.map +0 -1
  643. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js +0 -62
  644. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js.map +0 -1
  645. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  646. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  647. package/dist-esm/samples-dev/operationsListSample.js +0 -86
  648. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  649. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.d.ts +0 -2
  650. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.d.ts.map +0 -1
  651. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js +0 -55
  652. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js.map +0 -1
  653. package/dist-esm/src/azureHSMResourceProvider.d.ts +0 -27
  654. package/dist-esm/src/azureHSMResourceProvider.d.ts.map +0 -1
  655. package/dist-esm/src/azureHSMResourceProvider.js +0 -109
  656. package/dist-esm/src/azureHSMResourceProvider.js.map +0 -1
  657. package/dist-esm/src/index.d.ts +0 -5
  658. package/dist-esm/src/index.d.ts.map +0 -1
  659. package/dist-esm/src/index.js +0 -13
  660. package/dist-esm/src/index.js.map +0 -1
  661. package/dist-esm/src/lroImpl.d.ts +0 -11
  662. package/dist-esm/src/lroImpl.d.ts.map +0 -1
  663. package/dist-esm/src/lroImpl.js +0 -21
  664. package/dist-esm/src/lroImpl.js.map +0 -1
  665. package/dist-esm/src/models/index.d.ts +0 -1182
  666. package/dist-esm/src/models/index.d.ts.map +0 -1
  667. package/dist-esm/src/models/index.js +0 -188
  668. package/dist-esm/src/models/index.js.map +0 -1
  669. package/dist-esm/src/models/mappers.d.ts +0 -59
  670. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  671. package/dist-esm/src/models/mappers.js +0 -1414
  672. package/dist-esm/src/models/mappers.js.map +0 -1
  673. package/dist-esm/src/models/parameters.d.ts +0 -29
  674. package/dist-esm/src/models/parameters.d.ts.map +0 -1
  675. package/dist-esm/src/models/parameters.js +0 -215
  676. package/dist-esm/src/models/parameters.js.map +0 -1
  677. package/dist-esm/src/operations/cloudHsmClusterBackupStatus.d.ts +0 -22
  678. package/dist-esm/src/operations/cloudHsmClusterBackupStatus.d.ts.map +0 -1
  679. package/dist-esm/src/operations/cloudHsmClusterBackupStatus.js +0 -61
  680. package/dist-esm/src/operations/cloudHsmClusterBackupStatus.js.map +0 -1
  681. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts +0 -55
  682. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +0 -1
  683. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js +0 -201
  684. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js.map +0 -1
  685. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts +0 -41
  686. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +0 -1
  687. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js +0 -153
  688. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js.map +0 -1
  689. package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.d.ts +0 -22
  690. package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.d.ts.map +0 -1
  691. package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.js +0 -61
  692. package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.js.map +0 -1
  693. package/dist-esm/src/operations/cloudHsmClusters.d.ts +0 -182
  694. package/dist-esm/src/operations/cloudHsmClusters.d.ts.map +0 -1
  695. package/dist-esm/src/operations/cloudHsmClusters.js +0 -965
  696. package/dist-esm/src/operations/cloudHsmClusters.js.map +0 -1
  697. package/dist-esm/src/operations/dedicatedHsmOperations.d.ts +0 -134
  698. package/dist-esm/src/operations/dedicatedHsmOperations.d.ts.map +0 -1
  699. package/dist-esm/src/operations/dedicatedHsmOperations.js +0 -681
  700. package/dist-esm/src/operations/dedicatedHsmOperations.js.map +0 -1
  701. package/dist-esm/src/operations/index.d.ts +0 -9
  702. package/dist-esm/src/operations/index.d.ts.map +0 -1
  703. package/dist-esm/src/operations/index.js +0 -16
  704. package/dist-esm/src/operations/index.js.map +0 -1
  705. package/dist-esm/src/operations/operations.d.ts +0 -26
  706. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  707. package/dist-esm/src/operations/operations.js +0 -96
  708. package/dist-esm/src/operations/operations.js.map +0 -1
  709. package/dist-esm/src/operations/privateEndpointConnections.d.ts +0 -43
  710. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  711. package/dist-esm/src/operations/privateEndpointConnections.js +0 -155
  712. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  713. package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts +0 -14
  714. package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts.map +0 -1
  715. package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.js +0 -9
  716. package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.js.map +0 -1
  717. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts +0 -47
  718. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +0 -1
  719. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js +0 -9
  720. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js.map +0 -1
  721. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts +0 -14
  722. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts.map +0 -1
  723. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js +0 -9
  724. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js.map +0 -1
  725. package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts +0 -14
  726. package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts.map +0 -1
  727. package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.js +0 -9
  728. package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.js.map +0 -1
  729. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts +0 -145
  730. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts.map +0 -1
  731. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.js +0 -9
  732. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.js.map +0 -1
  733. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts +0 -78
  734. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts.map +0 -1
  735. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.js +0 -9
  736. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.js.map +0 -1
  737. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -9
  738. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  739. package/dist-esm/src/operationsInterfaces/index.js +0 -16
  740. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  741. package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
  742. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  743. package/dist-esm/src/operationsInterfaces/operations.js +0 -9
  744. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  745. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +0 -15
  746. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  747. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +0 -9
  748. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  749. package/dist-esm/src/pagingHelper.d.ts +0 -13
  750. package/dist-esm/src/pagingHelper.d.ts.map +0 -1
  751. package/dist-esm/src/pagingHelper.js +0 -32
  752. package/dist-esm/src/pagingHelper.js.map +0 -1
  753. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts +0 -4
  754. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts.map +0 -1
  755. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js +0 -77
  756. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js.map +0 -1
  757. package/src/azureHSMResourceProvider.ts +0 -179
  758. package/src/index.ts +0 -13
  759. package/src/lroImpl.ts +0 -42
  760. package/src/models/index.ts +0 -1366
  761. package/src/models/mappers.ts +0 -1529
  762. package/src/models/parameters.ts +0 -255
  763. package/src/operations/cloudHsmClusterBackupStatus.ts +0 -82
  764. package/src/operations/cloudHsmClusterPrivateEndpointConnections.ts +0 -281
  765. package/src/operations/cloudHsmClusterPrivateLinkResources.ts +0 -206
  766. package/src/operations/cloudHsmClusterRestoreStatus.ts +0 -82
  767. package/src/operations/cloudHsmClusters.ts +0 -1283
  768. package/src/operations/dedicatedHsmOperations.ts +0 -888
  769. package/src/operations/index.ts +0 -16
  770. package/src/operations/operations.ts +0 -103
  771. package/src/operations/privateEndpointConnections.ts +0 -208
  772. package/src/operationsInterfaces/cloudHsmClusterBackupStatus.ts +0 -30
  773. package/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.ts +0 -89
  774. package/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.ts +0 -30
  775. package/src/operationsInterfaces/cloudHsmClusterRestoreStatus.ts +0 -30
  776. package/src/operationsInterfaces/cloudHsmClusters.ts +0 -279
  777. package/src/operationsInterfaces/dedicatedHsmOperations.ts +0 -155
  778. package/src/operationsInterfaces/index.ts +0 -16
  779. package/src/operationsInterfaces/operations.ts +0 -22
  780. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -31
  781. package/src/pagingHelper.ts +0 -39
  782. package/tsconfig.json +0 -33
  783. package/types/arm-hardwaresecuritymodules.d.ts +0 -1694
package/CHANGELOG.md CHANGED
@@ -1,5 +1,131 @@
1
1
  # Release History
2
2
 
3
+ ## 2.0.0 (2025-07-04)
4
+
5
+ ### Features Added
6
+ - Added operation group CloudHsmClusterBackupStatusOperations
7
+ - Added operation group CloudHsmClusterPrivateEndpointConnectionsOperations
8
+ - Added operation group CloudHsmClusterPrivateLinkResourcesOperations
9
+ - Added operation group CloudHsmClusterRestoreStatusOperations
10
+ - Added operation group CloudHsmClustersOperations
11
+ - Added operation group DedicatedHsmOperations
12
+ - Added operation group PrivateEndpointConnectionsOperations
13
+ - Added Interface BackupRequestProperties
14
+ - Added Interface BackupRestoreBaseResultProperties
15
+ - Added Interface BackupRestoreRequestBaseProperties
16
+ - Added Interface BackupResult
17
+ - Added Interface BackupResultProperties
18
+ - Added Interface CloudHsmCluster
19
+ - Added Interface CloudHsmClusterBackupStatusGetOptionalParams
20
+ - Added Interface CloudHsmClusterPatchParameters
21
+ - Added Interface CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams
22
+ - Added Interface CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams
23
+ - Added Interface CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams
24
+ - Added Interface CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams
25
+ - Added Interface CloudHsmClusterProperties
26
+ - Added Interface CloudHsmClusterRestoreStatusGetOptionalParams
27
+ - Added Interface CloudHsmClustersBackupOptionalParams
28
+ - Added Interface CloudHsmClustersCreateOrUpdateOptionalParams
29
+ - Added Interface CloudHsmClustersDeleteOptionalParams
30
+ - Added Interface CloudHsmClustersGetOptionalParams
31
+ - Added Interface CloudHsmClusterSku
32
+ - Added Interface CloudHsmClustersListByResourceGroupOptionalParams
33
+ - Added Interface CloudHsmClustersListBySubscriptionOptionalParams
34
+ - Added Interface CloudHsmClustersRestoreOptionalParams
35
+ - Added Interface CloudHsmClustersUpdateOptionalParams
36
+ - Added Interface CloudHsmClustersValidateBackupPropertiesOptionalParams
37
+ - Added Interface CloudHsmClustersValidateRestorePropertiesOptionalParams
38
+ - Added Interface CloudHsmProperties
39
+ - Added Interface DedicatedHsm
40
+ - Added Interface DedicatedHsmProperties
41
+ - Added Interface ErrorAdditionalInfo
42
+ - Added Interface ErrorDetail
43
+ - Added Interface ErrorResponse
44
+ - Added Interface ManagedServiceIdentity
45
+ - Added Interface Operation
46
+ - Added Interface OperationDisplay
47
+ - Added Interface PageSettings
48
+ - Added Interface PrivateEndpoint
49
+ - Added Interface PrivateEndpointConnection
50
+ - Added Interface PrivateEndpointConnectionProperties
51
+ - Added Interface PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams
52
+ - Added Interface PrivateLinkResource
53
+ - Added Interface PrivateLinkResourceProperties
54
+ - Added Interface PrivateLinkServiceConnectionState
55
+ - Added Interface ProxyResource
56
+ - Added Interface RestoreRequestProperties
57
+ - Added Interface RestoreResult
58
+ - Added Interface TrackedResource
59
+ - Added Interface UserAssignedIdentity
60
+ - Interface ApiEntityReference has a new optional parameter resourceId
61
+ - Interface NetworkInterface has a new optional parameter resourceId
62
+ - Interface Resource has a new optional parameter systemData
63
+ - Added Type Alias ActionType
64
+ - Added Type Alias ActivationState
65
+ - Added Type Alias AutoGeneratedDomainNameLabelScope
66
+ - Added Type Alias BackupRestoreOperationStatus
67
+ - Added Type Alias CloudHsmClusterSkuFamily
68
+ - Added Type Alias CloudHsmClusterSkuName
69
+ - Added Type Alias CreatedByType
70
+ - Added Type Alias ManagedServiceIdentityType
71
+ - Added Type Alias Origin
72
+ - Added Type Alias PrivateEndpointConnectionProvisioningState
73
+ - Added Type Alias PrivateEndpointServiceConnectionStatus
74
+ - Added Type Alias ProvisioningState
75
+ - Added Type Alias PublicNetworkAccess
76
+ - Added Enum KnownActionType
77
+ - Added Enum KnownActivationState
78
+ - Added Enum KnownAutoGeneratedDomainNameLabelScope
79
+ - Added Enum KnownBackupRestoreOperationStatus
80
+ - Added Enum KnownCloudHsmClusterSkuFamily
81
+ - Added Enum KnownCreatedByType
82
+ - Added Enum KnownManagedServiceIdentityType
83
+ - Added Enum KnownOrigin
84
+ - Added Enum KnownPrivateEndpointConnectionProvisioningState
85
+ - Added Enum KnownPrivateEndpointServiceConnectionStatus
86
+ - Added Enum KnownProvisioningState
87
+ - Added Enum KnownPublicNetworkAccess
88
+ - Added Enum KnownVersions
89
+ ### Breaking Changes
90
+ - Class AzureDedicatedHSMResourceProvider no longer has parameter $host
91
+ - Class AzureDedicatedHSMResourceProvider no longer has parameter apiVersion
92
+ - Class AzureDedicatedHSMResourceProvider no longer has parameter dedicatedHsmOperations
93
+ - Class AzureDedicatedHSMResourceProvider no longer has parameter subscriptionId
94
+ - Removed Interface DedicatedHsmListResult
95
+ - Removed Interface DedicatedHsmOperation
96
+ - Removed Interface DedicatedHsmOperationDisplay
97
+ - Removed Interface DedicatedHsmOperationListResult
98
+ - Removed Interface DedicatedHsmOperationsOperations
99
+ - Removed Interface OutboundEnvironmentEndpointCollection
100
+ - Removed Interface ResourceListResult
101
+ - Interface ApiEntityReference no longer has parameter id
102
+ - Interface AzureDedicatedHSMResourceProviderOptionalParams no longer has parameter $host
103
+ - Interface AzureDedicatedHSMResourceProviderOptionalParams no longer has parameter endpoint
104
+ - Interface DedicatedHsmCreateOrUpdateOptionalParams no longer has parameter resumeFrom
105
+ - Interface DedicatedHsmDeleteOptionalParams no longer has parameter resumeFrom
106
+ - Interface DedicatedHsmUpdateOptionalParams no longer has parameter resumeFrom
107
+ - Interface DedicatedHsmUpdateOptionalParams no longer has parameter tags
108
+ - Interface NetworkInterface no longer has parameter id
109
+ - Interface Resource no longer has parameter location
110
+ - Interface Resource no longer has parameter sku
111
+ - Interface Resource no longer has parameter tags
112
+ - Interface Resource no longer has parameter zones
113
+ - Removed Type Alias DedicatedHsm
114
+ - Removed Type Alias DedicatedHsmCreateOrUpdateResponse
115
+ - Removed Type Alias DedicatedHsmGetResponse
116
+ - Removed Type Alias DedicatedHsmListByResourceGroupNextResponse
117
+ - Removed Type Alias DedicatedHsmListByResourceGroupResponse
118
+ - Removed Type Alias DedicatedHsmListBySubscriptionNextResponse
119
+ - Removed Type Alias DedicatedHsmListBySubscriptionResponse
120
+ - Removed Type Alias DedicatedHsmListOutboundNetworkDependenciesEndpointsNextResponse
121
+ - Removed Type Alias DedicatedHsmListOutboundNetworkDependenciesEndpointsResponse
122
+ - Removed Type Alias DedicatedHsmUpdateResponse
123
+ - Removed Type Alias IdentityType
124
+ - Removed Type Alias OperationsListResponse
125
+ - Removed Enum KnownIdentityType
126
+
127
+
128
+
3
129
  ## 2.0.0-beta.2 (2024-11-11)
4
130
  Compared with version 1.0.0
5
131
 
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ Copyright (c) Microsoft Corporation.
2
2
 
3
- Copyright (c) 2024 Microsoft
3
+ MIT License
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -12,7 +12,7 @@ furnished to do so, subject to the following conditions:
12
12
  The above copyright notice and this permission notice shall be included in all
13
13
  copies or substantial portions of the Software.
14
14
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
package/README.md CHANGED
@@ -1,13 +1,15 @@
1
- # AzureHsmResourceProvider client library for JavaScript
1
+ # Azure HardwareSecurityModules client library for JavaScript
2
2
 
3
- This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureHsmResourceProvider client.
3
+ This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure HardwareSecurityModules client.
4
4
 
5
- The Azure management API provides a RESTful set of web services that interact with Azure HSM RP.
5
+ The Azure management API provides a RESTful set of web services that interact with Hardware Security Modules.
6
6
 
7
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/hardwaresecuritymodules/arm-hardwaresecuritymodules) |
8
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-hardwaresecuritymodules) |
9
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-hardwaresecuritymodules?view=azure-node-preview) |
10
- [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
7
+ Key links:
8
+
9
+ - [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/hardwaresecuritymodules/arm-hardwaresecuritymodules)
10
+ - [Package (NPM)](https://www.npmjs.com/package/@azure/arm-hardwaresecuritymodules)
11
+ - [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-hardwaresecuritymodules?view=azure-node-preview)
12
+ - [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/hardwaresecuritymodules/arm-hardwaresecuritymodules/samples)
11
13
 
12
14
  ## Getting started
13
15
 
@@ -24,16 +26,16 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP
24
26
 
25
27
  ### Install the `@azure/arm-hardwaresecuritymodules` package
26
28
 
27
- Install the AzureHsmResourceProvider client library for JavaScript with `npm`:
29
+ Install the Azure HardwareSecurityModules client library for JavaScript with `npm`:
28
30
 
29
31
  ```bash
30
32
  npm install @azure/arm-hardwaresecuritymodules
31
33
  ```
32
34
 
33
- ### Create and authenticate a `AzureHSMResourceProvider`
35
+ ### Create and authenticate a `AzureDedicatedHSMResourceProvider`
34
36
 
35
- To create a client object to access the AzureHsmResourceProvider API, you will need the `endpoint` of your AzureHsmResourceProvider resource and a `credential`. The AzureHsmResourceProvider client can use Azure Active Directory credentials to authenticate.
36
- You can find the endpoint for your AzureHsmResourceProvider resource in the [Azure Portal][azure_portal].
37
+ To create a client object to access the Azure HardwareSecurityModules API, you will need the `endpoint` of your Azure HardwareSecurityModules resource and a `credential`. The Azure HardwareSecurityModules client can use Azure Active Directory credentials to authenticate.
38
+ You can find the endpoint for your Azure HardwareSecurityModules resource in the [Azure Portal][azure_portal].
37
39
 
38
40
  You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
39
41
 
@@ -43,25 +45,32 @@ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below
43
45
  npm install @azure/identity
44
46
  ```
45
47
 
46
- You will also need to **register a new AAD application and grant access to AzureHsmResourceProvider** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47
- Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
48
+ You will also need to **register a new AAD application and grant access to Azure HardwareSecurityModules** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
49
+
50
+ For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
48
51
 
49
- For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
52
+ Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
50
53
 
51
- ```javascript
52
- const { AzureHSMResourceProvider } = require("@azure/arm-hardwaresecuritymodules");
53
- const { DefaultAzureCredential } = require("@azure/identity");
54
- // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
54
+ ```ts snippet:ReadmeSampleCreateClient_Node
55
+ import { AzureHSMResourceProvider } from "@azure/arm-hardwaresecuritymodules";
56
+ import { DefaultAzureCredential } from "@azure/identity";
55
57
 
56
58
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
57
59
  const client = new AzureHSMResourceProvider(new DefaultAzureCredential(), subscriptionId);
60
+ ```
61
+
62
+ For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
63
+
64
+ ```ts snippet:ReadmeSampleCreateClient_Browser
65
+ import { InteractiveBrowserCredential } from "@azure/identity";
66
+ import { AzureHSMResourceProvider } from "@azure/arm-hardwaresecuritymodules";
58
67
 
59
- // For client-side applications running in the browser, use this code instead:
60
- // const credential = new InteractiveBrowserCredential({
61
- // tenantId: "<YOUR_TENANT_ID>",
62
- // clientId: "<YOUR_CLIENT_ID>"
63
- // });
64
- // const client = new AzureHSMResourceProvider(credential, subscriptionId);
68
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
69
+ const credential = new InteractiveBrowserCredential({
70
+ tenantId: "<YOUR_TENANT_ID>",
71
+ clientId: "<YOUR_CLIENT_ID>",
72
+ });
73
+ const client = new AzureHSMResourceProvider(credential, subscriptionId);
65
74
  ```
66
75
 
67
76
 
@@ -70,9 +79,9 @@ To use this client library in the browser, first you need to use a bundler. For
70
79
 
71
80
  ## Key concepts
72
81
 
73
- ### AzureHSMResourceProvider
82
+ ### AzureDedicatedHSMResourceProvider
74
83
 
75
- `AzureHSMResourceProvider` is the primary interface for developers using the AzureHsmResourceProvider client library. Explore the methods on this client object to understand the different features of the AzureHsmResourceProvider service that you can access.
84
+ `AzureDedicatedHSMResourceProvider` is the primary interface for developers using the Azure HardwareSecurityModules client library. Explore the methods on this client object to understand the different features of the Azure HardwareSecurityModules service that you can access.
76
85
 
77
86
  ## Troubleshooting
78
87
 
@@ -80,8 +89,9 @@ To use this client library in the browser, first you need to use a bundler. For
80
89
 
81
90
  Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
82
91
 
83
- ```javascript
84
- const { setLogLevel } = require("@azure/logger");
92
+ ```ts snippet:SetLogLevel
93
+ import { setLogLevel } from "@azure/logger";
94
+
85
95
  setLogLevel("info");
86
96
  ```
87
97
 
@@ -89,7 +99,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
89
99
 
90
100
  ## Next steps
91
101
 
92
- Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
102
+ Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/hardwaresecuritymodules/arm-hardwaresecuritymodules/samples) directory for detailed examples on how to use this library.
93
103
 
94
104
  ## Contributing
95
105
 
@@ -99,10 +109,6 @@ If you'd like to contribute to this library, please read the [contributing guide
99
109
 
100
110
  - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
101
111
 
102
- ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fhardwaresecuritymodules%2Farm-hardwaresecuritymodules%2FREADME.png)
103
-
104
- [azure_cli]: https://docs.microsoft.com/cli/azure
105
- [azure_sub]: https://azure.microsoft.com/free/
106
112
  [azure_sub]: https://azure.microsoft.com/free/
107
113
  [azure_portal]: https://portal.azure.com
108
114
  [azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
@@ -0,0 +1,19 @@
1
+ import { Client, ClientOptions } from "@azure-rest/core-client";
2
+ import { TokenCredential } from "@azure/core-auth";
3
+ /** The Azure management API provides a RESTful set of web services that interact with Hardware Security Modules. */
4
+ export interface AzureDedicatedHSMResourceProviderContext extends Client {
5
+ /** The API version to use for this operation. */
6
+ /** Known values of {@link KnownVersions} that the service accepts. */
7
+ apiVersion: string;
8
+ /** The ID of the target subscription. The value must be an UUID. */
9
+ subscriptionId: string;
10
+ }
11
+ /** Optional parameters for the client. */
12
+ export interface AzureDedicatedHSMResourceProviderOptionalParams extends ClientOptions {
13
+ /** The API version to use for this operation. */
14
+ /** Known values of {@link KnownVersions} that the service accepts. */
15
+ apiVersion?: string;
16
+ }
17
+ /** The Azure management API provides a RESTful set of web services that interact with Hardware Security Modules. */
18
+ export declare function createAzureDedicatedHSMResourceProvider(credential: TokenCredential, subscriptionId: string, options?: AzureDedicatedHSMResourceProviderOptionalParams): AzureDedicatedHSMResourceProviderContext;
19
+ //# sourceMappingURL=azureDedicatedHSMResourceProviderContext.d.ts.map
@@ -0,0 +1,36 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { __rest } from "tslib";
4
+ import { logger } from "../logger.js";
5
+ import { getClient } from "@azure-rest/core-client";
6
+ /** The Azure management API provides a RESTful set of web services that interact with Hardware Security Modules. */
7
+ export function createAzureDedicatedHSMResourceProvider(credential, subscriptionId, options = {}) {
8
+ var _a, _b, _c, _d, _e, _f, _g, _h;
9
+ const endpointUrl = (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUrl) !== null && _b !== void 0 ? _b : "https://management.azure.com";
10
+ const prefixFromOptions = (_c = options === null || options === void 0 ? void 0 : options.userAgentOptions) === null || _c === void 0 ? void 0 : _c.userAgentPrefix;
11
+ const userAgentInfo = `azsdk-js-arm-hardwaresecuritymodules/1.0.0-beta.1`;
12
+ const userAgentPrefix = prefixFromOptions
13
+ ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`
14
+ : `azsdk-js-api ${userAgentInfo}`;
15
+ const _j = Object.assign(Object.assign({}, options), { userAgentOptions: { userAgentPrefix }, loggingOptions: { logger: (_e = (_d = options.loggingOptions) === null || _d === void 0 ? void 0 : _d.logger) !== null && _e !== void 0 ? _e : logger.info }, credentials: {
16
+ scopes: (_g = (_f = options.credentials) === null || _f === void 0 ? void 0 : _f.scopes) !== null && _g !== void 0 ? _g : [`${endpointUrl}/.default`],
17
+ } }), { apiVersion: _ } = _j, updatedOptions = __rest(_j, ["apiVersion"]);
18
+ const clientContext = getClient(endpointUrl, credential, updatedOptions);
19
+ clientContext.pipeline.removePolicy({ name: "ApiVersionPolicy" });
20
+ const apiVersion = (_h = options.apiVersion) !== null && _h !== void 0 ? _h : "2025-03-31";
21
+ clientContext.pipeline.addPolicy({
22
+ name: "ClientApiVersionPolicy",
23
+ sendRequest: (req, next) => {
24
+ // Use the apiVersion defined in request url directly
25
+ // Append one if there is no apiVersion and we have one at client options
26
+ const url = new URL(req.url);
27
+ if (!url.searchParams.get("api-version")) {
28
+ req.url = `${req.url}${Array.from(url.searchParams.keys()).length > 0 ? "&" : "?"}api-version=${apiVersion}`;
29
+ }
30
+ return next(req);
31
+ },
32
+ });
33
+ return Object.assign(Object.assign({}, clientContext), { apiVersion,
34
+ subscriptionId });
35
+ }
36
+ //# sourceMappingURL=azureDedicatedHSMResourceProviderContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureDedicatedHSMResourceProviderContext.js","sourceRoot":"","sources":["../../../src/api/azureDedicatedHSMResourceProviderContext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;AAElC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,EAAyB,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAmB3E,oHAAoH;AACpH,MAAM,UAAU,uCAAuC,CACrD,UAA2B,EAC3B,cAAsB,EACtB,UAA2D,EAAE;;IAE7D,MAAM,WAAW,GAAG,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,8BAA8B,CAAC;IAC1F,MAAM,iBAAiB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,gBAAgB,0CAAE,eAAe,CAAC;IACrE,MAAM,aAAa,GAAG,mDAAmD,CAAC;IAC1E,MAAM,eAAe,GAAG,iBAAiB;QACvC,CAAC,CAAC,GAAG,iBAAiB,iBAAiB,aAAa,EAAE;QACtD,CAAC,CAAC,gBAAgB,aAAa,EAAE,CAAC;IACpC,MAAM,qCACD,OAAO,KACV,gBAAgB,EAAE,EAAE,eAAe,EAAE,EACrC,cAAc,EAAE,EAAE,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,cAAc,0CAAE,MAAM,mCAAI,MAAM,CAAC,IAAI,EAAE,EACzE,WAAW,EAAE;YACX,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,WAAW,0CAAE,MAAM,mCAAI,CAAC,GAAG,WAAW,WAAW,CAAC;SACnE,GACF,EAPK,EAAE,UAAU,EAAE,CAAC,OAOpB,EAPyB,cAAc,cAAlC,cAAoC,CAOzC,CAAC;IACF,MAAM,aAAa,GAAG,SAAS,CAAC,WAAW,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;IACzE,aAAa,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAClE,MAAM,UAAU,GAAG,MAAA,OAAO,CAAC,UAAU,mCAAI,YAAY,CAAC;IACtD,aAAa,CAAC,QAAQ,CAAC,SAAS,CAAC;QAC/B,IAAI,EAAE,wBAAwB;QAC9B,WAAW,EAAE,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;YACzB,qDAAqD;YACrD,yEAAyE;YACzE,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC7B,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC;gBACzC,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,GAAG,GAClB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GACzD,eAAe,UAAU,EAAE,CAAC;YAC9B,CAAC;YAED,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC,CAAC;IACH,OAAO,gCACF,aAAa,KAChB,UAAU;QACV,cAAc,GAC6B,CAAC;AAChD,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../logger.js\";\nimport { KnownVersions } from \"../models/models.js\";\nimport { Client, ClientOptions, getClient } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\n/** The Azure management API provides a RESTful set of web services that interact with Hardware Security Modules. */\nexport interface AzureDedicatedHSMResourceProviderContext extends Client {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion: string;\n /** The ID of the target subscription. The value must be an UUID. */\n subscriptionId: string;\n}\n\n/** Optional parameters for the client. */\nexport interface AzureDedicatedHSMResourceProviderOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\n/** The Azure management API provides a RESTful set of web services that interact with Hardware Security Modules. */\nexport function createAzureDedicatedHSMResourceProvider(\n credential: TokenCredential,\n subscriptionId: string,\n options: AzureDedicatedHSMResourceProviderOptionalParams = {},\n): AzureDedicatedHSMResourceProviderContext {\n const endpointUrl = options.endpoint ?? options.baseUrl ?? \"https://management.azure.com\";\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-arm-hardwaresecuritymodules/1.0.0-beta.1`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [`${endpointUrl}/.default`],\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n clientContext.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n const apiVersion = options.apiVersion ?? \"2025-03-31\";\n clientContext.pipeline.addPolicy({\n name: \"ClientApiVersionPolicy\",\n sendRequest: (req, next) => {\n // Use the apiVersion defined in request url directly\n // Append one if there is no apiVersion and we have one at client options\n const url = new URL(req.url);\n if (!url.searchParams.get(\"api-version\")) {\n req.url = `${req.url}${\n Array.from(url.searchParams.keys()).length > 0 ? \"&\" : \"?\"\n }api-version=${apiVersion}`;\n }\n\n return next(req);\n },\n });\n return {\n ...clientContext,\n apiVersion,\n subscriptionId,\n } as AzureDedicatedHSMResourceProviderContext;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ export { get } from "./operations.js";
2
+ export { CloudHsmClusterBackupStatusGetOptionalParams } 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 { get } from "./operations.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterBackupStatus/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { get } from \"./operations.js\";\nexport { CloudHsmClusterBackupStatusGetOptionalParams } from \"./options.js\";\n"]}
@@ -0,0 +1,9 @@
1
+ import { AzureDedicatedHSMResourceProviderContext as Client } from "../index.js";
2
+ import { CloudHsmClusterBackupStatusGetOptionalParams } from "./options.js";
3
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
4
+ import { PollerLike, OperationState } from "@azure/core-lro";
5
+ export declare function _getSend(context: Client, resourceGroupName: string, cloudHsmClusterName: string, jobId: string, options?: CloudHsmClusterBackupStatusGetOptionalParams): StreamableMethod;
6
+ export declare function _getDeserialize(result: PathUncheckedResponse): Promise<void>;
7
+ /** Gets the backup operation status of the specified Cloud HSM Cluster */
8
+ export declare function get(context: Client, resourceGroupName: string, cloudHsmClusterName: string, jobId: string, options?: CloudHsmClusterBackupStatusGetOptionalParams): PollerLike<OperationState<void>, void>;
9
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1,42 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { errorResponseDeserializer } from "../../models/models.js";
4
+ import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
5
+ import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
6
+ import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
7
+ export function _getSend(context, resourceGroupName, cloudHsmClusterName, jobId, options = {
8
+ requestOptions: {},
9
+ }) {
10
+ var _a, _b;
11
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/backupOperationStatus/{jobId}{?api%2Dversion}", {
12
+ subscriptionId: context.subscriptionId,
13
+ resourceGroupName: resourceGroupName,
14
+ cloudHsmClusterName: cloudHsmClusterName,
15
+ jobId: jobId,
16
+ "api%2Dversion": context.apiVersion,
17
+ }, {
18
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
19
+ });
20
+ 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) }));
21
+ }
22
+ export async function _getDeserialize(result) {
23
+ const expectedStatuses = ["200", "202"];
24
+ if (!expectedStatuses.includes(result.status)) {
25
+ const error = createRestError(result);
26
+ error.details = errorResponseDeserializer(result.body);
27
+ throw error;
28
+ }
29
+ return;
30
+ }
31
+ /** Gets the backup operation status of the specified Cloud HSM Cluster */
32
+ export function get(context, resourceGroupName, cloudHsmClusterName, jobId, options = {
33
+ requestOptions: {},
34
+ }) {
35
+ return getLongRunningPoller(context, _getDeserialize, ["200", "202"], {
36
+ updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
37
+ abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
38
+ getInitialResponse: () => _getSend(context, resourceGroupName, cloudHsmClusterName, jobId, options),
39
+ resourceLocationConfig: "location",
40
+ });
41
+ }
42
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterBackupStatus/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAEnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAGjC,MAAM,UAAU,QAAQ,CACtB,OAAe,EACf,iBAAyB,EACzB,mBAA2B,EAC3B,KAAa,EACb,UAAwD;IACtD,cAAc,EAAE,EAAE;CACnB;;IAED,MAAM,IAAI,GAAG,iBAAiB,CAC5B,qMAAqM,EACrM;QACE,cAAc,EAAE,OAAO,CAAC,cAAc;QACtC,iBAAiB,EAAE,iBAAiB;QACpC,mBAAmB,EAAE,mBAAmB;QACxC,KAAK,EAAE,KAAK;QACZ,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,eAAe,CAAC,MAA6B;IACjE,MAAM,gBAAgB,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACxC,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;AACT,CAAC;AAED,0EAA0E;AAC1E,MAAM,UAAU,GAAG,CACjB,OAAe,EACf,iBAAyB,EACzB,mBAA2B,EAC3B,KAAa,EACb,UAAwD;IACtD,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,oBAAoB,CAAC,OAAO,EAAE,eAAe,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE;QACpE,kBAAkB,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,kBAAkB;QAC/C,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW;QACjC,kBAAkB,EAAE,GAAG,EAAE,CACvB,QAAQ,CAAC,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,KAAK,EAAE,OAAO,CAAC;QAC3E,sBAAsB,EAAE,UAAU;KACnC,CAA2C,CAAC;AAC/C,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AzureDedicatedHSMResourceProviderContext as Client } from \"../index.js\";\nimport { errorResponseDeserializer } from \"../../models/models.js\";\nimport { CloudHsmClusterBackupStatusGetOptionalParams } from \"./options.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n jobId: string,\n options: CloudHsmClusterBackupStatusGetOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/backupOperationStatus/{jobId}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n cloudHsmClusterName: cloudHsmClusterName,\n jobId: jobId,\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 _getDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return;\n}\n\n/** Gets the backup operation status of the specified Cloud HSM Cluster */\nexport function get(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n jobId: string,\n options: CloudHsmClusterBackupStatusGetOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _getDeserialize, [\"200\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _getSend(context, resourceGroupName, cloudHsmClusterName, jobId, options),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n"]}
@@ -0,0 +1,7 @@
1
+ import { OperationOptions } from "@azure-rest/core-client";
2
+ /** Optional parameters. */
3
+ export interface CloudHsmClusterBackupStatusGetOptionalParams extends OperationOptions {
4
+ /** Delay to wait until next poll, in milliseconds. */
5
+ updateIntervalInMs?: number;
6
+ }
7
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterBackupStatus/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 CloudHsmClusterBackupStatusGetOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ export { $delete, create, get } from "./operations.js";
2
+ export { CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams, CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams, CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams, } 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 { $delete, create, get } from "./operations.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterPrivateEndpointConnections/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { $delete, create, get } from \"./operations.js\";\nexport {\n CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams,\n CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams,\n CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams,\n} from \"./options.js\";\n"]}
@@ -0,0 +1,23 @@
1
+ import { AzureDedicatedHSMResourceProviderContext as Client } from "../index.js";
2
+ import { PrivateEndpointConnection } from "../../models/models.js";
3
+ import { CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams, CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams, CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams } from "./options.js";
4
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
5
+ import { PollerLike, OperationState } from "@azure/core-lro";
6
+ export declare function _$deleteSend(context: Client, resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, options?: CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams): StreamableMethod;
7
+ export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
8
+ /** Deletes the private endpoint connection for the Cloud Hsm Cluster. */
9
+ /**
10
+ * @fixme delete is a reserved word that cannot be used as an operation name.
11
+ * Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
12
+ * to the operation to override the generated name.
13
+ */
14
+ export declare function $delete(context: Client, resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, options?: CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams): PollerLike<OperationState<void>, void>;
15
+ export declare function _createSend(context: Client, resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, properties: PrivateEndpointConnection, options?: CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams): StreamableMethod;
16
+ export declare function _createDeserialize(result: PathUncheckedResponse): Promise<PrivateEndpointConnection>;
17
+ /** Creates or updates the private endpoint connection for the Cloud Hsm Cluster. */
18
+ export declare function create(context: Client, resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, properties: PrivateEndpointConnection, options?: CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams): Promise<PrivateEndpointConnection>;
19
+ export declare function _getSend(context: Client, resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, options?: CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams): StreamableMethod;
20
+ export declare function _getDeserialize(result: PathUncheckedResponse): Promise<PrivateEndpointConnection>;
21
+ /** Gets the private endpoint connection for the Cloud Hsm Cluster. */
22
+ export declare function get(context: Client, resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, options?: CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnection>;
23
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1,109 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { errorResponseDeserializer, privateEndpointConnectionSerializer, privateEndpointConnectionDeserializer, } from "../../models/models.js";
4
+ import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
5
+ import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
6
+ import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
7
+ export function _$deleteSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options = {
8
+ requestOptions: {},
9
+ }) {
10
+ var _a, _b;
11
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}", {
12
+ subscriptionId: context.subscriptionId,
13
+ resourceGroupName: resourceGroupName,
14
+ cloudHsmClusterName: cloudHsmClusterName,
15
+ peConnectionName: peConnectionName,
16
+ "api%2Dversion": context.apiVersion,
17
+ }, {
18
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
19
+ });
20
+ return context.path(path).delete(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
21
+ }
22
+ export async function _$deleteDeserialize(result) {
23
+ const expectedStatuses = ["202", "204", "200"];
24
+ if (!expectedStatuses.includes(result.status)) {
25
+ const error = createRestError(result);
26
+ error.details = errorResponseDeserializer(result.body);
27
+ throw error;
28
+ }
29
+ return;
30
+ }
31
+ /** Deletes the private endpoint connection for the Cloud Hsm Cluster. */
32
+ /**
33
+ * @fixme delete is a reserved word that cannot be used as an operation name.
34
+ * Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
35
+ * to the operation to override the generated name.
36
+ */
37
+ export function $delete(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options = {
38
+ requestOptions: {},
39
+ }) {
40
+ return getLongRunningPoller(context, _$deleteDeserialize, ["202", "204", "200"], {
41
+ updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
42
+ abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
43
+ getInitialResponse: () => _$deleteSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options),
44
+ resourceLocationConfig: "location",
45
+ });
46
+ }
47
+ export function _createSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, properties, options = {
48
+ requestOptions: {},
49
+ }) {
50
+ var _a, _b;
51
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}", {
52
+ subscriptionId: context.subscriptionId,
53
+ resourceGroupName: resourceGroupName,
54
+ cloudHsmClusterName: cloudHsmClusterName,
55
+ peConnectionName: peConnectionName,
56
+ "api%2Dversion": context.apiVersion,
57
+ }, {
58
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
59
+ });
60
+ return context.path(path).put(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { contentType: "application/json", headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers), body: privateEndpointConnectionSerializer(properties) }));
61
+ }
62
+ export async function _createDeserialize(result) {
63
+ const expectedStatuses = ["200"];
64
+ if (!expectedStatuses.includes(result.status)) {
65
+ const error = createRestError(result);
66
+ error.details = errorResponseDeserializer(result.body);
67
+ throw error;
68
+ }
69
+ return privateEndpointConnectionDeserializer(result.body);
70
+ }
71
+ /** Creates or updates the private endpoint connection for the Cloud Hsm Cluster. */
72
+ export async function create(context, resourceGroupName, cloudHsmClusterName, peConnectionName, properties, options = {
73
+ requestOptions: {},
74
+ }) {
75
+ const result = await _createSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, properties, options);
76
+ return _createDeserialize(result);
77
+ }
78
+ export function _getSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options = {
79
+ requestOptions: {},
80
+ }) {
81
+ var _a, _b;
82
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}", {
83
+ subscriptionId: context.subscriptionId,
84
+ resourceGroupName: resourceGroupName,
85
+ cloudHsmClusterName: cloudHsmClusterName,
86
+ peConnectionName: peConnectionName,
87
+ "api%2Dversion": context.apiVersion,
88
+ }, {
89
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
90
+ });
91
+ 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) }));
92
+ }
93
+ export async function _getDeserialize(result) {
94
+ const expectedStatuses = ["200"];
95
+ if (!expectedStatuses.includes(result.status)) {
96
+ const error = createRestError(result);
97
+ error.details = errorResponseDeserializer(result.body);
98
+ throw error;
99
+ }
100
+ return privateEndpointConnectionDeserializer(result.body);
101
+ }
102
+ /** Gets the private endpoint connection for the Cloud Hsm Cluster. */
103
+ export async function get(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options = {
104
+ requestOptions: {},
105
+ }) {
106
+ const result = await _getSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options);
107
+ return _getDeserialize(result);
108
+ }
109
+ //# sourceMappingURL=operations.js.map