@azure/arm-keyvault 3.2.0-alpha.20251124.1 → 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 (492) hide show
  1. package/README.md +1 -0
  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 +24 -31
  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 +2 -7
  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 +1693 -1551
  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 +71 -78
  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 +62 -67
  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 +243 -256
  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 +28 -32
  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 +5 -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 +13 -18
  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 +6 -11
  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 +56 -60
  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 +5 -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 +67 -74
  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 +242 -261
  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 +2 -7
  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 +23 -30
  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 +2 -7
  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 +1696 -1554
  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 +71 -78
  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 +62 -67
  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 +242 -255
  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 +27 -31
  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 +5 -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 +13 -18
  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 +6 -11
  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 +55 -59
  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 +5 -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 +67 -74
  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 +241 -260
  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 +2 -7
  245. package/dist/commonjs/pagingHelper.js.map +1 -1
  246. package/dist/esm/index.d.ts.map +1 -1
  247. package/dist/esm/index.js +4 -7
  248. package/dist/esm/index.js.map +1 -1
  249. package/dist/esm/keyVaultManagementClient.d.ts +11 -12
  250. package/dist/esm/keyVaultManagementClient.d.ts.map +1 -1
  251. package/dist/esm/keyVaultManagementClient.js +24 -31
  252. package/dist/esm/keyVaultManagementClient.js.map +1 -1
  253. package/dist/esm/lroImpl.d.ts +1 -1
  254. package/dist/esm/lroImpl.d.ts.map +1 -1
  255. package/dist/esm/lroImpl.js +2 -7
  256. package/dist/esm/lroImpl.js.map +1 -1
  257. package/dist/esm/models/index.d.ts +1514 -1451
  258. package/dist/esm/models/index.d.ts.map +1 -1
  259. package/dist/esm/models/index.js +204 -201
  260. package/dist/esm/models/index.js.map +1 -1
  261. package/dist/esm/models/mappers.d.ts +76 -72
  262. package/dist/esm/models/mappers.d.ts.map +1 -1
  263. package/dist/esm/models/mappers.js +1693 -1551
  264. package/dist/esm/models/mappers.js.map +1 -1
  265. package/dist/esm/models/parameters.d.ts +17 -19
  266. package/dist/esm/models/parameters.d.ts.map +1 -1
  267. package/dist/esm/models/parameters.js +107 -132
  268. package/dist/esm/models/parameters.js.map +1 -1
  269. package/dist/esm/operations/index.d.ts +6 -6
  270. package/dist/esm/operations/index.d.ts.map +1 -1
  271. package/dist/esm/operations/index.js +10 -13
  272. package/dist/esm/operations/index.js.map +1 -1
  273. package/dist/esm/operations/keys.d.ts +36 -38
  274. package/dist/esm/operations/keys.d.ts.map +1 -1
  275. package/dist/esm/operations/keys.js +71 -78
  276. package/dist/esm/operations/keys.js.map +1 -1
  277. package/dist/esm/operations/managedHsmKeys.d.ts +20 -20
  278. package/dist/esm/operations/managedHsmKeys.d.ts.map +1 -1
  279. package/dist/esm/operations/managedHsmKeys.js +62 -67
  280. package/dist/esm/operations/managedHsmKeys.js.map +1 -1
  281. package/dist/esm/operations/managedHsms.d.ts +77 -77
  282. package/dist/esm/operations/managedHsms.d.ts.map +1 -1
  283. package/dist/esm/operations/managedHsms.js +243 -256
  284. package/dist/esm/operations/managedHsms.js.map +1 -1
  285. package/dist/esm/operations/mhsmPrivateEndpointConnections.d.ts +19 -19
  286. package/dist/esm/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  287. package/dist/esm/operations/mhsmPrivateEndpointConnections.js +28 -32
  288. package/dist/esm/operations/mhsmPrivateEndpointConnections.js.map +1 -1
  289. package/dist/esm/operations/mhsmPrivateLinkResources.d.ts +5 -5
  290. package/dist/esm/operations/mhsmPrivateLinkResources.d.ts.map +1 -1
  291. package/dist/esm/operations/mhsmPrivateLinkResources.js +5 -10
  292. package/dist/esm/operations/mhsmPrivateLinkResources.js.map +1 -1
  293. package/dist/esm/operations/mhsmRegions.d.ts +10 -10
  294. package/dist/esm/operations/mhsmRegions.d.ts.map +1 -1
  295. package/dist/esm/operations/mhsmRegions.js +13 -18
  296. package/dist/esm/operations/mhsmRegions.js.map +1 -1
  297. package/dist/esm/operations/operations.d.ts +6 -6
  298. package/dist/esm/operations/operations.d.ts.map +1 -1
  299. package/dist/esm/operations/operations.js +6 -11
  300. package/dist/esm/operations/operations.js.map +1 -1
  301. package/dist/esm/operations/privateEndpointConnections.d.ts +25 -25
  302. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
  303. package/dist/esm/operations/privateEndpointConnections.js +56 -60
  304. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  305. package/dist/esm/operations/privateLinkResources.d.ts +5 -5
  306. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -1
  307. package/dist/esm/operations/privateLinkResources.js +5 -10
  308. package/dist/esm/operations/privateLinkResources.js.map +1 -1
  309. package/dist/esm/operations/secrets.d.ts +30 -32
  310. package/dist/esm/operations/secrets.d.ts.map +1 -1
  311. package/dist/esm/operations/secrets.js +67 -74
  312. package/dist/esm/operations/secrets.js.map +1 -1
  313. package/dist/esm/operations/vaults.d.ts +72 -72
  314. package/dist/esm/operations/vaults.d.ts.map +1 -1
  315. package/dist/esm/operations/vaults.js +242 -261
  316. package/dist/esm/operations/vaults.js.map +1 -1
  317. package/dist/esm/operationsInterfaces/index.d.ts +6 -6
  318. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  319. package/dist/esm/operationsInterfaces/index.js +10 -13
  320. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  321. package/dist/esm/operationsInterfaces/keys.d.ts +20 -22
  322. package/dist/esm/operationsInterfaces/keys.d.ts.map +1 -1
  323. package/dist/esm/operationsInterfaces/keys.js +2 -7
  324. package/dist/esm/operationsInterfaces/keys.js.map +1 -1
  325. package/dist/esm/operationsInterfaces/managedHsmKeys.d.ts +10 -10
  326. package/dist/esm/operationsInterfaces/managedHsmKeys.d.ts.map +1 -1
  327. package/dist/esm/operationsInterfaces/managedHsmKeys.js +2 -7
  328. package/dist/esm/operationsInterfaces/managedHsmKeys.js.map +1 -1
  329. package/dist/esm/operationsInterfaces/managedHsms.d.ts +54 -54
  330. package/dist/esm/operationsInterfaces/managedHsms.d.ts.map +1 -1
  331. package/dist/esm/operationsInterfaces/managedHsms.js +2 -7
  332. package/dist/esm/operationsInterfaces/managedHsms.js.map +1 -1
  333. package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts +13 -13
  334. package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  335. package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.js +2 -7
  336. package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
  337. package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.d.ts +3 -3
  338. package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.d.ts.map +1 -1
  339. package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.js +2 -7
  340. package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
  341. package/dist/esm/operationsInterfaces/mhsmRegions.d.ts +4 -4
  342. package/dist/esm/operationsInterfaces/mhsmRegions.d.ts.map +1 -1
  343. package/dist/esm/operationsInterfaces/mhsmRegions.js +2 -7
  344. package/dist/esm/operationsInterfaces/mhsmRegions.js.map +1 -1
  345. package/dist/esm/operationsInterfaces/operations.d.ts +3 -3
  346. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  347. package/dist/esm/operationsInterfaces/operations.js +2 -7
  348. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  349. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +13 -13
  350. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  351. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +2 -7
  352. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  353. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +3 -3
  354. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  355. package/dist/esm/operationsInterfaces/privateLinkResources.js +2 -7
  356. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -1
  357. package/dist/esm/operationsInterfaces/secrets.d.ts +18 -20
  358. package/dist/esm/operationsInterfaces/secrets.d.ts.map +1 -1
  359. package/dist/esm/operationsInterfaces/secrets.js +2 -7
  360. package/dist/esm/operationsInterfaces/secrets.js.map +1 -1
  361. package/dist/esm/operationsInterfaces/vaults.d.ts +50 -50
  362. package/dist/esm/operationsInterfaces/vaults.d.ts.map +1 -1
  363. package/dist/esm/operationsInterfaces/vaults.js +2 -7
  364. package/dist/esm/operationsInterfaces/vaults.js.map +1 -1
  365. package/dist/esm/pagingHelper.d.ts.map +1 -1
  366. package/dist/esm/pagingHelper.js +2 -7
  367. package/dist/esm/pagingHelper.js.map +1 -1
  368. package/dist/react-native/index.d.ts.map +1 -1
  369. package/dist/react-native/index.js +4 -7
  370. package/dist/react-native/index.js.map +1 -1
  371. package/dist/react-native/keyVaultManagementClient.d.ts +11 -12
  372. package/dist/react-native/keyVaultManagementClient.d.ts.map +1 -1
  373. package/dist/react-native/keyVaultManagementClient.js +24 -31
  374. package/dist/react-native/keyVaultManagementClient.js.map +1 -1
  375. package/dist/react-native/lroImpl.d.ts +1 -1
  376. package/dist/react-native/lroImpl.d.ts.map +1 -1
  377. package/dist/react-native/lroImpl.js +2 -7
  378. package/dist/react-native/lroImpl.js.map +1 -1
  379. package/dist/react-native/models/index.d.ts +1514 -1451
  380. package/dist/react-native/models/index.d.ts.map +1 -1
  381. package/dist/react-native/models/index.js +204 -201
  382. package/dist/react-native/models/index.js.map +1 -1
  383. package/dist/react-native/models/mappers.d.ts +76 -72
  384. package/dist/react-native/models/mappers.d.ts.map +1 -1
  385. package/dist/react-native/models/mappers.js +1693 -1551
  386. package/dist/react-native/models/mappers.js.map +1 -1
  387. package/dist/react-native/models/parameters.d.ts +17 -19
  388. package/dist/react-native/models/parameters.d.ts.map +1 -1
  389. package/dist/react-native/models/parameters.js +107 -132
  390. package/dist/react-native/models/parameters.js.map +1 -1
  391. package/dist/react-native/operations/index.d.ts +6 -6
  392. package/dist/react-native/operations/index.d.ts.map +1 -1
  393. package/dist/react-native/operations/index.js +10 -13
  394. package/dist/react-native/operations/index.js.map +1 -1
  395. package/dist/react-native/operations/keys.d.ts +36 -38
  396. package/dist/react-native/operations/keys.d.ts.map +1 -1
  397. package/dist/react-native/operations/keys.js +71 -78
  398. package/dist/react-native/operations/keys.js.map +1 -1
  399. package/dist/react-native/operations/managedHsmKeys.d.ts +20 -20
  400. package/dist/react-native/operations/managedHsmKeys.d.ts.map +1 -1
  401. package/dist/react-native/operations/managedHsmKeys.js +62 -67
  402. package/dist/react-native/operations/managedHsmKeys.js.map +1 -1
  403. package/dist/react-native/operations/managedHsms.d.ts +77 -77
  404. package/dist/react-native/operations/managedHsms.d.ts.map +1 -1
  405. package/dist/react-native/operations/managedHsms.js +243 -256
  406. package/dist/react-native/operations/managedHsms.js.map +1 -1
  407. package/dist/react-native/operations/mhsmPrivateEndpointConnections.d.ts +19 -19
  408. package/dist/react-native/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  409. package/dist/react-native/operations/mhsmPrivateEndpointConnections.js +28 -32
  410. package/dist/react-native/operations/mhsmPrivateEndpointConnections.js.map +1 -1
  411. package/dist/react-native/operations/mhsmPrivateLinkResources.d.ts +5 -5
  412. package/dist/react-native/operations/mhsmPrivateLinkResources.d.ts.map +1 -1
  413. package/dist/react-native/operations/mhsmPrivateLinkResources.js +5 -10
  414. package/dist/react-native/operations/mhsmPrivateLinkResources.js.map +1 -1
  415. package/dist/react-native/operations/mhsmRegions.d.ts +10 -10
  416. package/dist/react-native/operations/mhsmRegions.d.ts.map +1 -1
  417. package/dist/react-native/operations/mhsmRegions.js +13 -18
  418. package/dist/react-native/operations/mhsmRegions.js.map +1 -1
  419. package/dist/react-native/operations/operations.d.ts +6 -6
  420. package/dist/react-native/operations/operations.d.ts.map +1 -1
  421. package/dist/react-native/operations/operations.js +6 -11
  422. package/dist/react-native/operations/operations.js.map +1 -1
  423. package/dist/react-native/operations/privateEndpointConnections.d.ts +25 -25
  424. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
  425. package/dist/react-native/operations/privateEndpointConnections.js +56 -60
  426. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  427. package/dist/react-native/operations/privateLinkResources.d.ts +5 -5
  428. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -1
  429. package/dist/react-native/operations/privateLinkResources.js +5 -10
  430. package/dist/react-native/operations/privateLinkResources.js.map +1 -1
  431. package/dist/react-native/operations/secrets.d.ts +30 -32
  432. package/dist/react-native/operations/secrets.d.ts.map +1 -1
  433. package/dist/react-native/operations/secrets.js +67 -74
  434. package/dist/react-native/operations/secrets.js.map +1 -1
  435. package/dist/react-native/operations/vaults.d.ts +72 -72
  436. package/dist/react-native/operations/vaults.d.ts.map +1 -1
  437. package/dist/react-native/operations/vaults.js +242 -261
  438. package/dist/react-native/operations/vaults.js.map +1 -1
  439. package/dist/react-native/operationsInterfaces/index.d.ts +6 -6
  440. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  441. package/dist/react-native/operationsInterfaces/index.js +10 -13
  442. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  443. package/dist/react-native/operationsInterfaces/keys.d.ts +20 -22
  444. package/dist/react-native/operationsInterfaces/keys.d.ts.map +1 -1
  445. package/dist/react-native/operationsInterfaces/keys.js +2 -7
  446. package/dist/react-native/operationsInterfaces/keys.js.map +1 -1
  447. package/dist/react-native/operationsInterfaces/managedHsmKeys.d.ts +10 -10
  448. package/dist/react-native/operationsInterfaces/managedHsmKeys.d.ts.map +1 -1
  449. package/dist/react-native/operationsInterfaces/managedHsmKeys.js +2 -7
  450. package/dist/react-native/operationsInterfaces/managedHsmKeys.js.map +1 -1
  451. package/dist/react-native/operationsInterfaces/managedHsms.d.ts +54 -54
  452. package/dist/react-native/operationsInterfaces/managedHsms.d.ts.map +1 -1
  453. package/dist/react-native/operationsInterfaces/managedHsms.js +2 -7
  454. package/dist/react-native/operationsInterfaces/managedHsms.js.map +1 -1
  455. package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts +13 -13
  456. package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  457. package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.js +2 -7
  458. package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
  459. package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.d.ts +3 -3
  460. package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.d.ts.map +1 -1
  461. package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.js +2 -7
  462. package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
  463. package/dist/react-native/operationsInterfaces/mhsmRegions.d.ts +4 -4
  464. package/dist/react-native/operationsInterfaces/mhsmRegions.d.ts.map +1 -1
  465. package/dist/react-native/operationsInterfaces/mhsmRegions.js +2 -7
  466. package/dist/react-native/operationsInterfaces/mhsmRegions.js.map +1 -1
  467. package/dist/react-native/operationsInterfaces/operations.d.ts +3 -3
  468. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  469. package/dist/react-native/operationsInterfaces/operations.js +2 -7
  470. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  471. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +13 -13
  472. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  473. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +2 -7
  474. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  475. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +3 -3
  476. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  477. package/dist/react-native/operationsInterfaces/privateLinkResources.js +2 -7
  478. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -1
  479. package/dist/react-native/operationsInterfaces/secrets.d.ts +18 -20
  480. package/dist/react-native/operationsInterfaces/secrets.d.ts.map +1 -1
  481. package/dist/react-native/operationsInterfaces/secrets.js +2 -7
  482. package/dist/react-native/operationsInterfaces/secrets.js.map +1 -1
  483. package/dist/react-native/operationsInterfaces/vaults.d.ts +50 -50
  484. package/dist/react-native/operationsInterfaces/vaults.d.ts.map +1 -1
  485. package/dist/react-native/operationsInterfaces/vaults.js +2 -7
  486. package/dist/react-native/operationsInterfaces/vaults.js.map +1 -1
  487. package/dist/react-native/pagingHelper.d.ts.map +1 -1
  488. package/dist/react-native/pagingHelper.js +2 -7
  489. package/dist/react-native/pagingHelper.js.map +1 -1
  490. package/package.json +41 -42
  491. package/CHANGELOG.md +0 -121
  492. package/review/arm-keyvault-node.api.md +0 -1722
package/README.md CHANGED
@@ -106,6 +106,7 @@ If you'd like to contribute to this library, please read the [contributing guide
106
106
 
107
107
  - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
108
108
 
109
+
109
110
  [azure_cli]: https://learn.microsoft.com/cli/azure
110
111
  [azure_sub]: https://azure.microsoft.com/free/
111
112
  [azure_sub]: https://azure.microsoft.com/free/
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,cAAc,iCAAiC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,cAAc,iCAAiC,CAAC"}
@@ -1,10 +1,7 @@
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
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ // Code generated by Microsoft (R) AutoRest Code Generator.
4
+ // Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
5
  /// <reference lib="esnext.asynciterable" />
9
6
  export { getContinuationToken } from "./pagingHelper.js";
10
7
  export * from "./models/index.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { KeyVaultManagementClient } from \"./keyVaultManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,cAAc,iCAAiC,CAAC","sourcesContent":["// 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/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { KeyVaultManagementClient } from \"./keyVaultManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -1,31 +1,30 @@
1
1
  import * as coreClient from "@azure/core-client";
2
- import * as coreAuth from "@azure/core-auth";
3
- import { Keys, ManagedHsmKeys, Vaults, PrivateEndpointConnections, PrivateLinkResources, ManagedHsms, MhsmPrivateEndpointConnections, MhsmPrivateLinkResources, MhsmRegions, Operations, Secrets } from "./operationsInterfaces/index.js";
4
- import { KeyVaultManagementClientOptionalParams } from "./models/index.js";
2
+ import type * as coreAuth from "@azure/core-auth";
3
+ import type { Operations, ManagedHsms, Vaults, ManagedHsmKeys, MhsmPrivateEndpointConnections, MhsmPrivateLinkResources, MhsmRegions, Keys, PrivateEndpointConnections, PrivateLinkResources, Secrets } from "./operationsInterfaces/index.js";
4
+ import type { KeyVaultManagementClientOptionalParams } from "./models/index.js";
5
5
  export declare class KeyVaultManagementClient extends coreClient.ServiceClient {
6
6
  $host: string;
7
- subscriptionId: string;
8
7
  apiVersion: string;
8
+ subscriptionId: string;
9
9
  /**
10
10
  * Initializes a new instance of the KeyVaultManagementClient class.
11
11
  * @param credentials Subscription credentials which uniquely identify client subscription.
12
- * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure subscription.
13
- * The subscription ID forms part of the URI for every service call.
12
+ * @param subscriptionId The ID of the target subscription. The value must be an UUID.
14
13
  * @param options The parameter options
15
14
  */
16
15
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: KeyVaultManagementClientOptionalParams);
17
16
  /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
18
17
  private addCustomApiVersionPolicy;
19
- keys: Keys;
20
- managedHsmKeys: ManagedHsmKeys;
21
- vaults: Vaults;
22
- privateEndpointConnections: PrivateEndpointConnections;
23
- privateLinkResources: PrivateLinkResources;
18
+ operations: Operations;
24
19
  managedHsms: ManagedHsms;
20
+ vaults: Vaults;
21
+ managedHsmKeys: ManagedHsmKeys;
25
22
  mhsmPrivateEndpointConnections: MhsmPrivateEndpointConnections;
26
23
  mhsmPrivateLinkResources: MhsmPrivateLinkResources;
27
24
  mhsmRegions: MhsmRegions;
28
- operations: Operations;
25
+ keys: Keys;
26
+ privateEndpointConnections: PrivateEndpointConnections;
27
+ privateLinkResources: PrivateLinkResources;
29
28
  secrets: Secrets;
30
29
  }
31
30
  //# sourceMappingURL=keyVaultManagementClient.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"keyVaultManagementClient.d.ts","sourceRoot":"","sources":["../../src/keyVaultManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAc7C,OAAO,EACL,IAAI,EACJ,cAAc,EACd,MAAM,EACN,0BAA0B,EAC1B,oBAAoB,EACpB,WAAW,EACX,8BAA8B,EAC9B,wBAAwB,EACxB,WAAW,EACX,UAAU,EACV,OAAO,EACR,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,sCAAsC,EAAE,MAAM,mBAAmB,CAAC;AAE3E,qBAAa,wBAAyB,SAAQ,UAAU,CAAC,aAAa;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;;OAMG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,sCAAsC;IAwFlD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,IAAI,EAAE,IAAI,CAAC;IACX,cAAc,EAAE,cAAc,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,WAAW,EAAE,WAAW,CAAC;IACzB,8BAA8B,EAAE,8BAA8B,CAAC;IAC/D,wBAAwB,EAAE,wBAAwB,CAAC;IACnD,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,EAAE,UAAU,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;CAClB"}
1
+ {"version":3,"file":"keyVaultManagementClient.d.ts","sourceRoot":"","sources":["../../src/keyVaultManagementClient.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAGjD,OAAO,KAAK,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAclD,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EACX,MAAM,EACN,cAAc,EACd,8BAA8B,EAC9B,wBAAwB,EACxB,WAAW,EACX,IAAI,EACJ,0BAA0B,EAC1B,oBAAoB,EACpB,OAAO,EACR,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,mBAAmB,CAAC;AAEhF,qBAAa,wBAAyB,SAAQ,UAAU,CAAC,aAAa;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,sCAAsC;IAmFlD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IAwBjC,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,cAAc,CAAC;IAC/B,8BAA8B,EAAE,8BAA8B,CAAC;IAC/D,wBAAwB,EAAE,wBAAwB,CAAC;IACnD,WAAW,EAAE,WAAW,CAAC;IACzB,IAAI,EAAE,IAAI,CAAC;IACX,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,OAAO,EAAE,OAAO,CAAC;CAClB"}
@@ -1,22 +1,18 @@
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
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ // Code generated by Microsoft (R) AutoRest Code Generator.
4
+ // Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
5
  import * as coreClient from "@azure/core-client";
9
6
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
- import { KeysImpl, ManagedHsmKeysImpl, VaultsImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, ManagedHsmsImpl, MhsmPrivateEndpointConnectionsImpl, MhsmPrivateLinkResourcesImpl, MhsmRegionsImpl, OperationsImpl, SecretsImpl, } from "./operations/index.js";
7
+ import { OperationsImpl, ManagedHsmsImpl, VaultsImpl, ManagedHsmKeysImpl, MhsmPrivateEndpointConnectionsImpl, MhsmPrivateLinkResourcesImpl, MhsmRegionsImpl, KeysImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, SecretsImpl, } from "./operations/index.js";
11
8
  export class KeyVaultManagementClient extends coreClient.ServiceClient {
12
9
  $host;
13
- subscriptionId;
14
10
  apiVersion;
11
+ subscriptionId;
15
12
  /**
16
13
  * Initializes a new instance of the KeyVaultManagementClient class.
17
14
  * @param credentials Subscription credentials which uniquely identify client subscription.
18
- * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure subscription.
19
- * The subscription ID forms part of the URI for every service call.
15
+ * @param subscriptionId The ID of the target subscription. The value must be an UUID.
20
16
  * @param options The parameter options
21
17
  */
22
18
  constructor(credentials, subscriptionId, options) {
@@ -34,7 +30,7 @@ export class KeyVaultManagementClient extends coreClient.ServiceClient {
34
30
  requestContentType: "application/json; charset=utf-8",
35
31
  credential: credentials,
36
32
  };
37
- const packageDetails = `azsdk-js-arm-keyvault/3.2.0`;
33
+ const packageDetails = `azsdk-js-arm-keyvault/4.0.0`;
38
34
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
39
35
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
40
36
  : `${packageDetails}`;
@@ -50,8 +46,7 @@ export class KeyVaultManagementClient extends coreClient.ServiceClient {
50
46
  let bearerTokenAuthenticationPolicyFound = false;
51
47
  if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
52
48
  const pipelinePolicies = options.pipeline.getOrderedPolicies();
53
- bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
54
- coreRestPipeline.bearerTokenAuthenticationPolicyName);
49
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName);
55
50
  }
56
51
  if (!options ||
57
52
  !options.pipeline ||
@@ -62,8 +57,7 @@ export class KeyVaultManagementClient extends coreClient.ServiceClient {
62
57
  });
63
58
  this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
64
59
  credential: credentials,
65
- scopes: optionsWithDefaults.credentialScopes ??
66
- `${optionsWithDefaults.endpoint}/.default`,
60
+ scopes: optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,
67
61
  challengeCallbacks: {
68
62
  authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
69
63
  },
@@ -73,18 +67,17 @@ export class KeyVaultManagementClient extends coreClient.ServiceClient {
73
67
  this.subscriptionId = subscriptionId;
74
68
  // Assigning values to Constant parameters
75
69
  this.$host = options.$host || "https://management.azure.com";
76
- this.apiVersion = options.apiVersion || "2024-11-01";
77
- this.keys = new KeysImpl(this);
78
- this.managedHsmKeys = new ManagedHsmKeysImpl(this);
79
- this.vaults = new VaultsImpl(this);
80
- this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
81
- this.privateLinkResources = new PrivateLinkResourcesImpl(this);
70
+ this.apiVersion = options.apiVersion || "2025-05-01";
71
+ this.operations = new OperationsImpl(this);
82
72
  this.managedHsms = new ManagedHsmsImpl(this);
83
- this.mhsmPrivateEndpointConnections =
84
- new MhsmPrivateEndpointConnectionsImpl(this);
73
+ this.vaults = new VaultsImpl(this);
74
+ this.managedHsmKeys = new ManagedHsmKeysImpl(this);
75
+ this.mhsmPrivateEndpointConnections = new MhsmPrivateEndpointConnectionsImpl(this);
85
76
  this.mhsmPrivateLinkResources = new MhsmPrivateLinkResourcesImpl(this);
86
77
  this.mhsmRegions = new MhsmRegionsImpl(this);
87
- this.operations = new OperationsImpl(this);
78
+ this.keys = new KeysImpl(this);
79
+ this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
80
+ this.privateLinkResources = new PrivateLinkResourcesImpl(this);
88
81
  this.secrets = new SecretsImpl(this);
89
82
  this.addCustomApiVersionPolicy(options.apiVersion);
90
83
  }
@@ -113,16 +106,16 @@ export class KeyVaultManagementClient extends coreClient.ServiceClient {
113
106
  };
114
107
  this.pipeline.addPolicy(apiVersionPolicy);
115
108
  }
116
- keys;
117
- managedHsmKeys;
118
- vaults;
119
- privateEndpointConnections;
120
- privateLinkResources;
109
+ operations;
121
110
  managedHsms;
111
+ vaults;
112
+ managedHsmKeys;
122
113
  mhsmPrivateEndpointConnections;
123
114
  mhsmPrivateLinkResources;
124
115
  mhsmRegions;
125
- operations;
116
+ keys;
117
+ privateEndpointConnections;
118
+ privateLinkResources;
126
119
  secrets;
127
120
  }
128
121
  //# sourceMappingURL=keyVaultManagementClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"keyVaultManagementClient.js","sourceRoot":"","sources":["../../src/keyVaultManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,QAAQ,EACR,kBAAkB,EAClB,UAAU,EACV,8BAA8B,EAC9B,wBAAwB,EACxB,eAAe,EACf,kCAAkC,EAClC,4BAA4B,EAC5B,eAAe,EACf,cAAc,EACd,WAAW,GACZ,MAAM,uBAAuB,CAAC;AAgB/B,MAAM,OAAO,wBAAyB,SAAQ,UAAU,CAAC,aAAa;IACpE,KAAK,CAAS;IACd,cAAc,CAAS;IACvB,UAAU,CAAS;IAEnB;;;;;;OAMG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAgD;QAEhD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAA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B,CAAiC;IAC/D,wBAAwB,CAA2B;IACnD,WAAW,CAAc;IACzB,UAAU,CAAa;IACvB,OAAO,CAAU;CAClB","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n KeysImpl,\n ManagedHsmKeysImpl,\n VaultsImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n ManagedHsmsImpl,\n MhsmPrivateEndpointConnectionsImpl,\n MhsmPrivateLinkResourcesImpl,\n MhsmRegionsImpl,\n OperationsImpl,\n SecretsImpl,\n} from \"./operations/index.js\";\nimport {\n Keys,\n ManagedHsmKeys,\n Vaults,\n PrivateEndpointConnections,\n PrivateLinkResources,\n ManagedHsms,\n MhsmPrivateEndpointConnections,\n MhsmPrivateLinkResources,\n MhsmRegions,\n Operations,\n Secrets,\n} from \"./operationsInterfaces/index.js\";\nimport { KeyVaultManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class KeyVaultManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the KeyVaultManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure subscription.\n * The subscription ID forms part of the URI for every service call.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: KeyVaultManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: KeyVaultManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-keyvault/3.2.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2024-11-01\";\n this.keys = new KeysImpl(this);\n this.managedHsmKeys = new ManagedHsmKeysImpl(this);\n this.vaults = new VaultsImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.managedHsms = new ManagedHsmsImpl(this);\n this.mhsmPrivateEndpointConnections =\n new MhsmPrivateEndpointConnectionsImpl(this);\n this.mhsmPrivateLinkResources = new MhsmPrivateLinkResourcesImpl(this);\n this.mhsmRegions = new MhsmRegionsImpl(this);\n this.operations = new OperationsImpl(this);\n this.secrets = new SecretsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n keys: Keys;\n managedHsmKeys: ManagedHsmKeys;\n vaults: Vaults;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n managedHsms: ManagedHsms;\n mhsmPrivateEndpointConnections: MhsmPrivateEndpointConnections;\n mhsmPrivateLinkResources: MhsmPrivateLinkResources;\n mhsmRegions: MhsmRegions;\n operations: Operations;\n secrets: Secrets;\n}\n"]}
1
+ {"version":3,"file":"keyVaultManagementClient.js","sourceRoot":"","sources":["../../src/keyVaultManagementClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAG9D,OAAO,EACL,cAAc,EACd,eAAe,EACf,UAAU,EACV,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rC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,UAAU,CAAa;IACvB,WAAW,CAAc;IACzB,MAAM,CAAS;IACf,cAAc,CAAiB;IAC/B,8BAA8B,CAAiC;IAC/D,wBAAwB,CAA2B;IACnD,WAAW,CAAc;IACzB,IAAI,CAAO;IACX,0BAA0B,CAA6B;IACvD,oBAAoB,CAAuB;IAC3C,OAAO,CAAU;CAClB","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport type { PipelineRequest, PipelineResponse, SendRequest } from \"@azure/core-rest-pipeline\";\nimport type * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n ManagedHsmsImpl,\n VaultsImpl,\n ManagedHsmKeysImpl,\n MhsmPrivateEndpointConnectionsImpl,\n MhsmPrivateLinkResourcesImpl,\n MhsmRegionsImpl,\n KeysImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n SecretsImpl,\n} from \"./operations/index.js\";\nimport type {\n Operations,\n ManagedHsms,\n Vaults,\n ManagedHsmKeys,\n MhsmPrivateEndpointConnections,\n MhsmPrivateLinkResources,\n MhsmRegions,\n Keys,\n PrivateEndpointConnections,\n PrivateLinkResources,\n Secrets,\n} from \"./operationsInterfaces/index.js\";\nimport type { KeyVaultManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class KeyVaultManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the KeyVaultManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: KeyVaultManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: KeyVaultManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-keyvault/4.0.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2025-05-01\";\n this.operations = new OperationsImpl(this);\n this.managedHsms = new ManagedHsmsImpl(this);\n this.vaults = new VaultsImpl(this);\n this.managedHsmKeys = new ManagedHsmKeysImpl(this);\n this.mhsmPrivateEndpointConnections = new MhsmPrivateEndpointConnectionsImpl(this);\n this.mhsmPrivateLinkResources = new MhsmPrivateLinkResourcesImpl(this);\n this.mhsmRegions = new MhsmRegionsImpl(this);\n this.keys = new KeysImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.secrets = new SecretsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n managedHsms: ManagedHsms;\n vaults: Vaults;\n managedHsmKeys: ManagedHsmKeys;\n mhsmPrivateEndpointConnections: MhsmPrivateEndpointConnections;\n mhsmPrivateLinkResources: MhsmPrivateLinkResources;\n mhsmRegions: MhsmRegions;\n keys: Keys;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n secrets: Secrets;\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { LongRunningOperation, LroResponse } from "@azure/core-lro";
1
+ import type { LongRunningOperation, LroResponse } from "@azure/core-lro";
2
2
  export declare function createLroSpec<T>(inputs: {
3
3
  sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
4
4
  args: Record<string, unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
1
+ {"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEzE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAgB1B"}
@@ -1,10 +1,5 @@
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
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
8
3
  export function createLroSpec(inputs) {
9
4
  const { args, spec, sendOperationFn } = inputs;
10
5
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,EAAE;gBAC3B,GAAG,QAAQ;gBACX,UAAU,EAAE,KAAK;gBACjB,IAAI;gBACJ,WAAW,EAAE,OAAO,EAAE,WAAW;aAClC,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAQlC,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CAAC,IAAY,EAAE,OAA2C,EAAE,EAAE;YAC7E,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,EAAE;gBAC3B,GAAG,QAAQ;gBACX,UAAU,EAAE,KAAK;gBACjB,IAAI;gBACJ,WAAW,EAAE,OAAO,EAAE,WAAW;aAClC,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,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 { AbortSignalLike } from \"@azure/abort-controller\";\nimport type { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (path: string, options?: { abortSignal?: AbortSignalLike }) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}