@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":"managedHsmKeys.js","sourceRoot":"","sources":["../../../src/operations/managedHsmKeys.ts"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AAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,IAAI;KAChB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,6BAA6B,GAA6B;IAC9D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,IAAI;KAChB;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 { ManagedHsmKeys } 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 ManagedHsmKey,\n ManagedHsmKeysListNextOptionalParams,\n ManagedHsmKeysListOptionalParams,\n ManagedHsmKeysListResponse,\n ManagedHsmKeysListVersionsNextOptionalParams,\n ManagedHsmKeysListVersionsOptionalParams,\n ManagedHsmKeysListVersionsResponse,\n ManagedHsmKeyCreateParameters,\n ManagedHsmKeysCreateIfNotExistOptionalParams,\n ManagedHsmKeysCreateIfNotExistResponse,\n ManagedHsmKeysGetOptionalParams,\n ManagedHsmKeysGetResponse,\n ManagedHsmKeysGetVersionOptionalParams,\n ManagedHsmKeysGetVersionResponse,\n ManagedHsmKeysListNextResponse,\n ManagedHsmKeysListVersionsNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ManagedHsmKeys operations. */\nexport class ManagedHsmKeysImpl implements ManagedHsmKeys {\n private readonly client: KeyVaultManagementClient;\n\n /**\n * Initialize a new instance of the class ManagedHsmKeys class.\n * @param client Reference to the service client\n */\n constructor(client: KeyVaultManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the keys in the specified managed HSM.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the Managed HSM Pool within the specified resource group.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n name: string,\n options?: ManagedHsmKeysListOptionalParams,\n ): PagedAsyncIterableIterator<ManagedHsmKey> {\n const iter = this.listPagingAll(resourceGroupName, name, 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.listPagingPage(resourceGroupName, name, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n name: string,\n options?: ManagedHsmKeysListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ManagedHsmKey[]> {\n let result: ManagedHsmKeysListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, name, 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._listNext(\n resourceGroupName,\n name,\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 *listPagingAll(\n resourceGroupName: string,\n name: string,\n options?: ManagedHsmKeysListOptionalParams,\n ): AsyncIterableIterator<ManagedHsmKey> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n name,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the versions of the specified key in the specified managed HSM.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the Managed HSM Pool within the specified resource group.\n * @param keyName The name of the key to be created. The value you provide may be copied globally for\n * the purpose of running the service. The value provided should not include personally identifiable or\n * sensitive information.\n * @param options The options parameters.\n */\n public listVersions(\n resourceGroupName: string,\n name: string,\n keyName: string,\n options?: ManagedHsmKeysListVersionsOptionalParams,\n ): PagedAsyncIterableIterator<ManagedHsmKey> {\n const iter = this.listVersionsPagingAll(\n resourceGroupName,\n name,\n keyName,\n options,\n );\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.listVersionsPagingPage(\n resourceGroupName,\n name,\n keyName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listVersionsPagingPage(\n resourceGroupName: string,\n name: string,\n keyName: string,\n options?: ManagedHsmKeysListVersionsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ManagedHsmKey[]> {\n let result: ManagedHsmKeysListVersionsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listVersions(\n resourceGroupName,\n name,\n keyName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listVersionsNext(\n resourceGroupName,\n name,\n keyName,\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 *listVersionsPagingAll(\n resourceGroupName: string,\n name: string,\n keyName: string,\n options?: ManagedHsmKeysListVersionsOptionalParams,\n ): AsyncIterableIterator<ManagedHsmKey> {\n for await (const page of this.listVersionsPagingPage(\n resourceGroupName,\n name,\n keyName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates the first version of a new key if it does not exist. If it already exists, then the existing\n * key is returned without any write operations being performed. This API does not create subsequent\n * versions, and does not update existing keys.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the Managed HSM Pool within the specified resource group.\n * @param keyName The name of the key to be created. The value you provide may be copied globally for\n * the purpose of running the service. The value provided should not include personally identifiable or\n * sensitive information.\n * @param parameters The parameters used to create the specified key.\n * @param options The options parameters.\n */\n createIfNotExist(\n resourceGroupName: string,\n name: string,\n keyName: string,\n parameters: ManagedHsmKeyCreateParameters,\n options?: ManagedHsmKeysCreateIfNotExistOptionalParams,\n ): Promise<ManagedHsmKeysCreateIfNotExistResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, keyName, parameters, options },\n createIfNotExistOperationSpec,\n );\n }\n\n /**\n * Gets the current version of the specified key from the specified managed HSM.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the Managed HSM Pool within the specified resource group.\n * @param keyName The name of the key to be created. The value you provide may be copied globally for\n * the purpose of running the service. The value provided should not include personally identifiable or\n * sensitive information.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n name: string,\n keyName: string,\n options?: ManagedHsmKeysGetOptionalParams,\n ): Promise<ManagedHsmKeysGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, keyName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Lists the keys in the specified managed HSM.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the Managed HSM Pool within the specified resource group.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n name: string,\n options?: ManagedHsmKeysListOptionalParams,\n ): Promise<ManagedHsmKeysListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the specified version of the specified key in the specified managed HSM.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the Managed HSM Pool within the specified resource group.\n * @param keyName The name of the key to be created. The value you provide may be copied globally for\n * the purpose of running the service. The value provided should not include personally identifiable or\n * sensitive information.\n * @param keyVersion The version of the key to be retrieved.\n * @param options The options parameters.\n */\n getVersion(\n resourceGroupName: string,\n name: string,\n keyName: string,\n keyVersion: string,\n options?: ManagedHsmKeysGetVersionOptionalParams,\n ): Promise<ManagedHsmKeysGetVersionResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, keyName, keyVersion, options },\n getVersionOperationSpec,\n );\n }\n\n /**\n * Lists the versions of the specified key in the specified managed HSM.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the Managed HSM Pool within the specified resource group.\n * @param keyName The name of the key to be created. The value you provide may be copied globally for\n * the purpose of running the service. The value provided should not include personally identifiable or\n * sensitive information.\n * @param options The options parameters.\n */\n private _listVersions(\n resourceGroupName: string,\n name: string,\n keyName: string,\n options?: ManagedHsmKeysListVersionsOptionalParams,\n ): Promise<ManagedHsmKeysListVersionsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, keyName, options },\n listVersionsOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the Managed HSM Pool within the specified resource group.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n name: string,\n nextLink: string,\n options?: ManagedHsmKeysListNextOptionalParams,\n ): Promise<ManagedHsmKeysListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, nextLink, options },\n listNextOperationSpec,\n );\n }\n\n /**\n * ListVersionsNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the Managed HSM Pool within the specified resource group.\n * @param keyName The name of the key to be created. The value you provide may be copied globally for\n * the purpose of running the service. The value provided should not include personally identifiable or\n * sensitive information.\n * @param nextLink The nextLink from the previous successful call to the ListVersions method.\n * @param options The options parameters.\n */\n private _listVersionsNext(\n resourceGroupName: string,\n name: string,\n keyName: string,\n nextLink: string,\n options?: ManagedHsmKeysListVersionsNextOptionalParams,\n ): Promise<ManagedHsmKeysListVersionsNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, keyName, nextLink, options },\n listVersionsNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createIfNotExistOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys/{keyName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmKey,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.keyName,\n Parameters.resourceGroupName1,\n Parameters.name,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys/{keyName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmKey,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.keyName,\n Parameters.resourceGroupName1,\n Parameters.name,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmKeyListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName1,\n Parameters.name,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getVersionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys/{keyName}/versions/{keyVersion}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmKey,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.keyName,\n Parameters.keyVersion,\n Parameters.resourceGroupName1,\n Parameters.name,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listVersionsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys/{keyName}/versions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmKeyListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.keyName,\n Parameters.resourceGroupName1,\n Parameters.name,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmKeyListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.resourceGroupName1,\n Parameters.name,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listVersionsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmKeyListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.keyName,\n Parameters.nextLink,\n Parameters.resourceGroupName1,\n Parameters.name,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"managedHsmKeys.js","sourceRoot":"","sources":["../../../src/operations/managedHsmKeys.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAMlC,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAqBtD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAa,kBAAkB;IACZ,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,IAAY,EACZ,OAA0C;QAE1C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAClE,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,cAAc,CAAC,iBAAiB,EAAE,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,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,KAAK;KACjB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,6BAA6B,GAA6B;IAC9D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,OAAO;KACnB;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 { ManagedHsmKeys } 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 {\n ManagedHsmKey,\n ManagedHsmKeysListNextOptionalParams,\n ManagedHsmKeysListOptionalParams,\n ManagedHsmKeysListResponse,\n ManagedHsmKeysListVersionsNextOptionalParams,\n ManagedHsmKeysListVersionsOptionalParams,\n ManagedHsmKeysListVersionsResponse,\n ManagedHsmKeysGetOptionalParams,\n ManagedHsmKeysGetResponse,\n ManagedHsmKeyCreateParameters,\n ManagedHsmKeysCreateIfNotExistOptionalParams,\n ManagedHsmKeysCreateIfNotExistResponse,\n ManagedHsmKeysGetVersionOptionalParams,\n ManagedHsmKeysGetVersionResponse,\n ManagedHsmKeysListNextResponse,\n ManagedHsmKeysListVersionsNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ManagedHsmKeys operations. */\nexport class ManagedHsmKeysImpl implements ManagedHsmKeys {\n private readonly client: KeyVaultManagementClient;\n\n /**\n * Initialize a new instance of the class ManagedHsmKeys class.\n * @param client Reference to the service client\n */\n constructor(client: KeyVaultManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the keys in the specified managed HSM.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the Managed HSM Pool within the specified resource group.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n name: string,\n options?: ManagedHsmKeysListOptionalParams,\n ): PagedAsyncIterableIterator<ManagedHsmKey> {\n const iter = this.listPagingAll(resourceGroupName, name, 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.listPagingPage(resourceGroupName, name, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n name: string,\n options?: ManagedHsmKeysListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ManagedHsmKey[]> {\n let result: ManagedHsmKeysListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, name, 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._listNext(resourceGroupName, name, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n name: string,\n options?: ManagedHsmKeysListOptionalParams,\n ): AsyncIterableIterator<ManagedHsmKey> {\n for await (const page of this.listPagingPage(resourceGroupName, name, options)) {\n yield* page;\n }\n }\n\n /**\n * Lists the keys in the specified managed HSM.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the Managed HSM Pool within the specified resource group.\n * @param keyName The name of the key to be created. The value you provide may be copied globally for\n * the purpose of running the service. The value provided should not include personally identifiable or\n * sensitive information.\n * @param options The options parameters.\n */\n public listVersions(\n resourceGroupName: string,\n name: string,\n keyName: string,\n options?: ManagedHsmKeysListVersionsOptionalParams,\n ): PagedAsyncIterableIterator<ManagedHsmKey> {\n const iter = this.listVersionsPagingAll(resourceGroupName, name, keyName, 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.listVersionsPagingPage(resourceGroupName, name, keyName, options, settings);\n },\n };\n }\n\n private async *listVersionsPagingPage(\n resourceGroupName: string,\n name: string,\n keyName: string,\n options?: ManagedHsmKeysListVersionsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ManagedHsmKey[]> {\n let result: ManagedHsmKeysListVersionsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listVersions(resourceGroupName, name, keyName, 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._listVersionsNext(\n resourceGroupName,\n name,\n keyName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listVersionsPagingAll(\n resourceGroupName: string,\n name: string,\n keyName: string,\n options?: ManagedHsmKeysListVersionsOptionalParams,\n ): AsyncIterableIterator<ManagedHsmKey> {\n for await (const page of this.listVersionsPagingPage(\n resourceGroupName,\n name,\n keyName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the keys in the specified managed HSM.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the Managed HSM Pool within the specified resource group.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n name: string,\n options?: ManagedHsmKeysListOptionalParams,\n ): Promise<ManagedHsmKeysListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the current version of the specified key from the specified managed HSM.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the Managed HSM Pool within the specified resource group.\n * @param keyName The name of the key to be created. The value you provide may be copied globally for\n * the purpose of running the service. The value provided should not include personally identifiable or\n * sensitive information.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n name: string,\n keyName: string,\n options?: ManagedHsmKeysGetOptionalParams,\n ): Promise<ManagedHsmKeysGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, keyName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates the first version of a new key if it does not exist. If it already exists, then the existing\n * key is returned without any write operations being performed. This API does not create subsequent\n * versions, and does not update existing keys.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the Managed HSM Pool within the specified resource group.\n * @param keyName The name of the key to be created. The value you provide may be copied globally for\n * the purpose of running the service. The value provided should not include personally identifiable or\n * sensitive information.\n * @param parameters The parameters used to create the specified key.\n * @param options The options parameters.\n */\n createIfNotExist(\n resourceGroupName: string,\n name: string,\n keyName: string,\n parameters: ManagedHsmKeyCreateParameters,\n options?: ManagedHsmKeysCreateIfNotExistOptionalParams,\n ): Promise<ManagedHsmKeysCreateIfNotExistResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, keyName, parameters, options },\n createIfNotExistOperationSpec,\n );\n }\n\n /**\n * Lists the keys in the specified managed HSM.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the Managed HSM Pool within the specified resource group.\n * @param keyName The name of the key to be created. The value you provide may be copied globally for\n * the purpose of running the service. The value provided should not include personally identifiable or\n * sensitive information.\n * @param options The options parameters.\n */\n private _listVersions(\n resourceGroupName: string,\n name: string,\n keyName: string,\n options?: ManagedHsmKeysListVersionsOptionalParams,\n ): Promise<ManagedHsmKeysListVersionsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, keyName, options },\n listVersionsOperationSpec,\n );\n }\n\n /**\n * Gets the specified version of the specified key in the specified managed HSM.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the Managed HSM Pool within the specified resource group.\n * @param keyName The name of the key to be created. The value you provide may be copied globally for\n * the purpose of running the service. The value provided should not include personally identifiable or\n * sensitive information.\n * @param keyVersion The version of the key to be retrieved.\n * @param options The options parameters.\n */\n getVersion(\n resourceGroupName: string,\n name: string,\n keyName: string,\n keyVersion: string,\n options?: ManagedHsmKeysGetVersionOptionalParams,\n ): Promise<ManagedHsmKeysGetVersionResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, keyName, keyVersion, options },\n getVersionOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the Managed HSM Pool within the specified resource group.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n name: string,\n nextLink: string,\n options?: ManagedHsmKeysListNextOptionalParams,\n ): Promise<ManagedHsmKeysListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, nextLink, options },\n listNextOperationSpec,\n );\n }\n\n /**\n * ListVersionsNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param name The name of the Managed HSM Pool within the specified resource group.\n * @param keyName The name of the key to be created. The value you provide may be copied globally for\n * the purpose of running the service. The value provided should not include personally identifiable or\n * sensitive information.\n * @param nextLink The nextLink from the previous successful call to the ListVersions method.\n * @param options The options parameters.\n */\n private _listVersionsNext(\n resourceGroupName: string,\n name: string,\n keyName: string,\n nextLink: string,\n options?: ManagedHsmKeysListVersionsNextOptionalParams,\n ): Promise<ManagedHsmKeysListVersionsNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, keyName, nextLink, options },\n listVersionsNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmKeyListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\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}/keys/{keyName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmKey,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1,\n Parameters.keyName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createIfNotExistOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys/{keyName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmKey,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters4,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1,\n Parameters.keyName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listVersionsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys/{keyName}/versions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmKeyListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1,\n Parameters.keyName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getVersionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys/{keyName}/versions/{keyVersion}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmKey,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1,\n Parameters.keyName,\n Parameters.keyVersion,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmKeyListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listVersionsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmKeyListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1,\n Parameters.keyName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,8 +1,8 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { ManagedHsms } from "../operationsInterfaces/index.js";
3
- import { KeyVaultManagementClient } from "../keyVaultManagementClient.js";
4
- import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
- import { ManagedHsm, ManagedHsmsListByResourceGroupOptionalParams, ManagedHsmsListBySubscriptionOptionalParams, DeletedManagedHsm, ManagedHsmsListDeletedOptionalParams, ManagedHsmsCreateOrUpdateOptionalParams, ManagedHsmsCreateOrUpdateResponse, ManagedHsmsUpdateOptionalParams, ManagedHsmsUpdateResponse, ManagedHsmsDeleteOptionalParams, ManagedHsmsGetOptionalParams, ManagedHsmsGetResponse, ManagedHsmsGetDeletedOptionalParams, ManagedHsmsGetDeletedResponse, ManagedHsmsPurgeDeletedOptionalParams, ManagedHsmsPurgeDeletedResponse, CheckMhsmNameAvailabilityParameters, ManagedHsmsCheckMhsmNameAvailabilityOptionalParams, ManagedHsmsCheckMhsmNameAvailabilityResponse } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { ManagedHsms } from "../operationsInterfaces/index.js";
3
+ import type { KeyVaultManagementClient } from "../keyVaultManagementClient.js";
4
+ import type { SimplePollerLike, OperationState } from "@azure/core-lro";
5
+ import type { DeletedManagedHsm, ManagedHsmsListDeletedOptionalParams, ManagedHsm, ManagedHsmsListBySubscriptionOptionalParams, ManagedHsmsListByResourceGroupOptionalParams, CheckMhsmNameAvailabilityParameters, ManagedHsmsCheckMhsmNameAvailabilityOptionalParams, ManagedHsmsCheckMhsmNameAvailabilityResponse, ManagedHsmsGetDeletedOptionalParams, ManagedHsmsGetDeletedResponse, ManagedHsmsPurgeDeletedOptionalParams, ManagedHsmsPurgeDeletedResponse, ManagedHsmsGetOptionalParams, ManagedHsmsGetResponse, ManagedHsmsCreateOrUpdateOptionalParams, ManagedHsmsCreateOrUpdateResponse, ManagedHsmsUpdateOptionalParams, ManagedHsmsUpdateResponse, ManagedHsmsDeleteOptionalParams } from "../models/index.js";
6
6
  /** Class containing ManagedHsms operations. */
7
7
  export declare class ManagedHsmsImpl implements ManagedHsms {
8
8
  private readonly client;
@@ -12,14 +12,12 @@ export declare class ManagedHsmsImpl implements ManagedHsms {
12
12
  */
13
13
  constructor(client: KeyVaultManagementClient);
14
14
  /**
15
- * The List operation gets information about the managed HSM Pools associated with the subscription and
16
- * within the specified resource group.
17
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
15
+ * The List operation gets information about the deleted managed HSMs associated with the subscription.
18
16
  * @param options The options parameters.
19
17
  */
20
- listByResourceGroup(resourceGroupName: string, options?: ManagedHsmsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ManagedHsm>;
21
- private listByResourceGroupPagingPage;
22
- private listByResourceGroupPagingAll;
18
+ listDeleted(options?: ManagedHsmsListDeletedOptionalParams): PagedAsyncIterableIterator<DeletedManagedHsm>;
19
+ private listDeletedPagingPage;
20
+ private listDeletedPagingAll;
23
21
  /**
24
22
  * The List operation gets information about the managed HSM Pools associated with the subscription.
25
23
  * @param options The options parameters.
@@ -28,116 +26,117 @@ export declare class ManagedHsmsImpl implements ManagedHsms {
28
26
  private listBySubscriptionPagingPage;
29
27
  private listBySubscriptionPagingAll;
30
28
  /**
31
- * The List operation gets information about the deleted managed HSMs associated with the subscription.
32
- * @param options The options parameters.
33
- */
34
- listDeleted(options?: ManagedHsmsListDeletedOptionalParams): PagedAsyncIterableIterator<DeletedManagedHsm>;
35
- private listDeletedPagingPage;
36
- private listDeletedPagingAll;
37
- /**
38
- * Create or update a managed HSM Pool in the specified subscription.
39
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
40
- * @param name Name of the managed HSM Pool
41
- * @param parameters Parameters to create or update the managed HSM Pool
29
+ * The List operation gets information about the managed HSM Pools associated with the subscription and
30
+ * within the specified resource group.
31
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
42
32
  * @param options The options parameters.
43
33
  */
44
- beginCreateOrUpdate(resourceGroupName: string, name: string, parameters: ManagedHsm, options?: ManagedHsmsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ManagedHsmsCreateOrUpdateResponse>, ManagedHsmsCreateOrUpdateResponse>>;
34
+ listByResourceGroup(resourceGroupName: string, options?: ManagedHsmsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ManagedHsm>;
35
+ private listByResourceGroupPagingPage;
36
+ private listByResourceGroupPagingAll;
45
37
  /**
46
- * Create or update a managed HSM Pool in the specified subscription.
47
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
48
- * @param name Name of the managed HSM Pool
49
- * @param parameters Parameters to create or update the managed HSM Pool
38
+ * Checks that the managed hsm name is valid and is not already in use.
39
+ * @param mhsmName The request body
50
40
  * @param options The options parameters.
51
41
  */
52
- beginCreateOrUpdateAndWait(resourceGroupName: string, name: string, parameters: ManagedHsm, options?: ManagedHsmsCreateOrUpdateOptionalParams): Promise<ManagedHsmsCreateOrUpdateResponse>;
42
+ checkMhsmNameAvailability(mhsmName: CheckMhsmNameAvailabilityParameters, options?: ManagedHsmsCheckMhsmNameAvailabilityOptionalParams): Promise<ManagedHsmsCheckMhsmNameAvailabilityResponse>;
53
43
  /**
54
- * Update a managed HSM Pool in the specified subscription.
55
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
56
- * @param name Name of the managed HSM Pool
57
- * @param parameters Parameters to patch the managed HSM Pool
44
+ * The List operation gets information about the deleted managed HSMs associated with the subscription.
58
45
  * @param options The options parameters.
59
46
  */
60
- beginUpdate(resourceGroupName: string, name: string, parameters: ManagedHsm, options?: ManagedHsmsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ManagedHsmsUpdateResponse>, ManagedHsmsUpdateResponse>>;
47
+ private _listDeleted;
61
48
  /**
62
- * Update a managed HSM Pool in the specified subscription.
63
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
64
- * @param name Name of the managed HSM Pool
65
- * @param parameters Parameters to patch the managed HSM Pool
49
+ * Gets the specified deleted managed HSM.
50
+ * @param name The name of the deleted managed HSM.
51
+ * @param location The name of the Azure region.
66
52
  * @param options The options parameters.
67
53
  */
68
- beginUpdateAndWait(resourceGroupName: string, name: string, parameters: ManagedHsm, options?: ManagedHsmsUpdateOptionalParams): Promise<ManagedHsmsUpdateResponse>;
54
+ getDeleted(name: string, location: string, options?: ManagedHsmsGetDeletedOptionalParams): Promise<ManagedHsmsGetDeletedResponse>;
69
55
  /**
70
- * Deletes the specified managed HSM Pool.
71
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
72
- * @param name The name of the managed HSM Pool to delete
56
+ * Permanently deletes the specified managed HSM.
57
+ * @param name The name of the deleted managed HSM.
58
+ * @param location The name of the Azure region.
73
59
  * @param options The options parameters.
74
60
  */
75
- beginDelete(resourceGroupName: string, name: string, options?: ManagedHsmsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
61
+ beginPurgeDeleted(name: string, location: string, options?: ManagedHsmsPurgeDeletedOptionalParams): Promise<SimplePollerLike<OperationState<ManagedHsmsPurgeDeletedResponse>, ManagedHsmsPurgeDeletedResponse>>;
76
62
  /**
77
- * Deletes the specified managed HSM Pool.
78
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
79
- * @param name The name of the managed HSM Pool to delete
63
+ * Permanently deletes the specified managed HSM.
64
+ * @param name The name of the deleted managed HSM.
65
+ * @param location The name of the Azure region.
80
66
  * @param options The options parameters.
81
67
  */
82
- beginDeleteAndWait(resourceGroupName: string, name: string, options?: ManagedHsmsDeleteOptionalParams): Promise<void>;
68
+ beginPurgeDeletedAndWait(name: string, location: string, options?: ManagedHsmsPurgeDeletedOptionalParams): Promise<ManagedHsmsPurgeDeletedResponse>;
83
69
  /**
84
- * Gets the specified managed HSM Pool.
85
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
86
- * @param name The name of the managed HSM Pool.
70
+ * The List operation gets information about the managed HSM Pools associated with the subscription.
87
71
  * @param options The options parameters.
88
72
  */
89
- get(resourceGroupName: string, name: string, options?: ManagedHsmsGetOptionalParams): Promise<ManagedHsmsGetResponse>;
73
+ private _listBySubscription;
90
74
  /**
91
75
  * The List operation gets information about the managed HSM Pools associated with the subscription and
92
76
  * within the specified resource group.
93
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
77
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
94
78
  * @param options The options parameters.
95
79
  */
96
80
  private _listByResourceGroup;
97
81
  /**
98
- * The List operation gets information about the managed HSM Pools associated with the subscription.
82
+ * Gets the specified managed HSM Pool.
83
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
84
+ * @param name The name of the managed HSM Pool.
99
85
  * @param options The options parameters.
100
86
  */
101
- private _listBySubscription;
87
+ get(resourceGroupName: string, name: string, options?: ManagedHsmsGetOptionalParams): Promise<ManagedHsmsGetResponse>;
102
88
  /**
103
- * The List operation gets information about the deleted managed HSMs associated with the subscription.
89
+ * Create or update a managed HSM Pool in the specified subscription.
90
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
91
+ * @param name The name of the managed HSM Pool.
92
+ * @param parameters Parameters to create or update the managed HSM Pool
104
93
  * @param options The options parameters.
105
94
  */
106
- private _listDeleted;
95
+ beginCreateOrUpdate(resourceGroupName: string, name: string, parameters: ManagedHsm, options?: ManagedHsmsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ManagedHsmsCreateOrUpdateResponse>, ManagedHsmsCreateOrUpdateResponse>>;
107
96
  /**
108
- * Gets the specified deleted managed HSM.
109
- * @param name The name of the deleted managed HSM.
110
- * @param location The location of the deleted managed HSM.
97
+ * Create or update a managed HSM Pool in the specified subscription.
98
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
99
+ * @param name The name of the managed HSM Pool.
100
+ * @param parameters Parameters to create or update the managed HSM Pool
111
101
  * @param options The options parameters.
112
102
  */
113
- getDeleted(name: string, location: string, options?: ManagedHsmsGetDeletedOptionalParams): Promise<ManagedHsmsGetDeletedResponse>;
103
+ beginCreateOrUpdateAndWait(resourceGroupName: string, name: string, parameters: ManagedHsm, options?: ManagedHsmsCreateOrUpdateOptionalParams): Promise<ManagedHsmsCreateOrUpdateResponse>;
114
104
  /**
115
- * Permanently deletes the specified managed HSM.
116
- * @param name The name of the soft-deleted managed HSM.
117
- * @param location The location of the soft-deleted managed HSM.
105
+ * Update a managed HSM Pool in the specified subscription.
106
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
107
+ * @param name The name of the managed HSM Pool.
108
+ * @param parameters Parameters to patch the managed HSM Pool
118
109
  * @param options The options parameters.
119
110
  */
120
- beginPurgeDeleted(name: string, location: string, options?: ManagedHsmsPurgeDeletedOptionalParams): Promise<SimplePollerLike<OperationState<ManagedHsmsPurgeDeletedResponse>, ManagedHsmsPurgeDeletedResponse>>;
111
+ beginUpdate(resourceGroupName: string, name: string, parameters: ManagedHsm, options?: ManagedHsmsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ManagedHsmsUpdateResponse>, ManagedHsmsUpdateResponse>>;
121
112
  /**
122
- * Permanently deletes the specified managed HSM.
123
- * @param name The name of the soft-deleted managed HSM.
124
- * @param location The location of the soft-deleted managed HSM.
113
+ * Update a managed HSM Pool in the specified subscription.
114
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
115
+ * @param name The name of the managed HSM Pool.
116
+ * @param parameters Parameters to patch the managed HSM Pool
125
117
  * @param options The options parameters.
126
118
  */
127
- beginPurgeDeletedAndWait(name: string, location: string, options?: ManagedHsmsPurgeDeletedOptionalParams): Promise<ManagedHsmsPurgeDeletedResponse>;
119
+ beginUpdateAndWait(resourceGroupName: string, name: string, parameters: ManagedHsm, options?: ManagedHsmsUpdateOptionalParams): Promise<ManagedHsmsUpdateResponse>;
128
120
  /**
129
- * Checks that the managed hsm name is valid and is not already in use.
130
- * @param mhsmName The name of the managed hsm.
121
+ * Deletes the specified managed HSM Pool.
122
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
123
+ * @param name The name of the managed HSM Pool.
131
124
  * @param options The options parameters.
132
125
  */
133
- checkMhsmNameAvailability(mhsmName: CheckMhsmNameAvailabilityParameters, options?: ManagedHsmsCheckMhsmNameAvailabilityOptionalParams): Promise<ManagedHsmsCheckMhsmNameAvailabilityResponse>;
126
+ beginDelete(resourceGroupName: string, name: string, options?: ManagedHsmsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
134
127
  /**
135
- * ListByResourceGroupNext
136
- * @param resourceGroupName Name of the resource group that contains the managed HSM pool.
137
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
128
+ * Deletes the specified managed HSM Pool.
129
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
130
+ * @param name The name of the managed HSM Pool.
138
131
  * @param options The options parameters.
139
132
  */
140
- private _listByResourceGroupNext;
133
+ beginDeleteAndWait(resourceGroupName: string, name: string, options?: ManagedHsmsDeleteOptionalParams): Promise<void>;
134
+ /**
135
+ * ListDeletedNext
136
+ * @param nextLink The nextLink from the previous successful call to the ListDeleted method.
137
+ * @param options The options parameters.
138
+ */
139
+ private _listDeletedNext;
141
140
  /**
142
141
  * ListBySubscriptionNext
143
142
  * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
@@ -145,10 +144,11 @@ export declare class ManagedHsmsImpl implements ManagedHsms {
145
144
  */
146
145
  private _listBySubscriptionNext;
147
146
  /**
148
- * ListDeletedNext
149
- * @param nextLink The nextLink from the previous successful call to the ListDeleted method.
147
+ * ListByResourceGroupNext
148
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
149
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
150
150
  * @param options The options parameters.
151
151
  */
152
- private _listDeletedNext;
152
+ private _listByResourceGroupNext;
153
153
  }
154
154
  //# sourceMappingURL=managedHsms.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"managedHsms.d.ts","sourceRoot":"","sources":["../../../src/operations/managedHsms.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAI/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,UAAU,EAEV,4CAA4C,EAG5C,2CAA2C,EAE3C,iBAAiB,EAEjB,oCAAoC,EAEpC,uCAAuC,EACvC,iCAAiC,EACjC,+BAA+B,EAC/B,yBAAyB,EACzB,+BAA+B,EAC/B,4BAA4B,EAC5B,sBAAsB,EACtB,mCAAmC,EACnC,6BAA6B,EAC7B,qCAAqC,EACrC,+BAA+B,EAC/B,mCAAmC,EACnC,kDAAkD,EAClD,4CAA4C,EAI7C,MAAM,oBAAoB,CAAC;AAG5B,+CAA+C;AAC/C,qBAAa,eAAgB,YAAW,WAAW;IACjD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,4CAA4C,GACrD,0BAA0B,CAAC,UAAU,CAAC;YAsB1B,6BAA6B;YA2B7B,4BAA4B;IAY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