@azure/keyvault-certificates 4.9.1-alpha.20250113.1 → 4.9.1-alpha.20250120.1

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 (377) hide show
  1. package/dist/browser/certificatesModels.d.ts +6 -1
  2. package/dist/browser/certificatesModels.d.ts.map +1 -1
  3. package/dist/browser/certificatesModels.js.map +1 -1
  4. package/dist/browser/generated/api/index.d.ts +4 -0
  5. package/dist/browser/generated/api/index.d.ts.map +1 -0
  6. package/dist/browser/generated/api/index.js +5 -0
  7. package/dist/browser/generated/api/index.js.map +1 -0
  8. package/dist/browser/generated/api/keyVaultContext.d.ts +14 -0
  9. package/dist/browser/generated/api/keyVaultContext.d.ts.map +1 -0
  10. package/dist/browser/generated/api/keyVaultContext.js +37 -0
  11. package/dist/browser/generated/api/keyVaultContext.js.map +1 -0
  12. package/dist/browser/generated/api/operations.d.ts +113 -0
  13. package/dist/browser/generated/api/operations.d.ts.map +1 -0
  14. package/dist/browser/generated/api/operations.js +467 -0
  15. package/dist/browser/generated/api/operations.js.map +1 -0
  16. package/dist/browser/generated/api/options.d.ts +95 -0
  17. package/dist/browser/generated/api/options.d.ts.map +1 -0
  18. package/dist/browser/generated/api/options.js +4 -0
  19. package/dist/browser/generated/api/options.js.map +1 -0
  20. package/dist/browser/generated/helpers/serializerHelpers.d.ts +3 -0
  21. package/dist/browser/generated/helpers/serializerHelpers.d.ts.map +1 -0
  22. package/dist/browser/generated/helpers/serializerHelpers.js +25 -0
  23. package/dist/browser/generated/helpers/serializerHelpers.js.map +1 -0
  24. package/dist/browser/generated/index.d.ts +4 -1
  25. package/dist/browser/generated/index.d.ts.map +1 -1
  26. package/dist/browser/generated/index.js +3 -8
  27. package/dist/browser/generated/index.js.map +1 -1
  28. package/dist/browser/generated/keyVaultClient.d.ts +66 -276
  29. package/dist/browser/generated/keyVaultClient.d.ts.map +1 -1
  30. package/dist/browser/generated/keyVaultClient.js +118 -960
  31. package/dist/browser/generated/keyVaultClient.js.map +1 -1
  32. package/dist/browser/generated/logger.d.ts +2 -0
  33. package/dist/browser/generated/logger.d.ts.map +1 -0
  34. package/dist/browser/generated/logger.js +5 -0
  35. package/dist/browser/generated/logger.js.map +1 -0
  36. package/dist/browser/generated/models/index.d.ts +1 -812
  37. package/dist/browser/generated/models/index.d.ts.map +1 -1
  38. package/dist/browser/generated/models/index.js +3 -62
  39. package/dist/browser/generated/models/index.js.map +1 -1
  40. package/dist/browser/generated/models/models.d.ts +565 -0
  41. package/dist/browser/generated/models/models.d.ts.map +1 -0
  42. package/dist/browser/generated/models/models.js +690 -0
  43. package/dist/browser/generated/models/models.js.map +1 -0
  44. package/dist/browser/generated/static-helpers/pagingHelpers.d.ts +72 -0
  45. package/dist/browser/generated/static-helpers/pagingHelpers.d.ts.map +1 -0
  46. package/dist/browser/generated/static-helpers/pagingHelpers.js +139 -0
  47. package/dist/browser/generated/static-helpers/pagingHelpers.js.map +1 -0
  48. package/dist/browser/index.d.ts +3 -11
  49. package/dist/browser/index.d.ts.map +1 -1
  50. package/dist/browser/index.js +74 -308
  51. package/dist/browser/index.js.map +1 -1
  52. package/dist/browser/lro/create/operation.d.ts +2 -3
  53. package/dist/browser/lro/create/operation.d.ts.map +1 -1
  54. package/dist/browser/lro/create/operation.js +11 -14
  55. package/dist/browser/lro/create/operation.js.map +1 -1
  56. package/dist/browser/lro/create/poller.d.ts.map +1 -1
  57. package/dist/browser/lro/create/poller.js +2 -2
  58. package/dist/browser/lro/create/poller.js.map +1 -1
  59. package/dist/browser/lro/delete/operation.d.ts +2 -3
  60. package/dist/browser/lro/delete/operation.d.ts.map +1 -1
  61. package/dist/browser/lro/delete/operation.js +4 -8
  62. package/dist/browser/lro/delete/operation.js.map +1 -1
  63. package/dist/browser/lro/delete/poller.d.ts.map +1 -1
  64. package/dist/browser/lro/delete/poller.js +2 -2
  65. package/dist/browser/lro/delete/poller.js.map +1 -1
  66. package/dist/browser/lro/keyVaultCertificatePoller.d.ts +1 -1
  67. package/dist/browser/lro/keyVaultCertificatePoller.d.ts.map +1 -1
  68. package/dist/browser/lro/keyVaultCertificatePoller.js.map +1 -1
  69. package/dist/browser/lro/operation/operation.d.ts +2 -3
  70. package/dist/browser/lro/operation/operation.d.ts.map +1 -1
  71. package/dist/browser/lro/operation/operation.js +6 -13
  72. package/dist/browser/lro/operation/operation.js.map +1 -1
  73. package/dist/browser/lro/operation/poller.d.ts.map +1 -1
  74. package/dist/browser/lro/operation/poller.js +2 -2
  75. package/dist/browser/lro/operation/poller.js.map +1 -1
  76. package/dist/browser/lro/recover/operation.d.ts +2 -3
  77. package/dist/browser/lro/recover/operation.d.ts.map +1 -1
  78. package/dist/browser/lro/recover/operation.js +4 -8
  79. package/dist/browser/lro/recover/operation.js.map +1 -1
  80. package/dist/browser/lro/recover/poller.d.ts.map +1 -1
  81. package/dist/browser/lro/recover/poller.js +2 -2
  82. package/dist/browser/lro/recover/poller.js.map +1 -1
  83. package/dist/browser/transformations.d.ts +3 -1
  84. package/dist/browser/transformations.d.ts.map +1 -1
  85. package/dist/browser/transformations.js +34 -2
  86. package/dist/browser/transformations.js.map +1 -1
  87. package/dist/commonjs/certificatesModels.d.ts +6 -1
  88. package/dist/commonjs/certificatesModels.d.ts.map +1 -1
  89. package/dist/commonjs/certificatesModels.js.map +1 -1
  90. package/dist/commonjs/generated/api/index.d.ts +4 -0
  91. package/dist/commonjs/generated/api/index.d.ts.map +1 -0
  92. package/dist/commonjs/generated/api/index.js +36 -0
  93. package/dist/commonjs/generated/api/index.js.map +1 -0
  94. package/dist/commonjs/generated/api/keyVaultContext.d.ts +14 -0
  95. package/dist/commonjs/generated/api/keyVaultContext.d.ts.map +1 -0
  96. package/dist/commonjs/generated/api/keyVaultContext.js +40 -0
  97. package/dist/commonjs/generated/api/keyVaultContext.js.map +1 -0
  98. package/dist/commonjs/generated/api/operations.d.ts +113 -0
  99. package/dist/commonjs/generated/api/operations.d.ts.map +1 -0
  100. package/dist/commonjs/generated/api/operations.js +550 -0
  101. package/dist/commonjs/generated/api/operations.js.map +1 -0
  102. package/dist/commonjs/generated/api/options.d.ts +95 -0
  103. package/dist/commonjs/generated/api/options.d.ts.map +1 -0
  104. package/dist/commonjs/generated/api/options.js +5 -0
  105. package/dist/commonjs/generated/api/options.js.map +1 -0
  106. package/dist/commonjs/generated/helpers/serializerHelpers.d.ts +3 -0
  107. package/dist/commonjs/generated/helpers/serializerHelpers.d.ts.map +1 -0
  108. package/dist/commonjs/generated/helpers/serializerHelpers.js +28 -0
  109. package/dist/commonjs/generated/helpers/serializerHelpers.js.map +1 -0
  110. package/dist/commonjs/generated/index.d.ts +4 -1
  111. package/dist/commonjs/generated/index.d.ts.map +1 -1
  112. package/dist/commonjs/generated/index.js +9 -10
  113. package/dist/commonjs/generated/index.js.map +1 -1
  114. package/dist/commonjs/generated/keyVaultClient.d.ts +66 -276
  115. package/dist/commonjs/generated/keyVaultClient.d.ts.map +1 -1
  116. package/dist/commonjs/generated/keyVaultClient.js +118 -961
  117. package/dist/commonjs/generated/keyVaultClient.js.map +1 -1
  118. package/dist/commonjs/generated/logger.d.ts +2 -0
  119. package/dist/commonjs/generated/logger.d.ts.map +1 -0
  120. package/dist/commonjs/generated/logger.js +8 -0
  121. package/dist/commonjs/generated/logger.js.map +1 -0
  122. package/dist/commonjs/generated/models/index.d.ts +1 -812
  123. package/dist/commonjs/generated/models/index.d.ts.map +1 -1
  124. package/dist/commonjs/generated/models/index.js +9 -63
  125. package/dist/commonjs/generated/models/index.js.map +1 -1
  126. package/dist/commonjs/generated/models/models.d.ts +565 -0
  127. package/dist/commonjs/generated/models/models.d.ts.map +1 -0
  128. package/dist/commonjs/generated/models/models.js +754 -0
  129. package/dist/commonjs/generated/models/models.js.map +1 -0
  130. package/dist/commonjs/generated/static-helpers/pagingHelpers.d.ts +72 -0
  131. package/dist/commonjs/generated/static-helpers/pagingHelpers.d.ts.map +1 -0
  132. package/dist/commonjs/generated/static-helpers/pagingHelpers.js +142 -0
  133. package/dist/commonjs/generated/static-helpers/pagingHelpers.js.map +1 -0
  134. package/dist/commonjs/index.d.ts +3 -11
  135. package/dist/commonjs/index.d.ts.map +1 -1
  136. package/dist/commonjs/index.js +73 -307
  137. package/dist/commonjs/index.js.map +1 -1
  138. package/dist/commonjs/lro/create/operation.d.ts +2 -3
  139. package/dist/commonjs/lro/create/operation.d.ts.map +1 -1
  140. package/dist/commonjs/lro/create/operation.js +11 -14
  141. package/dist/commonjs/lro/create/operation.js.map +1 -1
  142. package/dist/commonjs/lro/create/poller.d.ts.map +1 -1
  143. package/dist/commonjs/lro/create/poller.js +2 -2
  144. package/dist/commonjs/lro/create/poller.js.map +1 -1
  145. package/dist/commonjs/lro/delete/operation.d.ts +2 -3
  146. package/dist/commonjs/lro/delete/operation.d.ts.map +1 -1
  147. package/dist/commonjs/lro/delete/operation.js +4 -8
  148. package/dist/commonjs/lro/delete/operation.js.map +1 -1
  149. package/dist/commonjs/lro/delete/poller.d.ts.map +1 -1
  150. package/dist/commonjs/lro/delete/poller.js +2 -2
  151. package/dist/commonjs/lro/delete/poller.js.map +1 -1
  152. package/dist/commonjs/lro/keyVaultCertificatePoller.d.ts +1 -1
  153. package/dist/commonjs/lro/keyVaultCertificatePoller.d.ts.map +1 -1
  154. package/dist/commonjs/lro/keyVaultCertificatePoller.js.map +1 -1
  155. package/dist/commonjs/lro/operation/operation.d.ts +2 -3
  156. package/dist/commonjs/lro/operation/operation.d.ts.map +1 -1
  157. package/dist/commonjs/lro/operation/operation.js +6 -13
  158. package/dist/commonjs/lro/operation/operation.js.map +1 -1
  159. package/dist/commonjs/lro/operation/poller.d.ts.map +1 -1
  160. package/dist/commonjs/lro/operation/poller.js +2 -2
  161. package/dist/commonjs/lro/operation/poller.js.map +1 -1
  162. package/dist/commonjs/lro/recover/operation.d.ts +2 -3
  163. package/dist/commonjs/lro/recover/operation.d.ts.map +1 -1
  164. package/dist/commonjs/lro/recover/operation.js +4 -8
  165. package/dist/commonjs/lro/recover/operation.js.map +1 -1
  166. package/dist/commonjs/lro/recover/poller.d.ts.map +1 -1
  167. package/dist/commonjs/lro/recover/poller.js +2 -2
  168. package/dist/commonjs/lro/recover/poller.js.map +1 -1
  169. package/dist/commonjs/transformations.d.ts +3 -1
  170. package/dist/commonjs/transformations.d.ts.map +1 -1
  171. package/dist/commonjs/transformations.js +35 -2
  172. package/dist/commonjs/transformations.js.map +1 -1
  173. package/dist/esm/certificatesModels.d.ts +6 -1
  174. package/dist/esm/certificatesModels.d.ts.map +1 -1
  175. package/dist/esm/certificatesModels.js.map +1 -1
  176. package/dist/esm/generated/api/index.d.ts +4 -0
  177. package/dist/esm/generated/api/index.d.ts.map +1 -0
  178. package/dist/esm/generated/api/index.js +5 -0
  179. package/dist/esm/generated/api/index.js.map +1 -0
  180. package/dist/esm/generated/api/keyVaultContext.d.ts +14 -0
  181. package/dist/esm/generated/api/keyVaultContext.d.ts.map +1 -0
  182. package/dist/esm/generated/api/keyVaultContext.js +37 -0
  183. package/dist/esm/generated/api/keyVaultContext.js.map +1 -0
  184. package/dist/esm/generated/api/operations.d.ts +113 -0
  185. package/dist/esm/generated/api/operations.d.ts.map +1 -0
  186. package/dist/esm/generated/api/operations.js +467 -0
  187. package/dist/esm/generated/api/operations.js.map +1 -0
  188. package/dist/esm/generated/api/options.d.ts +95 -0
  189. package/dist/esm/generated/api/options.d.ts.map +1 -0
  190. package/dist/esm/generated/api/options.js +4 -0
  191. package/dist/esm/generated/api/options.js.map +1 -0
  192. package/dist/esm/generated/helpers/serializerHelpers.d.ts +3 -0
  193. package/dist/esm/generated/helpers/serializerHelpers.d.ts.map +1 -0
  194. package/dist/esm/generated/helpers/serializerHelpers.js +25 -0
  195. package/dist/esm/generated/helpers/serializerHelpers.js.map +1 -0
  196. package/dist/esm/generated/index.d.ts +4 -1
  197. package/dist/esm/generated/index.d.ts.map +1 -1
  198. package/dist/esm/generated/index.js +3 -8
  199. package/dist/esm/generated/index.js.map +1 -1
  200. package/dist/esm/generated/keyVaultClient.d.ts +66 -276
  201. package/dist/esm/generated/keyVaultClient.d.ts.map +1 -1
  202. package/dist/esm/generated/keyVaultClient.js +118 -960
  203. package/dist/esm/generated/keyVaultClient.js.map +1 -1
  204. package/dist/esm/generated/logger.d.ts +2 -0
  205. package/dist/esm/generated/logger.d.ts.map +1 -0
  206. package/dist/esm/generated/logger.js +5 -0
  207. package/dist/esm/generated/logger.js.map +1 -0
  208. package/dist/esm/generated/models/index.d.ts +1 -812
  209. package/dist/esm/generated/models/index.d.ts.map +1 -1
  210. package/dist/esm/generated/models/index.js +3 -62
  211. package/dist/esm/generated/models/index.js.map +1 -1
  212. package/dist/esm/generated/models/models.d.ts +565 -0
  213. package/dist/esm/generated/models/models.d.ts.map +1 -0
  214. package/dist/esm/generated/models/models.js +690 -0
  215. package/dist/esm/generated/models/models.js.map +1 -0
  216. package/dist/esm/generated/static-helpers/pagingHelpers.d.ts +72 -0
  217. package/dist/esm/generated/static-helpers/pagingHelpers.d.ts.map +1 -0
  218. package/dist/esm/generated/static-helpers/pagingHelpers.js +139 -0
  219. package/dist/esm/generated/static-helpers/pagingHelpers.js.map +1 -0
  220. package/dist/esm/index.d.ts +3 -11
  221. package/dist/esm/index.d.ts.map +1 -1
  222. package/dist/esm/index.js +74 -308
  223. package/dist/esm/index.js.map +1 -1
  224. package/dist/esm/lro/create/operation.d.ts +2 -3
  225. package/dist/esm/lro/create/operation.d.ts.map +1 -1
  226. package/dist/esm/lro/create/operation.js +11 -14
  227. package/dist/esm/lro/create/operation.js.map +1 -1
  228. package/dist/esm/lro/create/poller.d.ts.map +1 -1
  229. package/dist/esm/lro/create/poller.js +2 -2
  230. package/dist/esm/lro/create/poller.js.map +1 -1
  231. package/dist/esm/lro/delete/operation.d.ts +2 -3
  232. package/dist/esm/lro/delete/operation.d.ts.map +1 -1
  233. package/dist/esm/lro/delete/operation.js +4 -8
  234. package/dist/esm/lro/delete/operation.js.map +1 -1
  235. package/dist/esm/lro/delete/poller.d.ts.map +1 -1
  236. package/dist/esm/lro/delete/poller.js +2 -2
  237. package/dist/esm/lro/delete/poller.js.map +1 -1
  238. package/dist/esm/lro/keyVaultCertificatePoller.d.ts +1 -1
  239. package/dist/esm/lro/keyVaultCertificatePoller.d.ts.map +1 -1
  240. package/dist/esm/lro/keyVaultCertificatePoller.js.map +1 -1
  241. package/dist/esm/lro/operation/operation.d.ts +2 -3
  242. package/dist/esm/lro/operation/operation.d.ts.map +1 -1
  243. package/dist/esm/lro/operation/operation.js +6 -13
  244. package/dist/esm/lro/operation/operation.js.map +1 -1
  245. package/dist/esm/lro/operation/poller.d.ts.map +1 -1
  246. package/dist/esm/lro/operation/poller.js +2 -2
  247. package/dist/esm/lro/operation/poller.js.map +1 -1
  248. package/dist/esm/lro/recover/operation.d.ts +2 -3
  249. package/dist/esm/lro/recover/operation.d.ts.map +1 -1
  250. package/dist/esm/lro/recover/operation.js +4 -8
  251. package/dist/esm/lro/recover/operation.js.map +1 -1
  252. package/dist/esm/lro/recover/poller.d.ts.map +1 -1
  253. package/dist/esm/lro/recover/poller.js +2 -2
  254. package/dist/esm/lro/recover/poller.js.map +1 -1
  255. package/dist/esm/transformations.d.ts +3 -1
  256. package/dist/esm/transformations.d.ts.map +1 -1
  257. package/dist/esm/transformations.js +34 -2
  258. package/dist/esm/transformations.js.map +1 -1
  259. package/dist/react-native/certificatesModels.d.ts +6 -1
  260. package/dist/react-native/certificatesModels.d.ts.map +1 -1
  261. package/dist/react-native/certificatesModels.js.map +1 -1
  262. package/dist/react-native/generated/api/index.d.ts +4 -0
  263. package/dist/react-native/generated/api/index.d.ts.map +1 -0
  264. package/dist/react-native/generated/api/index.js +5 -0
  265. package/dist/react-native/generated/api/index.js.map +1 -0
  266. package/dist/react-native/generated/api/keyVaultContext.d.ts +14 -0
  267. package/dist/react-native/generated/api/keyVaultContext.d.ts.map +1 -0
  268. package/dist/react-native/generated/api/keyVaultContext.js +37 -0
  269. package/dist/react-native/generated/api/keyVaultContext.js.map +1 -0
  270. package/dist/react-native/generated/api/operations.d.ts +113 -0
  271. package/dist/react-native/generated/api/operations.d.ts.map +1 -0
  272. package/dist/react-native/generated/api/operations.js +467 -0
  273. package/dist/react-native/generated/api/operations.js.map +1 -0
  274. package/dist/react-native/generated/api/options.d.ts +95 -0
  275. package/dist/react-native/generated/api/options.d.ts.map +1 -0
  276. package/dist/react-native/generated/api/options.js +4 -0
  277. package/dist/react-native/generated/api/options.js.map +1 -0
  278. package/dist/react-native/generated/helpers/serializerHelpers.d.ts +3 -0
  279. package/dist/react-native/generated/helpers/serializerHelpers.d.ts.map +1 -0
  280. package/dist/react-native/generated/helpers/serializerHelpers.js +25 -0
  281. package/dist/react-native/generated/helpers/serializerHelpers.js.map +1 -0
  282. package/dist/react-native/generated/index.d.ts +4 -1
  283. package/dist/react-native/generated/index.d.ts.map +1 -1
  284. package/dist/react-native/generated/index.js +3 -8
  285. package/dist/react-native/generated/index.js.map +1 -1
  286. package/dist/react-native/generated/keyVaultClient.d.ts +66 -276
  287. package/dist/react-native/generated/keyVaultClient.d.ts.map +1 -1
  288. package/dist/react-native/generated/keyVaultClient.js +118 -960
  289. package/dist/react-native/generated/keyVaultClient.js.map +1 -1
  290. package/dist/react-native/generated/logger.d.ts +2 -0
  291. package/dist/react-native/generated/logger.d.ts.map +1 -0
  292. package/dist/react-native/generated/logger.js +5 -0
  293. package/dist/react-native/generated/logger.js.map +1 -0
  294. package/dist/react-native/generated/models/index.d.ts +1 -812
  295. package/dist/react-native/generated/models/index.d.ts.map +1 -1
  296. package/dist/react-native/generated/models/index.js +3 -62
  297. package/dist/react-native/generated/models/index.js.map +1 -1
  298. package/dist/react-native/generated/models/models.d.ts +565 -0
  299. package/dist/react-native/generated/models/models.d.ts.map +1 -0
  300. package/dist/react-native/generated/models/models.js +690 -0
  301. package/dist/react-native/generated/models/models.js.map +1 -0
  302. package/dist/react-native/generated/static-helpers/pagingHelpers.d.ts +72 -0
  303. package/dist/react-native/generated/static-helpers/pagingHelpers.d.ts.map +1 -0
  304. package/dist/react-native/generated/static-helpers/pagingHelpers.js +139 -0
  305. package/dist/react-native/generated/static-helpers/pagingHelpers.js.map +1 -0
  306. package/dist/react-native/index.d.ts +3 -11
  307. package/dist/react-native/index.d.ts.map +1 -1
  308. package/dist/react-native/index.js +74 -308
  309. package/dist/react-native/index.js.map +1 -1
  310. package/dist/react-native/lro/create/operation.d.ts +2 -3
  311. package/dist/react-native/lro/create/operation.d.ts.map +1 -1
  312. package/dist/react-native/lro/create/operation.js +11 -14
  313. package/dist/react-native/lro/create/operation.js.map +1 -1
  314. package/dist/react-native/lro/create/poller.d.ts.map +1 -1
  315. package/dist/react-native/lro/create/poller.js +2 -2
  316. package/dist/react-native/lro/create/poller.js.map +1 -1
  317. package/dist/react-native/lro/delete/operation.d.ts +2 -3
  318. package/dist/react-native/lro/delete/operation.d.ts.map +1 -1
  319. package/dist/react-native/lro/delete/operation.js +4 -8
  320. package/dist/react-native/lro/delete/operation.js.map +1 -1
  321. package/dist/react-native/lro/delete/poller.d.ts.map +1 -1
  322. package/dist/react-native/lro/delete/poller.js +2 -2
  323. package/dist/react-native/lro/delete/poller.js.map +1 -1
  324. package/dist/react-native/lro/keyVaultCertificatePoller.d.ts +1 -1
  325. package/dist/react-native/lro/keyVaultCertificatePoller.d.ts.map +1 -1
  326. package/dist/react-native/lro/keyVaultCertificatePoller.js.map +1 -1
  327. package/dist/react-native/lro/operation/operation.d.ts +2 -3
  328. package/dist/react-native/lro/operation/operation.d.ts.map +1 -1
  329. package/dist/react-native/lro/operation/operation.js +6 -13
  330. package/dist/react-native/lro/operation/operation.js.map +1 -1
  331. package/dist/react-native/lro/operation/poller.d.ts.map +1 -1
  332. package/dist/react-native/lro/operation/poller.js +2 -2
  333. package/dist/react-native/lro/operation/poller.js.map +1 -1
  334. package/dist/react-native/lro/recover/operation.d.ts +2 -3
  335. package/dist/react-native/lro/recover/operation.d.ts.map +1 -1
  336. package/dist/react-native/lro/recover/operation.js +4 -8
  337. package/dist/react-native/lro/recover/operation.js.map +1 -1
  338. package/dist/react-native/lro/recover/poller.d.ts.map +1 -1
  339. package/dist/react-native/lro/recover/poller.js +2 -2
  340. package/dist/react-native/lro/recover/poller.js.map +1 -1
  341. package/dist/react-native/transformations.d.ts +3 -1
  342. package/dist/react-native/transformations.d.ts.map +1 -1
  343. package/dist/react-native/transformations.js +34 -2
  344. package/dist/react-native/transformations.js.map +1 -1
  345. package/package.json +3 -3
  346. package/dist/browser/generated/models/mappers.d.ts +0 -41
  347. package/dist/browser/generated/models/mappers.d.ts.map +0 -1
  348. package/dist/browser/generated/models/mappers.js +0 -1191
  349. package/dist/browser/generated/models/mappers.js.map +0 -1
  350. package/dist/browser/generated/models/parameters.d.ts +0 -39
  351. package/dist/browser/generated/models/parameters.d.ts.map +0 -1
  352. package/dist/browser/generated/models/parameters.js +0 -232
  353. package/dist/browser/generated/models/parameters.js.map +0 -1
  354. package/dist/commonjs/generated/models/mappers.d.ts +0 -41
  355. package/dist/commonjs/generated/models/mappers.d.ts.map +0 -1
  356. package/dist/commonjs/generated/models/mappers.js +0 -1194
  357. package/dist/commonjs/generated/models/mappers.js.map +0 -1
  358. package/dist/commonjs/generated/models/parameters.d.ts +0 -39
  359. package/dist/commonjs/generated/models/parameters.d.ts.map +0 -1
  360. package/dist/commonjs/generated/models/parameters.js +0 -235
  361. package/dist/commonjs/generated/models/parameters.js.map +0 -1
  362. package/dist/esm/generated/models/mappers.d.ts +0 -41
  363. package/dist/esm/generated/models/mappers.d.ts.map +0 -1
  364. package/dist/esm/generated/models/mappers.js +0 -1191
  365. package/dist/esm/generated/models/mappers.js.map +0 -1
  366. package/dist/esm/generated/models/parameters.d.ts +0 -39
  367. package/dist/esm/generated/models/parameters.d.ts.map +0 -1
  368. package/dist/esm/generated/models/parameters.js +0 -232
  369. package/dist/esm/generated/models/parameters.js.map +0 -1
  370. package/dist/react-native/generated/models/mappers.d.ts +0 -41
  371. package/dist/react-native/generated/models/mappers.d.ts.map +0 -1
  372. package/dist/react-native/generated/models/mappers.js +0 -1191
  373. package/dist/react-native/generated/models/mappers.js.map +0 -1
  374. package/dist/react-native/generated/models/parameters.d.ts +0 -39
  375. package/dist/react-native/generated/models/parameters.d.ts.map +0 -1
  376. package/dist/react-native/generated/models/parameters.js +0 -232
  377. package/dist/react-native/generated/models/parameters.js.map +0 -1
@@ -1,966 +1,124 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import * as coreClient from "@azure/core-client";
9
- import * as coreHttpCompat from "@azure/core-http-compat";
10
- import * as Parameters from "./models/parameters.js";
11
- import * as Mappers from "./models/mappers.js";
12
- /** @internal */
13
- export class KeyVaultClient extends coreHttpCompat.ExtendedServiceClient {
14
- /**
15
- * Initializes a new instance of the KeyVaultClient class.
16
- * @param apiVersion Api Version
17
- * @param options The parameter options
18
- */
19
- constructor(apiVersion, options) {
20
- var _a, _b;
21
- if (apiVersion === undefined) {
22
- throw new Error("'apiVersion' cannot be null");
23
- }
24
- // Initializing default values for options
25
- if (!options) {
26
- options = {};
27
- }
28
- const defaults = {
29
- requestContentType: "application/json; charset=utf-8"
30
- };
31
- const packageDetails = `azsdk-js-keyvault-certificates/4.9.1`;
32
- const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
33
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
34
- : `${packageDetails}`;
35
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
36
- userAgentPrefix
37
- }, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "{vaultBaseUrl}" });
38
- super(optionsWithDefaults);
39
- // Parameter assignments
40
- this.apiVersion = apiVersion;
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { createKeyVault, getCertificates, deleteCertificate, setCertificateContacts, getCertificateContacts, deleteCertificateContacts, getCertificateIssuers, setCertificateIssuer, updateCertificateIssuer, getCertificateIssuer, deleteCertificateIssuer, createCertificate, importCertificate, getCertificateVersions, getCertificatePolicy, updateCertificatePolicy, updateCertificate, getCertificate, updateCertificateOperation, getCertificateOperation, deleteCertificateOperation, mergeCertificate, backupCertificate, restoreCertificate, getDeletedCertificates, getDeletedCertificate, purgeDeletedCertificate, recoverDeletedCertificate, } from "./api/index.js";
4
+ export class KeyVaultClient {
5
+ /** The key vault client performs cryptographic key operations and vault operations against the Key Vault service. */
6
+ constructor(vaultBaseUrl, credential, options = {}) {
7
+ var _a;
8
+ const prefixFromOptions = (_a = options === null || options === void 0 ? void 0 : options.userAgentOptions) === null || _a === void 0 ? void 0 : _a.userAgentPrefix;
9
+ const userAgentPrefix = prefixFromOptions
10
+ ? `${prefixFromOptions} azsdk-js-client`
11
+ : `azsdk-js-client`;
12
+ this._client = createKeyVault(vaultBaseUrl, credential, Object.assign(Object.assign({}, options), { userAgentOptions: { userAgentPrefix } }));
13
+ this.pipeline = this._client.pipeline;
14
+ }
15
+ /** The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission. */
16
+ getCertificates(options = { requestOptions: {} }) {
17
+ return getCertificates(this._client, options);
18
+ }
19
+ /** Deletes all versions of a certificate object along with its associated policy. Delete certificate cannot be used to remove individual versions of a certificate object. This operation requires the certificates/delete permission. */
20
+ deleteCertificate(certificateName, options = { requestOptions: {} }) {
21
+ return deleteCertificate(this._client, certificateName, options);
22
+ }
23
+ /** Sets the certificate contacts for the specified key vault. This operation requires the certificates/managecontacts permission. */
24
+ setCertificateContacts(contacts, options = { requestOptions: {} }) {
25
+ return setCertificateContacts(this._client, contacts, options);
26
+ }
27
+ /** The GetCertificateContacts operation returns the set of certificate contact resources in the specified key vault. This operation requires the certificates/managecontacts permission. */
28
+ getCertificateContacts(options = { requestOptions: {} }) {
29
+ return getCertificateContacts(this._client, options);
30
+ }
31
+ /** Deletes the certificate contacts for a specified key vault certificate. This operation requires the certificates/managecontacts permission. */
32
+ deleteCertificateContacts(options = { requestOptions: {} }) {
33
+ return deleteCertificateContacts(this._client, options);
34
+ }
35
+ /** The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission. */
36
+ getCertificateIssuers(options = { requestOptions: {} }) {
37
+ return getCertificateIssuers(this._client, options);
38
+ }
39
+ /** The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. */
40
+ setCertificateIssuer(issuerName, parameter, options = { requestOptions: {} }) {
41
+ return setCertificateIssuer(this._client, issuerName, parameter, options);
42
+ }
43
+ /** The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission. */
44
+ updateCertificateIssuer(issuerName, parameter, options = { requestOptions: {} }) {
45
+ return updateCertificateIssuer(this._client, issuerName, parameter, options);
46
+ }
47
+ /** The GetCertificateIssuer operation returns the specified certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission. */
48
+ getCertificateIssuer(issuerName, options = { requestOptions: {} }) {
49
+ return getCertificateIssuer(this._client, issuerName, options);
50
+ }
51
+ /** The DeleteCertificateIssuer operation permanently removes the specified certificate issuer from the vault. This operation requires the certificates/manageissuers/deleteissuers permission. */
52
+ deleteCertificateIssuer(issuerName, options = { requestOptions: {} }) {
53
+ return deleteCertificateIssuer(this._client, issuerName, options);
54
+ }
55
+ /** If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. */
56
+ createCertificate(certificateName, parameters, options = { requestOptions: {} }) {
57
+ return createCertificate(this._client, certificateName, parameters, options);
58
+ }
59
+ /** Imports an existing valid certificate, containing a private key, into Azure Key Vault. This operation requires the certificates/import permission. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates. Key Vault will only accept a key in PKCS#8 format. */
60
+ importCertificate(certificateName, parameters, options = { requestOptions: {} }) {
61
+ return importCertificate(this._client, certificateName, parameters, options);
62
+ }
63
+ /** The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission. */
64
+ getCertificateVersions(certificateName, options = { requestOptions: {} }) {
65
+ return getCertificateVersions(this._client, certificateName, options);
66
+ }
67
+ /** The GetCertificatePolicy operation returns the specified certificate policy resources in the specified key vault. This operation requires the certificates/get permission. */
68
+ getCertificatePolicy(certificateName, options = { requestOptions: {} }) {
69
+ return getCertificatePolicy(this._client, certificateName, options);
70
+ }
71
+ /** Set specified members in the certificate policy. Leave others as null. This operation requires the certificates/update permission. */
72
+ updateCertificatePolicy(certificateName, certificatePolicy, options = { requestOptions: {} }) {
73
+ return updateCertificatePolicy(this._client, certificateName, certificatePolicy, options);
74
+ }
75
+ /** The UpdateCertificate operation applies the specified update on the given certificate; the only elements updated are the certificate's attributes. This operation requires the certificates/update permission. */
76
+ updateCertificate(certificateName, certificateVersion, parameters, options = { requestOptions: {} }) {
77
+ return updateCertificate(this._client, certificateName, certificateVersion, parameters, options);
78
+ }
79
+ /** Gets information about a specific certificate. This operation requires the certificates/get permission. */
80
+ getCertificate(certificateName, certificateVersion, options = { requestOptions: {} }) {
81
+ return getCertificate(this._client, certificateName, certificateVersion, options);
82
+ }
83
+ /** Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission. */
84
+ updateCertificateOperation(certificateName, certificateOperation, options = { requestOptions: {} }) {
85
+ return updateCertificateOperation(this._client, certificateName, certificateOperation, options);
86
+ }
87
+ /** Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission. */
88
+ getCertificateOperation(certificateName, options = { requestOptions: {} }) {
89
+ return getCertificateOperation(this._client, certificateName, options);
90
+ }
91
+ /** Deletes the creation operation for a specified certificate that is in the process of being created. The certificate is no longer created. This operation requires the certificates/update permission. */
92
+ deleteCertificateOperation(certificateName, options = { requestOptions: {} }) {
93
+ return deleteCertificateOperation(this._client, certificateName, options);
94
+ }
95
+ /** The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. This operation requires the certificates/create permission. */
96
+ mergeCertificate(certificateName, parameters, options = { requestOptions: {} }) {
97
+ return mergeCertificate(this._client, certificateName, parameters, options);
98
+ }
99
+ /** Requests that a backup of the specified certificate be downloaded to the client. All versions of the certificate will be downloaded. This operation requires the certificates/backup permission. */
100
+ backupCertificate(certificateName, options = { requestOptions: {} }) {
101
+ return backupCertificate(this._client, certificateName, options);
102
+ }
103
+ /** Restores a backed up certificate, and all its versions, to a vault. This operation requires the certificates/restore permission. */
104
+ restoreCertificate(parameters, options = { requestOptions: {} }) {
105
+ return restoreCertificate(this._client, parameters, options);
106
+ }
107
+ /** The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults. */
108
+ getDeletedCertificates(options = { requestOptions: {} }) {
109
+ return getDeletedCertificates(this._client, options);
41
110
  }
42
- /**
43
- * The GetCertificates operation returns the set of certificates resources in the specified key vault.
44
- * This operation requires the certificates/list permission.
45
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
46
- * @param options The options parameters.
47
- */
48
- getCertificates(vaultBaseUrl, options) {
49
- return this.sendOperationRequest({ vaultBaseUrl, options }, getCertificatesOperationSpec);
111
+ /** The GetDeletedCertificate operation retrieves the deleted certificate information plus its attributes, such as retention interval, scheduled permanent deletion and the current deletion recovery level. This operation requires the certificates/get permission. */
112
+ getDeletedCertificate(certificateName, options = { requestOptions: {} }) {
113
+ return getDeletedCertificate(this._client, certificateName, options);
50
114
  }
51
- /**
52
- * Deletes all versions of a certificate object along with its associated policy. Delete certificate
53
- * cannot be used to remove individual versions of a certificate object. This operation requires the
54
- * certificates/delete permission.
55
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
56
- * @param certificateName The name of the certificate.
57
- * @param options The options parameters.
58
- */
59
- deleteCertificate(vaultBaseUrl, certificateName, options) {
60
- return this.sendOperationRequest({ vaultBaseUrl, certificateName, options }, deleteCertificateOperationSpec);
115
+ /** The PurgeDeletedCertificate operation performs an irreversible deletion of the specified certificate, without possibility for recovery. The operation is not available if the recovery level does not specify 'Purgeable'. This operation requires the certificate/purge permission. */
116
+ purgeDeletedCertificate(certificateName, options = { requestOptions: {} }) {
117
+ return purgeDeletedCertificate(this._client, certificateName, options);
61
118
  }
62
- /**
63
- * Sets the certificate contacts for the specified key vault. This operation requires the
64
- * certificates/managecontacts permission.
65
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
66
- * @param contacts The contacts for the key vault certificate.
67
- * @param options The options parameters.
68
- */
69
- setCertificateContacts(vaultBaseUrl, contacts, options) {
70
- return this.sendOperationRequest({ vaultBaseUrl, contacts, options }, setCertificateContactsOperationSpec);
71
- }
72
- /**
73
- * The GetCertificateContacts operation returns the set of certificate contact resources in the
74
- * specified key vault. This operation requires the certificates/managecontacts permission.
75
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
76
- * @param options The options parameters.
77
- */
78
- getCertificateContacts(vaultBaseUrl, options) {
79
- return this.sendOperationRequest({ vaultBaseUrl, options }, getCertificateContactsOperationSpec);
80
- }
81
- /**
82
- * Deletes the certificate contacts for a specified key vault certificate. This operation requires the
83
- * certificates/managecontacts permission.
84
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
85
- * @param options The options parameters.
86
- */
87
- deleteCertificateContacts(vaultBaseUrl, options) {
88
- return this.sendOperationRequest({ vaultBaseUrl, options }, deleteCertificateContactsOperationSpec);
89
- }
90
- /**
91
- * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified
92
- * key vault. This operation requires the certificates/manageissuers/getissuers permission.
93
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
94
- * @param options The options parameters.
95
- */
96
- getCertificateIssuers(vaultBaseUrl, options) {
97
- return this.sendOperationRequest({ vaultBaseUrl, options }, getCertificateIssuersOperationSpec);
98
- }
99
- /**
100
- * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation
101
- * requires the certificates/setissuers permission.
102
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
103
- * @param issuerName The name of the issuer. The value you provide may be copied globally for the
104
- * purpose of running the service. The value provided should not include personally identifiable or
105
- * sensitive information.
106
- * @param provider The issuer provider.
107
- * @param options The options parameters.
108
- */
109
- setCertificateIssuer(vaultBaseUrl, issuerName, provider, options) {
110
- return this.sendOperationRequest({ vaultBaseUrl, issuerName, provider, options }, setCertificateIssuerOperationSpec);
111
- }
112
- /**
113
- * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity.
114
- * This operation requires the certificates/setissuers permission.
115
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
116
- * @param issuerName The name of the issuer.
117
- * @param options The options parameters.
118
- */
119
- updateCertificateIssuer(vaultBaseUrl, issuerName, options) {
120
- return this.sendOperationRequest({ vaultBaseUrl, issuerName, options }, updateCertificateIssuerOperationSpec);
121
- }
122
- /**
123
- * The GetCertificateIssuer operation returns the specified certificate issuer resources in the
124
- * specified key vault. This operation requires the certificates/manageissuers/getissuers permission.
125
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
126
- * @param issuerName The name of the issuer.
127
- * @param options The options parameters.
128
- */
129
- getCertificateIssuer(vaultBaseUrl, issuerName, options) {
130
- return this.sendOperationRequest({ vaultBaseUrl, issuerName, options }, getCertificateIssuerOperationSpec);
131
- }
132
- /**
133
- * The DeleteCertificateIssuer operation permanently removes the specified certificate issuer from the
134
- * vault. This operation requires the certificates/manageissuers/deleteissuers permission.
135
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
136
- * @param issuerName The name of the issuer.
137
- * @param options The options parameters.
138
- */
139
- deleteCertificateIssuer(vaultBaseUrl, issuerName, options) {
140
- return this.sendOperationRequest({ vaultBaseUrl, issuerName, options }, deleteCertificateIssuerOperationSpec);
141
- }
142
- /**
143
- * If this is the first version, the certificate resource is created. This operation requires the
144
- * certificates/create permission.
145
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
146
- * @param certificateName The name of the certificate. The value you provide may be copied globally for
147
- * the purpose of running the service. The value provided should not include personally identifiable or
148
- * sensitive information.
149
- * @param options The options parameters.
150
- */
151
- createCertificate(vaultBaseUrl, certificateName, options) {
152
- return this.sendOperationRequest({ vaultBaseUrl, certificateName, options }, createCertificateOperationSpec);
153
- }
154
- /**
155
- * Imports an existing valid certificate, containing a private key, into Azure Key Vault. This
156
- * operation requires the certificates/import permission. The certificate to be imported can be in
157
- * either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as
158
- * well as x509 certificates. Key Vault will only accept a key in PKCS#8 format.
159
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
160
- * @param certificateName The name of the certificate. The value you provide may be copied globally for
161
- * the purpose of running the service. The value provided should not include personally identifiable or
162
- * sensitive information.
163
- * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import.
164
- * This certificate needs to contain the private key.
165
- * @param options The options parameters.
166
- */
167
- importCertificate(vaultBaseUrl, certificateName, base64EncodedCertificate, options) {
168
- return this.sendOperationRequest({ vaultBaseUrl, certificateName, base64EncodedCertificate, options }, importCertificateOperationSpec);
169
- }
170
- /**
171
- * The GetCertificateVersions operation returns the versions of a certificate in the specified key
172
- * vault. This operation requires the certificates/list permission.
173
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
174
- * @param certificateName The name of the certificate.
175
- * @param options The options parameters.
176
- */
177
- getCertificateVersions(vaultBaseUrl, certificateName, options) {
178
- return this.sendOperationRequest({ vaultBaseUrl, certificateName, options }, getCertificateVersionsOperationSpec);
179
- }
180
- /**
181
- * The GetCertificatePolicy operation returns the specified certificate policy resources in the
182
- * specified key vault. This operation requires the certificates/get permission.
183
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
184
- * @param certificateName The name of the certificate in a given key vault.
185
- * @param options The options parameters.
186
- */
187
- getCertificatePolicy(vaultBaseUrl, certificateName, options) {
188
- return this.sendOperationRequest({ vaultBaseUrl, certificateName, options }, getCertificatePolicyOperationSpec);
189
- }
190
- /**
191
- * Set specified members in the certificate policy. Leave others as null. This operation requires the
192
- * certificates/update permission.
193
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
194
- * @param certificateName The name of the certificate in the given vault.
195
- * @param certificatePolicy The policy for the certificate.
196
- * @param options The options parameters.
197
- */
198
- updateCertificatePolicy(vaultBaseUrl, certificateName, certificatePolicy, options) {
199
- return this.sendOperationRequest({ vaultBaseUrl, certificateName, certificatePolicy, options }, updateCertificatePolicyOperationSpec);
200
- }
201
- /**
202
- * The UpdateCertificate operation applies the specified update on the given certificate; the only
203
- * elements updated are the certificate's attributes. This operation requires the certificates/update
204
- * permission.
205
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
206
- * @param certificateName The name of the certificate in the given key vault.
207
- * @param certificateVersion The version of the certificate.
208
- * @param options The options parameters.
209
- */
210
- updateCertificate(vaultBaseUrl, certificateName, certificateVersion, options) {
211
- return this.sendOperationRequest({ vaultBaseUrl, certificateName, certificateVersion, options }, updateCertificateOperationSpec);
212
- }
213
- /**
214
- * Gets information about a specific certificate. This operation requires the certificates/get
215
- * permission.
216
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
217
- * @param certificateName The name of the certificate in the given vault.
218
- * @param certificateVersion The version of the certificate. This URI fragment is optional. If not
219
- * specified, the latest version of the certificate is returned.
220
- * @param options The options parameters.
221
- */
222
- getCertificate(vaultBaseUrl, certificateName, certificateVersion, options) {
223
- return this.sendOperationRequest({ vaultBaseUrl, certificateName, certificateVersion, options }, getCertificateOperationSpec);
224
- }
225
- /**
226
- * Updates a certificate creation operation that is already in progress. This operation requires the
227
- * certificates/update permission.
228
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
229
- * @param certificateName The name of the certificate.
230
- * @param cancellationRequested Indicates if cancellation was requested on the certificate operation.
231
- * @param options The options parameters.
232
- */
233
- updateCertificateOperation(vaultBaseUrl, certificateName, cancellationRequested, options) {
234
- return this.sendOperationRequest({ vaultBaseUrl, certificateName, cancellationRequested, options }, updateCertificateOperationOperationSpec);
235
- }
236
- /**
237
- * Gets the creation operation associated with a specified certificate. This operation requires the
238
- * certificates/get permission.
239
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
240
- * @param certificateName The name of the certificate.
241
- * @param options The options parameters.
242
- */
243
- getCertificateOperation(vaultBaseUrl, certificateName, options) {
244
- return this.sendOperationRequest({ vaultBaseUrl, certificateName, options }, getCertificateOperationOperationSpec);
245
- }
246
- /**
247
- * Deletes the creation operation for a specified certificate that is in the process of being created.
248
- * The certificate is no longer created. This operation requires the certificates/update permission.
249
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
250
- * @param certificateName The name of the certificate.
251
- * @param options The options parameters.
252
- */
253
- deleteCertificateOperation(vaultBaseUrl, certificateName, options) {
254
- return this.sendOperationRequest({ vaultBaseUrl, certificateName, options }, deleteCertificateOperationOperationSpec);
255
- }
256
- /**
257
- * The MergeCertificate operation performs the merging of a certificate or certificate chain with a key
258
- * pair currently available in the service. This operation requires the certificates/create permission.
259
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
260
- * @param certificateName The name of the certificate.
261
- * @param x509Certificates The certificate or the certificate chain to merge.
262
- * @param options The options parameters.
263
- */
264
- mergeCertificate(vaultBaseUrl, certificateName, x509Certificates, options) {
265
- return this.sendOperationRequest({ vaultBaseUrl, certificateName, x509Certificates, options }, mergeCertificateOperationSpec);
266
- }
267
- /**
268
- * Requests that a backup of the specified certificate be downloaded to the client. All versions of the
269
- * certificate will be downloaded. This operation requires the certificates/backup permission.
270
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
271
- * @param certificateName The name of the certificate.
272
- * @param options The options parameters.
273
- */
274
- backupCertificate(vaultBaseUrl, certificateName, options) {
275
- return this.sendOperationRequest({ vaultBaseUrl, certificateName, options }, backupCertificateOperationSpec);
276
- }
277
- /**
278
- * Restores a backed up certificate, and all its versions, to a vault. This operation requires the
279
- * certificates/restore permission.
280
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
281
- * @param certificateBundleBackup The backup blob associated with a certificate bundle.
282
- * @param options The options parameters.
283
- */
284
- restoreCertificate(vaultBaseUrl, certificateBundleBackup, options) {
285
- return this.sendOperationRequest({ vaultBaseUrl, certificateBundleBackup, options }, restoreCertificateOperationSpec);
286
- }
287
- /**
288
- * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a
289
- * deleted state and ready for recovery or purging. This operation includes deletion-specific
290
- * information. This operation requires the certificates/get/list permission. This operation can only
291
- * be enabled on soft-delete enabled vaults.
292
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
293
- * @param options The options parameters.
294
- */
295
- getDeletedCertificates(vaultBaseUrl, options) {
296
- return this.sendOperationRequest({ vaultBaseUrl, options }, getDeletedCertificatesOperationSpec);
297
- }
298
- /**
299
- * The GetDeletedCertificate operation retrieves the deleted certificate information plus its
300
- * attributes, such as retention interval, scheduled permanent deletion and the current deletion
301
- * recovery level. This operation requires the certificates/get permission.
302
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
303
- * @param certificateName The name of the certificate
304
- * @param options The options parameters.
305
- */
306
- getDeletedCertificate(vaultBaseUrl, certificateName, options) {
307
- return this.sendOperationRequest({ vaultBaseUrl, certificateName, options }, getDeletedCertificateOperationSpec);
308
- }
309
- /**
310
- * The PurgeDeletedCertificate operation performs an irreversible deletion of the specified
311
- * certificate, without possibility for recovery. The operation is not available if the recovery level
312
- * does not specify 'Purgeable'. This operation requires the certificate/purge permission.
313
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
314
- * @param certificateName The name of the certificate
315
- * @param options The options parameters.
316
- */
317
- purgeDeletedCertificate(vaultBaseUrl, certificateName, options) {
318
- return this.sendOperationRequest({ vaultBaseUrl, certificateName, options }, purgeDeletedCertificateOperationSpec);
319
- }
320
- /**
321
- * The RecoverDeletedCertificate operation performs the reversal of the Delete operation. The operation
322
- * is applicable in vaults enabled for soft-delete, and must be issued during the retention interval
323
- * (available in the deleted certificate's attributes). This operation requires the
324
- * certificates/recover permission.
325
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
326
- * @param certificateName The name of the deleted certificate
327
- * @param options The options parameters.
328
- */
329
- recoverDeletedCertificate(vaultBaseUrl, certificateName, options) {
330
- return this.sendOperationRequest({ vaultBaseUrl, certificateName, options }, recoverDeletedCertificateOperationSpec);
331
- }
332
- /**
333
- * GetCertificatesNext
334
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
335
- * @param nextLink The nextLink from the previous successful call to the GetCertificates method.
336
- * @param options The options parameters.
337
- */
338
- getCertificatesNext(vaultBaseUrl, nextLink, options) {
339
- return this.sendOperationRequest({ vaultBaseUrl, nextLink, options }, getCertificatesNextOperationSpec);
340
- }
341
- /**
342
- * GetCertificateIssuersNext
343
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
344
- * @param nextLink The nextLink from the previous successful call to the GetCertificateIssuers method.
345
- * @param options The options parameters.
346
- */
347
- getCertificateIssuersNext(vaultBaseUrl, nextLink, options) {
348
- return this.sendOperationRequest({ vaultBaseUrl, nextLink, options }, getCertificateIssuersNextOperationSpec);
349
- }
350
- /**
351
- * GetCertificateVersionsNext
352
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
353
- * @param certificateName The name of the certificate.
354
- * @param nextLink The nextLink from the previous successful call to the GetCertificateVersions method.
355
- * @param options The options parameters.
356
- */
357
- getCertificateVersionsNext(vaultBaseUrl, certificateName, nextLink, options) {
358
- return this.sendOperationRequest({ vaultBaseUrl, certificateName, nextLink, options }, getCertificateVersionsNextOperationSpec);
359
- }
360
- /**
361
- * GetDeletedCertificatesNext
362
- * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
363
- * @param nextLink The nextLink from the previous successful call to the GetDeletedCertificates method.
364
- * @param options The options parameters.
365
- */
366
- getDeletedCertificatesNext(vaultBaseUrl, nextLink, options) {
367
- return this.sendOperationRequest({ vaultBaseUrl, nextLink, options }, getDeletedCertificatesNextOperationSpec);
119
+ /** The RecoverDeletedCertificate operation performs the reversal of the Delete operation. The operation is applicable in vaults enabled for soft-delete, and must be issued during the retention interval (available in the deleted certificate's attributes). This operation requires the certificates/recover permission. */
120
+ recoverDeletedCertificate(certificateName, options = { requestOptions: {} }) {
121
+ return recoverDeletedCertificate(this._client, certificateName, options);
368
122
  }
369
123
  }
370
- // Operation Specifications
371
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
372
- const getCertificatesOperationSpec = {
373
- path: "/certificates",
374
- httpMethod: "GET",
375
- responses: {
376
- 200: {
377
- bodyMapper: Mappers.CertificateListResult
378
- },
379
- default: {
380
- bodyMapper: Mappers.KeyVaultError
381
- }
382
- },
383
- queryParameters: [
384
- Parameters.maxresults,
385
- Parameters.includePending,
386
- Parameters.apiVersion
387
- ],
388
- urlParameters: [Parameters.vaultBaseUrl],
389
- headerParameters: [Parameters.accept],
390
- serializer
391
- };
392
- const deleteCertificateOperationSpec = {
393
- path: "/certificates/{certificate-name}",
394
- httpMethod: "DELETE",
395
- responses: {
396
- 200: {
397
- bodyMapper: Mappers.DeletedCertificateBundle
398
- },
399
- default: {
400
- bodyMapper: Mappers.KeyVaultError
401
- }
402
- },
403
- queryParameters: [Parameters.apiVersion],
404
- urlParameters: [Parameters.vaultBaseUrl, Parameters.certificateName],
405
- headerParameters: [Parameters.accept],
406
- serializer
407
- };
408
- const setCertificateContactsOperationSpec = {
409
- path: "/certificates/contacts",
410
- httpMethod: "PUT",
411
- responses: {
412
- 200: {
413
- bodyMapper: Mappers.Contacts
414
- },
415
- default: {
416
- bodyMapper: Mappers.KeyVaultError
417
- }
418
- },
419
- requestBody: Parameters.contacts,
420
- queryParameters: [Parameters.apiVersion],
421
- urlParameters: [Parameters.vaultBaseUrl],
422
- headerParameters: [Parameters.accept, Parameters.contentType],
423
- mediaType: "json",
424
- serializer
425
- };
426
- const getCertificateContactsOperationSpec = {
427
- path: "/certificates/contacts",
428
- httpMethod: "GET",
429
- responses: {
430
- 200: {
431
- bodyMapper: Mappers.Contacts
432
- },
433
- default: {
434
- bodyMapper: Mappers.KeyVaultError
435
- }
436
- },
437
- queryParameters: [Parameters.apiVersion],
438
- urlParameters: [Parameters.vaultBaseUrl],
439
- headerParameters: [Parameters.accept],
440
- serializer
441
- };
442
- const deleteCertificateContactsOperationSpec = {
443
- path: "/certificates/contacts",
444
- httpMethod: "DELETE",
445
- responses: {
446
- 200: {
447
- bodyMapper: Mappers.Contacts
448
- },
449
- default: {
450
- bodyMapper: Mappers.KeyVaultError
451
- }
452
- },
453
- queryParameters: [Parameters.apiVersion],
454
- urlParameters: [Parameters.vaultBaseUrl],
455
- headerParameters: [Parameters.accept],
456
- serializer
457
- };
458
- const getCertificateIssuersOperationSpec = {
459
- path: "/certificates/issuers",
460
- httpMethod: "GET",
461
- responses: {
462
- 200: {
463
- bodyMapper: Mappers.CertificateIssuerListResult
464
- },
465
- default: {
466
- bodyMapper: Mappers.KeyVaultError
467
- }
468
- },
469
- queryParameters: [Parameters.maxresults, Parameters.apiVersion],
470
- urlParameters: [Parameters.vaultBaseUrl],
471
- headerParameters: [Parameters.accept],
472
- serializer
473
- };
474
- const setCertificateIssuerOperationSpec = {
475
- path: "/certificates/issuers/{issuer-name}",
476
- httpMethod: "PUT",
477
- responses: {
478
- 200: {
479
- bodyMapper: Mappers.IssuerBundle
480
- },
481
- default: {
482
- bodyMapper: Mappers.KeyVaultError
483
- }
484
- },
485
- requestBody: {
486
- parameterPath: {
487
- provider: ["provider"],
488
- credentials: ["options", "credentials"],
489
- organizationDetails: ["options", "organizationDetails"],
490
- attributes: ["options", "attributes"]
491
- },
492
- mapper: Object.assign(Object.assign({}, Mappers.CertificateIssuerSetParameters), { required: true })
493
- },
494
- queryParameters: [Parameters.apiVersion],
495
- urlParameters: [Parameters.vaultBaseUrl, Parameters.issuerName],
496
- headerParameters: [Parameters.accept, Parameters.contentType],
497
- mediaType: "json",
498
- serializer
499
- };
500
- const updateCertificateIssuerOperationSpec = {
501
- path: "/certificates/issuers/{issuer-name}",
502
- httpMethod: "PATCH",
503
- responses: {
504
- 200: {
505
- bodyMapper: Mappers.IssuerBundle
506
- },
507
- default: {
508
- bodyMapper: Mappers.KeyVaultError
509
- }
510
- },
511
- requestBody: {
512
- parameterPath: {
513
- provider: ["options", "provider"],
514
- credentials: ["options", "credentials"],
515
- organizationDetails: ["options", "organizationDetails"],
516
- attributes: ["options", "attributes"]
517
- },
518
- mapper: Object.assign(Object.assign({}, Mappers.CertificateIssuerUpdateParameters), { required: true })
519
- },
520
- queryParameters: [Parameters.apiVersion],
521
- urlParameters: [Parameters.vaultBaseUrl, Parameters.issuerName],
522
- headerParameters: [Parameters.accept, Parameters.contentType],
523
- mediaType: "json",
524
- serializer
525
- };
526
- const getCertificateIssuerOperationSpec = {
527
- path: "/certificates/issuers/{issuer-name}",
528
- httpMethod: "GET",
529
- responses: {
530
- 200: {
531
- bodyMapper: Mappers.IssuerBundle
532
- },
533
- default: {
534
- bodyMapper: Mappers.KeyVaultError
535
- }
536
- },
537
- queryParameters: [Parameters.apiVersion],
538
- urlParameters: [Parameters.vaultBaseUrl, Parameters.issuerName],
539
- headerParameters: [Parameters.accept],
540
- serializer
541
- };
542
- const deleteCertificateIssuerOperationSpec = {
543
- path: "/certificates/issuers/{issuer-name}",
544
- httpMethod: "DELETE",
545
- responses: {
546
- 200: {
547
- bodyMapper: Mappers.IssuerBundle
548
- },
549
- default: {
550
- bodyMapper: Mappers.KeyVaultError
551
- }
552
- },
553
- queryParameters: [Parameters.apiVersion],
554
- urlParameters: [Parameters.vaultBaseUrl, Parameters.issuerName],
555
- headerParameters: [Parameters.accept],
556
- serializer
557
- };
558
- const createCertificateOperationSpec = {
559
- path: "/certificates/{certificate-name}/create",
560
- httpMethod: "POST",
561
- responses: {
562
- 202: {
563
- bodyMapper: Mappers.CertificateOperation
564
- },
565
- default: {
566
- bodyMapper: Mappers.KeyVaultError
567
- }
568
- },
569
- requestBody: {
570
- parameterPath: {
571
- certificatePolicy: ["options", "certificatePolicy"],
572
- certificateAttributes: ["options", "certificateAttributes"],
573
- tags: ["options", "tags"]
574
- },
575
- mapper: Object.assign(Object.assign({}, Mappers.CertificateCreateParameters), { required: true })
576
- },
577
- queryParameters: [Parameters.apiVersion],
578
- urlParameters: [Parameters.vaultBaseUrl, Parameters.certificateName1],
579
- headerParameters: [Parameters.accept, Parameters.contentType],
580
- mediaType: "json",
581
- serializer
582
- };
583
- const importCertificateOperationSpec = {
584
- path: "/certificates/{certificate-name}/import",
585
- httpMethod: "POST",
586
- responses: {
587
- 200: {
588
- bodyMapper: Mappers.CertificateBundle
589
- },
590
- default: {
591
- bodyMapper: Mappers.KeyVaultError
592
- }
593
- },
594
- requestBody: {
595
- parameterPath: {
596
- base64EncodedCertificate: ["base64EncodedCertificate"],
597
- password: ["options", "password"],
598
- certificatePolicy: ["options", "certificatePolicy"],
599
- certificateAttributes: ["options", "certificateAttributes"],
600
- tags: ["options", "tags"]
601
- },
602
- mapper: Object.assign(Object.assign({}, Mappers.CertificateImportParameters), { required: true })
603
- },
604
- queryParameters: [Parameters.apiVersion],
605
- urlParameters: [Parameters.vaultBaseUrl, Parameters.certificateName1],
606
- headerParameters: [Parameters.accept, Parameters.contentType],
607
- mediaType: "json",
608
- serializer
609
- };
610
- const getCertificateVersionsOperationSpec = {
611
- path: "/certificates/{certificate-name}/versions",
612
- httpMethod: "GET",
613
- responses: {
614
- 200: {
615
- bodyMapper: Mappers.CertificateListResult
616
- },
617
- default: {
618
- bodyMapper: Mappers.KeyVaultError
619
- }
620
- },
621
- queryParameters: [Parameters.maxresults, Parameters.apiVersion],
622
- urlParameters: [Parameters.vaultBaseUrl, Parameters.certificateName],
623
- headerParameters: [Parameters.accept],
624
- serializer
625
- };
626
- const getCertificatePolicyOperationSpec = {
627
- path: "/certificates/{certificate-name}/policy",
628
- httpMethod: "GET",
629
- responses: {
630
- 200: {
631
- bodyMapper: Mappers.CertificatePolicy
632
- },
633
- default: {
634
- bodyMapper: Mappers.KeyVaultError
635
- }
636
- },
637
- queryParameters: [Parameters.apiVersion],
638
- urlParameters: [Parameters.vaultBaseUrl, Parameters.certificateName],
639
- headerParameters: [Parameters.accept],
640
- serializer
641
- };
642
- const updateCertificatePolicyOperationSpec = {
643
- path: "/certificates/{certificate-name}/policy",
644
- httpMethod: "PATCH",
645
- responses: {
646
- 200: {
647
- bodyMapper: Mappers.CertificatePolicy
648
- },
649
- default: {
650
- bodyMapper: Mappers.KeyVaultError
651
- }
652
- },
653
- requestBody: Parameters.certificatePolicy2,
654
- queryParameters: [Parameters.apiVersion],
655
- urlParameters: [Parameters.vaultBaseUrl, Parameters.certificateName],
656
- headerParameters: [Parameters.accept, Parameters.contentType],
657
- mediaType: "json",
658
- serializer
659
- };
660
- const updateCertificateOperationSpec = {
661
- path: "/certificates/{certificate-name}/{certificate-version}",
662
- httpMethod: "PATCH",
663
- responses: {
664
- 200: {
665
- bodyMapper: Mappers.CertificateBundle
666
- },
667
- default: {
668
- bodyMapper: Mappers.KeyVaultError
669
- }
670
- },
671
- requestBody: {
672
- parameterPath: {
673
- certificatePolicy: ["options", "certificatePolicy"],
674
- certificateAttributes: ["options", "certificateAttributes"],
675
- tags: ["options", "tags"]
676
- },
677
- mapper: Object.assign(Object.assign({}, Mappers.CertificateUpdateParameters), { required: true })
678
- },
679
- queryParameters: [Parameters.apiVersion],
680
- urlParameters: [
681
- Parameters.vaultBaseUrl,
682
- Parameters.certificateName,
683
- Parameters.certificateVersion
684
- ],
685
- headerParameters: [Parameters.accept, Parameters.contentType],
686
- mediaType: "json",
687
- serializer
688
- };
689
- const getCertificateOperationSpec = {
690
- path: "/certificates/{certificate-name}/{certificate-version}",
691
- httpMethod: "GET",
692
- responses: {
693
- 200: {
694
- bodyMapper: Mappers.CertificateBundle
695
- },
696
- default: {
697
- bodyMapper: Mappers.KeyVaultError
698
- }
699
- },
700
- queryParameters: [Parameters.apiVersion],
701
- urlParameters: [
702
- Parameters.vaultBaseUrl,
703
- Parameters.certificateName,
704
- Parameters.certificateVersion
705
- ],
706
- headerParameters: [Parameters.accept],
707
- serializer
708
- };
709
- const updateCertificateOperationOperationSpec = {
710
- path: "/certificates/{certificate-name}/pending",
711
- httpMethod: "PATCH",
712
- responses: {
713
- 200: {
714
- bodyMapper: Mappers.CertificateOperation
715
- },
716
- default: {
717
- bodyMapper: Mappers.KeyVaultError
718
- }
719
- },
720
- requestBody: {
721
- parameterPath: { cancellationRequested: ["cancellationRequested"] },
722
- mapper: Object.assign(Object.assign({}, Mappers.CertificateOperationUpdateParameter), { required: true })
723
- },
724
- queryParameters: [Parameters.apiVersion],
725
- urlParameters: [Parameters.vaultBaseUrl, Parameters.certificateName],
726
- headerParameters: [Parameters.accept, Parameters.contentType],
727
- mediaType: "json",
728
- serializer
729
- };
730
- const getCertificateOperationOperationSpec = {
731
- path: "/certificates/{certificate-name}/pending",
732
- httpMethod: "GET",
733
- responses: {
734
- 200: {
735
- bodyMapper: Mappers.CertificateOperation
736
- },
737
- default: {
738
- bodyMapper: Mappers.KeyVaultError
739
- }
740
- },
741
- queryParameters: [Parameters.apiVersion],
742
- urlParameters: [Parameters.vaultBaseUrl, Parameters.certificateName],
743
- headerParameters: [Parameters.accept],
744
- serializer
745
- };
746
- const deleteCertificateOperationOperationSpec = {
747
- path: "/certificates/{certificate-name}/pending",
748
- httpMethod: "DELETE",
749
- responses: {
750
- 200: {
751
- bodyMapper: Mappers.CertificateOperation
752
- },
753
- default: {
754
- bodyMapper: Mappers.KeyVaultError
755
- }
756
- },
757
- queryParameters: [Parameters.apiVersion],
758
- urlParameters: [Parameters.vaultBaseUrl, Parameters.certificateName],
759
- headerParameters: [Parameters.accept],
760
- serializer
761
- };
762
- const mergeCertificateOperationSpec = {
763
- path: "/certificates/{certificate-name}/pending/merge",
764
- httpMethod: "POST",
765
- responses: {
766
- 201: {
767
- bodyMapper: Mappers.CertificateBundle
768
- },
769
- default: {
770
- bodyMapper: Mappers.KeyVaultError
771
- }
772
- },
773
- requestBody: {
774
- parameterPath: {
775
- x509Certificates: ["x509Certificates"],
776
- certificateAttributes: ["options", "certificateAttributes"],
777
- tags: ["options", "tags"]
778
- },
779
- mapper: Object.assign(Object.assign({}, Mappers.CertificateMergeParameters), { required: true })
780
- },
781
- queryParameters: [Parameters.apiVersion],
782
- urlParameters: [Parameters.vaultBaseUrl, Parameters.certificateName],
783
- headerParameters: [Parameters.accept, Parameters.contentType],
784
- mediaType: "json",
785
- serializer
786
- };
787
- const backupCertificateOperationSpec = {
788
- path: "/certificates/{certificate-name}/backup",
789
- httpMethod: "POST",
790
- responses: {
791
- 200: {
792
- bodyMapper: Mappers.BackupCertificateResult
793
- },
794
- default: {
795
- bodyMapper: Mappers.KeyVaultError
796
- }
797
- },
798
- queryParameters: [Parameters.apiVersion],
799
- urlParameters: [Parameters.vaultBaseUrl, Parameters.certificateName],
800
- headerParameters: [Parameters.accept],
801
- serializer
802
- };
803
- const restoreCertificateOperationSpec = {
804
- path: "/certificates/restore",
805
- httpMethod: "POST",
806
- responses: {
807
- 200: {
808
- bodyMapper: Mappers.CertificateBundle
809
- },
810
- default: {
811
- bodyMapper: Mappers.KeyVaultError
812
- }
813
- },
814
- requestBody: {
815
- parameterPath: { certificateBundleBackup: ["certificateBundleBackup"] },
816
- mapper: Object.assign(Object.assign({}, Mappers.CertificateRestoreParameters), { required: true })
817
- },
818
- queryParameters: [Parameters.apiVersion],
819
- urlParameters: [Parameters.vaultBaseUrl],
820
- headerParameters: [Parameters.accept, Parameters.contentType],
821
- mediaType: "json",
822
- serializer
823
- };
824
- const getDeletedCertificatesOperationSpec = {
825
- path: "/deletedcertificates",
826
- httpMethod: "GET",
827
- responses: {
828
- 200: {
829
- bodyMapper: Mappers.DeletedCertificateListResult
830
- },
831
- default: {
832
- bodyMapper: Mappers.KeyVaultError
833
- }
834
- },
835
- queryParameters: [
836
- Parameters.maxresults,
837
- Parameters.includePending,
838
- Parameters.apiVersion
839
- ],
840
- urlParameters: [Parameters.vaultBaseUrl],
841
- headerParameters: [Parameters.accept],
842
- serializer
843
- };
844
- const getDeletedCertificateOperationSpec = {
845
- path: "/deletedcertificates/{certificate-name}",
846
- httpMethod: "GET",
847
- responses: {
848
- 200: {
849
- bodyMapper: Mappers.DeletedCertificateBundle
850
- },
851
- default: {
852
- bodyMapper: Mappers.KeyVaultError
853
- }
854
- },
855
- queryParameters: [Parameters.apiVersion],
856
- urlParameters: [Parameters.vaultBaseUrl, Parameters.certificateName],
857
- headerParameters: [Parameters.accept],
858
- serializer
859
- };
860
- const purgeDeletedCertificateOperationSpec = {
861
- path: "/deletedcertificates/{certificate-name}",
862
- httpMethod: "DELETE",
863
- responses: {
864
- 204: {},
865
- default: {
866
- bodyMapper: Mappers.KeyVaultError
867
- }
868
- },
869
- queryParameters: [Parameters.apiVersion],
870
- urlParameters: [Parameters.vaultBaseUrl, Parameters.certificateName],
871
- headerParameters: [Parameters.accept],
872
- serializer
873
- };
874
- const recoverDeletedCertificateOperationSpec = {
875
- path: "/deletedcertificates/{certificate-name}/recover",
876
- httpMethod: "POST",
877
- responses: {
878
- 200: {
879
- bodyMapper: Mappers.CertificateBundle
880
- },
881
- default: {
882
- bodyMapper: Mappers.KeyVaultError
883
- }
884
- },
885
- queryParameters: [Parameters.apiVersion],
886
- urlParameters: [Parameters.vaultBaseUrl, Parameters.certificateName],
887
- headerParameters: [Parameters.accept],
888
- serializer
889
- };
890
- const getCertificatesNextOperationSpec = {
891
- path: "{nextLink}",
892
- httpMethod: "GET",
893
- responses: {
894
- 200: {
895
- bodyMapper: Mappers.CertificateListResult
896
- },
897
- default: {
898
- bodyMapper: Mappers.KeyVaultError
899
- }
900
- },
901
- queryParameters: [
902
- Parameters.maxresults,
903
- Parameters.includePending,
904
- Parameters.apiVersion
905
- ],
906
- urlParameters: [Parameters.vaultBaseUrl, Parameters.nextLink],
907
- headerParameters: [Parameters.accept],
908
- serializer
909
- };
910
- const getCertificateIssuersNextOperationSpec = {
911
- path: "{nextLink}",
912
- httpMethod: "GET",
913
- responses: {
914
- 200: {
915
- bodyMapper: Mappers.CertificateIssuerListResult
916
- },
917
- default: {
918
- bodyMapper: Mappers.KeyVaultError
919
- }
920
- },
921
- queryParameters: [Parameters.maxresults, Parameters.apiVersion],
922
- urlParameters: [Parameters.vaultBaseUrl, Parameters.nextLink],
923
- headerParameters: [Parameters.accept],
924
- serializer
925
- };
926
- const getCertificateVersionsNextOperationSpec = {
927
- path: "{nextLink}",
928
- httpMethod: "GET",
929
- responses: {
930
- 200: {
931
- bodyMapper: Mappers.CertificateListResult
932
- },
933
- default: {
934
- bodyMapper: Mappers.KeyVaultError
935
- }
936
- },
937
- queryParameters: [Parameters.maxresults, Parameters.apiVersion],
938
- urlParameters: [
939
- Parameters.vaultBaseUrl,
940
- Parameters.certificateName,
941
- Parameters.nextLink
942
- ],
943
- headerParameters: [Parameters.accept],
944
- serializer
945
- };
946
- const getDeletedCertificatesNextOperationSpec = {
947
- path: "{nextLink}",
948
- httpMethod: "GET",
949
- responses: {
950
- 200: {
951
- bodyMapper: Mappers.DeletedCertificateListResult
952
- },
953
- default: {
954
- bodyMapper: Mappers.KeyVaultError
955
- }
956
- },
957
- queryParameters: [
958
- Parameters.maxresults,
959
- Parameters.includePending,
960
- Parameters.apiVersion
961
- ],
962
- urlParameters: [Parameters.vaultBaseUrl, Parameters.nextLink],
963
- headerParameters: [Parameters.accept],
964
- serializer
965
- };
966
124
  //# sourceMappingURL=keyVaultClient.js.map