@azure/arm-hardwaresecuritymodules 2.0.0-alpha.20250205.1 → 2.0.0-alpha.20250206.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (586) hide show
  1. package/README.md +21 -14
  2. package/{dist-esm/src → dist/browser}/azureHSMResourceProvider.d.ts +2 -2
  3. package/dist/browser/azureHSMResourceProvider.d.ts.map +1 -0
  4. package/{dist-esm/src → dist/browser}/azureHSMResourceProvider.js +15 -18
  5. package/dist/browser/azureHSMResourceProvider.js.map +1 -0
  6. package/dist/browser/index.d.ts +5 -0
  7. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  8. package/{dist-esm/src → dist/browser}/index.js +4 -4
  9. package/dist/browser/index.js.map +1 -0
  10. package/dist/browser/lroImpl.js.map +1 -0
  11. package/dist/browser/models/index.js.map +1 -0
  12. package/dist/browser/models/mappers.js.map +1 -0
  13. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  14. package/dist/browser/models/parameters.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/operations/cloudHsmClusterBackupStatus.d.ts +3 -3
  16. package/dist/browser/operations/cloudHsmClusterBackupStatus.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/operations/cloudHsmClusterBackupStatus.js +2 -2
  18. package/dist/browser/operations/cloudHsmClusterBackupStatus.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/cloudHsmClusterPrivateEndpointConnections.d.ts +3 -3
  20. package/dist/browser/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/cloudHsmClusterPrivateEndpointConnections.js +44 -49
  22. package/dist/browser/operations/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/cloudHsmClusterPrivateLinkResources.d.ts +3 -3
  24. package/dist/browser/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operations/cloudHsmClusterPrivateLinkResources.js +3 -3
  26. package/dist/browser/operations/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/cloudHsmClusterRestoreStatus.d.ts +3 -3
  28. package/dist/browser/operations/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/cloudHsmClusterRestoreStatus.js +2 -2
  30. package/dist/browser/operations/cloudHsmClusterRestoreStatus.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/cloudHsmClusters.d.ts +3 -3
  32. package/dist/browser/operations/cloudHsmClusters.d.ts.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/cloudHsmClusters.js +268 -296
  34. package/dist/browser/operations/cloudHsmClusters.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/dedicatedHsmOperations.d.ts +3 -3
  36. package/dist/browser/operations/dedicatedHsmOperations.d.ts.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operations/dedicatedHsmOperations.js +113 -125
  38. package/dist/browser/operations/dedicatedHsmOperations.js.map +1 -0
  39. package/dist/browser/operations/index.d.ts +9 -0
  40. package/dist/browser/operations/index.d.ts.map +1 -0
  41. package/dist/browser/operations/index.js +16 -0
  42. package/dist/browser/operations/index.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  44. package/dist/browser/operations/operations.d.ts.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operations/operations.js +2 -2
  46. package/dist/browser/operations/operations.js.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
  48. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
  49. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +3 -3
  50. package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
  51. package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts +1 -1
  52. package/dist/browser/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts.map +1 -0
  53. package/dist/browser/operationsInterfaces/cloudHsmClusterBackupStatus.js.map +1 -0
  54. package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts +1 -1
  55. package/dist/browser/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  56. package/dist/browser/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  57. package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts +1 -1
  58. package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -1
  59. package/dist/browser/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  60. package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts +1 -1
  61. package/dist/browser/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
  62. package/dist/browser/operationsInterfaces/cloudHsmClusterRestoreStatus.js.map +1 -0
  63. package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusters.d.ts +1 -1
  64. package/dist/browser/operationsInterfaces/cloudHsmClusters.d.ts.map +1 -0
  65. package/dist/browser/operationsInterfaces/cloudHsmClusters.js.map +1 -0
  66. package/{dist-esm/src → dist/browser}/operationsInterfaces/dedicatedHsmOperations.d.ts +1 -1
  67. package/dist/browser/operationsInterfaces/dedicatedHsmOperations.d.ts.map +1 -0
  68. package/dist/browser/operationsInterfaces/dedicatedHsmOperations.js.map +1 -0
  69. package/dist/browser/operationsInterfaces/index.d.ts +9 -0
  70. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  71. package/dist/browser/operationsInterfaces/index.js +16 -0
  72. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  73. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  74. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  75. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  76. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
  77. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  78. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  79. package/dist/browser/package.json +3 -0
  80. package/dist/browser/pagingHelper.js.map +1 -0
  81. package/dist/commonjs/azureHSMResourceProvider.d.ts +27 -0
  82. package/dist/commonjs/azureHSMResourceProvider.d.ts.map +1 -0
  83. package/dist/commonjs/azureHSMResourceProvider.js +111 -0
  84. package/dist/commonjs/azureHSMResourceProvider.js.map +1 -0
  85. package/dist/commonjs/index.d.ts +5 -0
  86. package/dist/commonjs/index.d.ts.map +1 -0
  87. package/dist/commonjs/index.js +19 -0
  88. package/dist/commonjs/index.js.map +1 -0
  89. package/dist/commonjs/lroImpl.d.ts +11 -0
  90. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  91. package/dist/commonjs/lroImpl.js +17 -0
  92. package/dist/commonjs/lroImpl.js.map +1 -0
  93. package/{types/arm-hardwaresecuritymodules.d.ts → dist/commonjs/models/index.d.ts} +1182 -1694
  94. package/dist/commonjs/models/index.d.ts.map +1 -0
  95. package/dist/commonjs/models/index.js +191 -0
  96. package/dist/commonjs/models/index.js.map +1 -0
  97. package/dist/commonjs/models/mappers.d.ts +59 -0
  98. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  99. package/dist/commonjs/models/mappers.js +1418 -0
  100. package/dist/commonjs/models/mappers.js.map +1 -0
  101. package/dist/commonjs/models/parameters.d.ts +29 -0
  102. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  103. package/dist/commonjs/models/parameters.js +218 -0
  104. package/dist/commonjs/models/parameters.js.map +1 -0
  105. package/dist/commonjs/operations/cloudHsmClusterBackupStatus.d.ts +22 -0
  106. package/dist/commonjs/operations/cloudHsmClusterBackupStatus.d.ts.map +1 -0
  107. package/dist/commonjs/operations/cloudHsmClusterBackupStatus.js +66 -0
  108. package/dist/commonjs/operations/cloudHsmClusterBackupStatus.js.map +1 -0
  109. package/dist/commonjs/operations/cloudHsmClusterPrivateEndpointConnections.d.ts +55 -0
  110. package/dist/commonjs/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  111. package/dist/commonjs/operations/cloudHsmClusterPrivateEndpointConnections.js +201 -0
  112. package/dist/commonjs/operations/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  113. package/dist/commonjs/operations/cloudHsmClusterPrivateLinkResources.d.ts +41 -0
  114. package/dist/commonjs/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
  115. package/dist/commonjs/operations/cloudHsmClusterPrivateLinkResources.js +157 -0
  116. package/dist/commonjs/operations/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  117. package/dist/commonjs/operations/cloudHsmClusterRestoreStatus.d.ts +22 -0
  118. package/dist/commonjs/operations/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
  119. package/dist/commonjs/operations/cloudHsmClusterRestoreStatus.js +66 -0
  120. package/dist/commonjs/operations/cloudHsmClusterRestoreStatus.js.map +1 -0
  121. package/dist/commonjs/operations/cloudHsmClusters.d.ts +182 -0
  122. package/dist/commonjs/operations/cloudHsmClusters.d.ts.map +1 -0
  123. package/dist/commonjs/operations/cloudHsmClusters.js +941 -0
  124. package/dist/commonjs/operations/cloudHsmClusters.js.map +1 -0
  125. package/dist/commonjs/operations/dedicatedHsmOperations.d.ts +134 -0
  126. package/dist/commonjs/operations/dedicatedHsmOperations.d.ts.map +1 -0
  127. package/dist/commonjs/operations/dedicatedHsmOperations.js +673 -0
  128. package/dist/commonjs/operations/dedicatedHsmOperations.js.map +1 -0
  129. package/dist/commonjs/operations/index.d.ts +9 -0
  130. package/dist/commonjs/operations/index.d.ts.map +1 -0
  131. package/dist/commonjs/operations/index.js +19 -0
  132. package/dist/commonjs/operations/index.js.map +1 -0
  133. package/dist/commonjs/operations/operations.d.ts +26 -0
  134. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  135. package/dist/commonjs/operations/operations.js +100 -0
  136. package/dist/commonjs/operations/operations.js.map +1 -0
  137. package/dist/commonjs/operations/privateEndpointConnections.d.ts +43 -0
  138. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  139. package/dist/commonjs/operations/privateEndpointConnections.js +159 -0
  140. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  141. package/dist/commonjs/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts +14 -0
  142. package/dist/commonjs/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts.map +1 -0
  143. package/dist/commonjs/operationsInterfaces/cloudHsmClusterBackupStatus.js +10 -0
  144. package/dist/commonjs/operationsInterfaces/cloudHsmClusterBackupStatus.js.map +1 -0
  145. package/dist/commonjs/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts +47 -0
  146. package/dist/commonjs/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  147. package/dist/commonjs/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js +10 -0
  148. package/dist/commonjs/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  149. package/dist/commonjs/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts +14 -0
  150. package/dist/commonjs/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
  151. package/dist/commonjs/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js +10 -0
  152. package/dist/commonjs/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  153. package/dist/commonjs/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts +14 -0
  154. package/dist/commonjs/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
  155. package/dist/commonjs/operationsInterfaces/cloudHsmClusterRestoreStatus.js +10 -0
  156. package/dist/commonjs/operationsInterfaces/cloudHsmClusterRestoreStatus.js.map +1 -0
  157. package/dist/commonjs/operationsInterfaces/cloudHsmClusters.d.ts +145 -0
  158. package/dist/commonjs/operationsInterfaces/cloudHsmClusters.d.ts.map +1 -0
  159. package/dist/commonjs/operationsInterfaces/cloudHsmClusters.js +10 -0
  160. package/dist/commonjs/operationsInterfaces/cloudHsmClusters.js.map +1 -0
  161. package/dist/commonjs/operationsInterfaces/dedicatedHsmOperations.d.ts +78 -0
  162. package/dist/commonjs/operationsInterfaces/dedicatedHsmOperations.d.ts.map +1 -0
  163. package/dist/commonjs/operationsInterfaces/dedicatedHsmOperations.js +10 -0
  164. package/dist/commonjs/operationsInterfaces/dedicatedHsmOperations.js.map +1 -0
  165. package/dist/commonjs/operationsInterfaces/index.d.ts +9 -0
  166. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  167. package/dist/commonjs/operationsInterfaces/index.js +19 -0
  168. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  169. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  170. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  171. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  172. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  173. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +15 -0
  174. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  175. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  176. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  177. package/dist/commonjs/package.json +3 -0
  178. package/dist/commonjs/pagingHelper.d.ts +13 -0
  179. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  180. package/dist/commonjs/pagingHelper.js +36 -0
  181. package/dist/commonjs/pagingHelper.js.map +1 -0
  182. package/dist/esm/azureHSMResourceProvider.d.ts +27 -0
  183. package/dist/esm/azureHSMResourceProvider.d.ts.map +1 -0
  184. package/dist/esm/azureHSMResourceProvider.js +106 -0
  185. package/dist/esm/azureHSMResourceProvider.js.map +1 -0
  186. package/dist/esm/index.d.ts +5 -0
  187. package/dist/esm/index.d.ts.map +1 -0
  188. package/{src/index.ts → dist/esm/index.js} +5 -5
  189. package/dist/esm/index.js.map +1 -0
  190. package/dist/esm/lroImpl.d.ts +11 -0
  191. package/dist/esm/lroImpl.d.ts.map +1 -0
  192. package/dist/esm/lroImpl.js +14 -0
  193. package/dist/esm/lroImpl.js.map +1 -0
  194. package/dist/esm/models/index.d.ts +1182 -0
  195. package/dist/esm/models/index.d.ts.map +1 -0
  196. package/dist/esm/models/index.js +188 -0
  197. package/dist/esm/models/index.js.map +1 -0
  198. package/dist/esm/models/mappers.d.ts +59 -0
  199. package/dist/esm/models/mappers.d.ts.map +1 -0
  200. package/dist/esm/models/mappers.js +1414 -0
  201. package/dist/esm/models/mappers.js.map +1 -0
  202. package/dist/esm/models/parameters.d.ts +29 -0
  203. package/dist/esm/models/parameters.d.ts.map +1 -0
  204. package/dist/esm/models/parameters.js +215 -0
  205. package/dist/esm/models/parameters.js.map +1 -0
  206. package/dist/esm/operations/cloudHsmClusterBackupStatus.d.ts +22 -0
  207. package/dist/esm/operations/cloudHsmClusterBackupStatus.d.ts.map +1 -0
  208. package/dist/esm/operations/cloudHsmClusterBackupStatus.js +61 -0
  209. package/dist/esm/operations/cloudHsmClusterBackupStatus.js.map +1 -0
  210. package/dist/esm/operations/cloudHsmClusterPrivateEndpointConnections.d.ts +55 -0
  211. package/dist/esm/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  212. package/dist/esm/operations/cloudHsmClusterPrivateEndpointConnections.js +196 -0
  213. package/dist/esm/operations/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  214. package/dist/esm/operations/cloudHsmClusterPrivateLinkResources.d.ts +41 -0
  215. package/dist/esm/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
  216. package/dist/esm/operations/cloudHsmClusterPrivateLinkResources.js +153 -0
  217. package/dist/esm/operations/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  218. package/dist/esm/operations/cloudHsmClusterRestoreStatus.d.ts +22 -0
  219. package/dist/esm/operations/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
  220. package/dist/esm/operations/cloudHsmClusterRestoreStatus.js +61 -0
  221. package/dist/esm/operations/cloudHsmClusterRestoreStatus.js.map +1 -0
  222. package/dist/esm/operations/cloudHsmClusters.d.ts +182 -0
  223. package/dist/esm/operations/cloudHsmClusters.d.ts.map +1 -0
  224. package/dist/esm/operations/cloudHsmClusters.js +937 -0
  225. package/dist/esm/operations/cloudHsmClusters.js.map +1 -0
  226. package/dist/esm/operations/dedicatedHsmOperations.d.ts +134 -0
  227. package/dist/esm/operations/dedicatedHsmOperations.d.ts.map +1 -0
  228. package/dist/esm/operations/dedicatedHsmOperations.js +669 -0
  229. package/dist/esm/operations/dedicatedHsmOperations.js.map +1 -0
  230. package/dist/esm/operations/index.d.ts +9 -0
  231. package/dist/esm/operations/index.d.ts.map +1 -0
  232. package/dist/esm/operations/index.js +16 -0
  233. package/dist/esm/operations/index.js.map +1 -0
  234. package/dist/esm/operations/operations.d.ts +26 -0
  235. package/dist/esm/operations/operations.d.ts.map +1 -0
  236. package/dist/esm/operations/operations.js +96 -0
  237. package/dist/esm/operations/operations.js.map +1 -0
  238. package/dist/esm/operations/privateEndpointConnections.d.ts +43 -0
  239. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  240. package/dist/esm/operations/privateEndpointConnections.js +155 -0
  241. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  242. package/dist/esm/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts +14 -0
  243. package/dist/esm/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts.map +1 -0
  244. package/dist/esm/operationsInterfaces/cloudHsmClusterBackupStatus.js +9 -0
  245. package/dist/esm/operationsInterfaces/cloudHsmClusterBackupStatus.js.map +1 -0
  246. package/dist/esm/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts +47 -0
  247. package/dist/esm/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  248. package/dist/esm/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js +9 -0
  249. package/dist/esm/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  250. package/dist/esm/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts +14 -0
  251. package/dist/esm/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
  252. package/dist/esm/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js +9 -0
  253. package/dist/esm/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  254. package/dist/esm/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts +14 -0
  255. package/dist/esm/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
  256. package/dist/esm/operationsInterfaces/cloudHsmClusterRestoreStatus.js +9 -0
  257. package/dist/esm/operationsInterfaces/cloudHsmClusterRestoreStatus.js.map +1 -0
  258. package/dist/esm/operationsInterfaces/cloudHsmClusters.d.ts +145 -0
  259. package/dist/esm/operationsInterfaces/cloudHsmClusters.d.ts.map +1 -0
  260. package/dist/esm/operationsInterfaces/cloudHsmClusters.js +9 -0
  261. package/dist/esm/operationsInterfaces/cloudHsmClusters.js.map +1 -0
  262. package/dist/esm/operationsInterfaces/dedicatedHsmOperations.d.ts +78 -0
  263. package/dist/esm/operationsInterfaces/dedicatedHsmOperations.d.ts.map +1 -0
  264. package/dist/esm/operationsInterfaces/dedicatedHsmOperations.js +9 -0
  265. package/dist/esm/operationsInterfaces/dedicatedHsmOperations.js.map +1 -0
  266. package/dist/esm/operationsInterfaces/index.d.ts +9 -0
  267. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  268. package/dist/esm/operationsInterfaces/index.js +16 -0
  269. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  270. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  271. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  272. package/dist/esm/operationsInterfaces/operations.js +9 -0
  273. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  274. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +15 -0
  275. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  276. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  277. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  278. package/dist/esm/package.json +3 -0
  279. package/dist/esm/pagingHelper.d.ts +13 -0
  280. package/dist/esm/pagingHelper.d.ts.map +1 -0
  281. package/dist/esm/pagingHelper.js +32 -0
  282. package/dist/esm/pagingHelper.js.map +1 -0
  283. package/dist/react-native/azureHSMResourceProvider.d.ts +27 -0
  284. package/dist/react-native/azureHSMResourceProvider.d.ts.map +1 -0
  285. package/dist/react-native/azureHSMResourceProvider.js +106 -0
  286. package/dist/react-native/azureHSMResourceProvider.js.map +1 -0
  287. package/dist/react-native/index.d.ts +5 -0
  288. package/dist/react-native/index.d.ts.map +1 -0
  289. package/dist/react-native/index.js +13 -0
  290. package/dist/react-native/index.js.map +1 -0
  291. package/dist/react-native/lroImpl.d.ts +11 -0
  292. package/dist/react-native/lroImpl.d.ts.map +1 -0
  293. package/dist/react-native/lroImpl.js +14 -0
  294. package/dist/react-native/lroImpl.js.map +1 -0
  295. package/dist/react-native/models/index.d.ts +1182 -0
  296. package/dist/react-native/models/index.d.ts.map +1 -0
  297. package/dist/react-native/models/index.js +188 -0
  298. package/dist/react-native/models/index.js.map +1 -0
  299. package/dist/react-native/models/mappers.d.ts +59 -0
  300. package/dist/react-native/models/mappers.d.ts.map +1 -0
  301. package/dist/react-native/models/mappers.js +1414 -0
  302. package/dist/react-native/models/mappers.js.map +1 -0
  303. package/dist/react-native/models/parameters.d.ts +29 -0
  304. package/dist/react-native/models/parameters.d.ts.map +1 -0
  305. package/dist/react-native/models/parameters.js +215 -0
  306. package/dist/react-native/models/parameters.js.map +1 -0
  307. package/dist/react-native/operations/cloudHsmClusterBackupStatus.d.ts +22 -0
  308. package/dist/react-native/operations/cloudHsmClusterBackupStatus.d.ts.map +1 -0
  309. package/dist/react-native/operations/cloudHsmClusterBackupStatus.js +61 -0
  310. package/dist/react-native/operations/cloudHsmClusterBackupStatus.js.map +1 -0
  311. package/dist/react-native/operations/cloudHsmClusterPrivateEndpointConnections.d.ts +55 -0
  312. package/dist/react-native/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  313. package/dist/react-native/operations/cloudHsmClusterPrivateEndpointConnections.js +196 -0
  314. package/dist/react-native/operations/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  315. package/dist/react-native/operations/cloudHsmClusterPrivateLinkResources.d.ts +41 -0
  316. package/dist/react-native/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
  317. package/dist/react-native/operations/cloudHsmClusterPrivateLinkResources.js +153 -0
  318. package/dist/react-native/operations/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  319. package/dist/react-native/operations/cloudHsmClusterRestoreStatus.d.ts +22 -0
  320. package/dist/react-native/operations/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
  321. package/dist/react-native/operations/cloudHsmClusterRestoreStatus.js +61 -0
  322. package/dist/react-native/operations/cloudHsmClusterRestoreStatus.js.map +1 -0
  323. package/dist/react-native/operations/cloudHsmClusters.d.ts +182 -0
  324. package/dist/react-native/operations/cloudHsmClusters.d.ts.map +1 -0
  325. package/dist/react-native/operations/cloudHsmClusters.js +937 -0
  326. package/dist/react-native/operations/cloudHsmClusters.js.map +1 -0
  327. package/dist/react-native/operations/dedicatedHsmOperations.d.ts +134 -0
  328. package/dist/react-native/operations/dedicatedHsmOperations.d.ts.map +1 -0
  329. package/dist/react-native/operations/dedicatedHsmOperations.js +669 -0
  330. package/dist/react-native/operations/dedicatedHsmOperations.js.map +1 -0
  331. package/dist/react-native/operations/index.d.ts +9 -0
  332. package/dist/react-native/operations/index.d.ts.map +1 -0
  333. package/dist/react-native/operations/index.js +16 -0
  334. package/dist/react-native/operations/index.js.map +1 -0
  335. package/dist/react-native/operations/operations.d.ts +26 -0
  336. package/dist/react-native/operations/operations.d.ts.map +1 -0
  337. package/dist/react-native/operations/operations.js +96 -0
  338. package/dist/react-native/operations/operations.js.map +1 -0
  339. package/dist/react-native/operations/privateEndpointConnections.d.ts +43 -0
  340. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
  341. package/dist/react-native/operations/privateEndpointConnections.js +155 -0
  342. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
  343. package/dist/react-native/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts +14 -0
  344. package/dist/react-native/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts.map +1 -0
  345. package/dist/react-native/operationsInterfaces/cloudHsmClusterBackupStatus.js +9 -0
  346. package/dist/react-native/operationsInterfaces/cloudHsmClusterBackupStatus.js.map +1 -0
  347. package/dist/react-native/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts +47 -0
  348. package/dist/react-native/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  349. package/dist/react-native/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js +9 -0
  350. package/dist/react-native/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  351. package/dist/react-native/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts +14 -0
  352. package/dist/react-native/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
  353. package/dist/react-native/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js +9 -0
  354. package/dist/react-native/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  355. package/dist/react-native/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts +14 -0
  356. package/dist/react-native/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
  357. package/dist/react-native/operationsInterfaces/cloudHsmClusterRestoreStatus.js +9 -0
  358. package/dist/react-native/operationsInterfaces/cloudHsmClusterRestoreStatus.js.map +1 -0
  359. package/dist/react-native/operationsInterfaces/cloudHsmClusters.d.ts +145 -0
  360. package/dist/react-native/operationsInterfaces/cloudHsmClusters.d.ts.map +1 -0
  361. package/dist/react-native/operationsInterfaces/cloudHsmClusters.js +9 -0
  362. package/dist/react-native/operationsInterfaces/cloudHsmClusters.js.map +1 -0
  363. package/dist/react-native/operationsInterfaces/dedicatedHsmOperations.d.ts +78 -0
  364. package/dist/react-native/operationsInterfaces/dedicatedHsmOperations.d.ts.map +1 -0
  365. package/dist/react-native/operationsInterfaces/dedicatedHsmOperations.js +9 -0
  366. package/dist/react-native/operationsInterfaces/dedicatedHsmOperations.js.map +1 -0
  367. package/dist/react-native/operationsInterfaces/index.d.ts +9 -0
  368. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  369. package/dist/react-native/operationsInterfaces/index.js +16 -0
  370. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  371. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  372. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  373. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  374. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  375. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +15 -0
  376. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  377. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
  378. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  379. package/dist/react-native/package.json +3 -0
  380. package/dist/react-native/pagingHelper.d.ts +13 -0
  381. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  382. package/dist/react-native/pagingHelper.js +32 -0
  383. package/dist/react-native/pagingHelper.js.map +1 -0
  384. package/package.json +85 -57
  385. package/dist/index.js +0 -4356
  386. package/dist/index.js.map +0 -1
  387. package/dist/index.min.js +0 -1
  388. package/dist/index.min.js.map +0 -1
  389. package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.d.ts +0 -2
  390. package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.d.ts.map +0 -1
  391. package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.js +0 -38
  392. package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.js.map +0 -1
  393. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.d.ts +0 -2
  394. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.d.ts.map +0 -1
  395. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js +0 -37
  396. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js.map +0 -1
  397. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.d.ts +0 -2
  398. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  399. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js +0 -38
  400. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js.map +0 -1
  401. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.d.ts +0 -2
  402. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.d.ts.map +0 -1
  403. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js +0 -38
  404. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js.map +0 -1
  405. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.d.ts +0 -2
  406. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.d.ts.map +0 -1
  407. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js +0 -53
  408. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js.map +0 -1
  409. package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.d.ts +0 -2
  410. package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.d.ts.map +0 -1
  411. package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.js +0 -38
  412. package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.js.map +0 -1
  413. package/dist-esm/samples-dev/cloudHsmClustersBackupSample.d.ts +0 -2
  414. package/dist-esm/samples-dev/cloudHsmClustersBackupSample.d.ts.map +0 -1
  415. package/dist-esm/samples-dev/cloudHsmClustersBackupSample.js +0 -37
  416. package/dist-esm/samples-dev/cloudHsmClustersBackupSample.js.map +0 -1
  417. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.d.ts +0 -2
  418. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.d.ts.map +0 -1
  419. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js +0 -44
  420. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js.map +0 -1
  421. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.d.ts +0 -2
  422. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.d.ts.map +0 -1
  423. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js +0 -37
  424. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js.map +0 -1
  425. package/dist-esm/samples-dev/cloudHsmClustersGetSample.d.ts +0 -2
  426. package/dist-esm/samples-dev/cloudHsmClustersGetSample.d.ts.map +0 -1
  427. package/dist-esm/samples-dev/cloudHsmClustersGetSample.js +0 -37
  428. package/dist-esm/samples-dev/cloudHsmClustersGetSample.js.map +0 -1
  429. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.d.ts +0 -2
  430. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.d.ts.map +0 -1
  431. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js +0 -52
  432. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js.map +0 -1
  433. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.d.ts +0 -2
  434. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.d.ts.map +0 -1
  435. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js +0 -51
  436. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js.map +0 -1
  437. package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.d.ts +0 -2
  438. package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.d.ts.map +0 -1
  439. package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.js +0 -34
  440. package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.js.map +0 -1
  441. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.d.ts +0 -2
  442. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.d.ts.map +0 -1
  443. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js +0 -38
  444. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js.map +0 -1
  445. package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.d.ts +0 -2
  446. package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.d.ts.map +0 -1
  447. package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.js +0 -37
  448. package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.js.map +0 -1
  449. package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.d.ts +0 -2
  450. package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.d.ts.map +0 -1
  451. package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.js +0 -37
  452. package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.js.map +0 -1
  453. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.d.ts +0 -2
  454. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.d.ts.map +0 -1
  455. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js +0 -110
  456. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js.map +0 -1
  457. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.d.ts +0 -2
  458. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.d.ts.map +0 -1
  459. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js +0 -37
  460. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js.map +0 -1
  461. package/dist-esm/samples-dev/dedicatedHsmGetSample.d.ts +0 -2
  462. package/dist-esm/samples-dev/dedicatedHsmGetSample.d.ts.map +0 -1
  463. package/dist-esm/samples-dev/dedicatedHsmGetSample.js +0 -75
  464. package/dist-esm/samples-dev/dedicatedHsmGetSample.js.map +0 -1
  465. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.d.ts +0 -2
  466. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.d.ts.map +0 -1
  467. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js +0 -86
  468. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js.map +0 -1
  469. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.d.ts +0 -2
  470. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.d.ts.map +0 -1
  471. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js +0 -84
  472. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js.map +0 -1
  473. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.d.ts +0 -2
  474. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.d.ts.map +0 -1
  475. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js +0 -53
  476. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js.map +0 -1
  477. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.d.ts +0 -2
  478. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.d.ts.map +0 -1
  479. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js +0 -53
  480. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js.map +0 -1
  481. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  482. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  483. package/dist-esm/samples-dev/operationsListSample.js +0 -84
  484. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  485. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.d.ts +0 -2
  486. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.d.ts.map +0 -1
  487. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js +0 -53
  488. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js.map +0 -1
  489. package/dist-esm/src/azureHSMResourceProvider.d.ts.map +0 -1
  490. package/dist-esm/src/azureHSMResourceProvider.js.map +0 -1
  491. package/dist-esm/src/index.d.ts +0 -5
  492. package/dist-esm/src/index.js.map +0 -1
  493. package/dist-esm/src/lroImpl.js.map +0 -1
  494. package/dist-esm/src/models/index.js.map +0 -1
  495. package/dist-esm/src/models/mappers.js.map +0 -1
  496. package/dist-esm/src/models/parameters.js.map +0 -1
  497. package/dist-esm/src/operations/cloudHsmClusterBackupStatus.d.ts.map +0 -1
  498. package/dist-esm/src/operations/cloudHsmClusterBackupStatus.js.map +0 -1
  499. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +0 -1
  500. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js.map +0 -1
  501. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +0 -1
  502. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js.map +0 -1
  503. package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.d.ts.map +0 -1
  504. package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.js.map +0 -1
  505. package/dist-esm/src/operations/cloudHsmClusters.d.ts.map +0 -1
  506. package/dist-esm/src/operations/cloudHsmClusters.js.map +0 -1
  507. package/dist-esm/src/operations/dedicatedHsmOperations.d.ts.map +0 -1
  508. package/dist-esm/src/operations/dedicatedHsmOperations.js.map +0 -1
  509. package/dist-esm/src/operations/index.d.ts +0 -9
  510. package/dist-esm/src/operations/index.d.ts.map +0 -1
  511. package/dist-esm/src/operations/index.js +0 -16
  512. package/dist-esm/src/operations/index.js.map +0 -1
  513. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  514. package/dist-esm/src/operations/operations.js.map +0 -1
  515. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  516. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  517. package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts.map +0 -1
  518. package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.js.map +0 -1
  519. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +0 -1
  520. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js.map +0 -1
  521. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js.map +0 -1
  522. package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts.map +0 -1
  523. package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.js.map +0 -1
  524. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts.map +0 -1
  525. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.js.map +0 -1
  526. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts.map +0 -1
  527. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.js.map +0 -1
  528. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -9
  529. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  530. package/dist-esm/src/operationsInterfaces/index.js +0 -16
  531. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  532. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  533. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  534. package/dist-esm/src/pagingHelper.js.map +0 -1
  535. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts +0 -4
  536. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts.map +0 -1
  537. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js +0 -77
  538. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js.map +0 -1
  539. package/src/azureHSMResourceProvider.ts +0 -179
  540. package/src/lroImpl.ts +0 -38
  541. package/src/models/index.ts +0 -1366
  542. package/src/models/mappers.ts +0 -1529
  543. package/src/models/parameters.ts +0 -255
  544. package/src/operations/cloudHsmClusterBackupStatus.ts +0 -82
  545. package/src/operations/cloudHsmClusterPrivateEndpointConnections.ts +0 -281
  546. package/src/operations/cloudHsmClusterPrivateLinkResources.ts +0 -206
  547. package/src/operations/cloudHsmClusterRestoreStatus.ts +0 -82
  548. package/src/operations/cloudHsmClusters.ts +0 -1283
  549. package/src/operations/dedicatedHsmOperations.ts +0 -888
  550. package/src/operations/index.ts +0 -16
  551. package/src/operations/operations.ts +0 -103
  552. package/src/operations/privateEndpointConnections.ts +0 -208
  553. package/src/operationsInterfaces/cloudHsmClusterBackupStatus.ts +0 -30
  554. package/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.ts +0 -89
  555. package/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.ts +0 -30
  556. package/src/operationsInterfaces/cloudHsmClusterRestoreStatus.ts +0 -30
  557. package/src/operationsInterfaces/cloudHsmClusters.ts +0 -279
  558. package/src/operationsInterfaces/dedicatedHsmOperations.ts +0 -155
  559. package/src/operationsInterfaces/index.ts +0 -16
  560. package/src/operationsInterfaces/operations.ts +0 -22
  561. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -31
  562. package/src/pagingHelper.ts +0 -39
  563. package/tsconfig.json +0 -33
  564. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  565. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  566. /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
  567. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  568. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  569. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  570. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  571. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  572. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  573. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  574. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  575. /package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusterBackupStatus.js +0 -0
  576. /package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js +0 -0
  577. /package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js +0 -0
  578. /package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusterRestoreStatus.js +0 -0
  579. /package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudHsmClusters.js +0 -0
  580. /package/{dist-esm/src → dist/browser}/operationsInterfaces/dedicatedHsmOperations.js +0 -0
  581. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  582. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
  583. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  584. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  585. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  586. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureHSMResourceProvider.d.ts","sourceRoot":"","sources":["../../src/azureHSMResourceProvider.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAW7C,OAAO,EACL,gBAAgB,EAChB,mCAAmC,EACnC,yCAAyC,EACzC,0BAA0B,EAC1B,2BAA2B,EAC3B,4BAA4B,EAC5B,sBAAsB,EACtB,UAAU,EACX,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,sCAAsC,EAAE,MAAM,mBAAmB,CAAC;AAE3E,qBAAa,wBAAyB,SAAQ,UAAU,CAAC,aAAa;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,sCAAsC;IA0FlD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,mCAAmC,EAAE,mCAAmC,CAAC;IACzE,yCAAyC,EAAE,yCAAyC,CAAC;IACrF,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,2BAA2B,EAAE,2BAA2B,CAAC;IACzD,4BAA4B,EAAE,4BAA4B,CAAC;IAC3D,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,UAAU,EAAE,UAAU,CAAC;CACxB"}
@@ -0,0 +1,106 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
+ import { CloudHsmClustersImpl, CloudHsmClusterPrivateLinkResourcesImpl, CloudHsmClusterPrivateEndpointConnectionsImpl, PrivateEndpointConnectionsImpl, CloudHsmClusterBackupStatusImpl, CloudHsmClusterRestoreStatusImpl, DedicatedHsmOperationsImpl, OperationsImpl, } from "./operations/index.js";
11
+ export class AzureHSMResourceProvider extends coreClient.ServiceClient {
12
+ /**
13
+ * Initializes a new instance of the AzureHSMResourceProvider class.
14
+ * @param credentials Subscription credentials which uniquely identify client subscription.
15
+ * @param subscriptionId The ID of the target subscription. The value must be an UUID.
16
+ * @param options The parameter options
17
+ */
18
+ constructor(credentials, subscriptionId, options) {
19
+ var _a, _b, _c;
20
+ if (credentials === undefined) {
21
+ throw new Error("'credentials' cannot be null");
22
+ }
23
+ if (subscriptionId === undefined) {
24
+ throw new Error("'subscriptionId' cannot be null");
25
+ }
26
+ // Initializing default values for options
27
+ if (!options) {
28
+ options = {};
29
+ }
30
+ const defaults = {
31
+ requestContentType: "application/json; charset=utf-8",
32
+ credential: credentials,
33
+ };
34
+ const packageDetails = `azsdk-js-arm-hardwaresecuritymodules/2.0.0-beta.2`;
35
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
36
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
37
+ : `${packageDetails}`;
38
+ const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
39
+ userAgentPrefix,
40
+ }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
41
+ super(optionsWithDefaults);
42
+ let bearerTokenAuthenticationPolicyFound = false;
43
+ if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
44
+ const pipelinePolicies = options.pipeline.getOrderedPolicies();
45
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
46
+ coreRestPipeline.bearerTokenAuthenticationPolicyName);
47
+ }
48
+ if (!options ||
49
+ !options.pipeline ||
50
+ options.pipeline.getOrderedPolicies().length == 0 ||
51
+ !bearerTokenAuthenticationPolicyFound) {
52
+ this.pipeline.removePolicy({
53
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
54
+ });
55
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
56
+ credential: credentials,
57
+ scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
58
+ challengeCallbacks: {
59
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
60
+ },
61
+ }));
62
+ }
63
+ // Parameter assignments
64
+ this.subscriptionId = subscriptionId;
65
+ // Assigning values to Constant parameters
66
+ this.$host = options.$host || "https://management.azure.com";
67
+ this.apiVersion = options.apiVersion || "2024-06-30-preview";
68
+ this.cloudHsmClusters = new CloudHsmClustersImpl(this);
69
+ this.cloudHsmClusterPrivateLinkResources =
70
+ new CloudHsmClusterPrivateLinkResourcesImpl(this);
71
+ this.cloudHsmClusterPrivateEndpointConnections =
72
+ new CloudHsmClusterPrivateEndpointConnectionsImpl(this);
73
+ this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
74
+ this.cloudHsmClusterBackupStatus = new CloudHsmClusterBackupStatusImpl(this);
75
+ this.cloudHsmClusterRestoreStatus = new CloudHsmClusterRestoreStatusImpl(this);
76
+ this.dedicatedHsmOperations = new DedicatedHsmOperationsImpl(this);
77
+ this.operations = new OperationsImpl(this);
78
+ this.addCustomApiVersionPolicy(options.apiVersion);
79
+ }
80
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
81
+ addCustomApiVersionPolicy(apiVersion) {
82
+ if (!apiVersion) {
83
+ return;
84
+ }
85
+ const apiVersionPolicy = {
86
+ name: "CustomApiVersionPolicy",
87
+ async sendRequest(request, next) {
88
+ const param = request.url.split("?");
89
+ if (param.length > 1) {
90
+ const newParams = param[1].split("&").map((item) => {
91
+ if (item.indexOf("api-version") > -1) {
92
+ return "api-version=" + apiVersion;
93
+ }
94
+ else {
95
+ return item;
96
+ }
97
+ });
98
+ request.url = param[0] + "?" + newParams.join("&");
99
+ }
100
+ return next(request);
101
+ },
102
+ };
103
+ this.pipeline.addPolicy(apiVersionPolicy);
104
+ }
105
+ }
106
+ //# sourceMappingURL=azureHSMResourceProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureHSMResourceProvider.js","sourceRoot":"","sources":["../../src/azureHSMResourceProvider.ts"],"names":[],"mappings":"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","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n CloudHsmClustersImpl,\n CloudHsmClusterPrivateLinkResourcesImpl,\n CloudHsmClusterPrivateEndpointConnectionsImpl,\n PrivateEndpointConnectionsImpl,\n CloudHsmClusterBackupStatusImpl,\n CloudHsmClusterRestoreStatusImpl,\n DedicatedHsmOperationsImpl,\n OperationsImpl,\n} from \"./operations/index.js\";\nimport {\n CloudHsmClusters,\n CloudHsmClusterPrivateLinkResources,\n CloudHsmClusterPrivateEndpointConnections,\n PrivateEndpointConnections,\n CloudHsmClusterBackupStatus,\n CloudHsmClusterRestoreStatus,\n DedicatedHsmOperations,\n Operations,\n} from \"./operationsInterfaces/index.js\";\nimport { AzureHSMResourceProviderOptionalParams } from \"./models/index.js\";\n\nexport class AzureHSMResourceProvider extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the AzureHSMResourceProvider class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: AzureHSMResourceProviderOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: AzureHSMResourceProviderOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-hardwaresecuritymodules/2.0.0-beta.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2024-06-30-preview\";\n this.cloudHsmClusters = new CloudHsmClustersImpl(this);\n this.cloudHsmClusterPrivateLinkResources =\n new CloudHsmClusterPrivateLinkResourcesImpl(this);\n this.cloudHsmClusterPrivateEndpointConnections =\n new CloudHsmClusterPrivateEndpointConnectionsImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.cloudHsmClusterBackupStatus = new CloudHsmClusterBackupStatusImpl(\n this,\n );\n this.cloudHsmClusterRestoreStatus = new CloudHsmClusterRestoreStatusImpl(\n this,\n );\n this.dedicatedHsmOperations = new DedicatedHsmOperationsImpl(this);\n this.operations = new OperationsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n cloudHsmClusters: CloudHsmClusters;\n cloudHsmClusterPrivateLinkResources: CloudHsmClusterPrivateLinkResources;\n cloudHsmClusterPrivateEndpointConnections: CloudHsmClusterPrivateEndpointConnections;\n privateEndpointConnections: PrivateEndpointConnections;\n cloudHsmClusterBackupStatus: CloudHsmClusterBackupStatus;\n cloudHsmClusterRestoreStatus: CloudHsmClusterRestoreStatus;\n dedicatedHsmOperations: DedicatedHsmOperations;\n operations: Operations;\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { AzureHSMResourceProvider } from "./azureHSMResourceProvider.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,cAAc,iCAAiC,CAAC"}
@@ -0,0 +1,13 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ /// <reference lib="esnext.asynciterable" />
9
+ export { getContinuationToken } from "./pagingHelper.js";
10
+ export * from "./models/index.js";
11
+ export { AzureHSMResourceProvider } from "./azureHSMResourceProvider.js";
12
+ export * from "./operationsInterfaces/index.js";
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { AzureHSMResourceProvider } from \"./azureHSMResourceProvider.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -0,0 +1,11 @@
1
+ import { LongRunningOperation, LroResponse } from "@azure/core-lro";
2
+ export declare function createLroSpec<T>(inputs: {
3
+ sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
4
+ args: Record<string, unknown>;
5
+ spec: {
6
+ readonly requestBody?: unknown;
7
+ readonly path?: string;
8
+ readonly httpMethod: string;
9
+ } & Record<string, any>;
10
+ }): LongRunningOperation<T>;
11
+ //# sourceMappingURL=lroImpl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
@@ -0,0 +1,14 @@
1
+ import { __rest } from "tslib";
2
+ export function createLroSpec(inputs) {
3
+ const { args, spec, sendOperationFn } = inputs;
4
+ return {
5
+ requestMethod: spec.httpMethod,
6
+ requestPath: spec.path,
7
+ sendInitialRequest: () => sendOperationFn(args, spec),
8
+ sendPollRequest: (path, options) => {
9
+ const { requestBody } = spec, restSpec = __rest(spec, ["requestBody"]);
10
+ return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
11
+ },
12
+ };
13
+ }
14
+ //# sourceMappingURL=lroImpl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";AAUA,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,UAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}