@azure/arm-keyvault 3.2.0 → 4.0.0-alpha.20251125.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (493) hide show
  1. package/README.md +4 -2
  2. package/dist/browser/index.d.ts.map +1 -1
  3. package/dist/browser/index.js +4 -7
  4. package/dist/browser/index.js.map +1 -1
  5. package/dist/browser/keyVaultManagementClient.d.ts +11 -12
  6. package/dist/browser/keyVaultManagementClient.d.ts.map +1 -1
  7. package/dist/browser/keyVaultManagementClient.js +39 -27
  8. package/dist/browser/keyVaultManagementClient.js.map +1 -1
  9. package/dist/browser/lroImpl.d.ts +1 -1
  10. package/dist/browser/lroImpl.d.ts.map +1 -1
  11. package/dist/browser/lroImpl.js +9 -10
  12. package/dist/browser/lroImpl.js.map +1 -1
  13. package/dist/browser/models/index.d.ts +1514 -1451
  14. package/dist/browser/models/index.d.ts.map +1 -1
  15. package/dist/browser/models/index.js +204 -201
  16. package/dist/browser/models/index.js.map +1 -1
  17. package/dist/browser/models/mappers.d.ts +76 -72
  18. package/dist/browser/models/mappers.d.ts.map +1 -1
  19. package/dist/browser/models/mappers.js +1681 -1487
  20. package/dist/browser/models/mappers.js.map +1 -1
  21. package/dist/browser/models/parameters.d.ts +17 -19
  22. package/dist/browser/models/parameters.d.ts.map +1 -1
  23. package/dist/browser/models/parameters.js +107 -132
  24. package/dist/browser/models/parameters.js.map +1 -1
  25. package/dist/browser/operations/index.d.ts +6 -6
  26. package/dist/browser/operations/index.d.ts.map +1 -1
  27. package/dist/browser/operations/index.js +10 -13
  28. package/dist/browser/operations/index.js.map +1 -1
  29. package/dist/browser/operations/keys.d.ts +36 -38
  30. package/dist/browser/operations/keys.d.ts.map +1 -1
  31. package/dist/browser/operations/keys.js +112 -153
  32. package/dist/browser/operations/keys.js.map +1 -1
  33. package/dist/browser/operations/managedHsmKeys.d.ts +20 -20
  34. package/dist/browser/operations/managedHsmKeys.d.ts.map +1 -1
  35. package/dist/browser/operations/managedHsmKeys.js +103 -142
  36. package/dist/browser/operations/managedHsmKeys.js.map +1 -1
  37. package/dist/browser/operations/managedHsms.d.ts +77 -77
  38. package/dist/browser/operations/managedHsms.d.ts.map +1 -1
  39. package/dist/browser/operations/managedHsms.js +338 -382
  40. package/dist/browser/operations/managedHsms.js.map +1 -1
  41. package/dist/browser/operations/mhsmPrivateEndpointConnections.d.ts +19 -19
  42. package/dist/browser/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  43. package/dist/browser/operations/mhsmPrivateEndpointConnections.js +60 -76
  44. package/dist/browser/operations/mhsmPrivateEndpointConnections.js.map +1 -1
  45. package/dist/browser/operations/mhsmPrivateLinkResources.d.ts +5 -5
  46. package/dist/browser/operations/mhsmPrivateLinkResources.d.ts.map +1 -1
  47. package/dist/browser/operations/mhsmPrivateLinkResources.js +6 -10
  48. package/dist/browser/operations/mhsmPrivateLinkResources.js.map +1 -1
  49. package/dist/browser/operations/mhsmRegions.d.ts +10 -10
  50. package/dist/browser/operations/mhsmRegions.d.ts.map +1 -1
  51. package/dist/browser/operations/mhsmRegions.js +34 -56
  52. package/dist/browser/operations/mhsmRegions.js.map +1 -1
  53. package/dist/browser/operations/operations.d.ts +6 -6
  54. package/dist/browser/operations/operations.d.ts.map +1 -1
  55. package/dist/browser/operations/operations.js +27 -49
  56. package/dist/browser/operations/operations.js.map +1 -1
  57. package/dist/browser/operations/privateEndpointConnections.d.ts +25 -25
  58. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
  59. package/dist/browser/operations/privateEndpointConnections.js +88 -104
  60. package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
  61. package/dist/browser/operations/privateLinkResources.d.ts +5 -5
  62. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -1
  63. package/dist/browser/operations/privateLinkResources.js +6 -10
  64. package/dist/browser/operations/privateLinkResources.js.map +1 -1
  65. package/dist/browser/operations/secrets.d.ts +30 -32
  66. package/dist/browser/operations/secrets.d.ts.map +1 -1
  67. package/dist/browser/operations/secrets.js +88 -112
  68. package/dist/browser/operations/secrets.js.map +1 -1
  69. package/dist/browser/operations/vaults.d.ts +72 -72
  70. package/dist/browser/operations/vaults.d.ts.map +1 -1
  71. package/dist/browser/operations/vaults.js +335 -412
  72. package/dist/browser/operations/vaults.js.map +1 -1
  73. package/dist/browser/operationsInterfaces/index.d.ts +6 -6
  74. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  75. package/dist/browser/operationsInterfaces/index.js +10 -13
  76. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  77. package/dist/browser/operationsInterfaces/keys.d.ts +20 -22
  78. package/dist/browser/operationsInterfaces/keys.d.ts.map +1 -1
  79. package/dist/browser/operationsInterfaces/keys.js +2 -7
  80. package/dist/browser/operationsInterfaces/keys.js.map +1 -1
  81. package/dist/browser/operationsInterfaces/managedHsmKeys.d.ts +10 -10
  82. package/dist/browser/operationsInterfaces/managedHsmKeys.d.ts.map +1 -1
  83. package/dist/browser/operationsInterfaces/managedHsmKeys.js +2 -7
  84. package/dist/browser/operationsInterfaces/managedHsmKeys.js.map +1 -1
  85. package/dist/browser/operationsInterfaces/managedHsms.d.ts +54 -54
  86. package/dist/browser/operationsInterfaces/managedHsms.d.ts.map +1 -1
  87. package/dist/browser/operationsInterfaces/managedHsms.js +2 -7
  88. package/dist/browser/operationsInterfaces/managedHsms.js.map +1 -1
  89. package/dist/browser/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts +13 -13
  90. package/dist/browser/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  91. package/dist/browser/operationsInterfaces/mhsmPrivateEndpointConnections.js +2 -7
  92. package/dist/browser/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
  93. package/dist/browser/operationsInterfaces/mhsmPrivateLinkResources.d.ts +3 -3
  94. package/dist/browser/operationsInterfaces/mhsmPrivateLinkResources.d.ts.map +1 -1
  95. package/dist/browser/operationsInterfaces/mhsmPrivateLinkResources.js +2 -7
  96. package/dist/browser/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
  97. package/dist/browser/operationsInterfaces/mhsmRegions.d.ts +4 -4
  98. package/dist/browser/operationsInterfaces/mhsmRegions.d.ts.map +1 -1
  99. package/dist/browser/operationsInterfaces/mhsmRegions.js +2 -7
  100. package/dist/browser/operationsInterfaces/mhsmRegions.js.map +1 -1
  101. package/dist/browser/operationsInterfaces/operations.d.ts +3 -3
  102. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  103. package/dist/browser/operationsInterfaces/operations.js +2 -7
  104. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  105. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +13 -13
  106. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  107. package/dist/browser/operationsInterfaces/privateEndpointConnections.js +2 -7
  108. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  109. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts +3 -3
  110. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  111. package/dist/browser/operationsInterfaces/privateLinkResources.js +2 -7
  112. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -1
  113. package/dist/browser/operationsInterfaces/secrets.d.ts +18 -20
  114. package/dist/browser/operationsInterfaces/secrets.d.ts.map +1 -1
  115. package/dist/browser/operationsInterfaces/secrets.js +2 -7
  116. package/dist/browser/operationsInterfaces/secrets.js.map +1 -1
  117. package/dist/browser/operationsInterfaces/vaults.d.ts +50 -50
  118. package/dist/browser/operationsInterfaces/vaults.d.ts.map +1 -1
  119. package/dist/browser/operationsInterfaces/vaults.js +2 -7
  120. package/dist/browser/operationsInterfaces/vaults.js.map +1 -1
  121. package/dist/browser/pagingHelper.d.ts.map +1 -1
  122. package/dist/browser/pagingHelper.js +4 -11
  123. package/dist/browser/pagingHelper.js.map +1 -1
  124. package/dist/commonjs/index.d.ts.map +1 -1
  125. package/dist/commonjs/index.js +4 -7
  126. package/dist/commonjs/index.js.map +1 -1
  127. package/dist/commonjs/keyVaultManagementClient.d.ts +11 -12
  128. package/dist/commonjs/keyVaultManagementClient.d.ts.map +1 -1
  129. package/dist/commonjs/keyVaultManagementClient.js +38 -26
  130. package/dist/commonjs/keyVaultManagementClient.js.map +1 -1
  131. package/dist/commonjs/lroImpl.d.ts +1 -1
  132. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  133. package/dist/commonjs/lroImpl.js +9 -10
  134. package/dist/commonjs/lroImpl.js.map +1 -1
  135. package/dist/commonjs/models/index.d.ts +1514 -1451
  136. package/dist/commonjs/models/index.d.ts.map +1 -1
  137. package/dist/commonjs/models/index.js +205 -202
  138. package/dist/commonjs/models/index.js.map +1 -1
  139. package/dist/commonjs/models/mappers.d.ts +76 -72
  140. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  141. package/dist/commonjs/models/mappers.js +1684 -1490
  142. package/dist/commonjs/models/mappers.js.map +1 -1
  143. package/dist/commonjs/models/parameters.d.ts +17 -19
  144. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  145. package/dist/commonjs/models/parameters.js +107 -132
  146. package/dist/commonjs/models/parameters.js.map +1 -1
  147. package/dist/commonjs/operations/index.d.ts +6 -6
  148. package/dist/commonjs/operations/index.d.ts.map +1 -1
  149. package/dist/commonjs/operations/index.js +10 -13
  150. package/dist/commonjs/operations/index.js.map +1 -1
  151. package/dist/commonjs/operations/keys.d.ts +36 -38
  152. package/dist/commonjs/operations/keys.d.ts.map +1 -1
  153. package/dist/commonjs/operations/keys.js +112 -152
  154. package/dist/commonjs/operations/keys.js.map +1 -1
  155. package/dist/commonjs/operations/managedHsmKeys.d.ts +20 -20
  156. package/dist/commonjs/operations/managedHsmKeys.d.ts.map +1 -1
  157. package/dist/commonjs/operations/managedHsmKeys.js +103 -141
  158. package/dist/commonjs/operations/managedHsmKeys.js.map +1 -1
  159. package/dist/commonjs/operations/managedHsms.d.ts +77 -77
  160. package/dist/commonjs/operations/managedHsms.d.ts.map +1 -1
  161. package/dist/commonjs/operations/managedHsms.js +337 -380
  162. package/dist/commonjs/operations/managedHsms.js.map +1 -1
  163. package/dist/commonjs/operations/mhsmPrivateEndpointConnections.d.ts +19 -19
  164. package/dist/commonjs/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  165. package/dist/commonjs/operations/mhsmPrivateEndpointConnections.js +59 -74
  166. package/dist/commonjs/operations/mhsmPrivateEndpointConnections.js.map +1 -1
  167. package/dist/commonjs/operations/mhsmPrivateLinkResources.d.ts +5 -5
  168. package/dist/commonjs/operations/mhsmPrivateLinkResources.d.ts.map +1 -1
  169. package/dist/commonjs/operations/mhsmPrivateLinkResources.js +6 -10
  170. package/dist/commonjs/operations/mhsmPrivateLinkResources.js.map +1 -1
  171. package/dist/commonjs/operations/mhsmRegions.d.ts +10 -10
  172. package/dist/commonjs/operations/mhsmRegions.d.ts.map +1 -1
  173. package/dist/commonjs/operations/mhsmRegions.js +34 -55
  174. package/dist/commonjs/operations/mhsmRegions.js.map +1 -1
  175. package/dist/commonjs/operations/operations.d.ts +6 -6
  176. package/dist/commonjs/operations/operations.d.ts.map +1 -1
  177. package/dist/commonjs/operations/operations.js +27 -48
  178. package/dist/commonjs/operations/operations.js.map +1 -1
  179. package/dist/commonjs/operations/privateEndpointConnections.d.ts +25 -25
  180. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
  181. package/dist/commonjs/operations/privateEndpointConnections.js +87 -102
  182. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
  183. package/dist/commonjs/operations/privateLinkResources.d.ts +5 -5
  184. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -1
  185. package/dist/commonjs/operations/privateLinkResources.js +6 -10
  186. package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
  187. package/dist/commonjs/operations/secrets.d.ts +30 -32
  188. package/dist/commonjs/operations/secrets.d.ts.map +1 -1
  189. package/dist/commonjs/operations/secrets.js +88 -111
  190. package/dist/commonjs/operations/secrets.js.map +1 -1
  191. package/dist/commonjs/operations/vaults.d.ts +72 -72
  192. package/dist/commonjs/operations/vaults.d.ts.map +1 -1
  193. package/dist/commonjs/operations/vaults.js +334 -410
  194. package/dist/commonjs/operations/vaults.js.map +1 -1
  195. package/dist/commonjs/operationsInterfaces/index.d.ts +6 -6
  196. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  197. package/dist/commonjs/operationsInterfaces/index.js +10 -13
  198. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  199. package/dist/commonjs/operationsInterfaces/keys.d.ts +20 -22
  200. package/dist/commonjs/operationsInterfaces/keys.d.ts.map +1 -1
  201. package/dist/commonjs/operationsInterfaces/keys.js +2 -7
  202. package/dist/commonjs/operationsInterfaces/keys.js.map +1 -1
  203. package/dist/commonjs/operationsInterfaces/managedHsmKeys.d.ts +10 -10
  204. package/dist/commonjs/operationsInterfaces/managedHsmKeys.d.ts.map +1 -1
  205. package/dist/commonjs/operationsInterfaces/managedHsmKeys.js +2 -7
  206. package/dist/commonjs/operationsInterfaces/managedHsmKeys.js.map +1 -1
  207. package/dist/commonjs/operationsInterfaces/managedHsms.d.ts +54 -54
  208. package/dist/commonjs/operationsInterfaces/managedHsms.d.ts.map +1 -1
  209. package/dist/commonjs/operationsInterfaces/managedHsms.js +2 -7
  210. package/dist/commonjs/operationsInterfaces/managedHsms.js.map +1 -1
  211. package/dist/commonjs/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts +13 -13
  212. package/dist/commonjs/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  213. package/dist/commonjs/operationsInterfaces/mhsmPrivateEndpointConnections.js +2 -7
  214. package/dist/commonjs/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
  215. package/dist/commonjs/operationsInterfaces/mhsmPrivateLinkResources.d.ts +3 -3
  216. package/dist/commonjs/operationsInterfaces/mhsmPrivateLinkResources.d.ts.map +1 -1
  217. package/dist/commonjs/operationsInterfaces/mhsmPrivateLinkResources.js +2 -7
  218. package/dist/commonjs/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
  219. package/dist/commonjs/operationsInterfaces/mhsmRegions.d.ts +4 -4
  220. package/dist/commonjs/operationsInterfaces/mhsmRegions.d.ts.map +1 -1
  221. package/dist/commonjs/operationsInterfaces/mhsmRegions.js +2 -7
  222. package/dist/commonjs/operationsInterfaces/mhsmRegions.js.map +1 -1
  223. package/dist/commonjs/operationsInterfaces/operations.d.ts +3 -3
  224. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  225. package/dist/commonjs/operationsInterfaces/operations.js +2 -7
  226. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  227. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +13 -13
  228. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  229. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +2 -7
  230. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  231. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +3 -3
  232. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  233. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +2 -7
  234. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -1
  235. package/dist/commonjs/operationsInterfaces/secrets.d.ts +18 -20
  236. package/dist/commonjs/operationsInterfaces/secrets.d.ts.map +1 -1
  237. package/dist/commonjs/operationsInterfaces/secrets.js +2 -7
  238. package/dist/commonjs/operationsInterfaces/secrets.js.map +1 -1
  239. package/dist/commonjs/operationsInterfaces/vaults.d.ts +50 -50
  240. package/dist/commonjs/operationsInterfaces/vaults.d.ts.map +1 -1
  241. package/dist/commonjs/operationsInterfaces/vaults.js +2 -7
  242. package/dist/commonjs/operationsInterfaces/vaults.js.map +1 -1
  243. package/dist/commonjs/pagingHelper.d.ts.map +1 -1
  244. package/dist/commonjs/pagingHelper.js +4 -11
  245. package/dist/commonjs/pagingHelper.js.map +1 -1
  246. package/dist/commonjs/tsdoc-metadata.json +11 -11
  247. package/dist/esm/index.d.ts.map +1 -1
  248. package/dist/esm/index.js +4 -7
  249. package/dist/esm/index.js.map +1 -1
  250. package/dist/esm/keyVaultManagementClient.d.ts +11 -12
  251. package/dist/esm/keyVaultManagementClient.d.ts.map +1 -1
  252. package/dist/esm/keyVaultManagementClient.js +39 -27
  253. package/dist/esm/keyVaultManagementClient.js.map +1 -1
  254. package/dist/esm/lroImpl.d.ts +1 -1
  255. package/dist/esm/lroImpl.d.ts.map +1 -1
  256. package/dist/esm/lroImpl.js +9 -10
  257. package/dist/esm/lroImpl.js.map +1 -1
  258. package/dist/esm/models/index.d.ts +1514 -1451
  259. package/dist/esm/models/index.d.ts.map +1 -1
  260. package/dist/esm/models/index.js +204 -201
  261. package/dist/esm/models/index.js.map +1 -1
  262. package/dist/esm/models/mappers.d.ts +76 -72
  263. package/dist/esm/models/mappers.d.ts.map +1 -1
  264. package/dist/esm/models/mappers.js +1681 -1487
  265. package/dist/esm/models/mappers.js.map +1 -1
  266. package/dist/esm/models/parameters.d.ts +17 -19
  267. package/dist/esm/models/parameters.d.ts.map +1 -1
  268. package/dist/esm/models/parameters.js +107 -132
  269. package/dist/esm/models/parameters.js.map +1 -1
  270. package/dist/esm/operations/index.d.ts +6 -6
  271. package/dist/esm/operations/index.d.ts.map +1 -1
  272. package/dist/esm/operations/index.js +10 -13
  273. package/dist/esm/operations/index.js.map +1 -1
  274. package/dist/esm/operations/keys.d.ts +36 -38
  275. package/dist/esm/operations/keys.d.ts.map +1 -1
  276. package/dist/esm/operations/keys.js +112 -153
  277. package/dist/esm/operations/keys.js.map +1 -1
  278. package/dist/esm/operations/managedHsmKeys.d.ts +20 -20
  279. package/dist/esm/operations/managedHsmKeys.d.ts.map +1 -1
  280. package/dist/esm/operations/managedHsmKeys.js +103 -142
  281. package/dist/esm/operations/managedHsmKeys.js.map +1 -1
  282. package/dist/esm/operations/managedHsms.d.ts +77 -77
  283. package/dist/esm/operations/managedHsms.d.ts.map +1 -1
  284. package/dist/esm/operations/managedHsms.js +338 -382
  285. package/dist/esm/operations/managedHsms.js.map +1 -1
  286. package/dist/esm/operations/mhsmPrivateEndpointConnections.d.ts +19 -19
  287. package/dist/esm/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  288. package/dist/esm/operations/mhsmPrivateEndpointConnections.js +60 -76
  289. package/dist/esm/operations/mhsmPrivateEndpointConnections.js.map +1 -1
  290. package/dist/esm/operations/mhsmPrivateLinkResources.d.ts +5 -5
  291. package/dist/esm/operations/mhsmPrivateLinkResources.d.ts.map +1 -1
  292. package/dist/esm/operations/mhsmPrivateLinkResources.js +6 -10
  293. package/dist/esm/operations/mhsmPrivateLinkResources.js.map +1 -1
  294. package/dist/esm/operations/mhsmRegions.d.ts +10 -10
  295. package/dist/esm/operations/mhsmRegions.d.ts.map +1 -1
  296. package/dist/esm/operations/mhsmRegions.js +34 -56
  297. package/dist/esm/operations/mhsmRegions.js.map +1 -1
  298. package/dist/esm/operations/operations.d.ts +6 -6
  299. package/dist/esm/operations/operations.d.ts.map +1 -1
  300. package/dist/esm/operations/operations.js +27 -49
  301. package/dist/esm/operations/operations.js.map +1 -1
  302. package/dist/esm/operations/privateEndpointConnections.d.ts +25 -25
  303. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
  304. package/dist/esm/operations/privateEndpointConnections.js +88 -104
  305. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  306. package/dist/esm/operations/privateLinkResources.d.ts +5 -5
  307. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -1
  308. package/dist/esm/operations/privateLinkResources.js +6 -10
  309. package/dist/esm/operations/privateLinkResources.js.map +1 -1
  310. package/dist/esm/operations/secrets.d.ts +30 -32
  311. package/dist/esm/operations/secrets.d.ts.map +1 -1
  312. package/dist/esm/operations/secrets.js +88 -112
  313. package/dist/esm/operations/secrets.js.map +1 -1
  314. package/dist/esm/operations/vaults.d.ts +72 -72
  315. package/dist/esm/operations/vaults.d.ts.map +1 -1
  316. package/dist/esm/operations/vaults.js +335 -412
  317. package/dist/esm/operations/vaults.js.map +1 -1
  318. package/dist/esm/operationsInterfaces/index.d.ts +6 -6
  319. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  320. package/dist/esm/operationsInterfaces/index.js +10 -13
  321. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  322. package/dist/esm/operationsInterfaces/keys.d.ts +20 -22
  323. package/dist/esm/operationsInterfaces/keys.d.ts.map +1 -1
  324. package/dist/esm/operationsInterfaces/keys.js +2 -7
  325. package/dist/esm/operationsInterfaces/keys.js.map +1 -1
  326. package/dist/esm/operationsInterfaces/managedHsmKeys.d.ts +10 -10
  327. package/dist/esm/operationsInterfaces/managedHsmKeys.d.ts.map +1 -1
  328. package/dist/esm/operationsInterfaces/managedHsmKeys.js +2 -7
  329. package/dist/esm/operationsInterfaces/managedHsmKeys.js.map +1 -1
  330. package/dist/esm/operationsInterfaces/managedHsms.d.ts +54 -54
  331. package/dist/esm/operationsInterfaces/managedHsms.d.ts.map +1 -1
  332. package/dist/esm/operationsInterfaces/managedHsms.js +2 -7
  333. package/dist/esm/operationsInterfaces/managedHsms.js.map +1 -1
  334. package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts +13 -13
  335. package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  336. package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.js +2 -7
  337. package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
  338. package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.d.ts +3 -3
  339. package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.d.ts.map +1 -1
  340. package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.js +2 -7
  341. package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
  342. package/dist/esm/operationsInterfaces/mhsmRegions.d.ts +4 -4
  343. package/dist/esm/operationsInterfaces/mhsmRegions.d.ts.map +1 -1
  344. package/dist/esm/operationsInterfaces/mhsmRegions.js +2 -7
  345. package/dist/esm/operationsInterfaces/mhsmRegions.js.map +1 -1
  346. package/dist/esm/operationsInterfaces/operations.d.ts +3 -3
  347. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  348. package/dist/esm/operationsInterfaces/operations.js +2 -7
  349. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  350. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +13 -13
  351. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  352. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +2 -7
  353. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  354. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +3 -3
  355. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  356. package/dist/esm/operationsInterfaces/privateLinkResources.js +2 -7
  357. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -1
  358. package/dist/esm/operationsInterfaces/secrets.d.ts +18 -20
  359. package/dist/esm/operationsInterfaces/secrets.d.ts.map +1 -1
  360. package/dist/esm/operationsInterfaces/secrets.js +2 -7
  361. package/dist/esm/operationsInterfaces/secrets.js.map +1 -1
  362. package/dist/esm/operationsInterfaces/vaults.d.ts +50 -50
  363. package/dist/esm/operationsInterfaces/vaults.d.ts.map +1 -1
  364. package/dist/esm/operationsInterfaces/vaults.js +2 -7
  365. package/dist/esm/operationsInterfaces/vaults.js.map +1 -1
  366. package/dist/esm/pagingHelper.d.ts.map +1 -1
  367. package/dist/esm/pagingHelper.js +4 -11
  368. package/dist/esm/pagingHelper.js.map +1 -1
  369. package/dist/react-native/index.d.ts.map +1 -1
  370. package/dist/react-native/index.js +4 -7
  371. package/dist/react-native/index.js.map +1 -1
  372. package/dist/react-native/keyVaultManagementClient.d.ts +11 -12
  373. package/dist/react-native/keyVaultManagementClient.d.ts.map +1 -1
  374. package/dist/react-native/keyVaultManagementClient.js +39 -27
  375. package/dist/react-native/keyVaultManagementClient.js.map +1 -1
  376. package/dist/react-native/lroImpl.d.ts +1 -1
  377. package/dist/react-native/lroImpl.d.ts.map +1 -1
  378. package/dist/react-native/lroImpl.js +9 -10
  379. package/dist/react-native/lroImpl.js.map +1 -1
  380. package/dist/react-native/models/index.d.ts +1514 -1451
  381. package/dist/react-native/models/index.d.ts.map +1 -1
  382. package/dist/react-native/models/index.js +204 -201
  383. package/dist/react-native/models/index.js.map +1 -1
  384. package/dist/react-native/models/mappers.d.ts +76 -72
  385. package/dist/react-native/models/mappers.d.ts.map +1 -1
  386. package/dist/react-native/models/mappers.js +1681 -1487
  387. package/dist/react-native/models/mappers.js.map +1 -1
  388. package/dist/react-native/models/parameters.d.ts +17 -19
  389. package/dist/react-native/models/parameters.d.ts.map +1 -1
  390. package/dist/react-native/models/parameters.js +107 -132
  391. package/dist/react-native/models/parameters.js.map +1 -1
  392. package/dist/react-native/operations/index.d.ts +6 -6
  393. package/dist/react-native/operations/index.d.ts.map +1 -1
  394. package/dist/react-native/operations/index.js +10 -13
  395. package/dist/react-native/operations/index.js.map +1 -1
  396. package/dist/react-native/operations/keys.d.ts +36 -38
  397. package/dist/react-native/operations/keys.d.ts.map +1 -1
  398. package/dist/react-native/operations/keys.js +112 -153
  399. package/dist/react-native/operations/keys.js.map +1 -1
  400. package/dist/react-native/operations/managedHsmKeys.d.ts +20 -20
  401. package/dist/react-native/operations/managedHsmKeys.d.ts.map +1 -1
  402. package/dist/react-native/operations/managedHsmKeys.js +103 -142
  403. package/dist/react-native/operations/managedHsmKeys.js.map +1 -1
  404. package/dist/react-native/operations/managedHsms.d.ts +77 -77
  405. package/dist/react-native/operations/managedHsms.d.ts.map +1 -1
  406. package/dist/react-native/operations/managedHsms.js +338 -382
  407. package/dist/react-native/operations/managedHsms.js.map +1 -1
  408. package/dist/react-native/operations/mhsmPrivateEndpointConnections.d.ts +19 -19
  409. package/dist/react-native/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  410. package/dist/react-native/operations/mhsmPrivateEndpointConnections.js +60 -76
  411. package/dist/react-native/operations/mhsmPrivateEndpointConnections.js.map +1 -1
  412. package/dist/react-native/operations/mhsmPrivateLinkResources.d.ts +5 -5
  413. package/dist/react-native/operations/mhsmPrivateLinkResources.d.ts.map +1 -1
  414. package/dist/react-native/operations/mhsmPrivateLinkResources.js +6 -10
  415. package/dist/react-native/operations/mhsmPrivateLinkResources.js.map +1 -1
  416. package/dist/react-native/operations/mhsmRegions.d.ts +10 -10
  417. package/dist/react-native/operations/mhsmRegions.d.ts.map +1 -1
  418. package/dist/react-native/operations/mhsmRegions.js +34 -56
  419. package/dist/react-native/operations/mhsmRegions.js.map +1 -1
  420. package/dist/react-native/operations/operations.d.ts +6 -6
  421. package/dist/react-native/operations/operations.d.ts.map +1 -1
  422. package/dist/react-native/operations/operations.js +27 -49
  423. package/dist/react-native/operations/operations.js.map +1 -1
  424. package/dist/react-native/operations/privateEndpointConnections.d.ts +25 -25
  425. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
  426. package/dist/react-native/operations/privateEndpointConnections.js +88 -104
  427. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  428. package/dist/react-native/operations/privateLinkResources.d.ts +5 -5
  429. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -1
  430. package/dist/react-native/operations/privateLinkResources.js +6 -10
  431. package/dist/react-native/operations/privateLinkResources.js.map +1 -1
  432. package/dist/react-native/operations/secrets.d.ts +30 -32
  433. package/dist/react-native/operations/secrets.d.ts.map +1 -1
  434. package/dist/react-native/operations/secrets.js +88 -112
  435. package/dist/react-native/operations/secrets.js.map +1 -1
  436. package/dist/react-native/operations/vaults.d.ts +72 -72
  437. package/dist/react-native/operations/vaults.d.ts.map +1 -1
  438. package/dist/react-native/operations/vaults.js +335 -412
  439. package/dist/react-native/operations/vaults.js.map +1 -1
  440. package/dist/react-native/operationsInterfaces/index.d.ts +6 -6
  441. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  442. package/dist/react-native/operationsInterfaces/index.js +10 -13
  443. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  444. package/dist/react-native/operationsInterfaces/keys.d.ts +20 -22
  445. package/dist/react-native/operationsInterfaces/keys.d.ts.map +1 -1
  446. package/dist/react-native/operationsInterfaces/keys.js +2 -7
  447. package/dist/react-native/operationsInterfaces/keys.js.map +1 -1
  448. package/dist/react-native/operationsInterfaces/managedHsmKeys.d.ts +10 -10
  449. package/dist/react-native/operationsInterfaces/managedHsmKeys.d.ts.map +1 -1
  450. package/dist/react-native/operationsInterfaces/managedHsmKeys.js +2 -7
  451. package/dist/react-native/operationsInterfaces/managedHsmKeys.js.map +1 -1
  452. package/dist/react-native/operationsInterfaces/managedHsms.d.ts +54 -54
  453. package/dist/react-native/operationsInterfaces/managedHsms.d.ts.map +1 -1
  454. package/dist/react-native/operationsInterfaces/managedHsms.js +2 -7
  455. package/dist/react-native/operationsInterfaces/managedHsms.js.map +1 -1
  456. package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts +13 -13
  457. package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  458. package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.js +2 -7
  459. package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
  460. package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.d.ts +3 -3
  461. package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.d.ts.map +1 -1
  462. package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.js +2 -7
  463. package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
  464. package/dist/react-native/operationsInterfaces/mhsmRegions.d.ts +4 -4
  465. package/dist/react-native/operationsInterfaces/mhsmRegions.d.ts.map +1 -1
  466. package/dist/react-native/operationsInterfaces/mhsmRegions.js +2 -7
  467. package/dist/react-native/operationsInterfaces/mhsmRegions.js.map +1 -1
  468. package/dist/react-native/operationsInterfaces/operations.d.ts +3 -3
  469. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  470. package/dist/react-native/operationsInterfaces/operations.js +2 -7
  471. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  472. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +13 -13
  473. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  474. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +2 -7
  475. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  476. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +3 -3
  477. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  478. package/dist/react-native/operationsInterfaces/privateLinkResources.js +2 -7
  479. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -1
  480. package/dist/react-native/operationsInterfaces/secrets.d.ts +18 -20
  481. package/dist/react-native/operationsInterfaces/secrets.d.ts.map +1 -1
  482. package/dist/react-native/operationsInterfaces/secrets.js +2 -7
  483. package/dist/react-native/operationsInterfaces/secrets.js.map +1 -1
  484. package/dist/react-native/operationsInterfaces/vaults.d.ts +50 -50
  485. package/dist/react-native/operationsInterfaces/vaults.d.ts.map +1 -1
  486. package/dist/react-native/operationsInterfaces/vaults.js +2 -7
  487. package/dist/react-native/operationsInterfaces/vaults.js.map +1 -1
  488. package/dist/react-native/pagingHelper.d.ts.map +1 -1
  489. package/dist/react-native/pagingHelper.js +4 -11
  490. package/dist/react-native/pagingHelper.js.map +1 -1
  491. package/package.json +58 -67
  492. package/CHANGELOG.md +0 -121
  493. package/review/arm-keyvault.api.md +0 -1723
@@ -1,409 +1,409 @@
1
- import * as coreClient from "@azure/core-client";
2
- /** The parameters used to create a key. */
3
- export interface KeyCreateParameters {
4
- /** The tags that will be assigned to the key. */
5
- tags?: {
6
- [propertyName: string]: string;
7
- };
8
- /** The properties of the key to be created. */
9
- properties: KeyProperties;
1
+ import type * as coreClient from "@azure/core-client";
2
+ /** Result of the request to list Storage operations. It contains a list of operations and a URL link to get the next set of results. */
3
+ export interface OperationListResult {
4
+ /** List of Storage operations supported by the Storage resource provider. */
5
+ value: Operation[];
6
+ /** The URL to get the next set of operations. */
7
+ nextLink?: string;
10
8
  }
11
- /** The properties of the key. */
12
- export interface KeyProperties {
13
- /** The attributes of the key. */
14
- attributes?: KeyAttributes;
15
- /** The type of the key. For valid values, see JsonWebKeyType. */
16
- kty?: JsonWebKeyType;
17
- keyOps?: JsonWebKeyOperation[];
18
- /** The key size in bits. For example: 2048, 3072, or 4096 for RSA. Default for RSA and RSA-HSM keys is 2048. Exception made for bring your own key (BYOK), key exchange keys default to 4096. */
19
- keySize?: number;
20
- /** The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256 */
21
- curveName?: JsonWebKeyCurveName;
9
+ /** Key Vault REST API operation definition. */
10
+ export interface Operation {
11
+ /** Operation name: {provider}/{resource}/{operation} */
12
+ name?: string;
13
+ /** Display metadata associated with the operation. */
14
+ display?: OperationDisplay;
15
+ /** The origin of operations. */
16
+ origin?: string;
17
+ /** Property to specify whether the action is a data action. */
18
+ isDataAction?: boolean;
19
+ /** One property of operation, include metric specifications. */
20
+ serviceSpecification?: ServiceSpecification;
21
+ }
22
+ /** Display metadata associated with the operation. */
23
+ export interface OperationDisplay {
24
+ /** Service provider: Microsoft Key Vault. */
25
+ provider?: string;
26
+ /** Resource on which the operation is performed etc. */
27
+ resource?: string;
28
+ /** Type of operation: get, read, delete, etc. */
29
+ operation?: string;
30
+ /** Description of operation. */
31
+ description?: string;
32
+ }
33
+ /** One property of operation, include log specifications. */
34
+ export interface ServiceSpecification {
35
+ /** Log specifications of operation. */
36
+ logSpecifications?: LogSpecification[];
37
+ /** Metric specifications of operation. */
38
+ metricSpecifications?: MetricSpecification[];
39
+ }
40
+ /** Log specification of operation. */
41
+ export interface LogSpecification {
42
+ /** Name of log specification. */
43
+ name?: string;
44
+ /** Display name of log specification. */
45
+ displayName?: string;
46
+ /** Blob duration of specification. */
47
+ blobDuration?: string;
48
+ }
49
+ /** Metric specification of operation. */
50
+ export interface MetricSpecification {
51
+ /** Name of metric specification. */
52
+ name?: string;
53
+ /** Display name of metric specification. */
54
+ displayName?: string;
55
+ /** Display description of metric specification. */
56
+ displayDescription?: string;
57
+ /** The metric unit. Possible values include: 'Bytes', 'Count', 'Milliseconds'. */
58
+ unit?: string;
59
+ /** The metric aggregation type. Possible values include: 'Average', 'Count', 'Total'. */
60
+ aggregationType?: string;
61
+ /** The supported aggregation types for the metrics. */
62
+ supportedAggregationTypes?: string[];
63
+ /** The supported time grain types for the metrics. */
64
+ supportedTimeGrainTypes?: string[];
65
+ /** The metric lock aggregation type. */
66
+ lockAggregationType?: string;
67
+ /** The dimensions of metric */
68
+ dimensions?: DimensionProperties[];
69
+ /** Property to specify whether to fill gap with zero. */
70
+ fillGapWithZero?: boolean;
71
+ /** The internal metric name. */
72
+ internalMetricName?: string;
73
+ }
74
+ /** Type of operation: get, read, delete, etc. */
75
+ export interface DimensionProperties {
76
+ /** Name of dimension. */
77
+ name?: string;
78
+ /** Display name of dimension. */
79
+ displayName?: string;
80
+ /** Property to specify whether the dimension should be exported for Shoebox. */
81
+ toBeExportedForShoebox?: boolean;
82
+ }
83
+ /** An error response from Key Vault resource provider */
84
+ export interface CloudError {
85
+ /** An error response from Key Vault resource provider */
86
+ error?: CloudErrorBody;
87
+ }
88
+ /** An error response from Key Vault resource provider */
89
+ export interface CloudErrorBody {
90
+ /** Error code. This is a mnemonic that can be consumed programmatically. */
91
+ code?: string;
92
+ /** User friendly error message. The message is typically localized and may vary with service version. */
93
+ message?: string;
94
+ }
95
+ /** The parameters used to check the availability of the managed hsm name. */
96
+ export interface CheckMhsmNameAvailabilityParameters {
97
+ /** The managed hsm name. */
98
+ name: string;
99
+ }
100
+ /** The CheckMhsmNameAvailability operation response. */
101
+ export interface CheckMhsmNameAvailabilityResult {
22
102
  /**
23
- * The URI to retrieve the current version of the key.
103
+ * A boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used.
24
104
  * NOTE: This property will not be serialized. It can only be populated by the server.
25
105
  */
26
- readonly keyUri?: string;
106
+ readonly nameAvailable?: boolean;
27
107
  /**
28
- * The URI to retrieve the specific version of the key.
108
+ * The reason that a managed hsm name could not be used. The reason element is only returned if NameAvailable is false.
29
109
  * NOTE: This property will not be serialized. It can only be populated by the server.
30
110
  */
31
- readonly keyUriWithVersion?: string;
32
- /** Key rotation policy in response. It will be used for both output and input. Omitted if empty */
33
- rotationPolicy?: RotationPolicy;
34
- /** Key release policy in response. It will be used for both output and input. Omitted if empty */
35
- releasePolicy?: KeyReleasePolicy;
111
+ readonly reason?: Reason;
112
+ /**
113
+ * An error message explaining the Reason value in more detail.
114
+ * NOTE: This property will not be serialized. It can only be populated by the server.
115
+ */
116
+ readonly message?: string;
36
117
  }
37
- /** The object attributes managed by the Azure Key Vault service. */
38
- export interface KeyAttributes {
39
- /** Determines whether or not the object is enabled. */
40
- enabled?: boolean;
41
- /** Not before date in seconds since 1970-01-01T00:00:00Z. */
42
- notBefore?: number;
43
- /** Expiry date in seconds since 1970-01-01T00:00:00Z. */
44
- expires?: number;
118
+ /** The parameters used to check the availability of the vault name. */
119
+ export interface VaultCheckNameAvailabilityParameters {
120
+ /** The vault name. */
121
+ name: string;
122
+ /** The type of resource, Microsoft.KeyVault/vaults */
123
+ type: "Microsoft.KeyVault/vaults";
124
+ }
125
+ /** The CheckNameAvailability operation response. */
126
+ export interface CheckNameAvailabilityResult {
45
127
  /**
46
- * Creation time in seconds since 1970-01-01T00:00:00Z.
128
+ * A boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used.
47
129
  * NOTE: This property will not be serialized. It can only be populated by the server.
48
130
  */
49
- readonly created?: number;
131
+ readonly nameAvailable?: boolean;
50
132
  /**
51
- * Last updated time in seconds since 1970-01-01T00:00:00Z.
133
+ * The reason that a vault name could not be used. The Reason element is only returned if NameAvailable is false.
52
134
  * NOTE: This property will not be serialized. It can only be populated by the server.
53
135
  */
54
- readonly updated?: number;
136
+ readonly reason?: Reason;
55
137
  /**
56
- * The deletion recovery level currently in effect for the object. If it contains 'Purgeable', then the object can be permanently deleted by a privileged user; otherwise, only the system can purge the object at the end of the retention interval.
138
+ * An error message explaining the Reason value in more detail.
57
139
  * NOTE: This property will not be serialized. It can only be populated by the server.
58
140
  */
59
- readonly recoveryLevel?: DeletionRecoveryLevel;
60
- /** Indicates if the private key can be exported. */
61
- exportable?: boolean;
141
+ readonly message?: string;
62
142
  }
63
- export interface RotationPolicy {
64
- /** The attributes of key rotation policy. */
65
- attributes?: KeyRotationPolicyAttributes;
66
- /** The lifetimeActions for key rotation action. */
67
- lifetimeActions?: LifetimeAction[];
143
+ /** The response of a DeletedManagedHsm list operation. */
144
+ export interface DeletedManagedHsmListResult {
145
+ /** The DeletedManagedHsm items on this page */
146
+ value: DeletedManagedHsm[];
147
+ /** The link to the next page of items */
148
+ nextLink?: string;
68
149
  }
69
- export interface KeyRotationPolicyAttributes {
150
+ /** Properties of the deleted managed HSM. */
151
+ export interface DeletedManagedHsmProperties {
70
152
  /**
71
- * Creation time in seconds since 1970-01-01T00:00:00Z.
153
+ * The resource id of the original managed HSM.
72
154
  * NOTE: This property will not be serialized. It can only be populated by the server.
73
155
  */
74
- readonly created?: number;
156
+ readonly mhsmId?: string;
75
157
  /**
76
- * Last updated time in seconds since 1970-01-01T00:00:00Z.
158
+ * The location of the original managed HSM.
77
159
  * NOTE: This property will not be serialized. It can only be populated by the server.
78
160
  */
79
- readonly updated?: number;
80
- /** The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'. */
81
- expiryTime?: string;
82
- }
83
- export interface LifetimeAction {
84
- /** The trigger of key rotation policy lifetimeAction. */
85
- trigger?: Trigger;
86
- /** The action of key rotation policy lifetimeAction. */
87
- action?: Action;
88
- }
89
- export interface Trigger {
90
- /** The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'. */
91
- timeAfterCreate?: string;
92
- /** The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'. */
93
- timeBeforeExpiry?: string;
94
- }
95
- export interface Action {
96
- /** The type of action. */
97
- type?: KeyRotationPolicyActionType;
98
- }
99
- export interface KeyReleasePolicy {
100
- /** Content type and version of key release policy */
101
- contentType?: string;
102
- /** Blob encoding the policy rules under which the key can be released. */
103
- data?: Uint8Array;
161
+ readonly location?: string;
162
+ /**
163
+ * The deleted date.
164
+ * NOTE: This property will not be serialized. It can only be populated by the server.
165
+ */
166
+ readonly deletionDate?: Date;
167
+ /**
168
+ * The scheduled purged date.
169
+ * NOTE: This property will not be serialized. It can only be populated by the server.
170
+ */
171
+ readonly scheduledPurgeDate?: Date;
172
+ /**
173
+ * Purge protection status of the original managed HSM.
174
+ * NOTE: This property will not be serialized. It can only be populated by the server.
175
+ */
176
+ readonly purgeProtectionEnabled?: boolean;
177
+ /**
178
+ * Tags of the original managed HSM.
179
+ * NOTE: This property will not be serialized. It can only be populated by the server.
180
+ */
181
+ readonly tags?: {
182
+ [propertyName: string]: string;
183
+ };
104
184
  }
105
- /** Key Vault resource */
185
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
106
186
  export interface Resource {
107
187
  /**
108
- * Fully qualified identifier of the key vault resource.
188
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
109
189
  * NOTE: This property will not be serialized. It can only be populated by the server.
110
190
  */
111
191
  readonly id?: string;
112
192
  /**
113
- * Name of the key vault resource.
193
+ * The name of the resource
114
194
  * NOTE: This property will not be serialized. It can only be populated by the server.
115
195
  */
116
196
  readonly name?: string;
117
197
  /**
118
- * Resource type of the key vault resource.
198
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
119
199
  * NOTE: This property will not be serialized. It can only be populated by the server.
120
200
  */
121
201
  readonly type?: string;
122
202
  /**
123
- * Azure location of the key vault resource.
203
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
124
204
  * NOTE: This property will not be serialized. It can only be populated by the server.
125
205
  */
126
- readonly location?: string;
206
+ readonly systemData?: SystemData;
207
+ }
208
+ /** Metadata pertaining to creation and last modification of the resource. */
209
+ export interface SystemData {
210
+ /** The identity that created the resource. */
211
+ createdBy?: string;
212
+ /** The type of identity that created the resource. */
213
+ createdByType?: CreatedByType;
214
+ /** The timestamp of resource creation (UTC). */
215
+ createdAt?: Date;
216
+ /** The identity that last modified the resource. */
217
+ lastModifiedBy?: string;
218
+ /** The type of identity that last modified the resource. */
219
+ lastModifiedByType?: CreatedByType;
220
+ /** The timestamp of resource last modification (UTC) */
221
+ lastModifiedAt?: Date;
222
+ }
223
+ /** The error exception. */
224
+ export interface ManagedHsmError {
127
225
  /**
128
- * Tags assigned to the key vault resource.
226
+ * The server error.
129
227
  * NOTE: This property will not be serialized. It can only be populated by the server.
130
228
  */
131
- readonly tags?: {
132
- [propertyName: string]: string;
133
- };
134
- }
135
- /** An error response from Key Vault resource provider */
136
- export interface CloudError {
137
- /** An error response from Key Vault resource provider */
138
- error?: CloudErrorBody;
229
+ readonly error?: ErrorModel;
139
230
  }
140
- /** An error response from Key Vault resource provider */
141
- export interface CloudErrorBody {
142
- /** Error code. This is a mnemonic that can be consumed programmatically. */
143
- code?: string;
144
- /** User friendly error message. The message is typically localized and may vary with service version. */
145
- message?: string;
146
- }
147
- /** The page of keys. */
148
- export interface KeyListResult {
149
- /** The key resources. */
150
- value?: Key[];
151
- /** The URL to get the next page of keys. */
152
- nextLink?: string;
153
- }
154
- /** The parameters used to create a key. */
155
- export interface ManagedHsmKeyCreateParameters {
156
- /** The tags that will be assigned to the key. */
157
- tags?: {
158
- [propertyName: string]: string;
159
- };
160
- /** The properties of the key to be created. */
161
- properties: ManagedHsmKeyProperties;
162
- }
163
- /** The properties of the key. */
164
- export interface ManagedHsmKeyProperties {
165
- /** The attributes of the key. */
166
- attributes?: ManagedHsmKeyAttributes;
167
- /** The type of the key. For valid values, see JsonWebKeyType. */
168
- kty?: JsonWebKeyType;
169
- keyOps?: JsonWebKeyOperation[];
170
- /** The key size in bits. For example: 2048, 3072, or 4096 for RSA. Default for RSA and RSA-HSM keys is 2048. Exception made for bring your own key (BYOK), key exchange keys default to 4096. */
171
- keySize?: number;
172
- /** The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256 */
173
- curveName?: JsonWebKeyCurveName;
174
- /**
175
- * The URI to retrieve the current version of the key.
176
- * NOTE: This property will not be serialized. It can only be populated by the server.
177
- */
178
- readonly keyUri?: string;
179
- /**
180
- * The URI to retrieve the specific version of the key.
181
- * NOTE: This property will not be serialized. It can only be populated by the server.
182
- */
183
- readonly keyUriWithVersion?: string;
184
- /** Key rotation policy in response. It will be used for both output and input. Omitted if empty */
185
- rotationPolicy?: ManagedHsmRotationPolicy;
186
- /** Key release policy in response. It will be used for both output and input. Omitted if empty */
187
- releasePolicy?: ManagedHsmKeyReleasePolicy;
188
- }
189
- /** The object attributes managed by the Azure Key Vault service. */
190
- export interface ManagedHsmKeyAttributes {
191
- /** Determines whether or not the object is enabled. */
192
- enabled?: boolean;
193
- /** Not before date in seconds since 1970-01-01T00:00:00Z. */
194
- notBefore?: number;
195
- /** Expiry date in seconds since 1970-01-01T00:00:00Z. */
196
- expires?: number;
231
+ /** The server error. */
232
+ export interface ErrorModel {
197
233
  /**
198
- * Creation time in seconds since 1970-01-01T00:00:00Z.
234
+ * The error code.
199
235
  * NOTE: This property will not be serialized. It can only be populated by the server.
200
236
  */
201
- readonly created?: number;
237
+ readonly code?: string;
202
238
  /**
203
- * Last updated time in seconds since 1970-01-01T00:00:00Z.
239
+ * The error message.
204
240
  * NOTE: This property will not be serialized. It can only be populated by the server.
205
241
  */
206
- readonly updated?: number;
242
+ readonly message?: string;
207
243
  /**
208
- * The deletion recovery level currently in effect for the object. If it contains 'Purgeable', then the object can be permanently deleted by a privileged user; otherwise, only the system can purge the object at the end of the retention interval.
244
+ * The inner error, contains a more specific error code.
209
245
  * NOTE: This property will not be serialized. It can only be populated by the server.
210
246
  */
211
- readonly recoveryLevel?: DeletionRecoveryLevel;
212
- /** Indicates if the private key can be exported. */
213
- exportable?: boolean;
247
+ readonly innerError?: ErrorModel;
214
248
  }
215
- export interface ManagedHsmRotationPolicy {
216
- /** The attributes of key rotation policy. */
217
- attributes?: ManagedHsmKeyRotationPolicyAttributes;
218
- /** The lifetimeActions for key rotation action. */
219
- lifetimeActions?: ManagedHsmLifetimeAction[];
249
+ /** The response of a DeletedVault list operation. */
250
+ export interface DeletedVaultListResult {
251
+ /** The DeletedVault items on this page */
252
+ value: DeletedVault[];
253
+ /** The link to the next page of items */
254
+ nextLink?: string;
220
255
  }
221
- export interface ManagedHsmKeyRotationPolicyAttributes {
256
+ /** Properties of the deleted vault. */
257
+ export interface DeletedVaultProperties {
222
258
  /**
223
- * Creation time in seconds since 1970-01-01T00:00:00Z.
259
+ * The resource id of the original vault.
224
260
  * NOTE: This property will not be serialized. It can only be populated by the server.
225
261
  */
226
- readonly created?: number;
262
+ readonly vaultId?: string;
227
263
  /**
228
- * Last updated time in seconds since 1970-01-01T00:00:00Z.
264
+ * The location of the original vault.
229
265
  * NOTE: This property will not be serialized. It can only be populated by the server.
230
266
  */
231
- readonly updated?: number;
232
- /** The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'. */
233
- expiryTime?: string;
234
- }
235
- export interface ManagedHsmLifetimeAction {
236
- /** The trigger of key rotation policy lifetimeAction. */
237
- trigger?: ManagedHsmTrigger;
238
- /** The action of key rotation policy lifetimeAction. */
239
- action?: ManagedHsmAction;
240
- }
241
- export interface ManagedHsmTrigger {
242
- /** The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'. */
243
- timeAfterCreate?: string;
244
- /** The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'. */
245
- timeBeforeExpiry?: string;
246
- }
247
- export interface ManagedHsmAction {
248
- /** The type of action. */
249
- type?: KeyRotationPolicyActionType;
250
- }
251
- export interface ManagedHsmKeyReleasePolicy {
252
- /** Content type and version of key release policy */
253
- contentType?: string;
254
- /** Blob encoding the policy rules under which the key can be released. */
255
- data?: Uint8Array;
256
- }
257
- /** Common fields that are returned in the response for all Azure Resource Manager resources */
258
- export interface ProxyResourceWithoutSystemData {
267
+ readonly location?: string;
259
268
  /**
260
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
269
+ * The deleted date.
261
270
  * NOTE: This property will not be serialized. It can only be populated by the server.
262
271
  */
263
- readonly id?: string;
272
+ readonly deletionDate?: Date;
264
273
  /**
265
- * The name of the resource
274
+ * The scheduled purged date.
266
275
  * NOTE: This property will not be serialized. It can only be populated by the server.
267
276
  */
268
- readonly name?: string;
277
+ readonly scheduledPurgeDate?: Date;
269
278
  /**
270
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
279
+ * Tags of the original vault.
271
280
  * NOTE: This property will not be serialized. It can only be populated by the server.
272
281
  */
273
- readonly type?: string;
274
- /** Resource tags. */
275
- tags?: {
282
+ readonly tags?: {
276
283
  [propertyName: string]: string;
277
284
  };
285
+ /**
286
+ * Purge protection status of the original vault.
287
+ * NOTE: This property will not be serialized. It can only be populated by the server.
288
+ */
289
+ readonly purgeProtectionEnabled?: boolean;
278
290
  }
279
- /** The page of keys. */
280
- export interface ManagedHsmKeyListResult {
281
- /** The key resources. */
282
- value?: ManagedHsmKey[];
283
- /** The URL to get the next page of keys. */
291
+ /** The response of a ManagedHsm list operation. */
292
+ export interface ManagedHsmListResult {
293
+ /** The ManagedHsm items on this page */
294
+ value: ManagedHsm[];
295
+ /** The link to the next page of items */
284
296
  nextLink?: string;
285
297
  }
286
- /** Parameters for creating or updating a vault */
287
- export interface VaultCreateOrUpdateParameters {
288
- /** The supported Azure location where the key vault should be created. */
289
- location: string;
290
- /** The tags that will be assigned to the key vault. */
291
- tags?: {
292
- [propertyName: string]: string;
293
- };
294
- /** Properties of the vault */
295
- properties: VaultProperties;
296
- }
297
- /** Properties of the vault */
298
- export interface VaultProperties {
299
- /** The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. */
300
- tenantId: string;
301
- /** SKU details */
302
- sku: Sku;
303
- /** An array of 0 to 1024 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. When `createMode` is set to `recover`, access policies are not required. Otherwise, access policies are required. */
304
- accessPolicies?: AccessPolicyEntry[];
305
- /** The URI of the vault for performing operations on keys and secrets. */
306
- vaultUri?: string;
298
+ /** Properties of the managed HSM Pool */
299
+ export interface ManagedHsmProperties {
300
+ /** The Azure Active Directory tenant ID that should be used for authenticating requests to the managed HSM pool. */
301
+ tenantId?: string;
302
+ /** Array of initial administrators object ids for this managed hsm pool. */
303
+ initialAdminObjectIds?: string[];
307
304
  /**
308
- * The resource id of HSM Pool.
305
+ * The URI of the managed hsm pool for performing operations on keys.
309
306
  * NOTE: This property will not be serialized. It can only be populated by the server.
310
307
  */
311
- readonly hsmPoolResourceId?: string;
312
- /** Property to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault. */
313
- enabledForDeployment?: boolean;
314
- /** Property to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys. */
315
- enabledForDiskEncryption?: boolean;
316
- /** Property to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault. */
317
- enabledForTemplateDeployment?: boolean;
318
- /** Property to specify whether the 'soft delete' functionality is enabled for this key vault. If it's not set to any value(true or false) when creating new key vault, it will be set to true by default. Once set to true, it cannot be reverted to false. */
308
+ readonly hsmUri?: string;
309
+ /** Property to specify whether the 'soft delete' functionality is enabled for this managed HSM pool. Soft delete is enabled by default for all managed HSMs and is immutable. */
319
310
  enableSoftDelete?: boolean;
320
- /** softDelete data retention days. It accepts >=7 and <=90. */
311
+ /** Soft deleted data retention days. When you delete an HSM or a key, it will remain recoverable for the configured retention period or for a default period of 90 days. It accepts values between 7 and 90. */
321
312
  softDeleteRetentionInDays?: number;
322
- /** Property that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be ignored. When false, the key vault will use the access policies specified in vault properties, and any policy stored on Azure Resource Manager will be ignored. If null or not specified, the vault is created with the default value of false. Note that management actions are always authorized with RBAC. */
323
- enableRbacAuthorization?: boolean;
324
- /** The vault's create mode to indicate whether the vault need to be recovered or not. */
325
- createMode?: CreateMode;
326
- /** Property specifying whether protection against purge is enabled for this vault. Setting this property to true activates protection against purge for this vault and its content - only the Key Vault service may initiate a hard, irrecoverable deletion. The setting is effective only if soft delete is also enabled. Enabling this functionality is irreversible - that is, the property does not accept false as its value. */
313
+ /** Property specifying whether protection against purge is enabled for this managed HSM pool. Setting this property to true activates protection against purge for this managed HSM pool and its content - only the Managed HSM service may initiate a hard, irrecoverable deletion. Enabling this functionality is irreversible. */
327
314
  enablePurgeProtection?: boolean;
315
+ /** The create mode to indicate whether the resource is being created or is being recovered from a deleted resource. */
316
+ createMode?: CreateMode;
317
+ /**
318
+ * Resource Status Message.
319
+ * NOTE: This property will not be serialized. It can only be populated by the server.
320
+ */
321
+ readonly statusMessage?: string;
322
+ /**
323
+ * Provisioning state.
324
+ * NOTE: This property will not be serialized. It can only be populated by the server.
325
+ */
326
+ readonly provisioningState?: ProvisioningState;
328
327
  /** Rules governing the accessibility of the key vault from specific network locations. */
329
- networkAcls?: NetworkRuleSet;
330
- /** Provisioning state of the vault. */
331
- provisioningState?: VaultProvisioningState;
328
+ networkAcls?: MhsmNetworkRuleSet;
329
+ /** List of all regions associated with the managed hsm pool. */
330
+ regions?: MhsmGeoReplicatedRegion[];
332
331
  /**
333
- * List of private endpoint connections associated with the key vault.
332
+ * List of private endpoint connections associated with the managed hsm pool.
334
333
  * NOTE: This property will not be serialized. It can only be populated by the server.
335
334
  */
336
- readonly privateEndpointConnections?: PrivateEndpointConnectionItem[];
337
- /** Property to specify whether the vault will accept traffic from public internet. If set to 'disabled' all traffic except private endpoint traffic and that that originates from trusted services will be blocked. This will override the set firewall rules, meaning that even if the firewall rules are present we will not honor the rules. */
338
- publicNetworkAccess?: string;
339
- }
340
- /** SKU details */
341
- export interface Sku {
342
- /** SKU family name */
343
- family: SkuFamily;
344
- /** SKU name to specify whether the key vault is a standard vault or a premium vault. */
345
- name: SkuName;
346
- }
347
- /** An identity that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. */
348
- export interface AccessPolicyEntry {
349
- /** The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. */
350
- tenantId: string;
351
- /** The object ID of a user, service principal or security group in the Azure Active Directory tenant for the vault. The object ID must be unique for the list of access policies. */
352
- objectId: string;
353
- /** Application ID of the client making request on behalf of a principal */
354
- applicationId?: string;
355
- /** Permissions the identity has for keys, secrets and certificates. */
356
- permissions: Permissions;
357
- }
358
- /** Permissions the identity has for keys, secrets, certificates and storage. */
359
- export interface Permissions {
360
- /** Permissions to keys */
361
- keys?: KeyPermissions[];
362
- /** Permissions to secrets */
363
- secrets?: SecretPermissions[];
364
- /** Permissions to certificates */
365
- certificates?: CertificatePermissions[];
366
- /** Permissions to storage accounts */
367
- storage?: StoragePermissions[];
335
+ readonly privateEndpointConnections?: MhsmPrivateEndpointConnectionItem[];
336
+ /** Control permission to the managed HSM from public networks. */
337
+ publicNetworkAccess?: PublicNetworkAccess;
338
+ /**
339
+ * The scheduled purge date in UTC.
340
+ * NOTE: This property will not be serialized. It can only be populated by the server.
341
+ */
342
+ readonly scheduledPurgeDate?: Date;
343
+ /**
344
+ * Managed HSM security domain properties.
345
+ * NOTE: This property will not be serialized. It can only be populated by the server.
346
+ */
347
+ readonly securityDomainProperties?: ManagedHSMSecurityDomainProperties;
368
348
  }
369
- /** A set of rules governing the network accessibility of a vault. */
370
- export interface NetworkRuleSet {
349
+ /** A set of rules governing the network accessibility of a managed hsm pool. */
350
+ export interface MhsmNetworkRuleSet {
371
351
  /** Tells what traffic can bypass network rules. This can be 'AzureServices' or 'None'. If not specified the default is 'AzureServices'. */
372
352
  bypass?: NetworkRuleBypassOptions;
373
353
  /** The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. */
374
354
  defaultAction?: NetworkRuleAction;
375
355
  /** The list of IP address rules. */
376
- ipRules?: IPRule[];
356
+ ipRules?: MhsmipRule[];
357
+ /** The list of service tags. */
358
+ serviceTags?: MhsmServiceTagRule[];
377
359
  /** The list of virtual network rules. */
378
- virtualNetworkRules?: VirtualNetworkRule[];
360
+ virtualNetworkRules?: MhsmVirtualNetworkRule[];
379
361
  }
380
- /** A rule governing the accessibility of a vault from a specific ip address or ip range. */
381
- export interface IPRule {
362
+ /** A rule governing the accessibility of a managed HSM pool from a specific IP address or IP range. */
363
+ export interface MhsmipRule {
382
364
  /** An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). */
383
365
  value: string;
384
366
  }
385
- /** A rule governing the accessibility of a vault from a specific virtual network. */
386
- export interface VirtualNetworkRule {
367
+ /** A rule governing the accessibility of a managed hsm pool from a specific service tags. */
368
+ export interface MhsmServiceTagRule {
369
+ /** Name of the service tag. */
370
+ tag: string;
371
+ }
372
+ /** A rule governing the accessibility of a managed hsm pool from a specific virtual network. */
373
+ export interface MhsmVirtualNetworkRule {
387
374
  /** Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'. */
388
375
  id: string;
389
- /** Property to specify whether NRP will ignore the check if parent subnet has serviceEndpoints configured. */
390
- ignoreMissingVnetServiceEndpoint?: boolean;
376
+ }
377
+ /** A region that this managed HSM Pool has been extended to. */
378
+ export interface MhsmGeoReplicatedRegion {
379
+ /** Name of the geo replicated region. */
380
+ name?: string;
381
+ /**
382
+ * Provisioning state of the geo replicated region.
383
+ * NOTE: This property will not be serialized. It can only be populated by the server.
384
+ */
385
+ readonly provisioningState?: GeoReplicationRegionProvisioningState;
386
+ /** A boolean value that indicates whether the region is the primary region or a secondary region. */
387
+ isPrimary?: boolean;
391
388
  }
392
389
  /** Private endpoint connection item. */
393
- export interface PrivateEndpointConnectionItem {
390
+ export interface MhsmPrivateEndpointConnectionItem {
394
391
  /** Id of private endpoint connection. */
395
392
  id?: string;
396
393
  /** Modified whenever there is a change in the state of private endpoint connection. */
397
394
  etag?: string;
398
395
  /** Properties of the private endpoint object. */
399
- privateEndpoint?: PrivateEndpoint;
396
+ privateEndpoint?: MhsmPrivateEndpoint;
400
397
  /** Approval state of the private link connection. */
401
- privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
402
- /** Provisioning state of the private endpoint connection. */
403
- provisioningState?: PrivateEndpointConnectionProvisioningState;
398
+ privateLinkServiceConnectionState?: MhsmPrivateLinkServiceConnectionState;
399
+ /**
400
+ * Provisioning state of the private endpoint connection.
401
+ * NOTE: This property will not be serialized. It can only be populated by the server.
402
+ */
403
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
404
404
  }
405
405
  /** Private endpoint object properties. */
406
- export interface PrivateEndpoint {
406
+ export interface MhsmPrivateEndpoint {
407
407
  /**
408
408
  * Full identifier of the private endpoint resource.
409
409
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -411,7 +411,7 @@ export interface PrivateEndpoint {
411
411
  readonly id?: string;
412
412
  }
413
413
  /** An object that represents the approval state of the private link connection. */
414
- export interface PrivateLinkServiceConnectionState {
414
+ export interface MhsmPrivateLinkServiceConnectionState {
415
415
  /** Indicates whether the connection has been approved, rejected or removed by the key vault owner. */
416
416
  status?: PrivateEndpointServiceConnectionStatus;
417
417
  /** The reason for approval or rejection. */
@@ -419,359 +419,314 @@ export interface PrivateLinkServiceConnectionState {
419
419
  /** A message indicating if changes on the service provider require any updates on the consumer. */
420
420
  actionsRequired?: ActionsRequired;
421
421
  }
422
- /** Resource information with extended details. */
423
- export interface Vault {
422
+ /** The security domain properties of the managed hsm. */
423
+ export interface ManagedHSMSecurityDomainProperties {
424
424
  /**
425
- * Fully qualified identifier of the key vault resource.
425
+ * Activation Status
426
426
  * NOTE: This property will not be serialized. It can only be populated by the server.
427
427
  */
428
- readonly id?: string;
428
+ readonly activationStatus?: ActivationStatus;
429
429
  /**
430
- * Name of the key vault resource.
430
+ * Activation Status Message.
431
431
  * NOTE: This property will not be serialized. It can only be populated by the server.
432
432
  */
433
- readonly name?: string;
433
+ readonly activationStatusMessage?: string;
434
+ }
435
+ /** SKU details */
436
+ export interface ManagedHsmSku {
437
+ /** SKU Family of the managed HSM Pool */
438
+ family: ManagedHsmSkuFamily;
439
+ /** SKU of the managed HSM Pool */
440
+ name: ManagedHsmSkuName;
441
+ }
442
+ /** Managed service identity (system assigned and/or user assigned identities) */
443
+ export interface ManagedServiceIdentity {
434
444
  /**
435
- * Resource type of the key vault resource.
445
+ * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
436
446
  * NOTE: This property will not be serialized. It can only be populated by the server.
437
447
  */
438
- readonly type?: string;
439
- /** Azure location of the key vault resource. */
440
- location?: string;
441
- /** Tags assigned to the key vault resource. */
442
- tags?: {
443
- [propertyName: string]: string;
444
- };
448
+ readonly principalId?: string;
445
449
  /**
446
- * System metadata for the key vault.
450
+ * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
447
451
  * NOTE: This property will not be serialized. It can only be populated by the server.
448
452
  */
449
- readonly systemData?: SystemData;
450
- /** Properties of the vault */
451
- properties: VaultProperties;
453
+ readonly tenantId?: string;
454
+ /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
455
+ type: ManagedServiceIdentityType;
456
+ /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */
457
+ userAssignedIdentities?: {
458
+ [propertyName: string]: UserAssignedIdentity | null;
459
+ };
452
460
  }
453
- /** Metadata pertaining to creation and last modification of the key vault resource. */
454
- export interface SystemData {
455
- /** The identity that created the key vault resource. */
456
- createdBy?: string;
457
- /** The type of identity that created the key vault resource. */
458
- createdByType?: IdentityType;
459
- /** The timestamp of the key vault resource creation (UTC). */
460
- createdAt?: Date;
461
- /** The identity that last modified the key vault resource. */
462
- lastModifiedBy?: string;
463
- /** The type of identity that last modified the key vault resource. */
464
- lastModifiedByType?: IdentityType;
465
- /** The timestamp of the key vault resource last modification (UTC). */
466
- lastModifiedAt?: Date;
461
+ /** User assigned identity properties */
462
+ export interface UserAssignedIdentity {
463
+ /**
464
+ * The principal ID of the assigned identity.
465
+ * NOTE: This property will not be serialized. It can only be populated by the server.
466
+ */
467
+ readonly principalId?: string;
468
+ /**
469
+ * The client ID of the assigned identity.
470
+ * NOTE: This property will not be serialized. It can only be populated by the server.
471
+ */
472
+ readonly clientId?: string;
467
473
  }
468
- /** Parameters for creating or updating a vault */
469
- export interface VaultPatchParameters {
470
- /** The tags that will be assigned to the key vault. */
471
- tags?: {
472
- [propertyName: string]: string;
473
- };
474
- /** Properties of the vault */
475
- properties?: VaultPatchProperties;
474
+ /** The response of a Vault list operation. */
475
+ export interface VaultListResult {
476
+ /** The Vault items on this page */
477
+ value: Vault[];
478
+ /** The link to the next page of items */
479
+ nextLink?: string;
476
480
  }
477
481
  /** Properties of the vault */
478
- export interface VaultPatchProperties {
482
+ export interface VaultProperties {
479
483
  /** The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. */
480
- tenantId?: string;
484
+ tenantId: string;
481
485
  /** SKU details */
482
- sku?: Sku;
483
- /** An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. */
486
+ sku: Sku;
487
+ /** An array of 0 to 1024 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. When `createMode` is set to `recover`, access policies are not required. Otherwise, access policies are required. */
484
488
  accessPolicies?: AccessPolicyEntry[];
489
+ /** The URI of the vault for performing operations on keys and secrets. */
490
+ vaultUri?: string;
491
+ /**
492
+ * The resource id of HSM Pool.
493
+ * NOTE: This property will not be serialized. It can only be populated by the server.
494
+ */
495
+ readonly hsmPoolResourceId?: string;
485
496
  /** Property to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault. */
486
497
  enabledForDeployment?: boolean;
487
498
  /** Property to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys. */
488
499
  enabledForDiskEncryption?: boolean;
489
500
  /** Property to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault. */
490
501
  enabledForTemplateDeployment?: boolean;
491
- /** Property to specify whether the 'soft delete' functionality is enabled for this key vault. Once set to true, it cannot be reverted to false. */
502
+ /** Property to specify whether the 'soft delete' functionality is enabled for this key vault. If it's not set to any value(true or false) when creating new key vault, it will be set to true by default. Once set to true, it cannot be reverted to false. */
492
503
  enableSoftDelete?: boolean;
493
- /** Property that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be ignored. When false, the key vault will use the access policies specified in vault properties, and any policy stored on Azure Resource Manager will be ignored. If null or not specified, the value of this property will not change. */
494
- enableRbacAuthorization?: boolean;
495
504
  /** softDelete data retention days. It accepts >=7 and <=90. */
496
505
  softDeleteRetentionInDays?: number;
506
+ /** Property that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be ignored. When false, the key vault will use the access policies specified in vault properties, and any policy stored on Azure Resource Manager will be ignored. If null or not specified, the vault is created with the default value of false. Note that management actions are always authorized with RBAC. */
507
+ enableRbacAuthorization?: boolean;
497
508
  /** The vault's create mode to indicate whether the vault need to be recovered or not. */
498
509
  createMode?: CreateMode;
499
510
  /** Property specifying whether protection against purge is enabled for this vault. Setting this property to true activates protection against purge for this vault and its content - only the Key Vault service may initiate a hard, irrecoverable deletion. The setting is effective only if soft delete is also enabled. Enabling this functionality is irreversible - that is, the property does not accept false as its value. */
500
511
  enablePurgeProtection?: boolean;
501
- /** A collection of rules governing the accessibility of the vault from specific network locations. */
512
+ /** Rules governing the accessibility of the key vault from specific network locations. */
502
513
  networkAcls?: NetworkRuleSet;
503
- /** Property to specify whether the vault will accept traffic from public internet. If set to 'disabled' all traffic except private endpoint traffic and that that originates from trusted services will be blocked. This will override the set firewall rules, meaning that even if the firewall rules are present we will not honor the rules. */
504
- publicNetworkAccess?: string;
505
- }
506
- /** Parameters for updating the access policy in a vault */
507
- export interface VaultAccessPolicyParameters {
508
- /**
509
- * The resource id of the access policy.
510
- * NOTE: This property will not be serialized. It can only be populated by the server.
511
- */
512
- readonly id?: string;
514
+ /** Provisioning state of the vault. */
515
+ provisioningState?: VaultProvisioningState;
513
516
  /**
514
- * The resource name of the access policy.
517
+ * List of private endpoint connections associated with the key vault.
515
518
  * NOTE: This property will not be serialized. It can only be populated by the server.
516
519
  */
517
- readonly name?: string;
520
+ readonly privateEndpointConnections?: PrivateEndpointConnectionItem[];
521
+ /** Property to specify whether the vault will accept traffic from public internet. If set to 'disabled' all traffic except private endpoint traffic and that that originates from trusted services will be blocked. This will override the set firewall rules, meaning that even if the firewall rules are present we will not honor the rules. */
522
+ publicNetworkAccess?: string;
523
+ }
524
+ /** SKU details */
525
+ export interface Sku {
526
+ /** SKU family name */
527
+ family: SkuFamily;
528
+ /** SKU name to specify whether the key vault is a standard vault or a premium vault. */
529
+ name: SkuName;
530
+ }
531
+ /** An identity that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. */
532
+ export interface AccessPolicyEntry {
533
+ /** The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. */
534
+ tenantId: string;
535
+ /** The object ID of a user, service principal or security group in the Azure Active Directory tenant for the vault. The object ID must be unique for the list of access policies. */
536
+ objectId: string;
537
+ /** Application ID of the client making request on behalf of a principal */
538
+ applicationId?: string;
539
+ /** Permissions the identity has for keys, secrets and certificates. */
540
+ permissions: Permissions;
541
+ }
542
+ /** Permissions the identity has for keys, secrets, certificates and storage. */
543
+ export interface Permissions {
544
+ /** Permissions to keys */
545
+ keys?: KeyPermissions[];
546
+ /** Permissions to secrets */
547
+ secrets?: SecretPermissions[];
548
+ /** Permissions to certificates */
549
+ certificates?: CertificatePermissions[];
550
+ /** Permissions to storage accounts */
551
+ storage?: StoragePermissions[];
552
+ }
553
+ /** A set of rules governing the network accessibility of a vault. */
554
+ export interface NetworkRuleSet {
555
+ /** Tells what traffic can bypass network rules. This can be 'AzureServices' or 'None'. If not specified the default is 'AzureServices'. */
556
+ bypass?: NetworkRuleBypassOptions;
557
+ /** The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. */
558
+ defaultAction?: NetworkRuleAction;
559
+ /** The list of IP address rules. */
560
+ ipRules?: IPRule[];
561
+ /** The list of virtual network rules. */
562
+ virtualNetworkRules?: VirtualNetworkRule[];
563
+ }
564
+ /** A rule governing the accessibility of a vault from a specific ip address or ip range. */
565
+ export interface IPRule {
566
+ /** An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). */
567
+ value: string;
568
+ }
569
+ /** A rule governing the accessibility of a vault from a specific virtual network. */
570
+ export interface VirtualNetworkRule {
571
+ /** Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'. */
572
+ id: string;
573
+ /** Property to specify whether NRP will ignore the check if parent subnet has serviceEndpoints configured. */
574
+ ignoreMissingVnetServiceEndpoint?: boolean;
575
+ }
576
+ /** Private endpoint connection item. */
577
+ export interface PrivateEndpointConnectionItem {
578
+ /** Id of private endpoint connection. */
579
+ id?: string;
580
+ /** Modified whenever there is a change in the state of private endpoint connection. */
581
+ etag?: string;
582
+ /** Properties of the private endpoint object. */
583
+ privateEndpoint?: PrivateEndpoint;
584
+ /** Approval state of the private link connection. */
585
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
518
586
  /**
519
- * The resource name of the access policy.
587
+ * Provisioning state of the private endpoint connection.
520
588
  * NOTE: This property will not be serialized. It can only be populated by the server.
521
589
  */
522
- readonly type?: string;
590
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
591
+ }
592
+ /** Private endpoint object properties. */
593
+ export interface PrivateEndpoint {
523
594
  /**
524
- * The resource type of the access policy.
595
+ * Full identifier of the private endpoint resource.
525
596
  * NOTE: This property will not be serialized. It can only be populated by the server.
526
597
  */
527
- readonly location?: string;
528
- /** Properties of the access policy */
529
- properties: VaultAccessPolicyProperties;
530
- }
531
- /** Properties of the vault access policy */
532
- export interface VaultAccessPolicyProperties {
533
- /** An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. */
534
- accessPolicies: AccessPolicyEntry[];
598
+ readonly id?: string;
535
599
  }
536
- /** List of vaults */
537
- export interface VaultListResult {
538
- /** The list of vaults. */
539
- value?: Vault[];
540
- /** The URL to get the next set of vaults. */
541
- nextLink?: string;
600
+ /** An object that represents the approval state of the private link connection. */
601
+ export interface PrivateLinkServiceConnectionState {
602
+ /** Indicates whether the connection has been approved, rejected or removed by the key vault owner. */
603
+ status?: PrivateEndpointServiceConnectionStatus;
604
+ /** The reason for approval or rejection. */
605
+ description?: string;
606
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
607
+ actionsRequired?: ActionsRequired;
542
608
  }
543
- /** List of vaults */
544
- export interface DeletedVaultListResult {
545
- /** The list of deleted vaults. */
546
- value?: DeletedVault[];
547
- /** The URL to get the next set of deleted vaults. */
609
+ /** The response of a ManagedHsmKey list operation. */
610
+ export interface ManagedHsmKeyListResult {
611
+ /** The ManagedHsmKey items on this page */
612
+ value: ManagedHsmKey[];
613
+ /** The link to the next page of items */
548
614
  nextLink?: string;
549
615
  }
550
- /** Deleted vault information with extended details. */
551
- export interface DeletedVault {
552
- /**
553
- * The resource ID for the deleted key vault.
554
- * NOTE: This property will not be serialized. It can only be populated by the server.
555
- */
556
- readonly id?: string;
616
+ /** The properties of the key. */
617
+ export interface ManagedHsmKeyProperties {
618
+ /** The attributes of the key. */
619
+ attributes?: ManagedHsmKeyAttributes;
620
+ /** The type of the key. For valid values, see JsonWebKeyType. */
621
+ kty?: JsonWebKeyType;
622
+ keyOps?: JsonWebKeyOperation[];
623
+ /** The key size in bits. For example: 2048, 3072, or 4096 for RSA. Default for RSA and RSA-HSM keys is 2048. Exception made for bring your own key (BYOK), key exchange keys default to 4096. */
624
+ keySize?: number;
625
+ /** The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256 */
626
+ curveName?: JsonWebKeyCurveName;
557
627
  /**
558
- * The name of the key vault.
628
+ * The URI to retrieve the current version of the key.
559
629
  * NOTE: This property will not be serialized. It can only be populated by the server.
560
630
  */
561
- readonly name?: string;
631
+ readonly keyUri?: string;
562
632
  /**
563
- * The resource type of the key vault.
633
+ * The URI to retrieve the specific version of the key.
564
634
  * NOTE: This property will not be serialized. It can only be populated by the server.
565
635
  */
566
- readonly type?: string;
567
- /** Properties of the vault */
568
- properties?: DeletedVaultProperties;
636
+ readonly keyUriWithVersion?: string;
637
+ /** Key rotation policy in response. It will be used for both output and input. Omitted if empty */
638
+ rotationPolicy?: ManagedHsmRotationPolicy;
639
+ /** Key release policy in response. It will be used for both output and input. Omitted if empty */
640
+ releasePolicy?: ManagedHsmKeyReleasePolicy;
569
641
  }
570
- /** Properties of the deleted vault. */
571
- export interface DeletedVaultProperties {
572
- /**
573
- * The resource id of the original vault.
574
- * NOTE: This property will not be serialized. It can only be populated by the server.
575
- */
576
- readonly vaultId?: string;
577
- /**
578
- * The location of the original vault.
579
- * NOTE: This property will not be serialized. It can only be populated by the server.
580
- */
581
- readonly location?: string;
582
- /**
583
- * The deleted date.
584
- * NOTE: This property will not be serialized. It can only be populated by the server.
585
- */
586
- readonly deletionDate?: Date;
587
- /**
588
- * The scheduled purged date.
589
- * NOTE: This property will not be serialized. It can only be populated by the server.
590
- */
591
- readonly scheduledPurgeDate?: Date;
592
- /**
593
- * Tags of the original vault.
594
- * NOTE: This property will not be serialized. It can only be populated by the server.
595
- */
596
- readonly tags?: {
597
- [propertyName: string]: string;
598
- };
599
- /**
600
- * Purge protection status of the original vault.
601
- * NOTE: This property will not be serialized. It can only be populated by the server.
602
- */
603
- readonly purgeProtectionEnabled?: boolean;
604
- }
605
- /** List of vault resources. */
606
- export interface ResourceListResult {
607
- /** The list of vault resources. */
608
- value?: Resource[];
609
- /** The URL to get the next set of vault resources. */
610
- nextLink?: string;
611
- }
612
- /** The parameters used to check the availability of the vault name. */
613
- export interface VaultCheckNameAvailabilityParameters {
614
- /** The vault name. */
615
- name: string;
616
- /** The type of resource, Microsoft.KeyVault/vaults */
617
- type: "Microsoft.KeyVault/vaults";
618
- }
619
- /** The CheckNameAvailability operation response. */
620
- export interface CheckNameAvailabilityResult {
642
+ /** The object attributes managed by the Azure Key Vault service. */
643
+ export interface ManagedHsmKeyAttributes {
644
+ /** Determines whether or not the object is enabled. */
645
+ enabled?: boolean;
646
+ /** Not before date in seconds since 1970-01-01T00:00:00Z. */
647
+ notBefore?: number;
648
+ /** Expiry date in seconds since 1970-01-01T00:00:00Z. */
649
+ expires?: number;
621
650
  /**
622
- * A boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used.
651
+ * Creation time in seconds since 1970-01-01T00:00:00Z.
623
652
  * NOTE: This property will not be serialized. It can only be populated by the server.
624
653
  */
625
- readonly nameAvailable?: boolean;
654
+ readonly created?: number;
626
655
  /**
627
- * The reason that a vault name could not be used. The Reason element is only returned if NameAvailable is false.
656
+ * Last updated time in seconds since 1970-01-01T00:00:00Z.
628
657
  * NOTE: This property will not be serialized. It can only be populated by the server.
629
658
  */
630
- readonly reason?: Reason;
659
+ readonly updated?: number;
631
660
  /**
632
- * An error message explaining the Reason value in more detail.
661
+ * The deletion recovery level currently in effect for the object. If it contains 'Purgeable', then the object can be permanently deleted by a privileged user; otherwise, only the system can purge the object at the end of the retention interval.
633
662
  * NOTE: This property will not be serialized. It can only be populated by the server.
634
663
  */
635
- readonly message?: string;
636
- }
637
- /** List of private endpoint connections. */
638
- export interface PrivateEndpointConnectionListResult {
639
- /** The list of private endpoint connections. */
640
- value?: PrivateEndpointConnection[];
641
- /** The URL to get the next set of private endpoint connections. */
642
- nextLink?: string;
664
+ readonly recoveryLevel?: DeletionRecoveryLevel;
665
+ /** Indicates if the private key can be exported. */
666
+ exportable?: boolean;
643
667
  }
644
- /** A list of private link resources */
645
- export interface PrivateLinkResourceListResult {
646
- /** Array of private link resources */
647
- value?: PrivateLinkResource[];
668
+ export interface ManagedHsmRotationPolicy {
669
+ /** The attributes of key rotation policy. */
670
+ attributes?: ManagedHsmKeyRotationPolicyAttributes;
671
+ /** The lifetimeActions for key rotation action. */
672
+ lifetimeActions?: ManagedHsmLifetimeAction[];
648
673
  }
649
- /** Properties of the managed HSM Pool */
650
- export interface ManagedHsmProperties {
651
- /** The Azure Active Directory tenant ID that should be used for authenticating requests to the managed HSM pool. */
652
- tenantId?: string;
653
- /** Array of initial administrators object ids for this managed hsm pool. */
654
- initialAdminObjectIds?: string[];
655
- /**
656
- * The URI of the managed hsm pool for performing operations on keys.
657
- * NOTE: This property will not be serialized. It can only be populated by the server.
658
- */
659
- readonly hsmUri?: string;
660
- /** Property to specify whether the 'soft delete' functionality is enabled for this managed HSM pool. Soft delete is enabled by default for all managed HSMs and is immutable. */
661
- enableSoftDelete?: boolean;
662
- /** Soft deleted data retention days. When you delete an HSM or a key, it will remain recoverable for the configured retention period or for a default period of 90 days. It accepts values between 7 and 90. */
663
- softDeleteRetentionInDays?: number;
664
- /** Property specifying whether protection against purge is enabled for this managed HSM pool. Setting this property to true activates protection against purge for this managed HSM pool and its content - only the Managed HSM service may initiate a hard, irrecoverable deletion. Enabling this functionality is irreversible. */
665
- enablePurgeProtection?: boolean;
666
- /** The create mode to indicate whether the resource is being created or is being recovered from a deleted resource. */
667
- createMode?: CreateMode;
668
- /**
669
- * Resource Status Message.
670
- * NOTE: This property will not be serialized. It can only be populated by the server.
671
- */
672
- readonly statusMessage?: string;
673
- /**
674
- * Provisioning state.
675
- * NOTE: This property will not be serialized. It can only be populated by the server.
676
- */
677
- readonly provisioningState?: ProvisioningState;
678
- /** Rules governing the accessibility of the key vault from specific network locations. */
679
- networkAcls?: MhsmNetworkRuleSet;
680
- /** List of all regions associated with the managed hsm pool. */
681
- regions?: MhsmGeoReplicatedRegion[];
682
- /**
683
- * List of private endpoint connections associated with the managed hsm pool.
684
- * NOTE: This property will not be serialized. It can only be populated by the server.
685
- */
686
- readonly privateEndpointConnections?: MhsmPrivateEndpointConnectionItem[];
687
- /** Control permission to the managed HSM from public networks. */
688
- publicNetworkAccess?: PublicNetworkAccess;
674
+ export interface ManagedHsmKeyRotationPolicyAttributes {
689
675
  /**
690
- * The scheduled purge date in UTC.
676
+ * Creation time in seconds since 1970-01-01T00:00:00Z.
691
677
  * NOTE: This property will not be serialized. It can only be populated by the server.
692
678
  */
693
- readonly scheduledPurgeDate?: Date;
679
+ readonly created?: number;
694
680
  /**
695
- * Managed HSM security domain properties.
681
+ * Last updated time in seconds since 1970-01-01T00:00:00Z.
696
682
  * NOTE: This property will not be serialized. It can only be populated by the server.
697
683
  */
698
- readonly securityDomainProperties?: ManagedHSMSecurityDomainProperties;
699
- }
700
- /** A set of rules governing the network accessibility of a managed hsm pool. */
701
- export interface MhsmNetworkRuleSet {
702
- /** Tells what traffic can bypass network rules. This can be 'AzureServices' or 'None'. If not specified the default is 'AzureServices'. */
703
- bypass?: NetworkRuleBypassOptions;
704
- /** The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. */
705
- defaultAction?: NetworkRuleAction;
706
- /** The list of IP address rules. */
707
- ipRules?: MhsmipRule[];
708
- /** The list of virtual network rules. */
709
- virtualNetworkRules?: MhsmVirtualNetworkRule[];
684
+ readonly updated?: number;
685
+ /** The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'. */
686
+ expiryTime?: string;
710
687
  }
711
- /** A rule governing the accessibility of a managed HSM pool from a specific IP address or IP range. */
712
- export interface MhsmipRule {
713
- /** An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). */
714
- value: string;
688
+ export interface ManagedHsmLifetimeAction {
689
+ /** The trigger of key rotation policy lifetimeAction. */
690
+ trigger?: ManagedHsmTrigger;
691
+ /** The action of key rotation policy lifetimeAction. */
692
+ action?: ManagedHsmAction;
715
693
  }
716
- /** A rule governing the accessibility of a managed hsm pool from a specific virtual network. */
717
- export interface MhsmVirtualNetworkRule {
718
- /** Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'. */
719
- id: string;
694
+ export interface ManagedHsmTrigger {
695
+ /** The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'. */
696
+ timeAfterCreate?: string;
697
+ /** The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'. */
698
+ timeBeforeExpiry?: string;
720
699
  }
721
- /** A region that this managed HSM Pool has been extended to. */
722
- export interface MhsmGeoReplicatedRegion {
723
- /** Name of the geo replicated region. */
724
- name?: string;
725
- /**
726
- * Provisioning state of the geo replicated region.
727
- * NOTE: This property will not be serialized. It can only be populated by the server.
728
- */
729
- readonly provisioningState?: GeoReplicationRegionProvisioningState;
730
- /** A boolean value that indicates whether the region is the primary region or a secondary region. */
731
- isPrimary?: boolean;
700
+ export interface ManagedHsmAction {
701
+ /** The type of action. */
702
+ type?: KeyRotationPolicyActionType;
732
703
  }
733
- /** Private endpoint connection item. */
734
- export interface MhsmPrivateEndpointConnectionItem {
735
- /** Id of private endpoint connection. */
736
- id?: string;
737
- /** Modified whenever there is a change in the state of private endpoint connection. */
738
- etag?: string;
739
- /** Properties of the private endpoint object. */
740
- privateEndpoint?: MhsmPrivateEndpoint;
741
- /** Approval state of the private link connection. */
742
- privateLinkServiceConnectionState?: MhsmPrivateLinkServiceConnectionState;
743
- /** Provisioning state of the private endpoint connection. */
744
- provisioningState?: PrivateEndpointConnectionProvisioningState;
704
+ export interface ManagedHsmKeyReleasePolicy {
705
+ /** Content type and version of key release policy */
706
+ contentType?: string;
707
+ /** Blob encoding the policy rules under which the key can be released. */
708
+ data?: Uint8Array;
745
709
  }
746
- /** Private endpoint object properties. */
747
- export interface MhsmPrivateEndpoint {
748
- /**
749
- * Full identifier of the private endpoint resource.
750
- * NOTE: This property will not be serialized. It can only be populated by the server.
751
- */
752
- readonly id?: string;
710
+ /** The parameters used to create a key. */
711
+ export interface ManagedHsmKeyCreateParameters {
712
+ /** The tags that will be assigned to the key. */
713
+ tags?: {
714
+ [propertyName: string]: string;
715
+ };
716
+ /** The properties of the key to be created. */
717
+ properties: ManagedHsmKeyProperties;
753
718
  }
754
- /** An object that represents the approval state of the private link connection. */
755
- export interface MhsmPrivateLinkServiceConnectionState {
756
- /** Indicates whether the connection has been approved, rejected or removed by the key vault owner. */
757
- status?: PrivateEndpointServiceConnectionStatus;
758
- /** The reason for approval or rejection. */
759
- description?: string;
760
- /** A message indicating if changes on the service provider require any updates on the consumer. */
761
- actionsRequired?: ActionsRequired;
719
+ /** List of private endpoint connections associated with a managed HSM Pools */
720
+ export interface MhsmPrivateEndpointConnectionsListResult {
721
+ /** The MhsmPrivateEndpointConnection items on this page */
722
+ value: MhsmPrivateEndpointConnection[];
723
+ /** The link to the next page of items */
724
+ nextLink?: string;
762
725
  }
763
- /** The security domain properties of the managed hsm. */
764
- export interface ManagedHSMSecurityDomainProperties {
765
- /**
766
- * Activation Status
767
- * NOTE: This property will not be serialized. It can only be populated by the server.
768
- */
769
- readonly activationStatus?: ActivationStatus;
770
- /**
771
- * Activation Status Message.
772
- * NOTE: This property will not be serialized. It can only be populated by the server.
773
- */
774
- readonly activationStatusMessage?: string;
726
+ /** A list of private link resources */
727
+ export interface MhsmPrivateLinkResourceListResult {
728
+ /** Array of private link resources */
729
+ value?: MhsmPrivateLinkResource[];
775
730
  }
776
731
  /** Managed HSM resource */
777
732
  export interface ManagedHsmResource {
@@ -806,261 +761,258 @@ export interface ManagedHsmResource {
806
761
  /** Managed service identity (system assigned and/or user assigned identities) */
807
762
  identity?: ManagedServiceIdentity;
808
763
  }
809
- /** SKU details */
810
- export interface ManagedHsmSku {
811
- /** SKU Family of the managed HSM Pool */
812
- family: ManagedHsmSkuFamily;
813
- /** SKU of the managed HSM Pool */
814
- name: ManagedHsmSkuName;
764
+ /** List of regions associated with a managed HSM Pools */
765
+ export interface MhsmRegionsListResult {
766
+ /** The MhsmGeoReplicatedRegion items on this page */
767
+ value: MhsmGeoReplicatedRegion[];
768
+ /** The link to the next page of items */
769
+ nextLink?: string;
815
770
  }
816
- /** Managed service identity (system assigned and/or user assigned identities) */
817
- export interface ManagedServiceIdentity {
818
- /**
819
- * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
820
- * NOTE: This property will not be serialized. It can only be populated by the server.
821
- */
822
- readonly principalId?: string;
823
- /**
824
- * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
825
- * NOTE: This property will not be serialized. It can only be populated by the server.
826
- */
827
- readonly tenantId?: string;
828
- /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
829
- type: ManagedServiceIdentityType;
830
- /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */
831
- userAssignedIdentities?: {
832
- [propertyName: string]: UserAssignedIdentity | null;
771
+ /** Parameters for creating or updating a vault */
772
+ export interface VaultCreateOrUpdateParameters {
773
+ /** The supported Azure location where the key vault should be created. */
774
+ location: string;
775
+ /** The tags that will be assigned to the key vault. */
776
+ tags?: {
777
+ [propertyName: string]: string;
833
778
  };
779
+ /** Properties of the vault */
780
+ properties: VaultProperties;
834
781
  }
835
- /** User assigned identity properties */
836
- export interface UserAssignedIdentity {
837
- /**
838
- * The principal ID of the assigned identity.
839
- * NOTE: This property will not be serialized. It can only be populated by the server.
840
- */
841
- readonly principalId?: string;
842
- /**
843
- * The client ID of the assigned identity.
844
- * NOTE: This property will not be serialized. It can only be populated by the server.
845
- */
846
- readonly clientId?: string;
782
+ /** Parameters for creating or updating a vault */
783
+ export interface VaultPatchParameters {
784
+ /** The tags that will be assigned to the key vault. */
785
+ tags?: {
786
+ [propertyName: string]: string;
787
+ };
788
+ /** Properties of the vault */
789
+ properties?: VaultPatchProperties;
847
790
  }
848
- /** The error exception. */
849
- export interface ManagedHsmError {
791
+ /** Properties of the vault */
792
+ export interface VaultPatchProperties {
793
+ /** The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. */
794
+ tenantId?: string;
795
+ /** SKU details */
796
+ sku?: Sku;
797
+ /** An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. */
798
+ accessPolicies?: AccessPolicyEntry[];
799
+ /** Property to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault. */
800
+ enabledForDeployment?: boolean;
801
+ /** Property to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys. */
802
+ enabledForDiskEncryption?: boolean;
803
+ /** Property to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault. */
804
+ enabledForTemplateDeployment?: boolean;
805
+ /** Property to specify whether the 'soft delete' functionality is enabled for this key vault. Once set to true, it cannot be reverted to false. */
806
+ enableSoftDelete?: boolean;
807
+ /** Property that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be ignored. When false, the key vault will use the access policies specified in vault properties, and any policy stored on Azure Resource Manager will be ignored. If null or not specified, the value of this property will not change. */
808
+ enableRbacAuthorization?: boolean;
809
+ /** softDelete data retention days. It accepts >=7 and <=90. */
810
+ softDeleteRetentionInDays?: number;
811
+ /** The vault's create mode to indicate whether the vault need to be recovered or not. */
812
+ createMode?: CreateMode;
813
+ /** Property specifying whether protection against purge is enabled for this vault. Setting this property to true activates protection against purge for this vault and its content - only the Key Vault service may initiate a hard, irrecoverable deletion. The setting is effective only if soft delete is also enabled. Enabling this functionality is irreversible - that is, the property does not accept false as its value. */
814
+ enablePurgeProtection?: boolean;
815
+ /** A collection of rules governing the accessibility of the vault from specific network locations. */
816
+ networkAcls?: NetworkRuleSet;
817
+ /** Property to specify whether the vault will accept traffic from public internet. If set to 'disabled' all traffic except private endpoint traffic and that that originates from trusted services will be blocked. This will override the set firewall rules, meaning that even if the firewall rules are present we will not honor the rules. */
818
+ publicNetworkAccess?: string;
819
+ }
820
+ /** Parameters for updating the access policy in a vault */
821
+ export interface VaultAccessPolicyParameters {
850
822
  /**
851
- * The server error.
823
+ * The resource id of the access policy.
852
824
  * NOTE: This property will not be serialized. It can only be populated by the server.
853
825
  */
854
- readonly error?: ErrorModel;
855
- }
856
- /** The server error. */
857
- export interface ErrorModel {
826
+ readonly id?: string;
858
827
  /**
859
- * The error code.
828
+ * The resource name of the access policy.
860
829
  * NOTE: This property will not be serialized. It can only be populated by the server.
861
830
  */
862
- readonly code?: string;
831
+ readonly name?: string;
863
832
  /**
864
- * The error message.
833
+ * The resource name of the access policy.
865
834
  * NOTE: This property will not be serialized. It can only be populated by the server.
866
835
  */
867
- readonly message?: string;
836
+ readonly type?: string;
868
837
  /**
869
- * The inner error, contains a more specific error code.
838
+ * The resource type of the access policy.
870
839
  * NOTE: This property will not be serialized. It can only be populated by the server.
871
840
  */
872
- readonly innerError?: ErrorModel;
873
- }
874
- /** List of managed HSM Pools */
875
- export interface ManagedHsmListResult {
876
- /** The list of managed HSM Pools. */
877
- value?: ManagedHsm[];
878
- /** The URL to get the next set of managed HSM Pools. */
879
- nextLink?: string;
841
+ readonly location?: string;
842
+ /** Properties of the access policy */
843
+ properties: VaultAccessPolicyProperties;
880
844
  }
881
- /** List of private endpoint connections associated with a managed HSM Pools */
882
- export interface MhsmPrivateEndpointConnectionsListResult {
883
- /** The private endpoint connection associated with a managed HSM Pools. */
884
- value?: MhsmPrivateEndpointConnection[];
885
- /** The URL to get the next set of managed HSM Pools. */
886
- nextLink?: string;
845
+ /** Properties of the vault access policy */
846
+ export interface VaultAccessPolicyProperties {
847
+ /** An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. */
848
+ accessPolicies: AccessPolicyEntry[];
887
849
  }
888
- /** List of deleted managed HSM Pools */
889
- export interface DeletedManagedHsmListResult {
890
- /** The list of deleted managed HSM Pools. */
891
- value?: DeletedManagedHsm[];
892
- /** The URL to get the next set of deleted managed HSM Pools. */
850
+ /** The response of a Key list operation. */
851
+ export interface KeyListResult {
852
+ /** The Key items on this page */
853
+ value: Key[];
854
+ /** The link to the next page of items */
893
855
  nextLink?: string;
894
856
  }
895
- export interface DeletedManagedHsm {
896
- /**
897
- * The Azure Resource Manager resource ID for the deleted managed HSM Pool.
898
- * NOTE: This property will not be serialized. It can only be populated by the server.
899
- */
900
- readonly id?: string;
857
+ /** The properties of the key. */
858
+ export interface KeyProperties {
859
+ /** The attributes of the key. */
860
+ attributes?: KeyAttributes;
861
+ /** The type of the key. For valid values, see JsonWebKeyType. */
862
+ kty?: JsonWebKeyType;
863
+ keyOps?: JsonWebKeyOperation[];
864
+ /** The key size in bits. For example: 2048, 3072, or 4096 for RSA. Default for RSA and RSA-HSM keys is 2048. Exception made for bring your own key (BYOK), key exchange keys default to 4096. */
865
+ keySize?: number;
866
+ /** The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256 */
867
+ curveName?: JsonWebKeyCurveName;
901
868
  /**
902
- * The name of the managed HSM Pool.
869
+ * The URI to retrieve the current version of the key.
903
870
  * NOTE: This property will not be serialized. It can only be populated by the server.
904
871
  */
905
- readonly name?: string;
872
+ readonly keyUri?: string;
906
873
  /**
907
- * The resource type of the managed HSM Pool.
874
+ * The URI to retrieve the specific version of the key.
908
875
  * NOTE: This property will not be serialized. It can only be populated by the server.
909
876
  */
910
- readonly type?: string;
911
- /** Properties of the deleted managed HSM */
912
- properties?: DeletedManagedHsmProperties;
877
+ readonly keyUriWithVersion?: string;
878
+ /** Key rotation policy in response. It will be used for both output and input. Omitted if empty */
879
+ rotationPolicy?: RotationPolicy;
880
+ /** Key release policy in response. It will be used for both output and input. Omitted if empty */
881
+ releasePolicy?: KeyReleasePolicy;
913
882
  }
914
- /** Properties of the deleted managed HSM. */
915
- export interface DeletedManagedHsmProperties {
916
- /**
917
- * The resource id of the original managed HSM.
918
- * NOTE: This property will not be serialized. It can only be populated by the server.
919
- */
920
- readonly mhsmId?: string;
883
+ /** The object attributes managed by the Azure Key Vault service. */
884
+ export interface KeyAttributes {
885
+ /** Determines whether or not the object is enabled. */
886
+ enabled?: boolean;
887
+ /** Not before date in seconds since 1970-01-01T00:00:00Z. */
888
+ notBefore?: number;
889
+ /** Expiry date in seconds since 1970-01-01T00:00:00Z. */
890
+ expires?: number;
921
891
  /**
922
- * The location of the original managed HSM.
892
+ * Creation time in seconds since 1970-01-01T00:00:00Z.
923
893
  * NOTE: This property will not be serialized. It can only be populated by the server.
924
894
  */
925
- readonly location?: string;
895
+ readonly created?: number;
926
896
  /**
927
- * The deleted date.
897
+ * Last updated time in seconds since 1970-01-01T00:00:00Z.
928
898
  * NOTE: This property will not be serialized. It can only be populated by the server.
929
899
  */
930
- readonly deletionDate?: Date;
900
+ readonly updated?: number;
931
901
  /**
932
- * The scheduled purged date.
902
+ * The deletion recovery level currently in effect for the object. If it contains 'Purgeable', then the object can be permanently deleted by a privileged user; otherwise, only the system can purge the object at the end of the retention interval.
933
903
  * NOTE: This property will not be serialized. It can only be populated by the server.
934
904
  */
935
- readonly scheduledPurgeDate?: Date;
905
+ readonly recoveryLevel?: DeletionRecoveryLevel;
906
+ /** Indicates if the private key can be exported. */
907
+ exportable?: boolean;
908
+ }
909
+ export interface RotationPolicy {
910
+ /** The attributes of key rotation policy. */
911
+ attributes?: KeyRotationPolicyAttributes;
912
+ /** The lifetimeActions for key rotation action. */
913
+ lifetimeActions?: LifetimeAction[];
914
+ }
915
+ export interface KeyRotationPolicyAttributes {
936
916
  /**
937
- * Purge protection status of the original managed HSM.
917
+ * Creation time in seconds since 1970-01-01T00:00:00Z.
938
918
  * NOTE: This property will not be serialized. It can only be populated by the server.
939
919
  */
940
- readonly purgeProtectionEnabled?: boolean;
920
+ readonly created?: number;
941
921
  /**
942
- * Tags of the original managed HSM.
922
+ * Last updated time in seconds since 1970-01-01T00:00:00Z.
943
923
  * NOTE: This property will not be serialized. It can only be populated by the server.
944
924
  */
945
- readonly tags?: {
925
+ readonly updated?: number;
926
+ /** The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'. */
927
+ expiryTime?: string;
928
+ }
929
+ export interface LifetimeAction {
930
+ /** The trigger of key rotation policy lifetimeAction. */
931
+ trigger?: Trigger;
932
+ /** The action of key rotation policy lifetimeAction. */
933
+ action?: Action;
934
+ }
935
+ export interface Trigger {
936
+ /** The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'. */
937
+ timeAfterCreate?: string;
938
+ /** The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'. */
939
+ timeBeforeExpiry?: string;
940
+ }
941
+ export interface Action {
942
+ /** The type of action. */
943
+ type?: KeyRotationPolicyActionType;
944
+ }
945
+ export interface KeyReleasePolicy {
946
+ /** Content type and version of key release policy */
947
+ contentType?: string;
948
+ /** Blob encoding the policy rules under which the key can be released. */
949
+ data?: Uint8Array;
950
+ }
951
+ /** The parameters used to create a key. */
952
+ export interface KeyCreateParameters {
953
+ /** The tags that will be assigned to the key. */
954
+ tags?: {
946
955
  [propertyName: string]: string;
947
956
  };
957
+ /** The properties of the key to be created. */
958
+ properties: KeyProperties;
959
+ }
960
+ /** The response of a PrivateEndpointConnection list operation. */
961
+ export interface PrivateEndpointConnectionListResult {
962
+ /** The PrivateEndpointConnection items on this page */
963
+ value: PrivateEndpointConnection[];
964
+ /** The link to the next page of items */
965
+ nextLink?: string;
948
966
  }
949
967
  /** A list of private link resources */
950
- export interface MhsmPrivateLinkResourceListResult {
968
+ export interface PrivateLinkResourceListResult {
951
969
  /** Array of private link resources */
952
- value?: MhsmPrivateLinkResource[];
970
+ value?: PrivateLinkResource[];
953
971
  }
954
- /** List of regions associated with a managed HSM Pools */
955
- export interface MhsmRegionsListResult {
956
- /** The region associated with a managed HSM Pools. */
957
- value?: MhsmGeoReplicatedRegion[];
958
- /** The URL to get the next set of managed HSM Pools. */
972
+ /** The response of a Secret list operation. */
973
+ export interface SecretListResult {
974
+ /** The Secret items on this page */
975
+ value: Secret[];
976
+ /** The link to the next page of items */
959
977
  nextLink?: string;
960
978
  }
961
- /** The parameters used to check the availability of the managed hsm name. */
962
- export interface CheckMhsmNameAvailabilityParameters {
963
- /** The managed hsm name. */
964
- name: string;
965
- }
966
- /** The CheckMhsmNameAvailability operation response. */
967
- export interface CheckMhsmNameAvailabilityResult {
979
+ /** Properties of the secret */
980
+ export interface SecretProperties {
981
+ /** The value of the secret. NOTE: 'value' will never be returned from the service, as APIs using this model are is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets. */
982
+ value?: string;
983
+ /** The content type of the secret. */
984
+ contentType?: string;
985
+ /** The attributes of the secret. */
986
+ attributes?: SecretAttributes;
968
987
  /**
969
- * A boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used.
988
+ * The URI to retrieve the current version of the secret.
970
989
  * NOTE: This property will not be serialized. It can only be populated by the server.
971
990
  */
972
- readonly nameAvailable?: boolean;
991
+ readonly secretUri?: string;
973
992
  /**
974
- * The reason that a managed hsm name could not be used. The reason element is only returned if NameAvailable is false.
993
+ * The URI to retrieve the specific version of the secret.
975
994
  * NOTE: This property will not be serialized. It can only be populated by the server.
976
995
  */
977
- readonly reason?: Reason;
996
+ readonly secretUriWithVersion?: string;
997
+ }
998
+ /** The object attributes managed by the KeyVault service. */
999
+ export interface Attributes {
1000
+ /** Determines whether the object is enabled. */
1001
+ enabled?: boolean;
1002
+ /** Not before date in seconds since 1970-01-01T00:00:00Z. */
1003
+ notBefore?: Date;
1004
+ /** Expiry date in seconds since 1970-01-01T00:00:00Z. */
1005
+ expires?: Date;
978
1006
  /**
979
- * An error message explaining the Reason value in more detail.
1007
+ * Creation time in seconds since 1970-01-01T00:00:00Z.
980
1008
  * NOTE: This property will not be serialized. It can only be populated by the server.
981
1009
  */
982
- readonly message?: string;
983
- }
984
- /** Result of the request to list Storage operations. It contains a list of operations and a URL link to get the next set of results. */
985
- export interface OperationListResult {
986
- /** List of Storage operations supported by the Storage resource provider. */
987
- value?: Operation[];
988
- /** The URL to get the next set of operations. */
989
- nextLink?: string;
990
- }
991
- /** Key Vault REST API operation definition. */
992
- export interface Operation {
993
- /** Operation name: {provider}/{resource}/{operation} */
994
- name?: string;
995
- /** Display metadata associated with the operation. */
996
- display?: OperationDisplay;
997
- /** The origin of operations. */
998
- origin?: string;
999
- /** Property to specify whether the action is a data action. */
1000
- isDataAction?: boolean;
1001
- /** One property of operation, include metric specifications. */
1002
- serviceSpecification?: ServiceSpecification;
1003
- }
1004
- /** Display metadata associated with the operation. */
1005
- export interface OperationDisplay {
1006
- /** Service provider: Microsoft Key Vault. */
1007
- provider?: string;
1008
- /** Resource on which the operation is performed etc. */
1009
- resource?: string;
1010
- /** Type of operation: get, read, delete, etc. */
1011
- operation?: string;
1012
- /** Description of operation. */
1013
- description?: string;
1014
- }
1015
- /** One property of operation, include log specifications. */
1016
- export interface ServiceSpecification {
1017
- /** Log specifications of operation. */
1018
- logSpecifications?: LogSpecification[];
1019
- /** Metric specifications of operation. */
1020
- metricSpecifications?: MetricSpecification[];
1021
- }
1022
- /** Log specification of operation. */
1023
- export interface LogSpecification {
1024
- /** Name of log specification. */
1025
- name?: string;
1026
- /** Display name of log specification. */
1027
- displayName?: string;
1028
- /** Blob duration of specification. */
1029
- blobDuration?: string;
1030
- }
1031
- /** Metric specification of operation. */
1032
- export interface MetricSpecification {
1033
- /** Name of metric specification. */
1034
- name?: string;
1035
- /** Display name of metric specification. */
1036
- displayName?: string;
1037
- /** Display description of metric specification. */
1038
- displayDescription?: string;
1039
- /** The metric unit. Possible values include: 'Bytes', 'Count', 'Milliseconds'. */
1040
- unit?: string;
1041
- /** The metric aggregation type. Possible values include: 'Average', 'Count', 'Total'. */
1042
- aggregationType?: string;
1043
- /** The supported aggregation types for the metrics. */
1044
- supportedAggregationTypes?: string[];
1045
- /** The supported time grain types for the metrics. */
1046
- supportedTimeGrainTypes?: string[];
1047
- /** The metric lock aggregation type. */
1048
- lockAggregationType?: string;
1049
- /** The dimensions of metric */
1050
- dimensions?: DimensionProperties[];
1051
- /** Property to specify whether to fill gap with zero. */
1052
- fillGapWithZero?: boolean;
1053
- /** The internal metric name. */
1054
- internalMetricName?: string;
1055
- }
1056
- /** Type of operation: get, read, delete, etc. */
1057
- export interface DimensionProperties {
1058
- /** Name of dimension. */
1059
- name?: string;
1060
- /** Display name of dimension. */
1061
- displayName?: string;
1062
- /** Property to specify whether the dimension should be exported for Shoebox. */
1063
- toBeExportedForShoebox?: boolean;
1010
+ readonly created?: Date;
1011
+ /**
1012
+ * Last updated time in seconds since 1970-01-01T00:00:00Z.
1013
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1014
+ */
1015
+ readonly updated?: Date;
1064
1016
  }
1065
1017
  /** Parameters for creating or updating a secret */
1066
1018
  export interface SecretCreateOrUpdateParameters {
@@ -1071,73 +1023,129 @@ export interface SecretCreateOrUpdateParameters {
1071
1023
  /** Properties of the secret */
1072
1024
  properties: SecretProperties;
1073
1025
  }
1026
+ /** Parameters for patching a secret */
1027
+ export interface SecretPatchParameters {
1028
+ /** The tags that will be assigned to the secret. */
1029
+ tags?: {
1030
+ [propertyName: string]: string;
1031
+ };
1032
+ /** Properties of the secret */
1033
+ properties?: SecretPatchProperties;
1034
+ }
1074
1035
  /** Properties of the secret */
1075
- export interface SecretProperties {
1076
- /** The value of the secret. NOTE: 'value' will never be returned from the service, as APIs using this model are is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets. */
1036
+ export interface SecretPatchProperties {
1037
+ /** The value of the secret. */
1077
1038
  value?: string;
1078
1039
  /** The content type of the secret. */
1079
1040
  contentType?: string;
1080
1041
  /** The attributes of the secret. */
1081
1042
  attributes?: SecretAttributes;
1043
+ }
1044
+ /** The list of vault resources. */
1045
+ export interface ResourceListResult {
1046
+ /** The list of vault resources. */
1047
+ value: TrackedResource[];
1048
+ /** The URL to get the next set of vault resources. */
1049
+ nextLink?: string;
1050
+ }
1051
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1052
+ export interface ProxyResource extends Resource {
1053
+ }
1054
+ /** Resource information with extended details. */
1055
+ export interface ManagedHsm extends Resource {
1056
+ /** Properties of the managed HSM */
1057
+ properties?: ManagedHsmProperties;
1058
+ /** Resource tags. */
1059
+ tags?: {
1060
+ [propertyName: string]: string;
1061
+ };
1062
+ /** The geo-location where the resource lives */
1063
+ location?: string;
1064
+ /** SKU details */
1065
+ sku?: ManagedHsmSku;
1066
+ /** Managed service identity */
1067
+ identity?: ManagedServiceIdentity;
1068
+ }
1069
+ /** Private endpoint connection resource. */
1070
+ export interface MhsmPrivateEndpointConnection extends Resource {
1071
+ /** Resource tags. */
1072
+ tags?: {
1073
+ [propertyName: string]: string;
1074
+ };
1075
+ /** The geo-location where the resource lives */
1076
+ location?: string;
1077
+ /** SKU details */
1078
+ sku?: ManagedHsmSku;
1079
+ /** Managed service identity */
1080
+ identity?: ManagedServiceIdentity;
1081
+ /** Modified whenever there is a change in the state of private endpoint connection. */
1082
+ etag?: string;
1083
+ /** Properties of the private endpoint object. */
1084
+ privateEndpoint?: MhsmPrivateEndpoint;
1085
+ /** Approval state of the private link connection. */
1086
+ privateLinkServiceConnectionState?: MhsmPrivateLinkServiceConnectionState;
1082
1087
  /**
1083
- * The URI to retrieve the current version of the secret.
1084
- * NOTE: This property will not be serialized. It can only be populated by the server.
1085
- */
1086
- readonly secretUri?: string;
1087
- /**
1088
- * The URI to retrieve the specific version of the secret.
1088
+ * Provisioning state of the private endpoint connection.
1089
1089
  * NOTE: This property will not be serialized. It can only be populated by the server.
1090
1090
  */
1091
- readonly secretUriWithVersion?: string;
1091
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
1092
1092
  }
1093
- /** The object attributes managed by the KeyVault service. */
1094
- export interface Attributes {
1095
- /** Determines whether the object is enabled. */
1096
- enabled?: boolean;
1097
- /** Not before date in seconds since 1970-01-01T00:00:00Z. */
1098
- notBefore?: Date;
1099
- /** Expiry date in seconds since 1970-01-01T00:00:00Z. */
1100
- expires?: Date;
1093
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
1094
+ export interface TrackedResource extends Resource {
1095
+ /** Resource tags. */
1096
+ tags?: {
1097
+ [propertyName: string]: string;
1098
+ };
1099
+ /** The geo-location where the resource lives */
1100
+ location: string;
1101
+ }
1102
+ /** A private link resource */
1103
+ export interface MhsmPrivateLinkResource extends ManagedHsmResource {
1101
1104
  /**
1102
- * Creation time in seconds since 1970-01-01T00:00:00Z.
1105
+ * Group identifier of private link resource.
1103
1106
  * NOTE: This property will not be serialized. It can only be populated by the server.
1104
1107
  */
1105
- readonly created?: Date;
1108
+ readonly groupId?: string;
1106
1109
  /**
1107
- * Last updated time in seconds since 1970-01-01T00:00:00Z.
1110
+ * Required member names of private link resource.
1108
1111
  * NOTE: This property will not be serialized. It can only be populated by the server.
1109
1112
  */
1110
- readonly updated?: Date;
1113
+ readonly requiredMembers?: string[];
1114
+ /** Required DNS zone names of the the private link resource. */
1115
+ requiredZoneNames?: string[];
1111
1116
  }
1112
- /** Parameters for patching a secret */
1113
- export interface SecretPatchParameters {
1114
- /** The tags that will be assigned to the secret. */
1117
+ /** The secret management attributes. */
1118
+ export interface SecretAttributes extends Attributes {
1119
+ }
1120
+ /** Concrete proxy resource types can be created by aliasing this type using a specific property type. */
1121
+ export interface DeletedManagedHsm extends ProxyResource {
1122
+ /** Properties of the deleted managed HSM */
1123
+ properties?: DeletedManagedHsmProperties;
1124
+ }
1125
+ /** Deleted vault information with extended details. */
1126
+ export interface DeletedVault extends ProxyResource {
1127
+ /** Properties of the vault */
1128
+ properties?: DeletedVaultProperties;
1129
+ }
1130
+ /** Resource information with extended details. */
1131
+ export interface Vault extends ProxyResource {
1132
+ /** Properties of the vault */
1133
+ properties: VaultProperties;
1134
+ /** Azure location of the key vault resource. */
1135
+ location?: string;
1136
+ /** Tags assigned to the key vault resource. */
1115
1137
  tags?: {
1116
1138
  [propertyName: string]: string;
1117
1139
  };
1118
- /** Properties of the secret */
1119
- properties?: SecretPatchProperties;
1120
- }
1121
- /** Properties of the secret */
1122
- export interface SecretPatchProperties {
1123
- /** The value of the secret. */
1124
- value?: string;
1125
- /** The content type of the secret. */
1126
- contentType?: string;
1127
- /** The attributes of the secret. */
1128
- attributes?: SecretAttributes;
1129
- }
1130
- /** List of secrets */
1131
- export interface SecretListResult {
1132
- /** The list of secrets. */
1133
- value?: Secret[];
1134
- /** The URL to get the next set of secrets. */
1135
- nextLink?: string;
1136
1140
  }
1137
1141
  /** The key resource. */
1138
- export interface Key extends Resource {
1142
+ export interface ManagedHsmKey extends ProxyResource {
1143
+ /** Resource tags */
1144
+ tags?: {
1145
+ [propertyName: string]: string;
1146
+ };
1139
1147
  /** The attributes of the key. */
1140
- attributes?: KeyAttributes;
1148
+ attributes?: ManagedHsmKeyAttributes;
1141
1149
  /** The type of the key. For valid values, see JsonWebKeyType. */
1142
1150
  kty?: JsonWebKeyType;
1143
1151
  keyOps?: JsonWebKeyOperation[];
@@ -1156,45 +1164,26 @@ export interface Key extends Resource {
1156
1164
  */
1157
1165
  readonly keyUriWithVersion?: string;
1158
1166
  /** Key rotation policy in response. It will be used for both output and input. Omitted if empty */
1159
- rotationPolicy?: RotationPolicy;
1167
+ rotationPolicy?: ManagedHsmRotationPolicy;
1160
1168
  /** Key release policy in response. It will be used for both output and input. Omitted if empty */
1161
- releasePolicy?: KeyReleasePolicy;
1162
- }
1163
- /** Private endpoint connection resource. */
1164
- export interface PrivateEndpointConnection extends Resource {
1165
- /** Modified whenever there is a change in the state of private endpoint connection. */
1166
- etag?: string;
1167
- /** Properties of the private endpoint object. */
1168
- privateEndpoint?: PrivateEndpoint;
1169
- /** Approval state of the private link connection. */
1170
- privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
1171
- /** Provisioning state of the private endpoint connection. */
1172
- provisioningState?: PrivateEndpointConnectionProvisioningState;
1169
+ releasePolicy?: ManagedHsmKeyReleasePolicy;
1173
1170
  }
1174
- /** A private link resource */
1175
- export interface PrivateLinkResource extends Resource {
1171
+ /** The key resource. */
1172
+ export interface Key extends ProxyResource {
1176
1173
  /**
1177
- * Group identifier of private link resource.
1174
+ * The supported Azure location where the managed HSM Pool should be created.
1178
1175
  * NOTE: This property will not be serialized. It can only be populated by the server.
1179
1176
  */
1180
- readonly groupId?: string;
1177
+ readonly location?: string;
1181
1178
  /**
1182
- * Required member names of private link resource.
1179
+ * Resource tags
1183
1180
  * NOTE: This property will not be serialized. It can only be populated by the server.
1184
1181
  */
1185
- readonly requiredMembers?: string[];
1186
- /** Required DNS zone names of the the private link resource. */
1187
- requiredZoneNames?: string[];
1188
- }
1189
- /** Resource information with extended details. */
1190
- export interface Secret extends Resource {
1191
- /** Properties of the secret */
1192
- properties: SecretProperties;
1193
- }
1194
- /** The key resource. */
1195
- export interface ManagedHsmKey extends ProxyResourceWithoutSystemData {
1182
+ readonly tags?: {
1183
+ [propertyName: string]: string;
1184
+ };
1196
1185
  /** The attributes of the key. */
1197
- attributes?: ManagedHsmKeyAttributes;
1186
+ attributes?: KeyAttributes;
1198
1187
  /** The type of the key. For valid values, see JsonWebKeyType. */
1199
1188
  kty?: JsonWebKeyType;
1200
1189
  keyOps?: JsonWebKeyOperation[];
@@ -1213,221 +1202,452 @@ export interface ManagedHsmKey extends ProxyResourceWithoutSystemData {
1213
1202
  */
1214
1203
  readonly keyUriWithVersion?: string;
1215
1204
  /** Key rotation policy in response. It will be used for both output and input. Omitted if empty */
1216
- rotationPolicy?: ManagedHsmRotationPolicy;
1205
+ rotationPolicy?: RotationPolicy;
1217
1206
  /** Key release policy in response. It will be used for both output and input. Omitted if empty */
1218
- releasePolicy?: ManagedHsmKeyReleasePolicy;
1219
- }
1220
- /** Resource information with extended details. */
1221
- export interface ManagedHsm extends ManagedHsmResource {
1222
- /** Properties of the managed HSM */
1223
- properties?: ManagedHsmProperties;
1207
+ releasePolicy?: KeyReleasePolicy;
1224
1208
  }
1225
1209
  /** Private endpoint connection resource. */
1226
- export interface MhsmPrivateEndpointConnection extends ManagedHsmResource {
1227
- /** Modified whenever there is a change in the state of private endpoint connection. */
1228
- etag?: string;
1229
- /** Properties of the private endpoint object. */
1230
- privateEndpoint?: MhsmPrivateEndpoint;
1231
- /** Approval state of the private link connection. */
1232
- privateLinkServiceConnectionState?: MhsmPrivateLinkServiceConnectionState;
1233
- /** Provisioning state of the private endpoint connection. */
1234
- provisioningState?: PrivateEndpointConnectionProvisioningState;
1235
- }
1236
- /** A private link resource */
1237
- export interface MhsmPrivateLinkResource extends ManagedHsmResource {
1210
+ export interface PrivateEndpointConnection extends ProxyResource {
1238
1211
  /**
1239
- * Group identifier of private link resource.
1212
+ * Azure location of the key vault resource.
1240
1213
  * NOTE: This property will not be serialized. It can only be populated by the server.
1241
1214
  */
1242
- readonly groupId?: string;
1215
+ readonly location?: string;
1243
1216
  /**
1244
- * Required member names of private link resource.
1217
+ * Tags assigned to the key vault resource.
1245
1218
  * NOTE: This property will not be serialized. It can only be populated by the server.
1246
1219
  */
1247
- readonly requiredMembers?: string[];
1248
- /** Required DNS zone names of the the private link resource. */
1249
- requiredZoneNames?: string[];
1220
+ readonly tags?: {
1221
+ [propertyName: string]: string;
1222
+ };
1223
+ /** Modified whenever there is a change in the state of private endpoint connection. */
1224
+ etag?: string;
1225
+ /** Properties of the private endpoint object. */
1226
+ privateEndpoint?: PrivateEndpoint;
1227
+ /** Approval state of the private link connection. */
1228
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
1229
+ /**
1230
+ * Provisioning state of the private endpoint connection.
1231
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1232
+ */
1233
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
1250
1234
  }
1251
- /** The secret management attributes. */
1252
- export interface SecretAttributes extends Attributes {
1235
+ /** A private link resource */
1236
+ export interface PrivateLinkResource extends ProxyResource {
1237
+ /**
1238
+ * Azure location of the key vault resource.
1239
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1240
+ */
1241
+ readonly location?: string;
1242
+ /**
1243
+ * Tags assigned to the key vault resource.
1244
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1245
+ */
1246
+ readonly tags?: {
1247
+ [propertyName: string]: string;
1248
+ };
1249
+ /**
1250
+ * Group identifier of private link resource.
1251
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1252
+ */
1253
+ readonly groupId?: string;
1254
+ /**
1255
+ * Required member names of private link resource.
1256
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1257
+ */
1258
+ readonly requiredMembers?: string[];
1259
+ /** Required DNS zone names of the the private link resource. */
1260
+ requiredZoneNames?: string[];
1253
1261
  }
1254
- /** Defines headers for PrivateEndpointConnections_put operation. */
1255
- export interface PrivateEndpointConnectionsPutHeaders {
1256
- /** (specified only if operation does not finish synchronously) The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation. */
1257
- retryAfter?: number;
1258
- /** (specified only if operation does not finish synchronously) The URI to poll for completion status. The response of this URI may be synchronous or asynchronous. */
1259
- azureAsyncOperation?: string;
1262
+ /** Resource information with extended details. */
1263
+ export interface Secret extends ProxyResource {
1264
+ /** Properties of the secret */
1265
+ properties: SecretProperties;
1266
+ /**
1267
+ * Azure location of the key vault resource.
1268
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1269
+ */
1270
+ readonly location?: string;
1271
+ /**
1272
+ * Tags assigned to the key vault resource.
1273
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1274
+ */
1275
+ readonly tags?: {
1276
+ [propertyName: string]: string;
1277
+ };
1260
1278
  }
1261
- /** Defines headers for PrivateEndpointConnections_delete operation. */
1262
- export interface PrivateEndpointConnectionsDeleteHeaders {
1263
- /** The recommended number of seconds to wait before calling the URI specified in the location header. */
1264
- retryAfter?: number;
1265
- /** The URI to poll for completion status. */
1279
+ /** Defines headers for ManagedHsms_purgeDeleted operation. */
1280
+ export interface ManagedHsmsPurgeDeletedHeaders {
1281
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1266
1282
  location?: string;
1283
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1284
+ retryAfter?: number;
1267
1285
  }
1268
1286
  /** Defines headers for ManagedHsms_createOrUpdate operation. */
1269
1287
  export interface ManagedHsmsCreateOrUpdateHeaders {
1270
- /** The URI to poll for completion status. */
1288
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1271
1289
  location?: string;
1290
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1291
+ retryAfter?: number;
1272
1292
  }
1273
1293
  /** Defines headers for ManagedHsms_update operation. */
1274
1294
  export interface ManagedHsmsUpdateHeaders {
1275
- /** The URI to poll for completion status. */
1295
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1276
1296
  location?: string;
1297
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1298
+ retryAfter?: number;
1277
1299
  }
1278
1300
  /** Defines headers for ManagedHsms_delete operation. */
1279
1301
  export interface ManagedHsmsDeleteHeaders {
1280
- /** The URI to poll for completion status. */
1302
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1281
1303
  location?: string;
1304
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1305
+ retryAfter?: number;
1282
1306
  }
1283
- /** Defines headers for ManagedHsms_purgeDeleted operation. */
1284
- export interface ManagedHsmsPurgeDeletedHeaders {
1285
- /** The URI to poll for completion status. */
1307
+ /** Defines headers for Vaults_purgeDeleted operation. */
1308
+ export interface VaultsPurgeDeletedHeaders {
1309
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1310
+ location?: string;
1311
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1312
+ retryAfter?: number;
1313
+ }
1314
+ /** Defines headers for Vaults_createOrUpdate operation. */
1315
+ export interface VaultsCreateOrUpdateHeaders {
1316
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1286
1317
  location?: string;
1318
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1319
+ retryAfter?: number;
1287
1320
  }
1288
1321
  /** Defines headers for MhsmPrivateEndpointConnections_put operation. */
1289
1322
  export interface MhsmPrivateEndpointConnectionsPutHeaders {
1290
- /** (specified only if operation does not finish synchronously) The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation. */
1291
- retryAfter?: number;
1292
1323
  /** (specified only if operation does not finish synchronously) The URI to poll for completion status. The response of this URI may be synchronous or asynchronous. */
1293
1324
  azureAsyncOperation?: string;
1325
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1326
+ retryAfter?: number;
1294
1327
  }
1295
1328
  /** Defines headers for MhsmPrivateEndpointConnections_delete operation. */
1296
1329
  export interface MhsmPrivateEndpointConnectionsDeleteHeaders {
1297
- /** The URI to poll for completion status. */
1330
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1298
1331
  location?: string;
1332
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1333
+ retryAfter?: number;
1299
1334
  }
1300
- /** Known values of {@link DeletionRecoveryLevel} that the service accepts. */
1301
- export declare enum KnownDeletionRecoveryLevel {
1302
- /** Purgeable */
1303
- Purgeable = "Purgeable",
1304
- /** RecoverablePurgeable */
1305
- RecoverablePurgeable = "Recoverable+Purgeable",
1306
- /** Recoverable */
1307
- Recoverable = "Recoverable",
1308
- /** RecoverableProtectedSubscription */
1309
- RecoverableProtectedSubscription = "Recoverable+ProtectedSubscription"
1335
+ /** Defines headers for PrivateEndpointConnections_put operation. */
1336
+ export interface PrivateEndpointConnectionsPutHeaders {
1337
+ /** (specified only if operation does not finish synchronously) The URI to poll for completion status. The response of this URI may be synchronous or asynchronous. */
1338
+ azureAsyncOperation?: string;
1339
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1340
+ retryAfter?: number;
1341
+ }
1342
+ /** Defines headers for PrivateEndpointConnections_delete operation. */
1343
+ export interface PrivateEndpointConnectionsDeleteHeaders {
1344
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1345
+ location?: string;
1346
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1347
+ retryAfter?: number;
1348
+ }
1349
+ /** Known values of {@link Reason} that the service accepts. */
1350
+ export declare enum KnownReason {
1351
+ /** AccountNameInvalid */
1352
+ AccountNameInvalid = "AccountNameInvalid",
1353
+ /** AlreadyExists */
1354
+ AlreadyExists = "AlreadyExists"
1310
1355
  }
1311
1356
  /**
1312
- * Defines values for DeletionRecoveryLevel. \
1313
- * {@link KnownDeletionRecoveryLevel} can be used interchangeably with DeletionRecoveryLevel,
1357
+ * Defines values for Reason. \
1358
+ * {@link KnownReason} can be used interchangeably with Reason,
1314
1359
  * this enum contains the known values that the service supports.
1315
1360
  * ### Known values supported by the service
1316
- * **Purgeable** \
1317
- * **Recoverable+Purgeable** \
1318
- * **Recoverable** \
1319
- * **Recoverable+ProtectedSubscription**
1361
+ * **AccountNameInvalid** \
1362
+ * **AlreadyExists**
1320
1363
  */
1321
- export type DeletionRecoveryLevel = string;
1322
- /** Known values of {@link JsonWebKeyType} that the service accepts. */
1323
- export declare enum KnownJsonWebKeyType {
1324
- /** EC */
1325
- EC = "EC",
1326
- /** ECHSM */
1327
- ECHSM = "EC-HSM",
1328
- /** RSA */
1329
- RSA = "RSA",
1330
- /** RSAHSM */
1331
- RSAHSM = "RSA-HSM"
1364
+ export type Reason = string;
1365
+ /** Known values of {@link CreatedByType} that the service accepts. */
1366
+ export declare enum KnownCreatedByType {
1367
+ /** User */
1368
+ User = "User",
1369
+ /** Application */
1370
+ Application = "Application",
1371
+ /** ManagedIdentity */
1372
+ ManagedIdentity = "ManagedIdentity",
1373
+ /** Key */
1374
+ Key = "Key"
1332
1375
  }
1333
1376
  /**
1334
- * Defines values for JsonWebKeyType. \
1335
- * {@link KnownJsonWebKeyType} can be used interchangeably with JsonWebKeyType,
1377
+ * Defines values for CreatedByType. \
1378
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1336
1379
  * this enum contains the known values that the service supports.
1337
1380
  * ### Known values supported by the service
1338
- * **EC** \
1339
- * **EC-HSM** \
1340
- * **RSA** \
1341
- * **RSA-HSM**
1381
+ * **User** \
1382
+ * **Application** \
1383
+ * **ManagedIdentity** \
1384
+ * **Key**
1342
1385
  */
1343
- export type JsonWebKeyType = string;
1344
- /** Known values of {@link JsonWebKeyOperation} that the service accepts. */
1345
- export declare enum KnownJsonWebKeyOperation {
1346
- /** Encrypt */
1347
- Encrypt = "encrypt",
1348
- /** Decrypt */
1349
- Decrypt = "decrypt",
1350
- /** Sign */
1351
- Sign = "sign",
1352
- /** Verify */
1353
- Verify = "verify",
1354
- /** WrapKey */
1355
- WrapKey = "wrapKey",
1356
- /** UnwrapKey */
1357
- UnwrapKey = "unwrapKey",
1358
- /** Import */
1359
- Import = "import",
1360
- /** Release */
1361
- Release = "release"
1386
+ export type CreatedByType = string;
1387
+ /** Known values of {@link ProvisioningState} that the service accepts. */
1388
+ export declare enum KnownProvisioningState {
1389
+ /** The managed HSM Pool has been full provisioned. */
1390
+ Succeeded = "Succeeded",
1391
+ /** The managed HSM Pool is currently being provisioned. */
1392
+ Provisioning = "Provisioning",
1393
+ /** Provisioning of the managed HSM Pool has failed. */
1394
+ Failed = "Failed",
1395
+ /** The managed HSM Pool is currently being updated. */
1396
+ Updating = "Updating",
1397
+ /** The managed HSM Pool is currently being deleted. */
1398
+ Deleting = "Deleting",
1399
+ /** The managed HSM pool is ready for normal use. */
1400
+ Activated = "Activated",
1401
+ /** The managed HSM pool is waiting for a security domain restore action. */
1402
+ SecurityDomainRestore = "SecurityDomainRestore",
1403
+ /** The managed HSM pool is being restored from full HSM backup. */
1404
+ Restoring = "Restoring"
1362
1405
  }
1363
1406
  /**
1364
- * Defines values for JsonWebKeyOperation. \
1365
- * {@link KnownJsonWebKeyOperation} can be used interchangeably with JsonWebKeyOperation,
1407
+ * Defines values for ProvisioningState. \
1408
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
1366
1409
  * this enum contains the known values that the service supports.
1367
1410
  * ### Known values supported by the service
1368
- * **encrypt** \
1369
- * **decrypt** \
1370
- * **sign** \
1371
- * **verify** \
1372
- * **wrapKey** \
1373
- * **unwrapKey** \
1374
- * **import** \
1375
- * **release**
1411
+ * **Succeeded**: The managed HSM Pool has been full provisioned. \
1412
+ * **Provisioning**: The managed HSM Pool is currently being provisioned. \
1413
+ * **Failed**: Provisioning of the managed HSM Pool has failed. \
1414
+ * **Updating**: The managed HSM Pool is currently being updated. \
1415
+ * **Deleting**: The managed HSM Pool is currently being deleted. \
1416
+ * **Activated**: The managed HSM pool is ready for normal use. \
1417
+ * **SecurityDomainRestore**: The managed HSM pool is waiting for a security domain restore action. \
1418
+ * **Restoring**: The managed HSM pool is being restored from full HSM backup.
1376
1419
  */
1377
- export type JsonWebKeyOperation = string;
1378
- /** Known values of {@link JsonWebKeyCurveName} that the service accepts. */
1379
- export declare enum KnownJsonWebKeyCurveName {
1380
- /** P256 */
1381
- P256 = "P-256",
1382
- /** P384 */
1383
- P384 = "P-384",
1384
- /** P521 */
1385
- P521 = "P-521",
1386
- /** P256K */
1387
- P256K = "P-256K"
1420
+ export type ProvisioningState = string;
1421
+ /** Known values of {@link NetworkRuleBypassOptions} that the service accepts. */
1422
+ export declare enum KnownNetworkRuleBypassOptions {
1423
+ /** AzureServices */
1424
+ AzureServices = "AzureServices",
1425
+ /** None */
1426
+ None = "None"
1388
1427
  }
1389
1428
  /**
1390
- * Defines values for JsonWebKeyCurveName. \
1391
- * {@link KnownJsonWebKeyCurveName} can be used interchangeably with JsonWebKeyCurveName,
1429
+ * Defines values for NetworkRuleBypassOptions. \
1430
+ * {@link KnownNetworkRuleBypassOptions} can be used interchangeably with NetworkRuleBypassOptions,
1392
1431
  * this enum contains the known values that the service supports.
1393
1432
  * ### Known values supported by the service
1394
- * **P-256** \
1395
- * **P-384** \
1396
- * **P-521** \
1397
- * **P-256K**
1433
+ * **AzureServices** \
1434
+ * **None**
1398
1435
  */
1399
- export type JsonWebKeyCurveName = string;
1400
- /** Known values of {@link SkuFamily} that the service accepts. */
1401
- export declare enum KnownSkuFamily {
1402
- /** A */
1403
- A = "A"
1436
+ export type NetworkRuleBypassOptions = string;
1437
+ /** Known values of {@link NetworkRuleAction} that the service accepts. */
1438
+ export declare enum KnownNetworkRuleAction {
1439
+ /** Allow */
1440
+ Allow = "Allow",
1441
+ /** Deny */
1442
+ Deny = "Deny"
1404
1443
  }
1405
1444
  /**
1406
- * Defines values for SkuFamily. \
1407
- * {@link KnownSkuFamily} can be used interchangeably with SkuFamily,
1445
+ * Defines values for NetworkRuleAction. \
1446
+ * {@link KnownNetworkRuleAction} can be used interchangeably with NetworkRuleAction,
1408
1447
  * this enum contains the known values that the service supports.
1409
1448
  * ### Known values supported by the service
1410
- * **A**
1449
+ * **Allow** \
1450
+ * **Deny**
1411
1451
  */
1412
- export type SkuFamily = string;
1413
- /** Known values of {@link KeyPermissions} that the service accepts. */
1414
- export declare enum KnownKeyPermissions {
1415
- /** All */
1416
- All = "all",
1417
- /** Encrypt */
1418
- Encrypt = "encrypt",
1419
- /** Decrypt */
1420
- Decrypt = "decrypt",
1421
- /** WrapKey */
1422
- WrapKey = "wrapKey",
1423
- /** UnwrapKey */
1424
- UnwrapKey = "unwrapKey",
1425
- /** Sign */
1426
- Sign = "sign",
1427
- /** Verify */
1428
- Verify = "verify",
1429
- /** Get */
1430
- Get = "get",
1452
+ export type NetworkRuleAction = string;
1453
+ /** Known values of {@link GeoReplicationRegionProvisioningState} that the service accepts. */
1454
+ export declare enum KnownGeoReplicationRegionProvisioningState {
1455
+ /** Preprovisioning */
1456
+ Preprovisioning = "Preprovisioning",
1457
+ /** Provisioning */
1458
+ Provisioning = "Provisioning",
1459
+ /** Succeeded */
1460
+ Succeeded = "Succeeded",
1461
+ /** Failed */
1462
+ Failed = "Failed",
1463
+ /** Deleting */
1464
+ Deleting = "Deleting",
1465
+ /** Cleanup */
1466
+ Cleanup = "Cleanup"
1467
+ }
1468
+ /**
1469
+ * Defines values for GeoReplicationRegionProvisioningState. \
1470
+ * {@link KnownGeoReplicationRegionProvisioningState} can be used interchangeably with GeoReplicationRegionProvisioningState,
1471
+ * this enum contains the known values that the service supports.
1472
+ * ### Known values supported by the service
1473
+ * **Preprovisioning** \
1474
+ * **Provisioning** \
1475
+ * **Succeeded** \
1476
+ * **Failed** \
1477
+ * **Deleting** \
1478
+ * **Cleanup**
1479
+ */
1480
+ export type GeoReplicationRegionProvisioningState = string;
1481
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
1482
+ export declare enum KnownPrivateEndpointServiceConnectionStatus {
1483
+ /** Pending */
1484
+ Pending = "Pending",
1485
+ /** Approved */
1486
+ Approved = "Approved",
1487
+ /** Rejected */
1488
+ Rejected = "Rejected",
1489
+ /** Disconnected */
1490
+ Disconnected = "Disconnected"
1491
+ }
1492
+ /**
1493
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
1494
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
1495
+ * this enum contains the known values that the service supports.
1496
+ * ### Known values supported by the service
1497
+ * **Pending** \
1498
+ * **Approved** \
1499
+ * **Rejected** \
1500
+ * **Disconnected**
1501
+ */
1502
+ export type PrivateEndpointServiceConnectionStatus = string;
1503
+ /** Known values of {@link ActionsRequired} that the service accepts. */
1504
+ export declare enum KnownActionsRequired {
1505
+ /** None */
1506
+ None = "None"
1507
+ }
1508
+ /**
1509
+ * Defines values for ActionsRequired. \
1510
+ * {@link KnownActionsRequired} can be used interchangeably with ActionsRequired,
1511
+ * this enum contains the known values that the service supports.
1512
+ * ### Known values supported by the service
1513
+ * **None**
1514
+ */
1515
+ export type ActionsRequired = string;
1516
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
1517
+ export declare enum KnownPrivateEndpointConnectionProvisioningState {
1518
+ /** Succeeded */
1519
+ Succeeded = "Succeeded",
1520
+ /** Creating */
1521
+ Creating = "Creating",
1522
+ /** Updating */
1523
+ Updating = "Updating",
1524
+ /** Deleting */
1525
+ Deleting = "Deleting",
1526
+ /** Failed */
1527
+ Failed = "Failed",
1528
+ /** Disconnected */
1529
+ Disconnected = "Disconnected"
1530
+ }
1531
+ /**
1532
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
1533
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
1534
+ * this enum contains the known values that the service supports.
1535
+ * ### Known values supported by the service
1536
+ * **Succeeded** \
1537
+ * **Creating** \
1538
+ * **Updating** \
1539
+ * **Deleting** \
1540
+ * **Failed** \
1541
+ * **Disconnected**
1542
+ */
1543
+ export type PrivateEndpointConnectionProvisioningState = string;
1544
+ /** Known values of {@link PublicNetworkAccess} that the service accepts. */
1545
+ export declare enum KnownPublicNetworkAccess {
1546
+ /** Enabled */
1547
+ Enabled = "Enabled",
1548
+ /** Disabled */
1549
+ Disabled = "Disabled"
1550
+ }
1551
+ /**
1552
+ * Defines values for PublicNetworkAccess. \
1553
+ * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
1554
+ * this enum contains the known values that the service supports.
1555
+ * ### Known values supported by the service
1556
+ * **Enabled** \
1557
+ * **Disabled**
1558
+ */
1559
+ export type PublicNetworkAccess = string;
1560
+ /** Known values of {@link ActivationStatus} that the service accepts. */
1561
+ export declare enum KnownActivationStatus {
1562
+ /** The managed HSM Pool is active. */
1563
+ Active = "Active",
1564
+ /** The managed HSM Pool is not yet activated. */
1565
+ NotActivated = "NotActivated",
1566
+ /** An unknown error occurred while activating managed hsm. */
1567
+ Unknown = "Unknown",
1568
+ /** Failed to activate managed hsm. */
1569
+ Failed = "Failed"
1570
+ }
1571
+ /**
1572
+ * Defines values for ActivationStatus. \
1573
+ * {@link KnownActivationStatus} can be used interchangeably with ActivationStatus,
1574
+ * this enum contains the known values that the service supports.
1575
+ * ### Known values supported by the service
1576
+ * **Active**: The managed HSM Pool is active. \
1577
+ * **NotActivated**: The managed HSM Pool is not yet activated. \
1578
+ * **Unknown**: An unknown error occurred while activating managed hsm. \
1579
+ * **Failed**: Failed to activate managed hsm.
1580
+ */
1581
+ export type ActivationStatus = string;
1582
+ /** Known values of {@link ManagedHsmSkuFamily} that the service accepts. */
1583
+ export declare enum KnownManagedHsmSkuFamily {
1584
+ /** B */
1585
+ B = "B",
1586
+ /** C */
1587
+ C = "C"
1588
+ }
1589
+ /**
1590
+ * Defines values for ManagedHsmSkuFamily. \
1591
+ * {@link KnownManagedHsmSkuFamily} can be used interchangeably with ManagedHsmSkuFamily,
1592
+ * this enum contains the known values that the service supports.
1593
+ * ### Known values supported by the service
1594
+ * **B** \
1595
+ * **C**
1596
+ */
1597
+ export type ManagedHsmSkuFamily = string;
1598
+ /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
1599
+ export declare enum KnownManagedServiceIdentityType {
1600
+ /** None */
1601
+ None = "None",
1602
+ /** SystemAssigned */
1603
+ SystemAssigned = "SystemAssigned",
1604
+ /** UserAssigned */
1605
+ UserAssigned = "UserAssigned",
1606
+ /** SystemAssignedUserAssigned */
1607
+ SystemAssignedUserAssigned = "SystemAssigned,UserAssigned"
1608
+ }
1609
+ /**
1610
+ * Defines values for ManagedServiceIdentityType. \
1611
+ * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
1612
+ * this enum contains the known values that the service supports.
1613
+ * ### Known values supported by the service
1614
+ * **None** \
1615
+ * **SystemAssigned** \
1616
+ * **UserAssigned** \
1617
+ * **SystemAssigned,UserAssigned**
1618
+ */
1619
+ export type ManagedServiceIdentityType = string;
1620
+ /** Known values of {@link SkuFamily} that the service accepts. */
1621
+ export declare enum KnownSkuFamily {
1622
+ /** A */
1623
+ A = "A"
1624
+ }
1625
+ /**
1626
+ * Defines values for SkuFamily. \
1627
+ * {@link KnownSkuFamily} can be used interchangeably with SkuFamily,
1628
+ * this enum contains the known values that the service supports.
1629
+ * ### Known values supported by the service
1630
+ * **A**
1631
+ */
1632
+ export type SkuFamily = string;
1633
+ /** Known values of {@link KeyPermissions} that the service accepts. */
1634
+ export declare enum KnownKeyPermissions {
1635
+ /** All */
1636
+ All = "all",
1637
+ /** Encrypt */
1638
+ Encrypt = "encrypt",
1639
+ /** Decrypt */
1640
+ Decrypt = "decrypt",
1641
+ /** WrapKey */
1642
+ WrapKey = "wrapKey",
1643
+ /** UnwrapKey */
1644
+ UnwrapKey = "unwrapKey",
1645
+ /** Sign */
1646
+ Sign = "sign",
1647
+ /** Verify */
1648
+ Verify = "verify",
1649
+ /** Get */
1650
+ Get = "get",
1431
1651
  /** List */
1432
1652
  List = "list",
1433
1653
  /** Create */
@@ -1636,38 +1856,6 @@ export declare enum KnownStoragePermissions {
1636
1856
  * **deletesas**
1637
1857
  */
1638
1858
  export type StoragePermissions = string;
1639
- /** Known values of {@link NetworkRuleBypassOptions} that the service accepts. */
1640
- export declare enum KnownNetworkRuleBypassOptions {
1641
- /** AzureServices */
1642
- AzureServices = "AzureServices",
1643
- /** None */
1644
- None = "None"
1645
- }
1646
- /**
1647
- * Defines values for NetworkRuleBypassOptions. \
1648
- * {@link KnownNetworkRuleBypassOptions} can be used interchangeably with NetworkRuleBypassOptions,
1649
- * this enum contains the known values that the service supports.
1650
- * ### Known values supported by the service
1651
- * **AzureServices** \
1652
- * **None**
1653
- */
1654
- export type NetworkRuleBypassOptions = string;
1655
- /** Known values of {@link NetworkRuleAction} that the service accepts. */
1656
- export declare enum KnownNetworkRuleAction {
1657
- /** Allow */
1658
- Allow = "Allow",
1659
- /** Deny */
1660
- Deny = "Deny"
1661
- }
1662
- /**
1663
- * Defines values for NetworkRuleAction. \
1664
- * {@link KnownNetworkRuleAction} can be used interchangeably with NetworkRuleAction,
1665
- * this enum contains the known values that the service supports.
1666
- * ### Known values supported by the service
1667
- * **Allow** \
1668
- * **Deny**
1669
- */
1670
- export type NetworkRuleAction = string;
1671
1859
  /** Known values of {@link VaultProvisioningState} that the service accepts. */
1672
1860
  export declare enum KnownVaultProvisioningState {
1673
1861
  /** Succeeded */
@@ -1684,435 +1872,169 @@ export declare enum KnownVaultProvisioningState {
1684
1872
  * **RegisteringDns**
1685
1873
  */
1686
1874
  export type VaultProvisioningState = string;
1687
- /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
1688
- export declare enum KnownPrivateEndpointServiceConnectionStatus {
1689
- /** Pending */
1690
- Pending = "Pending",
1691
- /** Approved */
1692
- Approved = "Approved",
1693
- /** Rejected */
1694
- Rejected = "Rejected",
1695
- /** Disconnected */
1696
- Disconnected = "Disconnected"
1875
+ /** Known values of {@link DeletionRecoveryLevel} that the service accepts. */
1876
+ export declare enum KnownDeletionRecoveryLevel {
1877
+ /** Purgeable */
1878
+ Purgeable = "Purgeable",
1879
+ /** RecoverablePurgeable */
1880
+ RecoverablePurgeable = "Recoverable+Purgeable",
1881
+ /** Recoverable */
1882
+ Recoverable = "Recoverable",
1883
+ /** RecoverableProtectedSubscription */
1884
+ RecoverableProtectedSubscription = "Recoverable+ProtectedSubscription"
1697
1885
  }
1698
1886
  /**
1699
- * Defines values for PrivateEndpointServiceConnectionStatus. \
1700
- * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
1887
+ * Defines values for DeletionRecoveryLevel. \
1888
+ * {@link KnownDeletionRecoveryLevel} can be used interchangeably with DeletionRecoveryLevel,
1701
1889
  * this enum contains the known values that the service supports.
1702
1890
  * ### Known values supported by the service
1703
- * **Pending** \
1704
- * **Approved** \
1705
- * **Rejected** \
1706
- * **Disconnected**
1707
- */
1708
- export type PrivateEndpointServiceConnectionStatus = string;
1709
- /** Known values of {@link ActionsRequired} that the service accepts. */
1710
- export declare enum KnownActionsRequired {
1711
- /** None */
1712
- None = "None"
1713
- }
1714
- /**
1715
- * Defines values for ActionsRequired. \
1716
- * {@link KnownActionsRequired} can be used interchangeably with ActionsRequired,
1717
- * this enum contains the known values that the service supports.
1718
- * ### Known values supported by the service
1719
- * **None**
1720
- */
1721
- export type ActionsRequired = string;
1722
- /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
1723
- export declare enum KnownPrivateEndpointConnectionProvisioningState {
1724
- /** Succeeded */
1725
- Succeeded = "Succeeded",
1726
- /** Creating */
1727
- Creating = "Creating",
1728
- /** Updating */
1729
- Updating = "Updating",
1730
- /** Deleting */
1731
- Deleting = "Deleting",
1732
- /** Failed */
1733
- Failed = "Failed",
1734
- /** Disconnected */
1735
- Disconnected = "Disconnected"
1736
- }
1737
- /**
1738
- * Defines values for PrivateEndpointConnectionProvisioningState. \
1739
- * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
1740
- * this enum contains the known values that the service supports.
1741
- * ### Known values supported by the service
1742
- * **Succeeded** \
1743
- * **Creating** \
1744
- * **Updating** \
1745
- * **Deleting** \
1746
- * **Failed** \
1747
- * **Disconnected**
1748
- */
1749
- export type PrivateEndpointConnectionProvisioningState = string;
1750
- /** Known values of {@link IdentityType} that the service accepts. */
1751
- export declare enum KnownIdentityType {
1752
- /** User */
1753
- User = "User",
1754
- /** Application */
1755
- Application = "Application",
1756
- /** ManagedIdentity */
1757
- ManagedIdentity = "ManagedIdentity",
1758
- /** Key */
1759
- Key = "Key"
1760
- }
1761
- /**
1762
- * Defines values for IdentityType. \
1763
- * {@link KnownIdentityType} can be used interchangeably with IdentityType,
1764
- * this enum contains the known values that the service supports.
1765
- * ### Known values supported by the service
1766
- * **User** \
1767
- * **Application** \
1768
- * **ManagedIdentity** \
1769
- * **Key**
1770
- */
1771
- export type IdentityType = string;
1772
- /** Known values of {@link ProvisioningState} that the service accepts. */
1773
- export declare enum KnownProvisioningState {
1774
- /** The managed HSM Pool has been full provisioned. */
1775
- Succeeded = "Succeeded",
1776
- /** The managed HSM Pool is currently being provisioned. */
1777
- Provisioning = "Provisioning",
1778
- /** Provisioning of the managed HSM Pool has failed. */
1779
- Failed = "Failed",
1780
- /** The managed HSM Pool is currently being updated. */
1781
- Updating = "Updating",
1782
- /** The managed HSM Pool is currently being deleted. */
1783
- Deleting = "Deleting",
1784
- /** The managed HSM pool is ready for normal use. */
1785
- Activated = "Activated",
1786
- /** The managed HSM pool is waiting for a security domain restore action. */
1787
- SecurityDomainRestore = "SecurityDomainRestore",
1788
- /** The managed HSM pool is being restored from full HSM backup. */
1789
- Restoring = "Restoring"
1790
- }
1791
- /**
1792
- * Defines values for ProvisioningState. \
1793
- * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
1794
- * this enum contains the known values that the service supports.
1795
- * ### Known values supported by the service
1796
- * **Succeeded**: The managed HSM Pool has been full provisioned. \
1797
- * **Provisioning**: The managed HSM Pool is currently being provisioned. \
1798
- * **Failed**: Provisioning of the managed HSM Pool has failed. \
1799
- * **Updating**: The managed HSM Pool is currently being updated. \
1800
- * **Deleting**: The managed HSM Pool is currently being deleted. \
1801
- * **Activated**: The managed HSM pool is ready for normal use. \
1802
- * **SecurityDomainRestore**: The managed HSM pool is waiting for a security domain restore action. \
1803
- * **Restoring**: The managed HSM pool is being restored from full HSM backup.
1804
- */
1805
- export type ProvisioningState = string;
1806
- /** Known values of {@link GeoReplicationRegionProvisioningState} that the service accepts. */
1807
- export declare enum KnownGeoReplicationRegionProvisioningState {
1808
- /** Preprovisioning */
1809
- Preprovisioning = "Preprovisioning",
1810
- /** Provisioning */
1811
- Provisioning = "Provisioning",
1812
- /** Succeeded */
1813
- Succeeded = "Succeeded",
1814
- /** Failed */
1815
- Failed = "Failed",
1816
- /** Deleting */
1817
- Deleting = "Deleting",
1818
- /** Cleanup */
1819
- Cleanup = "Cleanup"
1820
- }
1821
- /**
1822
- * Defines values for GeoReplicationRegionProvisioningState. \
1823
- * {@link KnownGeoReplicationRegionProvisioningState} can be used interchangeably with GeoReplicationRegionProvisioningState,
1824
- * this enum contains the known values that the service supports.
1825
- * ### Known values supported by the service
1826
- * **Preprovisioning** \
1827
- * **Provisioning** \
1828
- * **Succeeded** \
1829
- * **Failed** \
1830
- * **Deleting** \
1831
- * **Cleanup**
1832
- */
1833
- export type GeoReplicationRegionProvisioningState = string;
1834
- /** Known values of {@link PublicNetworkAccess} that the service accepts. */
1835
- export declare enum KnownPublicNetworkAccess {
1836
- /** Enabled */
1837
- Enabled = "Enabled",
1838
- /** Disabled */
1839
- Disabled = "Disabled"
1840
- }
1841
- /**
1842
- * Defines values for PublicNetworkAccess. \
1843
- * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
1844
- * this enum contains the known values that the service supports.
1845
- * ### Known values supported by the service
1846
- * **Enabled** \
1847
- * **Disabled**
1891
+ * **Purgeable** \
1892
+ * **Recoverable+Purgeable** \
1893
+ * **Recoverable** \
1894
+ * **Recoverable+ProtectedSubscription**
1848
1895
  */
1849
- export type PublicNetworkAccess = string;
1850
- /** Known values of {@link ActivationStatus} that the service accepts. */
1851
- export declare enum KnownActivationStatus {
1852
- /** The managed HSM Pool is active. */
1853
- Active = "Active",
1854
- /** The managed HSM Pool is not yet activated. */
1855
- NotActivated = "NotActivated",
1856
- /** An unknown error occurred while activating managed hsm. */
1857
- Unknown = "Unknown",
1858
- /** Failed to activate managed hsm. */
1859
- Failed = "Failed"
1896
+ export type DeletionRecoveryLevel = string;
1897
+ /** Known values of {@link JsonWebKeyType} that the service accepts. */
1898
+ export declare enum KnownJsonWebKeyType {
1899
+ /** EC */
1900
+ EC = "EC",
1901
+ /** ECHSM */
1902
+ ECHSM = "EC-HSM",
1903
+ /** RSA */
1904
+ RSA = "RSA",
1905
+ /** RSAHSM */
1906
+ RSAHSM = "RSA-HSM"
1860
1907
  }
1861
1908
  /**
1862
- * Defines values for ActivationStatus. \
1863
- * {@link KnownActivationStatus} can be used interchangeably with ActivationStatus,
1909
+ * Defines values for JsonWebKeyType. \
1910
+ * {@link KnownJsonWebKeyType} can be used interchangeably with JsonWebKeyType,
1864
1911
  * this enum contains the known values that the service supports.
1865
1912
  * ### Known values supported by the service
1866
- * **Active**: The managed HSM Pool is active. \
1867
- * **NotActivated**: The managed HSM Pool is not yet activated. \
1868
- * **Unknown**: An unknown error occurred while activating managed hsm. \
1869
- * **Failed**: Failed to activate managed hsm.
1913
+ * **EC** \
1914
+ * **EC-HSM** \
1915
+ * **RSA** \
1916
+ * **RSA-HSM**
1870
1917
  */
1871
- export type ActivationStatus = string;
1872
- /** Known values of {@link ManagedHsmSkuFamily} that the service accepts. */
1873
- export declare enum KnownManagedHsmSkuFamily {
1874
- /** B */
1875
- B = "B",
1876
- /** C */
1877
- C = "C"
1918
+ export type JsonWebKeyType = string;
1919
+ /** Known values of {@link JsonWebKeyOperation} that the service accepts. */
1920
+ export declare enum KnownJsonWebKeyOperation {
1921
+ /** Encrypt */
1922
+ Encrypt = "encrypt",
1923
+ /** Decrypt */
1924
+ Decrypt = "decrypt",
1925
+ /** Sign */
1926
+ Sign = "sign",
1927
+ /** Verify */
1928
+ Verify = "verify",
1929
+ /** WrapKey */
1930
+ WrapKey = "wrapKey",
1931
+ /** UnwrapKey */
1932
+ UnwrapKey = "unwrapKey",
1933
+ /** Import */
1934
+ Import = "import",
1935
+ /** Release */
1936
+ Release = "release"
1878
1937
  }
1879
1938
  /**
1880
- * Defines values for ManagedHsmSkuFamily. \
1881
- * {@link KnownManagedHsmSkuFamily} can be used interchangeably with ManagedHsmSkuFamily,
1939
+ * Defines values for JsonWebKeyOperation. \
1940
+ * {@link KnownJsonWebKeyOperation} can be used interchangeably with JsonWebKeyOperation,
1882
1941
  * this enum contains the known values that the service supports.
1883
1942
  * ### Known values supported by the service
1884
- * **B** \
1885
- * **C**
1943
+ * **encrypt** \
1944
+ * **decrypt** \
1945
+ * **sign** \
1946
+ * **verify** \
1947
+ * **wrapKey** \
1948
+ * **unwrapKey** \
1949
+ * **import** \
1950
+ * **release**
1886
1951
  */
1887
- export type ManagedHsmSkuFamily = string;
1888
- /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
1889
- export declare enum KnownManagedServiceIdentityType {
1890
- /** None */
1891
- None = "None",
1892
- /** SystemAssigned */
1893
- SystemAssigned = "SystemAssigned",
1894
- /** UserAssigned */
1895
- UserAssigned = "UserAssigned",
1896
- /** SystemAssignedUserAssigned */
1897
- SystemAssignedUserAssigned = "SystemAssigned,UserAssigned"
1952
+ export type JsonWebKeyOperation = string;
1953
+ /** Known values of {@link JsonWebKeyCurveName} that the service accepts. */
1954
+ export declare enum KnownJsonWebKeyCurveName {
1955
+ /** P256 */
1956
+ P256 = "P-256",
1957
+ /** P384 */
1958
+ P384 = "P-384",
1959
+ /** P521 */
1960
+ P521 = "P-521",
1961
+ /** P256K */
1962
+ P256K = "P-256K"
1898
1963
  }
1899
1964
  /**
1900
- * Defines values for ManagedServiceIdentityType. \
1901
- * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
1965
+ * Defines values for JsonWebKeyCurveName. \
1966
+ * {@link KnownJsonWebKeyCurveName} can be used interchangeably with JsonWebKeyCurveName,
1902
1967
  * this enum contains the known values that the service supports.
1903
1968
  * ### Known values supported by the service
1904
- * **None** \
1905
- * **SystemAssigned** \
1906
- * **UserAssigned** \
1907
- * **SystemAssigned,UserAssigned**
1969
+ * **P-256** \
1970
+ * **P-384** \
1971
+ * **P-521** \
1972
+ * **P-256K**
1908
1973
  */
1909
- export type ManagedServiceIdentityType = string;
1910
- /** Defines values for KeyRotationPolicyActionType. */
1911
- export type KeyRotationPolicyActionType = "rotate" | "notify";
1912
- /** Defines values for SkuName. */
1913
- export type SkuName = "standard" | "premium";
1974
+ export type JsonWebKeyCurveName = string;
1914
1975
  /** Defines values for CreateMode. */
1915
1976
  export type CreateMode = "recover" | "default";
1916
- /** Defines values for AccessPolicyUpdateKind. */
1917
- export type AccessPolicyUpdateKind = "add" | "replace" | "remove";
1918
- /** Defines values for Reason. */
1919
- export type Reason = "AccountNameInvalid" | "AlreadyExists";
1920
1977
  /** Defines values for ManagedHsmSkuName. */
1921
1978
  export type ManagedHsmSkuName = "Standard_B1" | "Custom_B32" | "Custom_B6" | "Custom_C42" | "Custom_C10";
1979
+ /** Defines values for SkuName. */
1980
+ export type SkuName = "standard" | "premium";
1981
+ /** Defines values for KeyRotationPolicyActionType. */
1982
+ export type KeyRotationPolicyActionType = "rotate" | "notify";
1983
+ /** Defines values for AccessPolicyUpdateKind. */
1984
+ export type AccessPolicyUpdateKind = "add" | "replace" | "remove";
1922
1985
  /** Optional parameters. */
1923
- export interface KeysCreateIfNotExistOptionalParams extends coreClient.OperationOptions {
1924
- }
1925
- /** Contains response data for the createIfNotExist operation. */
1926
- export type KeysCreateIfNotExistResponse = Key;
1927
- /** Optional parameters. */
1928
- export interface KeysGetOptionalParams extends coreClient.OperationOptions {
1929
- }
1930
- /** Contains response data for the get operation. */
1931
- export type KeysGetResponse = Key;
1932
- /** Optional parameters. */
1933
- export interface KeysListOptionalParams extends coreClient.OperationOptions {
1934
- }
1935
- /** Contains response data for the list operation. */
1936
- export type KeysListResponse = KeyListResult;
1937
- /** Optional parameters. */
1938
- export interface KeysGetVersionOptionalParams extends coreClient.OperationOptions {
1939
- }
1940
- /** Contains response data for the getVersion operation. */
1941
- export type KeysGetVersionResponse = Key;
1942
- /** Optional parameters. */
1943
- export interface KeysListVersionsOptionalParams extends coreClient.OperationOptions {
1944
- }
1945
- /** Contains response data for the listVersions operation. */
1946
- export type KeysListVersionsResponse = KeyListResult;
1947
- /** Optional parameters. */
1948
- export interface KeysListNextOptionalParams extends coreClient.OperationOptions {
1949
- }
1950
- /** Contains response data for the listNext operation. */
1951
- export type KeysListNextResponse = KeyListResult;
1952
- /** Optional parameters. */
1953
- export interface KeysListVersionsNextOptionalParams extends coreClient.OperationOptions {
1954
- }
1955
- /** Contains response data for the listVersionsNext operation. */
1956
- export type KeysListVersionsNextResponse = KeyListResult;
1957
- /** Optional parameters. */
1958
- export interface ManagedHsmKeysCreateIfNotExistOptionalParams extends coreClient.OperationOptions {
1959
- }
1960
- /** Contains response data for the createIfNotExist operation. */
1961
- export type ManagedHsmKeysCreateIfNotExistResponse = ManagedHsmKey;
1962
- /** Optional parameters. */
1963
- export interface ManagedHsmKeysGetOptionalParams extends coreClient.OperationOptions {
1964
- }
1965
- /** Contains response data for the get operation. */
1966
- export type ManagedHsmKeysGetResponse = ManagedHsmKey;
1967
- /** Optional parameters. */
1968
- export interface ManagedHsmKeysListOptionalParams extends coreClient.OperationOptions {
1986
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
1969
1987
  }
1970
1988
  /** Contains response data for the list operation. */
1971
- export type ManagedHsmKeysListResponse = ManagedHsmKeyListResult;
1972
- /** Optional parameters. */
1973
- export interface ManagedHsmKeysGetVersionOptionalParams extends coreClient.OperationOptions {
1974
- }
1975
- /** Contains response data for the getVersion operation. */
1976
- export type ManagedHsmKeysGetVersionResponse = ManagedHsmKey;
1977
- /** Optional parameters. */
1978
- export interface ManagedHsmKeysListVersionsOptionalParams extends coreClient.OperationOptions {
1979
- }
1980
- /** Contains response data for the listVersions operation. */
1981
- export type ManagedHsmKeysListVersionsResponse = ManagedHsmKeyListResult;
1989
+ export type OperationsListResponse = OperationListResult;
1982
1990
  /** Optional parameters. */
1983
- export interface ManagedHsmKeysListNextOptionalParams extends coreClient.OperationOptions {
1991
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1984
1992
  }
1985
1993
  /** Contains response data for the listNext operation. */
1986
- export type ManagedHsmKeysListNextResponse = ManagedHsmKeyListResult;
1987
- /** Optional parameters. */
1988
- export interface ManagedHsmKeysListVersionsNextOptionalParams extends coreClient.OperationOptions {
1989
- }
1990
- /** Contains response data for the listVersionsNext operation. */
1991
- export type ManagedHsmKeysListVersionsNextResponse = ManagedHsmKeyListResult;
1992
- /** Optional parameters. */
1993
- export interface VaultsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1994
- /** Delay to wait until next poll, in milliseconds. */
1995
- updateIntervalInMs?: number;
1996
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1997
- resumeFrom?: string;
1998
- }
1999
- /** Contains response data for the createOrUpdate operation. */
2000
- export type VaultsCreateOrUpdateResponse = Vault;
2001
- /** Optional parameters. */
2002
- export interface VaultsUpdateOptionalParams extends coreClient.OperationOptions {
2003
- }
2004
- /** Contains response data for the update operation. */
2005
- export type VaultsUpdateResponse = Vault;
2006
- /** Optional parameters. */
2007
- export interface VaultsDeleteOptionalParams extends coreClient.OperationOptions {
2008
- }
2009
- /** Optional parameters. */
2010
- export interface VaultsGetOptionalParams extends coreClient.OperationOptions {
2011
- }
2012
- /** Contains response data for the get operation. */
2013
- export type VaultsGetResponse = Vault;
2014
- /** Optional parameters. */
2015
- export interface VaultsUpdateAccessPolicyOptionalParams extends coreClient.OperationOptions {
2016
- }
2017
- /** Contains response data for the updateAccessPolicy operation. */
2018
- export type VaultsUpdateAccessPolicyResponse = VaultAccessPolicyParameters;
2019
- /** Optional parameters. */
2020
- export interface VaultsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2021
- /** Maximum number of results to return. */
2022
- top?: number;
2023
- }
2024
- /** Contains response data for the listByResourceGroup operation. */
2025
- export type VaultsListByResourceGroupResponse = VaultListResult;
1994
+ export type OperationsListNextResponse = OperationListResult;
2026
1995
  /** Optional parameters. */
2027
- export interface VaultsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
2028
- /** Maximum number of results to return. */
2029
- top?: number;
1996
+ export interface ManagedHsmsCheckMhsmNameAvailabilityOptionalParams extends coreClient.OperationOptions {
2030
1997
  }
2031
- /** Contains response data for the listBySubscription operation. */
2032
- export type VaultsListBySubscriptionResponse = VaultListResult;
1998
+ /** Contains response data for the checkMhsmNameAvailability operation. */
1999
+ export type ManagedHsmsCheckMhsmNameAvailabilityResponse = CheckMhsmNameAvailabilityResult;
2033
2000
  /** Optional parameters. */
2034
- export interface VaultsListDeletedOptionalParams extends coreClient.OperationOptions {
2001
+ export interface ManagedHsmsListDeletedOptionalParams extends coreClient.OperationOptions {
2035
2002
  }
2036
2003
  /** Contains response data for the listDeleted operation. */
2037
- export type VaultsListDeletedResponse = DeletedVaultListResult;
2038
- /** Optional parameters. */
2039
- export interface VaultsGetDeletedOptionalParams extends coreClient.OperationOptions {
2040
- }
2041
- /** Contains response data for the getDeleted operation. */
2042
- export type VaultsGetDeletedResponse = DeletedVault;
2043
- /** Optional parameters. */
2044
- export interface VaultsPurgeDeletedOptionalParams extends coreClient.OperationOptions {
2045
- /** Delay to wait until next poll, in milliseconds. */
2046
- updateIntervalInMs?: number;
2047
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2048
- resumeFrom?: string;
2049
- }
2050
- /** Optional parameters. */
2051
- export interface VaultsListOptionalParams extends coreClient.OperationOptions {
2052
- /** Maximum number of results to return. */
2053
- top?: number;
2054
- }
2055
- /** Contains response data for the list operation. */
2056
- export type VaultsListResponse = ResourceListResult;
2057
- /** Optional parameters. */
2058
- export interface VaultsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
2059
- }
2060
- /** Contains response data for the checkNameAvailability operation. */
2061
- export type VaultsCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
2062
- /** Optional parameters. */
2063
- export interface VaultsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2064
- }
2065
- /** Contains response data for the listByResourceGroupNext operation. */
2066
- export type VaultsListByResourceGroupNextResponse = VaultListResult;
2067
- /** Optional parameters. */
2068
- export interface VaultsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
2069
- }
2070
- /** Contains response data for the listBySubscriptionNext operation. */
2071
- export type VaultsListBySubscriptionNextResponse = VaultListResult;
2072
- /** Optional parameters. */
2073
- export interface VaultsListDeletedNextOptionalParams extends coreClient.OperationOptions {
2074
- }
2075
- /** Contains response data for the listDeletedNext operation. */
2076
- export type VaultsListDeletedNextResponse = DeletedVaultListResult;
2077
- /** Optional parameters. */
2078
- export interface VaultsListNextOptionalParams extends coreClient.OperationOptions {
2079
- }
2080
- /** Contains response data for the listNext operation. */
2081
- export type VaultsListNextResponse = ResourceListResult;
2082
- /** Optional parameters. */
2083
- export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
2084
- }
2085
- /** Contains response data for the get operation. */
2086
- export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
2004
+ export type ManagedHsmsListDeletedResponse = DeletedManagedHsmListResult;
2087
2005
  /** Optional parameters. */
2088
- export interface PrivateEndpointConnectionsPutOptionalParams extends coreClient.OperationOptions {
2089
- }
2090
- /** Contains response data for the put operation. */
2091
- export type PrivateEndpointConnectionsPutResponse = PrivateEndpointConnectionsPutHeaders & PrivateEndpointConnection;
2006
+ export interface ManagedHsmsGetDeletedOptionalParams extends coreClient.OperationOptions {
2007
+ }
2008
+ /** Contains response data for the getDeleted operation. */
2009
+ export type ManagedHsmsGetDeletedResponse = DeletedManagedHsm;
2092
2010
  /** Optional parameters. */
2093
- export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
2011
+ export interface ManagedHsmsPurgeDeletedOptionalParams extends coreClient.OperationOptions {
2094
2012
  /** Delay to wait until next poll, in milliseconds. */
2095
2013
  updateIntervalInMs?: number;
2096
2014
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2097
2015
  resumeFrom?: string;
2098
2016
  }
2099
- /** Contains response data for the delete operation. */
2100
- export type PrivateEndpointConnectionsDeleteResponse = PrivateEndpointConnection;
2017
+ /** Contains response data for the purgeDeleted operation. */
2018
+ export type ManagedHsmsPurgeDeletedResponse = ManagedHsmsPurgeDeletedHeaders;
2101
2019
  /** Optional parameters. */
2102
- export interface PrivateEndpointConnectionsListByResourceOptionalParams extends coreClient.OperationOptions {
2020
+ export interface ManagedHsmsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
2021
+ /** Maximum number of results to return. */
2022
+ top?: number;
2103
2023
  }
2104
- /** Contains response data for the listByResource operation. */
2105
- export type PrivateEndpointConnectionsListByResourceResponse = PrivateEndpointConnectionListResult;
2024
+ /** Contains response data for the listBySubscription operation. */
2025
+ export type ManagedHsmsListBySubscriptionResponse = ManagedHsmListResult;
2106
2026
  /** Optional parameters. */
2107
- export interface PrivateEndpointConnectionsListByResourceNextOptionalParams extends coreClient.OperationOptions {
2027
+ export interface ManagedHsmsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2028
+ /** Maximum number of results to return. */
2029
+ top?: number;
2108
2030
  }
2109
- /** Contains response data for the listByResourceNext operation. */
2110
- export type PrivateEndpointConnectionsListByResourceNextResponse = PrivateEndpointConnectionListResult;
2031
+ /** Contains response data for the listByResourceGroup operation. */
2032
+ export type ManagedHsmsListByResourceGroupResponse = ManagedHsmListResult;
2111
2033
  /** Optional parameters. */
2112
- export interface PrivateLinkResourcesListByVaultOptionalParams extends coreClient.OperationOptions {
2034
+ export interface ManagedHsmsGetOptionalParams extends coreClient.OperationOptions {
2113
2035
  }
2114
- /** Contains response data for the listByVault operation. */
2115
- export type PrivateLinkResourcesListByVaultResponse = PrivateLinkResourceListResult;
2036
+ /** Contains response data for the get operation. */
2037
+ export type ManagedHsmsGetResponse = ManagedHsm;
2116
2038
  /** Optional parameters. */
2117
2039
  export interface ManagedHsmsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2118
2040
  /** Delay to wait until next poll, in milliseconds. */
@@ -2139,63 +2061,145 @@ export interface ManagedHsmsDeleteOptionalParams extends coreClient.OperationOpt
2139
2061
  resumeFrom?: string;
2140
2062
  }
2141
2063
  /** Optional parameters. */
2142
- export interface ManagedHsmsGetOptionalParams extends coreClient.OperationOptions {
2064
+ export interface ManagedHsmsListDeletedNextOptionalParams extends coreClient.OperationOptions {
2143
2065
  }
2144
- /** Contains response data for the get operation. */
2145
- export type ManagedHsmsGetResponse = ManagedHsm;
2066
+ /** Contains response data for the listDeletedNext operation. */
2067
+ export type ManagedHsmsListDeletedNextResponse = DeletedManagedHsmListResult;
2146
2068
  /** Optional parameters. */
2147
- export interface ManagedHsmsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2148
- /** Maximum number of results to return. */
2149
- top?: number;
2069
+ export interface ManagedHsmsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
2150
2070
  }
2151
- /** Contains response data for the listByResourceGroup operation. */
2152
- export type ManagedHsmsListByResourceGroupResponse = ManagedHsmListResult;
2071
+ /** Contains response data for the listBySubscriptionNext operation. */
2072
+ export type ManagedHsmsListBySubscriptionNextResponse = ManagedHsmListResult;
2153
2073
  /** Optional parameters. */
2154
- export interface ManagedHsmsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
2074
+ export interface ManagedHsmsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2075
+ }
2076
+ /** Contains response data for the listByResourceGroupNext operation. */
2077
+ export type ManagedHsmsListByResourceGroupNextResponse = ManagedHsmListResult;
2078
+ /** Optional parameters. */
2079
+ export interface VaultsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
2080
+ }
2081
+ /** Contains response data for the checkNameAvailability operation. */
2082
+ export type VaultsCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
2083
+ /** Optional parameters. */
2084
+ export interface VaultsListDeletedOptionalParams extends coreClient.OperationOptions {
2085
+ }
2086
+ /** Contains response data for the listDeleted operation. */
2087
+ export type VaultsListDeletedResponse = DeletedVaultListResult;
2088
+ /** Optional parameters. */
2089
+ export interface VaultsGetDeletedOptionalParams extends coreClient.OperationOptions {
2090
+ }
2091
+ /** Contains response data for the getDeleted operation. */
2092
+ export type VaultsGetDeletedResponse = DeletedVault;
2093
+ /** Optional parameters. */
2094
+ export interface VaultsPurgeDeletedOptionalParams extends coreClient.OperationOptions {
2095
+ /** Delay to wait until next poll, in milliseconds. */
2096
+ updateIntervalInMs?: number;
2097
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2098
+ resumeFrom?: string;
2099
+ }
2100
+ /** Optional parameters. */
2101
+ export interface VaultsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
2155
2102
  /** Maximum number of results to return. */
2156
2103
  top?: number;
2157
2104
  }
2158
2105
  /** Contains response data for the listBySubscription operation. */
2159
- export type ManagedHsmsListBySubscriptionResponse = ManagedHsmListResult;
2106
+ export type VaultsListBySubscriptionResponse = VaultListResult;
2160
2107
  /** Optional parameters. */
2161
- export interface ManagedHsmsListDeletedOptionalParams extends coreClient.OperationOptions {
2108
+ export interface VaultsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2109
+ /** Maximum number of results to return. */
2110
+ top?: number;
2162
2111
  }
2163
- /** Contains response data for the listDeleted operation. */
2164
- export type ManagedHsmsListDeletedResponse = DeletedManagedHsmListResult;
2112
+ /** Contains response data for the listByResourceGroup operation. */
2113
+ export type VaultsListByResourceGroupResponse = VaultListResult;
2165
2114
  /** Optional parameters. */
2166
- export interface ManagedHsmsGetDeletedOptionalParams extends coreClient.OperationOptions {
2115
+ export interface VaultsGetOptionalParams extends coreClient.OperationOptions {
2167
2116
  }
2168
- /** Contains response data for the getDeleted operation. */
2169
- export type ManagedHsmsGetDeletedResponse = DeletedManagedHsm;
2117
+ /** Contains response data for the get operation. */
2118
+ export type VaultsGetResponse = Vault;
2170
2119
  /** Optional parameters. */
2171
- export interface ManagedHsmsPurgeDeletedOptionalParams extends coreClient.OperationOptions {
2120
+ export interface VaultsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2172
2121
  /** Delay to wait until next poll, in milliseconds. */
2173
2122
  updateIntervalInMs?: number;
2174
2123
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2175
2124
  resumeFrom?: string;
2176
2125
  }
2177
- /** Contains response data for the purgeDeleted operation. */
2178
- export type ManagedHsmsPurgeDeletedResponse = ManagedHsmsPurgeDeletedHeaders;
2126
+ /** Contains response data for the createOrUpdate operation. */
2127
+ export type VaultsCreateOrUpdateResponse = Vault;
2179
2128
  /** Optional parameters. */
2180
- export interface ManagedHsmsCheckMhsmNameAvailabilityOptionalParams extends coreClient.OperationOptions {
2129
+ export interface VaultsUpdateOptionalParams extends coreClient.OperationOptions {
2181
2130
  }
2182
- /** Contains response data for the checkMhsmNameAvailability operation. */
2183
- export type ManagedHsmsCheckMhsmNameAvailabilityResponse = CheckMhsmNameAvailabilityResult;
2131
+ /** Contains response data for the update operation. */
2132
+ export type VaultsUpdateResponse = Vault;
2184
2133
  /** Optional parameters. */
2185
- export interface ManagedHsmsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2134
+ export interface VaultsDeleteOptionalParams extends coreClient.OperationOptions {
2186
2135
  }
2187
- /** Contains response data for the listByResourceGroupNext operation. */
2188
- export type ManagedHsmsListByResourceGroupNextResponse = ManagedHsmListResult;
2189
2136
  /** Optional parameters. */
2190
- export interface ManagedHsmsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
2137
+ export interface VaultsUpdateAccessPolicyOptionalParams extends coreClient.OperationOptions {
2191
2138
  }
2192
- /** Contains response data for the listBySubscriptionNext operation. */
2193
- export type ManagedHsmsListBySubscriptionNextResponse = ManagedHsmListResult;
2139
+ /** Contains response data for the updateAccessPolicy operation. */
2140
+ export type VaultsUpdateAccessPolicyResponse = VaultAccessPolicyParameters;
2194
2141
  /** Optional parameters. */
2195
- export interface ManagedHsmsListDeletedNextOptionalParams extends coreClient.OperationOptions {
2142
+ export interface VaultsListOptionalParams extends coreClient.OperationOptions {
2143
+ /** Maximum number of results to return. */
2144
+ top?: number;
2145
+ }
2146
+ /** Contains response data for the list operation. */
2147
+ export type VaultsListResponse = ResourceListResult;
2148
+ /** Optional parameters. */
2149
+ export interface VaultsListDeletedNextOptionalParams extends coreClient.OperationOptions {
2196
2150
  }
2197
2151
  /** Contains response data for the listDeletedNext operation. */
2198
- export type ManagedHsmsListDeletedNextResponse = DeletedManagedHsmListResult;
2152
+ export type VaultsListDeletedNextResponse = DeletedVaultListResult;
2153
+ /** Optional parameters. */
2154
+ export interface VaultsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
2155
+ }
2156
+ /** Contains response data for the listBySubscriptionNext operation. */
2157
+ export type VaultsListBySubscriptionNextResponse = VaultListResult;
2158
+ /** Optional parameters. */
2159
+ export interface VaultsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2160
+ }
2161
+ /** Contains response data for the listByResourceGroupNext operation. */
2162
+ export type VaultsListByResourceGroupNextResponse = VaultListResult;
2163
+ /** Optional parameters. */
2164
+ export interface VaultsListNextOptionalParams extends coreClient.OperationOptions {
2165
+ }
2166
+ /** Contains response data for the listNext operation. */
2167
+ export type VaultsListNextResponse = ResourceListResult;
2168
+ /** Optional parameters. */
2169
+ export interface ManagedHsmKeysListOptionalParams extends coreClient.OperationOptions {
2170
+ }
2171
+ /** Contains response data for the list operation. */
2172
+ export type ManagedHsmKeysListResponse = ManagedHsmKeyListResult;
2173
+ /** Optional parameters. */
2174
+ export interface ManagedHsmKeysGetOptionalParams extends coreClient.OperationOptions {
2175
+ }
2176
+ /** Contains response data for the get operation. */
2177
+ export type ManagedHsmKeysGetResponse = ManagedHsmKey;
2178
+ /** Optional parameters. */
2179
+ export interface ManagedHsmKeysCreateIfNotExistOptionalParams extends coreClient.OperationOptions {
2180
+ }
2181
+ /** Contains response data for the createIfNotExist operation. */
2182
+ export type ManagedHsmKeysCreateIfNotExistResponse = ManagedHsmKey;
2183
+ /** Optional parameters. */
2184
+ export interface ManagedHsmKeysListVersionsOptionalParams extends coreClient.OperationOptions {
2185
+ }
2186
+ /** Contains response data for the listVersions operation. */
2187
+ export type ManagedHsmKeysListVersionsResponse = ManagedHsmKeyListResult;
2188
+ /** Optional parameters. */
2189
+ export interface ManagedHsmKeysGetVersionOptionalParams extends coreClient.OperationOptions {
2190
+ }
2191
+ /** Contains response data for the getVersion operation. */
2192
+ export type ManagedHsmKeysGetVersionResponse = ManagedHsmKey;
2193
+ /** Optional parameters. */
2194
+ export interface ManagedHsmKeysListNextOptionalParams extends coreClient.OperationOptions {
2195
+ }
2196
+ /** Contains response data for the listNext operation. */
2197
+ export type ManagedHsmKeysListNextResponse = ManagedHsmKeyListResult;
2198
+ /** Optional parameters. */
2199
+ export interface ManagedHsmKeysListVersionsNextOptionalParams extends coreClient.OperationOptions {
2200
+ }
2201
+ /** Contains response data for the listVersionsNext operation. */
2202
+ export type ManagedHsmKeysListVersionsNextResponse = ManagedHsmKeyListResult;
2199
2203
  /** Optional parameters. */
2200
2204
  export interface MhsmPrivateEndpointConnectionsListByResourceOptionalParams extends coreClient.OperationOptions {
2201
2205
  }
@@ -2241,30 +2245,74 @@ export interface MhsmRegionsListByResourceNextOptionalParams extends coreClient.
2241
2245
  /** Contains response data for the listByResourceNext operation. */
2242
2246
  export type MhsmRegionsListByResourceNextResponse = MhsmRegionsListResult;
2243
2247
  /** Optional parameters. */
2244
- export interface OperationsListOptionalParams extends coreClient.OperationOptions {
2248
+ export interface KeysListOptionalParams extends coreClient.OperationOptions {
2245
2249
  }
2246
2250
  /** Contains response data for the list operation. */
2247
- export type OperationsListResponse = OperationListResult;
2251
+ export type KeysListResponse = KeyListResult;
2248
2252
  /** Optional parameters. */
2249
- export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
2253
+ export interface KeysGetOptionalParams extends coreClient.OperationOptions {
2254
+ }
2255
+ /** Contains response data for the get operation. */
2256
+ export type KeysGetResponse = Key;
2257
+ /** Optional parameters. */
2258
+ export interface KeysCreateIfNotExistOptionalParams extends coreClient.OperationOptions {
2259
+ }
2260
+ /** Contains response data for the createIfNotExist operation. */
2261
+ export type KeysCreateIfNotExistResponse = Key;
2262
+ /** Optional parameters. */
2263
+ export interface KeysListVersionsOptionalParams extends coreClient.OperationOptions {
2264
+ }
2265
+ /** Contains response data for the listVersions operation. */
2266
+ export type KeysListVersionsResponse = KeyListResult;
2267
+ /** Optional parameters. */
2268
+ export interface KeysGetVersionOptionalParams extends coreClient.OperationOptions {
2269
+ }
2270
+ /** Contains response data for the getVersion operation. */
2271
+ export type KeysGetVersionResponse = Key;
2272
+ /** Optional parameters. */
2273
+ export interface KeysListNextOptionalParams extends coreClient.OperationOptions {
2250
2274
  }
2251
2275
  /** Contains response data for the listNext operation. */
2252
- export type OperationsListNextResponse = OperationListResult;
2276
+ export type KeysListNextResponse = KeyListResult;
2253
2277
  /** Optional parameters. */
2254
- export interface SecretsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2278
+ export interface KeysListVersionsNextOptionalParams extends coreClient.OperationOptions {
2255
2279
  }
2256
- /** Contains response data for the createOrUpdate operation. */
2257
- export type SecretsCreateOrUpdateResponse = Secret;
2280
+ /** Contains response data for the listVersionsNext operation. */
2281
+ export type KeysListVersionsNextResponse = KeyListResult;
2258
2282
  /** Optional parameters. */
2259
- export interface SecretsUpdateOptionalParams extends coreClient.OperationOptions {
2283
+ export interface PrivateEndpointConnectionsListByResourceOptionalParams extends coreClient.OperationOptions {
2260
2284
  }
2261
- /** Contains response data for the update operation. */
2262
- export type SecretsUpdateResponse = Secret;
2285
+ /** Contains response data for the listByResource operation. */
2286
+ export type PrivateEndpointConnectionsListByResourceResponse = PrivateEndpointConnectionListResult;
2263
2287
  /** Optional parameters. */
2264
- export interface SecretsGetOptionalParams extends coreClient.OperationOptions {
2288
+ export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
2265
2289
  }
2266
2290
  /** Contains response data for the get operation. */
2267
- export type SecretsGetResponse = Secret;
2291
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
2292
+ /** Optional parameters. */
2293
+ export interface PrivateEndpointConnectionsPutOptionalParams extends coreClient.OperationOptions {
2294
+ }
2295
+ /** Contains response data for the put operation. */
2296
+ export type PrivateEndpointConnectionsPutResponse = PrivateEndpointConnectionsPutHeaders & PrivateEndpointConnection;
2297
+ /** Optional parameters. */
2298
+ export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
2299
+ /** Delay to wait until next poll, in milliseconds. */
2300
+ updateIntervalInMs?: number;
2301
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2302
+ resumeFrom?: string;
2303
+ }
2304
+ /** Contains response data for the delete operation. */
2305
+ export type PrivateEndpointConnectionsDeleteResponse = PrivateEndpointConnection;
2306
+ /** Optional parameters. */
2307
+ export interface PrivateEndpointConnectionsListByResourceNextOptionalParams extends coreClient.OperationOptions {
2308
+ }
2309
+ /** Contains response data for the listByResourceNext operation. */
2310
+ export type PrivateEndpointConnectionsListByResourceNextResponse = PrivateEndpointConnectionListResult;
2311
+ /** Optional parameters. */
2312
+ export interface PrivateLinkResourcesListByVaultOptionalParams extends coreClient.OperationOptions {
2313
+ }
2314
+ /** Contains response data for the listByVault operation. */
2315
+ export type PrivateLinkResourcesListByVaultResponse = PrivateLinkResourceListResult;
2268
2316
  /** Optional parameters. */
2269
2317
  export interface SecretsListOptionalParams extends coreClient.OperationOptions {
2270
2318
  /** Maximum number of results to return. */
@@ -2273,6 +2321,21 @@ export interface SecretsListOptionalParams extends coreClient.OperationOptions {
2273
2321
  /** Contains response data for the list operation. */
2274
2322
  export type SecretsListResponse = SecretListResult;
2275
2323
  /** Optional parameters. */
2324
+ export interface SecretsGetOptionalParams extends coreClient.OperationOptions {
2325
+ }
2326
+ /** Contains response data for the get operation. */
2327
+ export type SecretsGetResponse = Secret;
2328
+ /** Optional parameters. */
2329
+ export interface SecretsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2330
+ }
2331
+ /** Contains response data for the createOrUpdate operation. */
2332
+ export type SecretsCreateOrUpdateResponse = Secret;
2333
+ /** Optional parameters. */
2334
+ export interface SecretsUpdateOptionalParams extends coreClient.OperationOptions {
2335
+ }
2336
+ /** Contains response data for the update operation. */
2337
+ export type SecretsUpdateResponse = Secret;
2338
+ /** Optional parameters. */
2276
2339
  export interface SecretsListNextOptionalParams extends coreClient.OperationOptions {
2277
2340
  }
2278
2341
  /** Contains response data for the listNext operation. */