@azure/arm-keyvault 3.2.0 → 4.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 (493) hide show
  1. package/README.md +4 -2
  2. package/dist/browser/index.d.ts.map +1 -1
  3. package/dist/browser/index.js +4 -7
  4. package/dist/browser/index.js.map +1 -1
  5. package/dist/browser/keyVaultManagementClient.d.ts +11 -12
  6. package/dist/browser/keyVaultManagementClient.d.ts.map +1 -1
  7. package/dist/browser/keyVaultManagementClient.js +39 -27
  8. package/dist/browser/keyVaultManagementClient.js.map +1 -1
  9. package/dist/browser/lroImpl.d.ts +1 -1
  10. package/dist/browser/lroImpl.d.ts.map +1 -1
  11. package/dist/browser/lroImpl.js +9 -10
  12. package/dist/browser/lroImpl.js.map +1 -1
  13. package/dist/browser/models/index.d.ts +1514 -1451
  14. package/dist/browser/models/index.d.ts.map +1 -1
  15. package/dist/browser/models/index.js +204 -201
  16. package/dist/browser/models/index.js.map +1 -1
  17. package/dist/browser/models/mappers.d.ts +76 -72
  18. package/dist/browser/models/mappers.d.ts.map +1 -1
  19. package/dist/browser/models/mappers.js +1681 -1487
  20. package/dist/browser/models/mappers.js.map +1 -1
  21. package/dist/browser/models/parameters.d.ts +17 -19
  22. package/dist/browser/models/parameters.d.ts.map +1 -1
  23. package/dist/browser/models/parameters.js +107 -132
  24. package/dist/browser/models/parameters.js.map +1 -1
  25. package/dist/browser/operations/index.d.ts +6 -6
  26. package/dist/browser/operations/index.d.ts.map +1 -1
  27. package/dist/browser/operations/index.js +10 -13
  28. package/dist/browser/operations/index.js.map +1 -1
  29. package/dist/browser/operations/keys.d.ts +36 -38
  30. package/dist/browser/operations/keys.d.ts.map +1 -1
  31. package/dist/browser/operations/keys.js +112 -153
  32. package/dist/browser/operations/keys.js.map +1 -1
  33. package/dist/browser/operations/managedHsmKeys.d.ts +20 -20
  34. package/dist/browser/operations/managedHsmKeys.d.ts.map +1 -1
  35. package/dist/browser/operations/managedHsmKeys.js +103 -142
  36. package/dist/browser/operations/managedHsmKeys.js.map +1 -1
  37. package/dist/browser/operations/managedHsms.d.ts +77 -77
  38. package/dist/browser/operations/managedHsms.d.ts.map +1 -1
  39. package/dist/browser/operations/managedHsms.js +338 -382
  40. package/dist/browser/operations/managedHsms.js.map +1 -1
  41. package/dist/browser/operations/mhsmPrivateEndpointConnections.d.ts +19 -19
  42. package/dist/browser/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  43. package/dist/browser/operations/mhsmPrivateEndpointConnections.js +60 -76
  44. package/dist/browser/operations/mhsmPrivateEndpointConnections.js.map +1 -1
  45. package/dist/browser/operations/mhsmPrivateLinkResources.d.ts +5 -5
  46. package/dist/browser/operations/mhsmPrivateLinkResources.d.ts.map +1 -1
  47. package/dist/browser/operations/mhsmPrivateLinkResources.js +6 -10
  48. package/dist/browser/operations/mhsmPrivateLinkResources.js.map +1 -1
  49. package/dist/browser/operations/mhsmRegions.d.ts +10 -10
  50. package/dist/browser/operations/mhsmRegions.d.ts.map +1 -1
  51. package/dist/browser/operations/mhsmRegions.js +34 -56
  52. package/dist/browser/operations/mhsmRegions.js.map +1 -1
  53. package/dist/browser/operations/operations.d.ts +6 -6
  54. package/dist/browser/operations/operations.d.ts.map +1 -1
  55. package/dist/browser/operations/operations.js +27 -49
  56. package/dist/browser/operations/operations.js.map +1 -1
  57. package/dist/browser/operations/privateEndpointConnections.d.ts +25 -25
  58. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
  59. package/dist/browser/operations/privateEndpointConnections.js +88 -104
  60. package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
  61. package/dist/browser/operations/privateLinkResources.d.ts +5 -5
  62. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -1
  63. package/dist/browser/operations/privateLinkResources.js +6 -10
  64. package/dist/browser/operations/privateLinkResources.js.map +1 -1
  65. package/dist/browser/operations/secrets.d.ts +30 -32
  66. package/dist/browser/operations/secrets.d.ts.map +1 -1
  67. package/dist/browser/operations/secrets.js +88 -112
  68. package/dist/browser/operations/secrets.js.map +1 -1
  69. package/dist/browser/operations/vaults.d.ts +72 -72
  70. package/dist/browser/operations/vaults.d.ts.map +1 -1
  71. package/dist/browser/operations/vaults.js +335 -412
  72. package/dist/browser/operations/vaults.js.map +1 -1
  73. package/dist/browser/operationsInterfaces/index.d.ts +6 -6
  74. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  75. package/dist/browser/operationsInterfaces/index.js +10 -13
  76. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  77. package/dist/browser/operationsInterfaces/keys.d.ts +20 -22
  78. package/dist/browser/operationsInterfaces/keys.d.ts.map +1 -1
  79. package/dist/browser/operationsInterfaces/keys.js +2 -7
  80. package/dist/browser/operationsInterfaces/keys.js.map +1 -1
  81. package/dist/browser/operationsInterfaces/managedHsmKeys.d.ts +10 -10
  82. package/dist/browser/operationsInterfaces/managedHsmKeys.d.ts.map +1 -1
  83. package/dist/browser/operationsInterfaces/managedHsmKeys.js +2 -7
  84. package/dist/browser/operationsInterfaces/managedHsmKeys.js.map +1 -1
  85. package/dist/browser/operationsInterfaces/managedHsms.d.ts +54 -54
  86. package/dist/browser/operationsInterfaces/managedHsms.d.ts.map +1 -1
  87. package/dist/browser/operationsInterfaces/managedHsms.js +2 -7
  88. package/dist/browser/operationsInterfaces/managedHsms.js.map +1 -1
  89. package/dist/browser/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts +13 -13
  90. package/dist/browser/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  91. package/dist/browser/operationsInterfaces/mhsmPrivateEndpointConnections.js +2 -7
  92. package/dist/browser/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
  93. package/dist/browser/operationsInterfaces/mhsmPrivateLinkResources.d.ts +3 -3
  94. package/dist/browser/operationsInterfaces/mhsmPrivateLinkResources.d.ts.map +1 -1
  95. package/dist/browser/operationsInterfaces/mhsmPrivateLinkResources.js +2 -7
  96. package/dist/browser/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
  97. package/dist/browser/operationsInterfaces/mhsmRegions.d.ts +4 -4
  98. package/dist/browser/operationsInterfaces/mhsmRegions.d.ts.map +1 -1
  99. package/dist/browser/operationsInterfaces/mhsmRegions.js +2 -7
  100. package/dist/browser/operationsInterfaces/mhsmRegions.js.map +1 -1
  101. package/dist/browser/operationsInterfaces/operations.d.ts +3 -3
  102. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  103. package/dist/browser/operationsInterfaces/operations.js +2 -7
  104. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  105. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +13 -13
  106. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  107. package/dist/browser/operationsInterfaces/privateEndpointConnections.js +2 -7
  108. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  109. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts +3 -3
  110. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  111. package/dist/browser/operationsInterfaces/privateLinkResources.js +2 -7
  112. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -1
  113. package/dist/browser/operationsInterfaces/secrets.d.ts +18 -20
  114. package/dist/browser/operationsInterfaces/secrets.d.ts.map +1 -1
  115. package/dist/browser/operationsInterfaces/secrets.js +2 -7
  116. package/dist/browser/operationsInterfaces/secrets.js.map +1 -1
  117. package/dist/browser/operationsInterfaces/vaults.d.ts +50 -50
  118. package/dist/browser/operationsInterfaces/vaults.d.ts.map +1 -1
  119. package/dist/browser/operationsInterfaces/vaults.js +2 -7
  120. package/dist/browser/operationsInterfaces/vaults.js.map +1 -1
  121. package/dist/browser/pagingHelper.d.ts.map +1 -1
  122. package/dist/browser/pagingHelper.js +4 -11
  123. package/dist/browser/pagingHelper.js.map +1 -1
  124. package/dist/commonjs/index.d.ts.map +1 -1
  125. package/dist/commonjs/index.js +4 -7
  126. package/dist/commonjs/index.js.map +1 -1
  127. package/dist/commonjs/keyVaultManagementClient.d.ts +11 -12
  128. package/dist/commonjs/keyVaultManagementClient.d.ts.map +1 -1
  129. package/dist/commonjs/keyVaultManagementClient.js +38 -26
  130. package/dist/commonjs/keyVaultManagementClient.js.map +1 -1
  131. package/dist/commonjs/lroImpl.d.ts +1 -1
  132. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  133. package/dist/commonjs/lroImpl.js +9 -10
  134. package/dist/commonjs/lroImpl.js.map +1 -1
  135. package/dist/commonjs/models/index.d.ts +1514 -1451
  136. package/dist/commonjs/models/index.d.ts.map +1 -1
  137. package/dist/commonjs/models/index.js +205 -202
  138. package/dist/commonjs/models/index.js.map +1 -1
  139. package/dist/commonjs/models/mappers.d.ts +76 -72
  140. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  141. package/dist/commonjs/models/mappers.js +1684 -1490
  142. package/dist/commonjs/models/mappers.js.map +1 -1
  143. package/dist/commonjs/models/parameters.d.ts +17 -19
  144. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  145. package/dist/commonjs/models/parameters.js +107 -132
  146. package/dist/commonjs/models/parameters.js.map +1 -1
  147. package/dist/commonjs/operations/index.d.ts +6 -6
  148. package/dist/commonjs/operations/index.d.ts.map +1 -1
  149. package/dist/commonjs/operations/index.js +10 -13
  150. package/dist/commonjs/operations/index.js.map +1 -1
  151. package/dist/commonjs/operations/keys.d.ts +36 -38
  152. package/dist/commonjs/operations/keys.d.ts.map +1 -1
  153. package/dist/commonjs/operations/keys.js +112 -152
  154. package/dist/commonjs/operations/keys.js.map +1 -1
  155. package/dist/commonjs/operations/managedHsmKeys.d.ts +20 -20
  156. package/dist/commonjs/operations/managedHsmKeys.d.ts.map +1 -1
  157. package/dist/commonjs/operations/managedHsmKeys.js +103 -141
  158. package/dist/commonjs/operations/managedHsmKeys.js.map +1 -1
  159. package/dist/commonjs/operations/managedHsms.d.ts +77 -77
  160. package/dist/commonjs/operations/managedHsms.d.ts.map +1 -1
  161. package/dist/commonjs/operations/managedHsms.js +337 -380
  162. package/dist/commonjs/operations/managedHsms.js.map +1 -1
  163. package/dist/commonjs/operations/mhsmPrivateEndpointConnections.d.ts +19 -19
  164. package/dist/commonjs/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  165. package/dist/commonjs/operations/mhsmPrivateEndpointConnections.js +59 -74
  166. package/dist/commonjs/operations/mhsmPrivateEndpointConnections.js.map +1 -1
  167. package/dist/commonjs/operations/mhsmPrivateLinkResources.d.ts +5 -5
  168. package/dist/commonjs/operations/mhsmPrivateLinkResources.d.ts.map +1 -1
  169. package/dist/commonjs/operations/mhsmPrivateLinkResources.js +6 -10
  170. package/dist/commonjs/operations/mhsmPrivateLinkResources.js.map +1 -1
  171. package/dist/commonjs/operations/mhsmRegions.d.ts +10 -10
  172. package/dist/commonjs/operations/mhsmRegions.d.ts.map +1 -1
  173. package/dist/commonjs/operations/mhsmRegions.js +34 -55
  174. package/dist/commonjs/operations/mhsmRegions.js.map +1 -1
  175. package/dist/commonjs/operations/operations.d.ts +6 -6
  176. package/dist/commonjs/operations/operations.d.ts.map +1 -1
  177. package/dist/commonjs/operations/operations.js +27 -48
  178. package/dist/commonjs/operations/operations.js.map +1 -1
  179. package/dist/commonjs/operations/privateEndpointConnections.d.ts +25 -25
  180. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
  181. package/dist/commonjs/operations/privateEndpointConnections.js +87 -102
  182. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
  183. package/dist/commonjs/operations/privateLinkResources.d.ts +5 -5
  184. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -1
  185. package/dist/commonjs/operations/privateLinkResources.js +6 -10
  186. package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
  187. package/dist/commonjs/operations/secrets.d.ts +30 -32
  188. package/dist/commonjs/operations/secrets.d.ts.map +1 -1
  189. package/dist/commonjs/operations/secrets.js +88 -111
  190. package/dist/commonjs/operations/secrets.js.map +1 -1
  191. package/dist/commonjs/operations/vaults.d.ts +72 -72
  192. package/dist/commonjs/operations/vaults.d.ts.map +1 -1
  193. package/dist/commonjs/operations/vaults.js +334 -410
  194. package/dist/commonjs/operations/vaults.js.map +1 -1
  195. package/dist/commonjs/operationsInterfaces/index.d.ts +6 -6
  196. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  197. package/dist/commonjs/operationsInterfaces/index.js +10 -13
  198. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  199. package/dist/commonjs/operationsInterfaces/keys.d.ts +20 -22
  200. package/dist/commonjs/operationsInterfaces/keys.d.ts.map +1 -1
  201. package/dist/commonjs/operationsInterfaces/keys.js +2 -7
  202. package/dist/commonjs/operationsInterfaces/keys.js.map +1 -1
  203. package/dist/commonjs/operationsInterfaces/managedHsmKeys.d.ts +10 -10
  204. package/dist/commonjs/operationsInterfaces/managedHsmKeys.d.ts.map +1 -1
  205. package/dist/commonjs/operationsInterfaces/managedHsmKeys.js +2 -7
  206. package/dist/commonjs/operationsInterfaces/managedHsmKeys.js.map +1 -1
  207. package/dist/commonjs/operationsInterfaces/managedHsms.d.ts +54 -54
  208. package/dist/commonjs/operationsInterfaces/managedHsms.d.ts.map +1 -1
  209. package/dist/commonjs/operationsInterfaces/managedHsms.js +2 -7
  210. package/dist/commonjs/operationsInterfaces/managedHsms.js.map +1 -1
  211. package/dist/commonjs/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts +13 -13
  212. package/dist/commonjs/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  213. package/dist/commonjs/operationsInterfaces/mhsmPrivateEndpointConnections.js +2 -7
  214. package/dist/commonjs/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
  215. package/dist/commonjs/operationsInterfaces/mhsmPrivateLinkResources.d.ts +3 -3
  216. package/dist/commonjs/operationsInterfaces/mhsmPrivateLinkResources.d.ts.map +1 -1
  217. package/dist/commonjs/operationsInterfaces/mhsmPrivateLinkResources.js +2 -7
  218. package/dist/commonjs/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
  219. package/dist/commonjs/operationsInterfaces/mhsmRegions.d.ts +4 -4
  220. package/dist/commonjs/operationsInterfaces/mhsmRegions.d.ts.map +1 -1
  221. package/dist/commonjs/operationsInterfaces/mhsmRegions.js +2 -7
  222. package/dist/commonjs/operationsInterfaces/mhsmRegions.js.map +1 -1
  223. package/dist/commonjs/operationsInterfaces/operations.d.ts +3 -3
  224. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  225. package/dist/commonjs/operationsInterfaces/operations.js +2 -7
  226. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  227. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +13 -13
  228. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  229. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +2 -7
  230. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  231. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +3 -3
  232. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  233. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +2 -7
  234. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -1
  235. package/dist/commonjs/operationsInterfaces/secrets.d.ts +18 -20
  236. package/dist/commonjs/operationsInterfaces/secrets.d.ts.map +1 -1
  237. package/dist/commonjs/operationsInterfaces/secrets.js +2 -7
  238. package/dist/commonjs/operationsInterfaces/secrets.js.map +1 -1
  239. package/dist/commonjs/operationsInterfaces/vaults.d.ts +50 -50
  240. package/dist/commonjs/operationsInterfaces/vaults.d.ts.map +1 -1
  241. package/dist/commonjs/operationsInterfaces/vaults.js +2 -7
  242. package/dist/commonjs/operationsInterfaces/vaults.js.map +1 -1
  243. package/dist/commonjs/pagingHelper.d.ts.map +1 -1
  244. package/dist/commonjs/pagingHelper.js +4 -11
  245. package/dist/commonjs/pagingHelper.js.map +1 -1
  246. package/dist/commonjs/tsdoc-metadata.json +11 -11
  247. package/dist/esm/index.d.ts.map +1 -1
  248. package/dist/esm/index.js +4 -7
  249. package/dist/esm/index.js.map +1 -1
  250. package/dist/esm/keyVaultManagementClient.d.ts +11 -12
  251. package/dist/esm/keyVaultManagementClient.d.ts.map +1 -1
  252. package/dist/esm/keyVaultManagementClient.js +39 -27
  253. package/dist/esm/keyVaultManagementClient.js.map +1 -1
  254. package/dist/esm/lroImpl.d.ts +1 -1
  255. package/dist/esm/lroImpl.d.ts.map +1 -1
  256. package/dist/esm/lroImpl.js +9 -10
  257. package/dist/esm/lroImpl.js.map +1 -1
  258. package/dist/esm/models/index.d.ts +1514 -1451
  259. package/dist/esm/models/index.d.ts.map +1 -1
  260. package/dist/esm/models/index.js +204 -201
  261. package/dist/esm/models/index.js.map +1 -1
  262. package/dist/esm/models/mappers.d.ts +76 -72
  263. package/dist/esm/models/mappers.d.ts.map +1 -1
  264. package/dist/esm/models/mappers.js +1681 -1487
  265. package/dist/esm/models/mappers.js.map +1 -1
  266. package/dist/esm/models/parameters.d.ts +17 -19
  267. package/dist/esm/models/parameters.d.ts.map +1 -1
  268. package/dist/esm/models/parameters.js +107 -132
  269. package/dist/esm/models/parameters.js.map +1 -1
  270. package/dist/esm/operations/index.d.ts +6 -6
  271. package/dist/esm/operations/index.d.ts.map +1 -1
  272. package/dist/esm/operations/index.js +10 -13
  273. package/dist/esm/operations/index.js.map +1 -1
  274. package/dist/esm/operations/keys.d.ts +36 -38
  275. package/dist/esm/operations/keys.d.ts.map +1 -1
  276. package/dist/esm/operations/keys.js +112 -153
  277. package/dist/esm/operations/keys.js.map +1 -1
  278. package/dist/esm/operations/managedHsmKeys.d.ts +20 -20
  279. package/dist/esm/operations/managedHsmKeys.d.ts.map +1 -1
  280. package/dist/esm/operations/managedHsmKeys.js +103 -142
  281. package/dist/esm/operations/managedHsmKeys.js.map +1 -1
  282. package/dist/esm/operations/managedHsms.d.ts +77 -77
  283. package/dist/esm/operations/managedHsms.d.ts.map +1 -1
  284. package/dist/esm/operations/managedHsms.js +338 -382
  285. package/dist/esm/operations/managedHsms.js.map +1 -1
  286. package/dist/esm/operations/mhsmPrivateEndpointConnections.d.ts +19 -19
  287. package/dist/esm/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  288. package/dist/esm/operations/mhsmPrivateEndpointConnections.js +60 -76
  289. package/dist/esm/operations/mhsmPrivateEndpointConnections.js.map +1 -1
  290. package/dist/esm/operations/mhsmPrivateLinkResources.d.ts +5 -5
  291. package/dist/esm/operations/mhsmPrivateLinkResources.d.ts.map +1 -1
  292. package/dist/esm/operations/mhsmPrivateLinkResources.js +6 -10
  293. package/dist/esm/operations/mhsmPrivateLinkResources.js.map +1 -1
  294. package/dist/esm/operations/mhsmRegions.d.ts +10 -10
  295. package/dist/esm/operations/mhsmRegions.d.ts.map +1 -1
  296. package/dist/esm/operations/mhsmRegions.js +34 -56
  297. package/dist/esm/operations/mhsmRegions.js.map +1 -1
  298. package/dist/esm/operations/operations.d.ts +6 -6
  299. package/dist/esm/operations/operations.d.ts.map +1 -1
  300. package/dist/esm/operations/operations.js +27 -49
  301. package/dist/esm/operations/operations.js.map +1 -1
  302. package/dist/esm/operations/privateEndpointConnections.d.ts +25 -25
  303. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
  304. package/dist/esm/operations/privateEndpointConnections.js +88 -104
  305. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  306. package/dist/esm/operations/privateLinkResources.d.ts +5 -5
  307. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -1
  308. package/dist/esm/operations/privateLinkResources.js +6 -10
  309. package/dist/esm/operations/privateLinkResources.js.map +1 -1
  310. package/dist/esm/operations/secrets.d.ts +30 -32
  311. package/dist/esm/operations/secrets.d.ts.map +1 -1
  312. package/dist/esm/operations/secrets.js +88 -112
  313. package/dist/esm/operations/secrets.js.map +1 -1
  314. package/dist/esm/operations/vaults.d.ts +72 -72
  315. package/dist/esm/operations/vaults.d.ts.map +1 -1
  316. package/dist/esm/operations/vaults.js +335 -412
  317. package/dist/esm/operations/vaults.js.map +1 -1
  318. package/dist/esm/operationsInterfaces/index.d.ts +6 -6
  319. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  320. package/dist/esm/operationsInterfaces/index.js +10 -13
  321. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  322. package/dist/esm/operationsInterfaces/keys.d.ts +20 -22
  323. package/dist/esm/operationsInterfaces/keys.d.ts.map +1 -1
  324. package/dist/esm/operationsInterfaces/keys.js +2 -7
  325. package/dist/esm/operationsInterfaces/keys.js.map +1 -1
  326. package/dist/esm/operationsInterfaces/managedHsmKeys.d.ts +10 -10
  327. package/dist/esm/operationsInterfaces/managedHsmKeys.d.ts.map +1 -1
  328. package/dist/esm/operationsInterfaces/managedHsmKeys.js +2 -7
  329. package/dist/esm/operationsInterfaces/managedHsmKeys.js.map +1 -1
  330. package/dist/esm/operationsInterfaces/managedHsms.d.ts +54 -54
  331. package/dist/esm/operationsInterfaces/managedHsms.d.ts.map +1 -1
  332. package/dist/esm/operationsInterfaces/managedHsms.js +2 -7
  333. package/dist/esm/operationsInterfaces/managedHsms.js.map +1 -1
  334. package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts +13 -13
  335. package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  336. package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.js +2 -7
  337. package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
  338. package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.d.ts +3 -3
  339. package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.d.ts.map +1 -1
  340. package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.js +2 -7
  341. package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
  342. package/dist/esm/operationsInterfaces/mhsmRegions.d.ts +4 -4
  343. package/dist/esm/operationsInterfaces/mhsmRegions.d.ts.map +1 -1
  344. package/dist/esm/operationsInterfaces/mhsmRegions.js +2 -7
  345. package/dist/esm/operationsInterfaces/mhsmRegions.js.map +1 -1
  346. package/dist/esm/operationsInterfaces/operations.d.ts +3 -3
  347. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  348. package/dist/esm/operationsInterfaces/operations.js +2 -7
  349. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  350. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +13 -13
  351. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  352. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +2 -7
  353. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  354. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +3 -3
  355. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  356. package/dist/esm/operationsInterfaces/privateLinkResources.js +2 -7
  357. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -1
  358. package/dist/esm/operationsInterfaces/secrets.d.ts +18 -20
  359. package/dist/esm/operationsInterfaces/secrets.d.ts.map +1 -1
  360. package/dist/esm/operationsInterfaces/secrets.js +2 -7
  361. package/dist/esm/operationsInterfaces/secrets.js.map +1 -1
  362. package/dist/esm/operationsInterfaces/vaults.d.ts +50 -50
  363. package/dist/esm/operationsInterfaces/vaults.d.ts.map +1 -1
  364. package/dist/esm/operationsInterfaces/vaults.js +2 -7
  365. package/dist/esm/operationsInterfaces/vaults.js.map +1 -1
  366. package/dist/esm/pagingHelper.d.ts.map +1 -1
  367. package/dist/esm/pagingHelper.js +4 -11
  368. package/dist/esm/pagingHelper.js.map +1 -1
  369. package/dist/react-native/index.d.ts.map +1 -1
  370. package/dist/react-native/index.js +4 -7
  371. package/dist/react-native/index.js.map +1 -1
  372. package/dist/react-native/keyVaultManagementClient.d.ts +11 -12
  373. package/dist/react-native/keyVaultManagementClient.d.ts.map +1 -1
  374. package/dist/react-native/keyVaultManagementClient.js +39 -27
  375. package/dist/react-native/keyVaultManagementClient.js.map +1 -1
  376. package/dist/react-native/lroImpl.d.ts +1 -1
  377. package/dist/react-native/lroImpl.d.ts.map +1 -1
  378. package/dist/react-native/lroImpl.js +9 -10
  379. package/dist/react-native/lroImpl.js.map +1 -1
  380. package/dist/react-native/models/index.d.ts +1514 -1451
  381. package/dist/react-native/models/index.d.ts.map +1 -1
  382. package/dist/react-native/models/index.js +204 -201
  383. package/dist/react-native/models/index.js.map +1 -1
  384. package/dist/react-native/models/mappers.d.ts +76 -72
  385. package/dist/react-native/models/mappers.d.ts.map +1 -1
  386. package/dist/react-native/models/mappers.js +1681 -1487
  387. package/dist/react-native/models/mappers.js.map +1 -1
  388. package/dist/react-native/models/parameters.d.ts +17 -19
  389. package/dist/react-native/models/parameters.d.ts.map +1 -1
  390. package/dist/react-native/models/parameters.js +107 -132
  391. package/dist/react-native/models/parameters.js.map +1 -1
  392. package/dist/react-native/operations/index.d.ts +6 -6
  393. package/dist/react-native/operations/index.d.ts.map +1 -1
  394. package/dist/react-native/operations/index.js +10 -13
  395. package/dist/react-native/operations/index.js.map +1 -1
  396. package/dist/react-native/operations/keys.d.ts +36 -38
  397. package/dist/react-native/operations/keys.d.ts.map +1 -1
  398. package/dist/react-native/operations/keys.js +112 -153
  399. package/dist/react-native/operations/keys.js.map +1 -1
  400. package/dist/react-native/operations/managedHsmKeys.d.ts +20 -20
  401. package/dist/react-native/operations/managedHsmKeys.d.ts.map +1 -1
  402. package/dist/react-native/operations/managedHsmKeys.js +103 -142
  403. package/dist/react-native/operations/managedHsmKeys.js.map +1 -1
  404. package/dist/react-native/operations/managedHsms.d.ts +77 -77
  405. package/dist/react-native/operations/managedHsms.d.ts.map +1 -1
  406. package/dist/react-native/operations/managedHsms.js +338 -382
  407. package/dist/react-native/operations/managedHsms.js.map +1 -1
  408. package/dist/react-native/operations/mhsmPrivateEndpointConnections.d.ts +19 -19
  409. package/dist/react-native/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  410. package/dist/react-native/operations/mhsmPrivateEndpointConnections.js +60 -76
  411. package/dist/react-native/operations/mhsmPrivateEndpointConnections.js.map +1 -1
  412. package/dist/react-native/operations/mhsmPrivateLinkResources.d.ts +5 -5
  413. package/dist/react-native/operations/mhsmPrivateLinkResources.d.ts.map +1 -1
  414. package/dist/react-native/operations/mhsmPrivateLinkResources.js +6 -10
  415. package/dist/react-native/operations/mhsmPrivateLinkResources.js.map +1 -1
  416. package/dist/react-native/operations/mhsmRegions.d.ts +10 -10
  417. package/dist/react-native/operations/mhsmRegions.d.ts.map +1 -1
  418. package/dist/react-native/operations/mhsmRegions.js +34 -56
  419. package/dist/react-native/operations/mhsmRegions.js.map +1 -1
  420. package/dist/react-native/operations/operations.d.ts +6 -6
  421. package/dist/react-native/operations/operations.d.ts.map +1 -1
  422. package/dist/react-native/operations/operations.js +27 -49
  423. package/dist/react-native/operations/operations.js.map +1 -1
  424. package/dist/react-native/operations/privateEndpointConnections.d.ts +25 -25
  425. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
  426. package/dist/react-native/operations/privateEndpointConnections.js +88 -104
  427. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  428. package/dist/react-native/operations/privateLinkResources.d.ts +5 -5
  429. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -1
  430. package/dist/react-native/operations/privateLinkResources.js +6 -10
  431. package/dist/react-native/operations/privateLinkResources.js.map +1 -1
  432. package/dist/react-native/operations/secrets.d.ts +30 -32
  433. package/dist/react-native/operations/secrets.d.ts.map +1 -1
  434. package/dist/react-native/operations/secrets.js +88 -112
  435. package/dist/react-native/operations/secrets.js.map +1 -1
  436. package/dist/react-native/operations/vaults.d.ts +72 -72
  437. package/dist/react-native/operations/vaults.d.ts.map +1 -1
  438. package/dist/react-native/operations/vaults.js +335 -412
  439. package/dist/react-native/operations/vaults.js.map +1 -1
  440. package/dist/react-native/operationsInterfaces/index.d.ts +6 -6
  441. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  442. package/dist/react-native/operationsInterfaces/index.js +10 -13
  443. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  444. package/dist/react-native/operationsInterfaces/keys.d.ts +20 -22
  445. package/dist/react-native/operationsInterfaces/keys.d.ts.map +1 -1
  446. package/dist/react-native/operationsInterfaces/keys.js +2 -7
  447. package/dist/react-native/operationsInterfaces/keys.js.map +1 -1
  448. package/dist/react-native/operationsInterfaces/managedHsmKeys.d.ts +10 -10
  449. package/dist/react-native/operationsInterfaces/managedHsmKeys.d.ts.map +1 -1
  450. package/dist/react-native/operationsInterfaces/managedHsmKeys.js +2 -7
  451. package/dist/react-native/operationsInterfaces/managedHsmKeys.js.map +1 -1
  452. package/dist/react-native/operationsInterfaces/managedHsms.d.ts +54 -54
  453. package/dist/react-native/operationsInterfaces/managedHsms.d.ts.map +1 -1
  454. package/dist/react-native/operationsInterfaces/managedHsms.js +2 -7
  455. package/dist/react-native/operationsInterfaces/managedHsms.js.map +1 -1
  456. package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts +13 -13
  457. package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  458. package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.js +2 -7
  459. package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
  460. package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.d.ts +3 -3
  461. package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.d.ts.map +1 -1
  462. package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.js +2 -7
  463. package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
  464. package/dist/react-native/operationsInterfaces/mhsmRegions.d.ts +4 -4
  465. package/dist/react-native/operationsInterfaces/mhsmRegions.d.ts.map +1 -1
  466. package/dist/react-native/operationsInterfaces/mhsmRegions.js +2 -7
  467. package/dist/react-native/operationsInterfaces/mhsmRegions.js.map +1 -1
  468. package/dist/react-native/operationsInterfaces/operations.d.ts +3 -3
  469. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  470. package/dist/react-native/operationsInterfaces/operations.js +2 -7
  471. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  472. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +13 -13
  473. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  474. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +2 -7
  475. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  476. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +3 -3
  477. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  478. package/dist/react-native/operationsInterfaces/privateLinkResources.js +2 -7
  479. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -1
  480. package/dist/react-native/operationsInterfaces/secrets.d.ts +18 -20
  481. package/dist/react-native/operationsInterfaces/secrets.d.ts.map +1 -1
  482. package/dist/react-native/operationsInterfaces/secrets.js +2 -7
  483. package/dist/react-native/operationsInterfaces/secrets.js.map +1 -1
  484. package/dist/react-native/operationsInterfaces/vaults.d.ts +50 -50
  485. package/dist/react-native/operationsInterfaces/vaults.d.ts.map +1 -1
  486. package/dist/react-native/operationsInterfaces/vaults.js +2 -7
  487. package/dist/react-native/operationsInterfaces/vaults.js.map +1 -1
  488. package/dist/react-native/pagingHelper.d.ts.map +1 -1
  489. package/dist/react-native/pagingHelper.js +4 -11
  490. package/dist/react-native/pagingHelper.js.map +1 -1
  491. package/package.json +56 -65
  492. package/CHANGELOG.md +0 -121
  493. package/review/arm-keyvault.api.md +0 -1723
@@ -1 +1 @@
1
- {"version":3,"file":"managedHsms.js","sourceRoot":"","sources":["../../../src/operations/managedHsms.ts"],"names":[],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;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,4BAA4B,GAA6B;IAC7D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,2BAA2B;SAChD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,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\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ManagedHsms } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { KeyVaultManagementClient } from \"../keyVaultManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ManagedHsm,\n ManagedHsmsListByResourceGroupNextOptionalParams,\n ManagedHsmsListByResourceGroupOptionalParams,\n ManagedHsmsListByResourceGroupResponse,\n ManagedHsmsListBySubscriptionNextOptionalParams,\n ManagedHsmsListBySubscriptionOptionalParams,\n ManagedHsmsListBySubscriptionResponse,\n DeletedManagedHsm,\n ManagedHsmsListDeletedNextOptionalParams,\n ManagedHsmsListDeletedOptionalParams,\n ManagedHsmsListDeletedResponse,\n ManagedHsmsCreateOrUpdateOptionalParams,\n ManagedHsmsCreateOrUpdateResponse,\n ManagedHsmsUpdateOptionalParams,\n ManagedHsmsUpdateResponse,\n ManagedHsmsDeleteOptionalParams,\n ManagedHsmsGetOptionalParams,\n ManagedHsmsGetResponse,\n ManagedHsmsGetDeletedOptionalParams,\n ManagedHsmsGetDeletedResponse,\n ManagedHsmsPurgeDeletedOptionalParams,\n ManagedHsmsPurgeDeletedResponse,\n CheckMhsmNameAvailabilityParameters,\n ManagedHsmsCheckMhsmNameAvailabilityOptionalParams,\n ManagedHsmsCheckMhsmNameAvailabilityResponse,\n ManagedHsmsListByResourceGroupNextResponse,\n ManagedHsmsListBySubscriptionNextResponse,\n ManagedHsmsListDeletedNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ManagedHsms operations. */\nexport class ManagedHsmsImpl implements ManagedHsms {\n private readonly client: KeyVaultManagementClient;\n\n /**\n * Initialize a new instance of the class ManagedHsms class.\n * @param client Reference to the service client\n */\n constructor(client: KeyVaultManagementClient) {\n this.client = client;\n }\n\n /**\n * The List operation gets information about the managed HSM Pools associated with the subscription and\n * within the specified resource group.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ManagedHsmsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<ManagedHsm> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ManagedHsmsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ManagedHsm[]> {\n let result: ManagedHsmsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ManagedHsmsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<ManagedHsm> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * The List operation gets information about the managed HSM Pools associated with the subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ManagedHsmsListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<ManagedHsm> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: ManagedHsmsListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ManagedHsm[]> {\n let result: ManagedHsmsListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: ManagedHsmsListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<ManagedHsm> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * The List operation gets information about the deleted managed HSMs associated with the subscription.\n * @param options The options parameters.\n */\n public listDeleted(\n options?: ManagedHsmsListDeletedOptionalParams,\n ): PagedAsyncIterableIterator<DeletedManagedHsm> {\n const iter = this.listDeletedPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listDeletedPagingPage(options, settings);\n },\n };\n }\n\n private async *listDeletedPagingPage(\n options?: ManagedHsmsListDeletedOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<DeletedManagedHsm[]> {\n let result: ManagedHsmsListDeletedResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listDeleted(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listDeletedNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listDeletedPagingAll(\n options?: ManagedHsmsListDeletedOptionalParams,\n ): AsyncIterableIterator<DeletedManagedHsm> {\n for await (const page of this.listDeletedPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Create or update a managed HSM Pool in the specified subscription.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param parameters Parameters to create or update the managed HSM Pool\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n name: string,\n parameters: ManagedHsm,\n options?: ManagedHsmsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedHsmsCreateOrUpdateResponse>,\n ManagedHsmsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedHsmsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, name, parameters, options },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedHsmsCreateOrUpdateResponse,\n OperationState<ManagedHsmsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update a managed HSM Pool in the specified subscription.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param parameters Parameters to create or update the managed HSM Pool\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n name: string,\n parameters: ManagedHsm,\n options?: ManagedHsmsCreateOrUpdateOptionalParams,\n ): Promise<ManagedHsmsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n name,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update a managed HSM Pool in the specified subscription.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param parameters Parameters to patch the managed HSM Pool\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n name: string,\n parameters: ManagedHsm,\n options?: ManagedHsmsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedHsmsUpdateResponse>,\n ManagedHsmsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedHsmsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, name, parameters, options },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedHsmsUpdateResponse,\n OperationState<ManagedHsmsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update a managed HSM Pool in the specified subscription.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param parameters Parameters to patch the managed HSM Pool\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n name: string,\n parameters: ManagedHsm,\n options?: ManagedHsmsUpdateOptionalParams,\n ): Promise<ManagedHsmsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n name,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the specified managed HSM Pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name The name of the managed HSM Pool to delete\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n name: string,\n options?: ManagedHsmsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, name, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified managed HSM Pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name The name of the managed HSM Pool to delete\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n name: string,\n options?: ManagedHsmsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, name, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the specified managed HSM Pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name The name of the managed HSM Pool.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n name: string,\n options?: ManagedHsmsGetOptionalParams,\n ): Promise<ManagedHsmsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, options },\n getOperationSpec,\n );\n }\n\n /**\n * The List operation gets information about the managed HSM Pools associated with the subscription and\n * within the specified resource group.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ManagedHsmsListByResourceGroupOptionalParams,\n ): Promise<ManagedHsmsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * The List operation gets information about the managed HSM Pools associated with the subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ManagedHsmsListBySubscriptionOptionalParams,\n ): Promise<ManagedHsmsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * The List operation gets information about the deleted managed HSMs associated with the subscription.\n * @param options The options parameters.\n */\n private _listDeleted(\n options?: ManagedHsmsListDeletedOptionalParams,\n ): Promise<ManagedHsmsListDeletedResponse> {\n return this.client.sendOperationRequest(\n { options },\n listDeletedOperationSpec,\n );\n }\n\n /**\n * Gets the specified deleted managed HSM.\n * @param name The name of the deleted managed HSM.\n * @param location The location of the deleted managed HSM.\n * @param options The options parameters.\n */\n getDeleted(\n name: string,\n location: string,\n options?: ManagedHsmsGetDeletedOptionalParams,\n ): Promise<ManagedHsmsGetDeletedResponse> {\n return this.client.sendOperationRequest(\n { name, location, options },\n getDeletedOperationSpec,\n );\n }\n\n /**\n * Permanently deletes the specified managed HSM.\n * @param name The name of the soft-deleted managed HSM.\n * @param location The location of the soft-deleted managed HSM.\n * @param options The options parameters.\n */\n async beginPurgeDeleted(\n name: string,\n location: string,\n options?: ManagedHsmsPurgeDeletedOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedHsmsPurgeDeletedResponse>,\n ManagedHsmsPurgeDeletedResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedHsmsPurgeDeletedResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { name, location, options },\n spec: purgeDeletedOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedHsmsPurgeDeletedResponse,\n OperationState<ManagedHsmsPurgeDeletedResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Permanently deletes the specified managed HSM.\n * @param name The name of the soft-deleted managed HSM.\n * @param location The location of the soft-deleted managed HSM.\n * @param options The options parameters.\n */\n async beginPurgeDeletedAndWait(\n name: string,\n location: string,\n options?: ManagedHsmsPurgeDeletedOptionalParams,\n ): Promise<ManagedHsmsPurgeDeletedResponse> {\n const poller = await this.beginPurgeDeleted(name, location, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Checks that the managed hsm name is valid and is not already in use.\n * @param mhsmName The name of the managed hsm.\n * @param options The options parameters.\n */\n checkMhsmNameAvailability(\n mhsmName: CheckMhsmNameAvailabilityParameters,\n options?: ManagedHsmsCheckMhsmNameAvailabilityOptionalParams,\n ): Promise<ManagedHsmsCheckMhsmNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { mhsmName, options },\n checkMhsmNameAvailabilityOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ManagedHsmsListByResourceGroupNextOptionalParams,\n ): Promise<ManagedHsmsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: ManagedHsmsListBySubscriptionNextOptionalParams,\n ): Promise<ManagedHsmsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n\n /**\n * ListDeletedNext\n * @param nextLink The nextLink from the previous successful call to the ListDeleted method.\n * @param options The options parameters.\n */\n private _listDeletedNext(\n nextLink: string,\n options?: ManagedHsmsListDeletedNextOptionalParams,\n ): Promise<ManagedHsmsListDeletedNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listDeletedNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 201: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 202: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 204: {\n bodyMapper: Mappers.ManagedHsm,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 201: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 202: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 204: {\n bodyMapper: Mappers.ManagedHsm,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 204: {},\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmListResult,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/managedHSMs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmListResult,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.top],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listDeletedOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/deletedManagedHSMs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeletedManagedHsmListResult,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getDeletedOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeletedManagedHsm,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location,\n Parameters.name1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst purgeDeletedOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}/purge\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.ManagedHsmsPurgeDeletedHeaders,\n },\n 201: {\n headersMapper: Mappers.ManagedHsmsPurgeDeletedHeaders,\n },\n 202: {\n headersMapper: Mappers.ManagedHsmsPurgeDeletedHeaders,\n },\n 204: {\n headersMapper: Mappers.ManagedHsmsPurgeDeletedHeaders,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location,\n Parameters.name1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst checkMhsmNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/checkMhsmNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckMhsmNameAvailabilityResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.mhsmName,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmListResult,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmListResult,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listDeletedNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeletedManagedHsmListResult,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"managedHsms.js","sourceRoot":"","sources":["../../../src/operations/managedHsms.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAgC9C,4CAA4C;AAC5C,+CAA+C;AAC/C,MAAM,OAAO,eAAe;IACT,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,WAAW,CAChB,OAA8C;QAE9C,MAAM,IAAI,GAAG,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;QAChD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,qBAAqB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YACvD,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,qBAAqB,CAClC,OAA8C,EAC9C,QAAuB;QAEvB,IAAI,MAAsC,CAAC;QAC3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C;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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 type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { ManagedHsms } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { KeyVaultManagementClient } from \"../keyVaultManagementClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n DeletedManagedHsm,\n ManagedHsmsListDeletedNextOptionalParams,\n ManagedHsmsListDeletedOptionalParams,\n ManagedHsmsListDeletedResponse,\n ManagedHsm,\n ManagedHsmsListBySubscriptionNextOptionalParams,\n ManagedHsmsListBySubscriptionOptionalParams,\n ManagedHsmsListBySubscriptionResponse,\n ManagedHsmsListByResourceGroupNextOptionalParams,\n ManagedHsmsListByResourceGroupOptionalParams,\n ManagedHsmsListByResourceGroupResponse,\n CheckMhsmNameAvailabilityParameters,\n ManagedHsmsCheckMhsmNameAvailabilityOptionalParams,\n ManagedHsmsCheckMhsmNameAvailabilityResponse,\n ManagedHsmsGetDeletedOptionalParams,\n ManagedHsmsGetDeletedResponse,\n ManagedHsmsPurgeDeletedOptionalParams,\n ManagedHsmsPurgeDeletedResponse,\n ManagedHsmsGetOptionalParams,\n ManagedHsmsGetResponse,\n ManagedHsmsCreateOrUpdateOptionalParams,\n ManagedHsmsCreateOrUpdateResponse,\n ManagedHsmsUpdateOptionalParams,\n ManagedHsmsUpdateResponse,\n ManagedHsmsDeleteOptionalParams,\n ManagedHsmsListDeletedNextResponse,\n ManagedHsmsListBySubscriptionNextResponse,\n ManagedHsmsListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ManagedHsms operations. */\nexport class ManagedHsmsImpl implements ManagedHsms {\n private readonly client: KeyVaultManagementClient;\n\n /**\n * Initialize a new instance of the class ManagedHsms class.\n * @param client Reference to the service client\n */\n constructor(client: KeyVaultManagementClient) {\n this.client = client;\n }\n\n /**\n * The List operation gets information about the deleted managed HSMs associated with the subscription.\n * @param options The options parameters.\n */\n public listDeleted(\n options?: ManagedHsmsListDeletedOptionalParams,\n ): PagedAsyncIterableIterator<DeletedManagedHsm> {\n const iter = this.listDeletedPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listDeletedPagingPage(options, settings);\n },\n };\n }\n\n private async *listDeletedPagingPage(\n options?: ManagedHsmsListDeletedOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<DeletedManagedHsm[]> {\n let result: ManagedHsmsListDeletedResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listDeleted(options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listDeletedNext(continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listDeletedPagingAll(\n options?: ManagedHsmsListDeletedOptionalParams,\n ): AsyncIterableIterator<DeletedManagedHsm> {\n for await (const page of this.listDeletedPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * The List operation gets information about the managed HSM Pools associated with the subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ManagedHsmsListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<ManagedHsm> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: ManagedHsmsListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ManagedHsm[]> {\n let result: ManagedHsmsListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: ManagedHsmsListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<ManagedHsm> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * The List operation gets information about the managed HSM Pools associated with the subscription and\n * within the specified resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ManagedHsmsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<ManagedHsm> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ManagedHsmsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ManagedHsm[]> {\n let result: ManagedHsmsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ManagedHsmsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<ManagedHsm> {\n for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {\n yield* page;\n }\n }\n\n /**\n * Checks that the managed hsm name is valid and is not already in use.\n * @param mhsmName The request body\n * @param options The options parameters.\n */\n checkMhsmNameAvailability(\n mhsmName: CheckMhsmNameAvailabilityParameters,\n options?: ManagedHsmsCheckMhsmNameAvailabilityOptionalParams,\n ): Promise<ManagedHsmsCheckMhsmNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { mhsmName, options },\n checkMhsmNameAvailabilityOperationSpec,\n );\n }\n\n /**\n * The List operation gets information about the deleted managed HSMs associated with the subscription.\n * @param options The options parameters.\n */\n private _listDeleted(\n options?: ManagedHsmsListDeletedOptionalParams,\n ): Promise<ManagedHsmsListDeletedResponse> {\n return this.client.sendOperationRequest({ options }, listDeletedOperationSpec);\n }\n\n /**\n * Gets the specified deleted managed HSM.\n * @param name The name of the deleted managed HSM.\n * @param location The name of the Azure region.\n * @param options The options parameters.\n */\n getDeleted(\n name: string,\n location: string,\n options?: ManagedHsmsGetDeletedOptionalParams,\n ): Promise<ManagedHsmsGetDeletedResponse> {\n return this.client.sendOperationRequest({ name, location, options }, getDeletedOperationSpec);\n }\n\n /**\n * Permanently deletes the specified managed HSM.\n * @param name The name of the deleted managed HSM.\n * @param location The name of the Azure region.\n * @param options The options parameters.\n */\n async beginPurgeDeleted(\n name: string,\n location: string,\n options?: ManagedHsmsPurgeDeletedOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedHsmsPurgeDeletedResponse>,\n ManagedHsmsPurgeDeletedResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedHsmsPurgeDeletedResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { name, location, options },\n spec: purgeDeletedOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedHsmsPurgeDeletedResponse,\n OperationState<ManagedHsmsPurgeDeletedResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Permanently deletes the specified managed HSM.\n * @param name The name of the deleted managed HSM.\n * @param location The name of the Azure region.\n * @param options The options parameters.\n */\n async beginPurgeDeletedAndWait(\n name: string,\n location: string,\n options?: ManagedHsmsPurgeDeletedOptionalParams,\n ): Promise<ManagedHsmsPurgeDeletedResponse> {\n const poller = await this.beginPurgeDeleted(name, location, options);\n return poller.pollUntilDone();\n }\n\n /**\n * The List operation gets information about the managed HSM Pools associated with the subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ManagedHsmsListBySubscriptionOptionalParams,\n ): Promise<ManagedHsmsListBySubscriptionResponse> {\n return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);\n }\n\n /**\n * The List operation gets information about the managed HSM Pools associated with the subscription and\n * within the specified resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ManagedHsmsListByResourceGroupOptionalParams,\n ): Promise<ManagedHsmsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Gets the specified managed HSM Pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the managed HSM Pool.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n name: string,\n options?: ManagedHsmsGetOptionalParams,\n ): Promise<ManagedHsmsGetResponse> {\n return this.client.sendOperationRequest({ resourceGroupName, name, options }, getOperationSpec);\n }\n\n /**\n * Create or update a managed HSM Pool in the specified subscription.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the managed HSM Pool.\n * @param parameters Parameters to create or update the managed HSM Pool\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n name: string,\n parameters: ManagedHsm,\n options?: ManagedHsmsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedHsmsCreateOrUpdateResponse>,\n ManagedHsmsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedHsmsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, name, parameters, options },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedHsmsCreateOrUpdateResponse,\n OperationState<ManagedHsmsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update a managed HSM Pool in the specified subscription.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the managed HSM Pool.\n * @param parameters Parameters to create or update the managed HSM Pool\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n name: string,\n parameters: ManagedHsm,\n options?: ManagedHsmsCreateOrUpdateOptionalParams,\n ): Promise<ManagedHsmsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(resourceGroupName, name, parameters, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Update a managed HSM Pool in the specified subscription.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the managed HSM Pool.\n * @param parameters Parameters to patch the managed HSM Pool\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n name: string,\n parameters: ManagedHsm,\n options?: ManagedHsmsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ManagedHsmsUpdateResponse>, ManagedHsmsUpdateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedHsmsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, name, parameters, options },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedHsmsUpdateResponse,\n OperationState<ManagedHsmsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update a managed HSM Pool in the specified subscription.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the managed HSM Pool.\n * @param parameters Parameters to patch the managed HSM Pool\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n name: string,\n parameters: ManagedHsm,\n options?: ManagedHsmsUpdateOptionalParams,\n ): Promise<ManagedHsmsUpdateResponse> {\n const poller = await this.beginUpdate(resourceGroupName, name, parameters, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the specified managed HSM Pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the managed HSM Pool.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n name: string,\n options?: ManagedHsmsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, name, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified managed HSM Pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the managed HSM Pool.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n name: string,\n options?: ManagedHsmsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, name, options);\n return poller.pollUntilDone();\n }\n\n /**\n * ListDeletedNext\n * @param nextLink The nextLink from the previous successful call to the ListDeleted method.\n * @param options The options parameters.\n */\n private _listDeletedNext(\n nextLink: string,\n options?: ManagedHsmsListDeletedNextOptionalParams,\n ): Promise<ManagedHsmsListDeletedNextResponse> {\n return this.client.sendOperationRequest({ nextLink, options }, listDeletedNextOperationSpec);\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: ManagedHsmsListBySubscriptionNextOptionalParams,\n ): Promise<ManagedHsmsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ManagedHsmsListByResourceGroupNextOptionalParams,\n ): Promise<ManagedHsmsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkMhsmNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/checkMhsmNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckMhsmNameAvailabilityResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.mhsmName,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listDeletedOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/deletedManagedHSMs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeletedManagedHsmListResult,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getDeletedOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeletedManagedHsm,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.name,\n Parameters.location,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst purgeDeletedOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}/purge\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.ManagedHsmsPurgeDeletedHeaders,\n },\n 201: {\n headersMapper: Mappers.ManagedHsmsPurgeDeletedHeaders,\n },\n 202: {\n headersMapper: Mappers.ManagedHsmsPurgeDeletedHeaders,\n },\n 204: {\n headersMapper: Mappers.ManagedHsmsPurgeDeletedHeaders,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.name,\n Parameters.location,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/managedHSMs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmListResult,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.top],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmListResult,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.top],\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 204: {},\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.name,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 201: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 202: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 204: {\n bodyMapper: Mappers.ManagedHsm,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.name,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 201: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 202: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 204: {\n bodyMapper: Mappers.ManagedHsm,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.name,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.name,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listDeletedNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeletedManagedHsmListResult,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmListResult,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmListResult,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,8 +1,8 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { MhsmPrivateEndpointConnections } from "../operationsInterfaces/index.js";
3
- import { KeyVaultManagementClient } from "../keyVaultManagementClient.js";
4
- import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
- import { MhsmPrivateEndpointConnection, MhsmPrivateEndpointConnectionsListByResourceOptionalParams, MhsmPrivateEndpointConnectionsGetOptionalParams, MhsmPrivateEndpointConnectionsGetResponse, MhsmPrivateEndpointConnectionsPutOptionalParams, MhsmPrivateEndpointConnectionsPutResponse, MhsmPrivateEndpointConnectionsDeleteOptionalParams, MhsmPrivateEndpointConnectionsDeleteResponse } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { MhsmPrivateEndpointConnections } from "../operationsInterfaces/index.js";
3
+ import type { KeyVaultManagementClient } from "../keyVaultManagementClient.js";
4
+ import type { SimplePollerLike, OperationState } from "@azure/core-lro";
5
+ import type { MhsmPrivateEndpointConnection, MhsmPrivateEndpointConnectionsListByResourceOptionalParams, MhsmPrivateEndpointConnectionsGetOptionalParams, MhsmPrivateEndpointConnectionsGetResponse, MhsmPrivateEndpointConnectionsPutOptionalParams, MhsmPrivateEndpointConnectionsPutResponse, MhsmPrivateEndpointConnectionsDeleteOptionalParams, MhsmPrivateEndpointConnectionsDeleteResponse } from "../models/index.js";
6
6
  /** Class containing MhsmPrivateEndpointConnections operations. */
7
7
  export declare class MhsmPrivateEndpointConnectionsImpl implements MhsmPrivateEndpointConnections {
8
8
  private readonly client;
@@ -14,8 +14,8 @@ export declare class MhsmPrivateEndpointConnectionsImpl implements MhsmPrivateEn
14
14
  /**
15
15
  * The List operation gets information about the private endpoint connections associated with the
16
16
  * managed HSM Pool.
17
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
18
- * @param name Name of the managed HSM Pool
17
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
18
+ * @param name The name of the managed HSM Pool.
19
19
  * @param options The options parameters.
20
20
  */
21
21
  listByResource(resourceGroupName: string, name: string, options?: MhsmPrivateEndpointConnectionsListByResourceOptionalParams): PagedAsyncIterableIterator<MhsmPrivateEndpointConnection>;
@@ -24,15 +24,15 @@ export declare class MhsmPrivateEndpointConnectionsImpl implements MhsmPrivateEn
24
24
  /**
25
25
  * The List operation gets information about the private endpoint connections associated with the
26
26
  * managed HSM Pool.
27
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
28
- * @param name Name of the managed HSM Pool
27
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
+ * @param name The name of the managed HSM Pool.
29
29
  * @param options The options parameters.
30
30
  */
31
31
  private _listByResource;
32
32
  /**
33
33
  * Gets the specified private endpoint connection associated with the managed HSM Pool.
34
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
35
- * @param name Name of the managed HSM Pool
34
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
35
+ * @param name The name of the managed HSM Pool.
36
36
  * @param privateEndpointConnectionName Name of the private endpoint connection associated with the
37
37
  * managed hsm pool.
38
38
  * @param options The options parameters.
@@ -40,8 +40,8 @@ export declare class MhsmPrivateEndpointConnectionsImpl implements MhsmPrivateEn
40
40
  get(resourceGroupName: string, name: string, privateEndpointConnectionName: string, options?: MhsmPrivateEndpointConnectionsGetOptionalParams): Promise<MhsmPrivateEndpointConnectionsGetResponse>;
41
41
  /**
42
42
  * Updates the specified private endpoint connection associated with the managed hsm pool.
43
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
44
- * @param name Name of the managed HSM Pool
43
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
44
+ * @param name The name of the managed HSM Pool.
45
45
  * @param privateEndpointConnectionName Name of the private endpoint connection associated with the
46
46
  * managed hsm pool.
47
47
  * @param properties The intended state of private endpoint connection.
@@ -50,8 +50,8 @@ export declare class MhsmPrivateEndpointConnectionsImpl implements MhsmPrivateEn
50
50
  put(resourceGroupName: string, name: string, privateEndpointConnectionName: string, properties: MhsmPrivateEndpointConnection, options?: MhsmPrivateEndpointConnectionsPutOptionalParams): Promise<MhsmPrivateEndpointConnectionsPutResponse>;
51
51
  /**
52
52
  * Deletes the specified private endpoint connection associated with the managed hsm pool.
53
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
54
- * @param name Name of the managed HSM Pool
53
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
54
+ * @param name The name of the managed HSM Pool.
55
55
  * @param privateEndpointConnectionName Name of the private endpoint connection associated with the
56
56
  * managed hsm pool.
57
57
  * @param options The options parameters.
@@ -59,8 +59,8 @@ export declare class MhsmPrivateEndpointConnectionsImpl implements MhsmPrivateEn
59
59
  beginDelete(resourceGroupName: string, name: string, privateEndpointConnectionName: string, options?: MhsmPrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<MhsmPrivateEndpointConnectionsDeleteResponse>, MhsmPrivateEndpointConnectionsDeleteResponse>>;
60
60
  /**
61
61
  * Deletes the specified private endpoint connection associated with the managed hsm pool.
62
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
63
- * @param name Name of the managed HSM Pool
62
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
63
+ * @param name The name of the managed HSM Pool.
64
64
  * @param privateEndpointConnectionName Name of the private endpoint connection associated with the
65
65
  * managed hsm pool.
66
66
  * @param options The options parameters.
@@ -68,8 +68,8 @@ export declare class MhsmPrivateEndpointConnectionsImpl implements MhsmPrivateEn
68
68
  beginDeleteAndWait(resourceGroupName: string, name: string, privateEndpointConnectionName: string, options?: MhsmPrivateEndpointConnectionsDeleteOptionalParams): Promise<MhsmPrivateEndpointConnectionsDeleteResponse>;
69
69
  /**
70
70
  * ListByResourceNext
71
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
72
- * @param name Name of the managed HSM Pool
71
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
72
+ * @param name The name of the managed HSM Pool.
73
73
  * @param nextLink The nextLink from the previous successful call to the ListByResource method.
74
74
  * @param options The options parameters.
75
75
  */
@@ -1 +1 @@
1
- {"version":3,"file":"mhsmPrivateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/mhsmPrivateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAIlF,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,6BAA6B,EAE7B,0DAA0D,EAE1D,+CAA+C,EAC/C,yCAAyC,EACzC,+CAA+C,EAC/C,yCAAyC,EACzC,kDAAkD,EAClD,4CAA4C,EAE7C,MAAM,oBAAoB,CAAC;AAG5B,kEAAkE;AAClE,qBAAa,kCACX,YAAW,8BAA8B;IAEzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;;;;OAMG;IACI,cAAc,CACnB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,0DAA0D,GACnE,0BAA0B,CAAC,6BAA6B,CAAC;YAuB7C,wBAAwB;YA6BxB,uBAAuB;IActC;;;;;;OAMG;IACH,OAAO,CAAC,eAAe;IAWvB;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC;IAOrD;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,6BAA6B,EAAE,MAAM,EACrC,UAAU,EAAE,6BAA6B,EACzC,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC;IAarD;;;;;;;OAOG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,4CAA4C,CAAC,EAC5D,4CAA4C,CAC7C,CACF;IAuDD;;;;;;;OAOG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC;IAUxD;;;;;;OAMG;IACH,OAAO,CAAC,mBAAmB;CAW5B"}
1
+ {"version":3,"file":"mhsmPrivateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/mhsmPrivateEndpointConnections.ts"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,EAAE,MAAM,EACZ,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,4CAA4C,CAAC,EAC5D,4CAA4C,CAC7C,CACF;IAuDD;;;;;;;OAOG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC;IAUxD;;;;;;OAMG;IACH,OAAO,CAAC,mBAAmB;CAW5B"}
@@ -1,20 +1,15 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
9
3
  import { setContinuationToken } from "../pagingHelper.js";
10
4
  import * as coreClient from "@azure/core-client";
11
5
  import * as Mappers from "../models/mappers.js";
12
6
  import * as Parameters from "../models/parameters.js";
13
- import { createHttpPoller, } from "@azure/core-lro";
7
+ import { createHttpPoller } from "@azure/core-lro";
14
8
  import { createLroSpec } from "../lroImpl.js";
15
9
  /// <reference lib="esnext.asynciterable" />
16
10
  /** Class containing MhsmPrivateEndpointConnections operations. */
17
11
  export class MhsmPrivateEndpointConnectionsImpl {
12
+ client;
18
13
  /**
19
14
  * Initialize a new instance of the class MhsmPrivateEndpointConnections class.
20
15
  * @param client Reference to the service client
@@ -25,8 +20,8 @@ export class MhsmPrivateEndpointConnectionsImpl {
25
20
  /**
26
21
  * The List operation gets information about the private endpoint connections associated with the
27
22
  * managed HSM Pool.
28
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
29
- * @param name Name of the managed HSM Pool
23
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
24
+ * @param name The name of the managed HSM Pool.
30
25
  * @param options The options parameters.
31
26
  */
32
27
  listByResource(resourceGroupName, name, options) {
@@ -39,58 +34,41 @@ export class MhsmPrivateEndpointConnectionsImpl {
39
34
  return this;
40
35
  },
41
36
  byPage: (settings) => {
42
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
37
+ if (settings?.maxPageSize) {
43
38
  throw new Error("maxPageSize is not supported by this operation.");
44
39
  }
45
40
  return this.listByResourcePagingPage(resourceGroupName, name, options, settings);
46
41
  },
47
42
  };
48
43
  }
49
- listByResourcePagingPage(resourceGroupName, name, options, settings) {
50
- return __asyncGenerator(this, arguments, function* listByResourcePagingPage_1() {
51
- let result;
52
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
53
- if (!continuationToken) {
54
- result = yield __await(this._listByResource(resourceGroupName, name, options));
55
- let page = result.value || [];
56
- continuationToken = result.nextLink;
57
- setContinuationToken(page, continuationToken);
58
- yield yield __await(page);
59
- }
60
- while (continuationToken) {
61
- result = yield __await(this._listByResourceNext(resourceGroupName, name, continuationToken, options));
62
- continuationToken = result.nextLink;
63
- let page = result.value || [];
64
- setContinuationToken(page, continuationToken);
65
- yield yield __await(page);
66
- }
67
- });
44
+ async *listByResourcePagingPage(resourceGroupName, name, options, settings) {
45
+ let result;
46
+ let continuationToken = settings?.continuationToken;
47
+ if (!continuationToken) {
48
+ result = await this._listByResource(resourceGroupName, name, options);
49
+ const page = result.value || [];
50
+ continuationToken = result.nextLink;
51
+ setContinuationToken(page, continuationToken);
52
+ yield page;
53
+ }
54
+ while (continuationToken) {
55
+ result = await this._listByResourceNext(resourceGroupName, name, continuationToken, options);
56
+ continuationToken = result.nextLink;
57
+ const page = result.value || [];
58
+ setContinuationToken(page, continuationToken);
59
+ yield page;
60
+ }
68
61
  }
69
- listByResourcePagingAll(resourceGroupName, name, options) {
70
- return __asyncGenerator(this, arguments, function* listByResourcePagingAll_1() {
71
- var _a, e_1, _b, _c;
72
- try {
73
- for (var _d = true, _e = __asyncValues(this.listByResourcePagingPage(resourceGroupName, name, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
74
- _c = _f.value;
75
- _d = false;
76
- const page = _c;
77
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
78
- }
79
- }
80
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
81
- finally {
82
- try {
83
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
84
- }
85
- finally { if (e_1) throw e_1.error; }
86
- }
87
- });
62
+ async *listByResourcePagingAll(resourceGroupName, name, options) {
63
+ for await (const page of this.listByResourcePagingPage(resourceGroupName, name, options)) {
64
+ yield* page;
65
+ }
88
66
  }
89
67
  /**
90
68
  * The List operation gets information about the private endpoint connections associated with the
91
69
  * managed HSM Pool.
92
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
93
- * @param name Name of the managed HSM Pool
70
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
+ * @param name The name of the managed HSM Pool.
94
72
  * @param options The options parameters.
95
73
  */
96
74
  _listByResource(resourceGroupName, name, options) {
@@ -98,8 +76,8 @@ export class MhsmPrivateEndpointConnectionsImpl {
98
76
  }
99
77
  /**
100
78
  * Gets the specified private endpoint connection associated with the managed HSM Pool.
101
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
102
- * @param name Name of the managed HSM Pool
79
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
80
+ * @param name The name of the managed HSM Pool.
103
81
  * @param privateEndpointConnectionName Name of the private endpoint connection associated with the
104
82
  * managed hsm pool.
105
83
  * @param options The options parameters.
@@ -109,8 +87,8 @@ export class MhsmPrivateEndpointConnectionsImpl {
109
87
  }
110
88
  /**
111
89
  * Updates the specified private endpoint connection associated with the managed hsm pool.
112
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
113
- * @param name Name of the managed HSM Pool
90
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
91
+ * @param name The name of the managed HSM Pool.
114
92
  * @param privateEndpointConnectionName Name of the private endpoint connection associated with the
115
93
  * managed hsm pool.
116
94
  * @param properties The intended state of private endpoint connection.
@@ -127,8 +105,8 @@ export class MhsmPrivateEndpointConnectionsImpl {
127
105
  }
128
106
  /**
129
107
  * Deletes the specified private endpoint connection associated with the managed hsm pool.
130
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
131
- * @param name Name of the managed HSM Pool
108
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
109
+ * @param name The name of the managed HSM Pool.
132
110
  * @param privateEndpointConnectionName Name of the private endpoint connection associated with the
133
111
  * managed hsm pool.
134
112
  * @param options The options parameters.
@@ -138,14 +116,19 @@ export class MhsmPrivateEndpointConnectionsImpl {
138
116
  return this.client.sendOperationRequest(args, spec);
139
117
  };
140
118
  const sendOperationFn = async (args, spec) => {
141
- var _a;
142
119
  let currentRawResponse = undefined;
143
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
120
+ const providedCallback = args.options?.onResponse;
144
121
  const callback = (rawResponse, flatResponse) => {
145
122
  currentRawResponse = rawResponse;
146
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
123
+ providedCallback?.(rawResponse, flatResponse);
124
+ };
125
+ const updatedArgs = {
126
+ ...args,
127
+ options: {
128
+ ...args.options,
129
+ onResponse: callback,
130
+ },
147
131
  };
148
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
149
132
  const flatResponse = await directSendOperation(updatedArgs, spec);
150
133
  return {
151
134
  flatResponse,
@@ -162,16 +145,17 @@ export class MhsmPrivateEndpointConnectionsImpl {
162
145
  spec: deleteOperationSpec,
163
146
  });
164
147
  const poller = await createHttpPoller(lro, {
165
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
166
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
148
+ restoreFrom: options?.resumeFrom,
149
+ intervalInMs: options?.updateIntervalInMs,
150
+ resourceLocationConfig: "location",
167
151
  });
168
152
  await poller.poll();
169
153
  return poller;
170
154
  }
171
155
  /**
172
156
  * Deletes the specified private endpoint connection associated with the managed hsm pool.
173
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
174
- * @param name Name of the managed HSM Pool
157
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
158
+ * @param name The name of the managed HSM Pool.
175
159
  * @param privateEndpointConnectionName Name of the private endpoint connection associated with the
176
160
  * managed hsm pool.
177
161
  * @param options The options parameters.
@@ -182,8 +166,8 @@ export class MhsmPrivateEndpointConnectionsImpl {
182
166
  }
183
167
  /**
184
168
  * ListByResourceNext
185
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
186
- * @param name Name of the managed HSM Pool
169
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
170
+ * @param name The name of the managed HSM Pool.
187
171
  * @param nextLink The nextLink from the previous successful call to the ListByResource method.
188
172
  * @param options The options parameters.
189
173
  */
@@ -208,8 +192,8 @@ const listByResourceOperationSpec = {
208
192
  urlParameters: [
209
193
  Parameters.$host,
210
194
  Parameters.subscriptionId,
195
+ Parameters.name,
211
196
  Parameters.resourceGroupName,
212
- Parameters.name1,
213
197
  ],
214
198
  headerParameters: [Parameters.accept],
215
199
  serializer,
@@ -229,9 +213,9 @@ const getOperationSpec = {
229
213
  urlParameters: [
230
214
  Parameters.$host,
231
215
  Parameters.subscriptionId,
216
+ Parameters.name,
232
217
  Parameters.resourceGroupName,
233
218
  Parameters.privateEndpointConnectionName,
234
- Parameters.name1,
235
219
  ],
236
220
  headerParameters: [Parameters.accept],
237
221
  serializer,
@@ -248,16 +232,16 @@ const putOperationSpec = {
248
232
  bodyMapper: Mappers.CloudError,
249
233
  },
250
234
  },
251
- requestBody: Parameters.properties1,
235
+ requestBody: Parameters.properties,
252
236
  queryParameters: [Parameters.apiVersion],
253
237
  urlParameters: [
254
238
  Parameters.$host,
255
239
  Parameters.subscriptionId,
240
+ Parameters.name,
256
241
  Parameters.resourceGroupName,
257
242
  Parameters.privateEndpointConnectionName,
258
- Parameters.name1,
259
243
  ],
260
- headerParameters: [Parameters.contentType, Parameters.accept],
244
+ headerParameters: [Parameters.accept, Parameters.contentType],
261
245
  mediaType: "json",
262
246
  serializer,
263
247
  };
@@ -285,9 +269,9 @@ const deleteOperationSpec = {
285
269
  urlParameters: [
286
270
  Parameters.$host,
287
271
  Parameters.subscriptionId,
272
+ Parameters.name,
288
273
  Parameters.resourceGroupName,
289
274
  Parameters.privateEndpointConnectionName,
290
- Parameters.name1,
291
275
  ],
292
276
  headerParameters: [Parameters.accept],
293
277
  serializer,
@@ -305,10 +289,10 @@ const listByResourceNextOperationSpec = {
305
289
  },
306
290
  urlParameters: [
307
291
  Parameters.$host,
292
+ Parameters.nextLink,
308
293
  Parameters.subscriptionId,
294
+ Parameters.name,
309
295
  Parameters.resourceGroupName,
310
- Parameters.nextLink,
311
- Parameters.name1,
312
296
  ],
313
297
  headerParameters: [Parameters.accept],
314
298
  serializer,