@azure/arm-keyvault 3.2.0-alpha.20251124.1 → 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 (492) hide show
  1. package/README.md +1 -0
  2. package/dist/browser/index.d.ts.map +1 -1
  3. package/dist/browser/index.js +4 -7
  4. package/dist/browser/index.js.map +1 -1
  5. package/dist/browser/keyVaultManagementClient.d.ts +11 -12
  6. package/dist/browser/keyVaultManagementClient.d.ts.map +1 -1
  7. package/dist/browser/keyVaultManagementClient.js +24 -31
  8. package/dist/browser/keyVaultManagementClient.js.map +1 -1
  9. package/dist/browser/lroImpl.d.ts +1 -1
  10. package/dist/browser/lroImpl.d.ts.map +1 -1
  11. package/dist/browser/lroImpl.js +2 -7
  12. package/dist/browser/lroImpl.js.map +1 -1
  13. package/dist/browser/models/index.d.ts +1514 -1451
  14. package/dist/browser/models/index.d.ts.map +1 -1
  15. package/dist/browser/models/index.js +204 -201
  16. package/dist/browser/models/index.js.map +1 -1
  17. package/dist/browser/models/mappers.d.ts +76 -72
  18. package/dist/browser/models/mappers.d.ts.map +1 -1
  19. package/dist/browser/models/mappers.js +1693 -1551
  20. package/dist/browser/models/mappers.js.map +1 -1
  21. package/dist/browser/models/parameters.d.ts +17 -19
  22. package/dist/browser/models/parameters.d.ts.map +1 -1
  23. package/dist/browser/models/parameters.js +107 -132
  24. package/dist/browser/models/parameters.js.map +1 -1
  25. package/dist/browser/operations/index.d.ts +6 -6
  26. package/dist/browser/operations/index.d.ts.map +1 -1
  27. package/dist/browser/operations/index.js +10 -13
  28. package/dist/browser/operations/index.js.map +1 -1
  29. package/dist/browser/operations/keys.d.ts +36 -38
  30. package/dist/browser/operations/keys.d.ts.map +1 -1
  31. package/dist/browser/operations/keys.js +71 -78
  32. package/dist/browser/operations/keys.js.map +1 -1
  33. package/dist/browser/operations/managedHsmKeys.d.ts +20 -20
  34. package/dist/browser/operations/managedHsmKeys.d.ts.map +1 -1
  35. package/dist/browser/operations/managedHsmKeys.js +62 -67
  36. package/dist/browser/operations/managedHsmKeys.js.map +1 -1
  37. package/dist/browser/operations/managedHsms.d.ts +77 -77
  38. package/dist/browser/operations/managedHsms.d.ts.map +1 -1
  39. package/dist/browser/operations/managedHsms.js +243 -256
  40. package/dist/browser/operations/managedHsms.js.map +1 -1
  41. package/dist/browser/operations/mhsmPrivateEndpointConnections.d.ts +19 -19
  42. package/dist/browser/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  43. package/dist/browser/operations/mhsmPrivateEndpointConnections.js +28 -32
  44. package/dist/browser/operations/mhsmPrivateEndpointConnections.js.map +1 -1
  45. package/dist/browser/operations/mhsmPrivateLinkResources.d.ts +5 -5
  46. package/dist/browser/operations/mhsmPrivateLinkResources.d.ts.map +1 -1
  47. package/dist/browser/operations/mhsmPrivateLinkResources.js +5 -10
  48. package/dist/browser/operations/mhsmPrivateLinkResources.js.map +1 -1
  49. package/dist/browser/operations/mhsmRegions.d.ts +10 -10
  50. package/dist/browser/operations/mhsmRegions.d.ts.map +1 -1
  51. package/dist/browser/operations/mhsmRegions.js +13 -18
  52. package/dist/browser/operations/mhsmRegions.js.map +1 -1
  53. package/dist/browser/operations/operations.d.ts +6 -6
  54. package/dist/browser/operations/operations.d.ts.map +1 -1
  55. package/dist/browser/operations/operations.js +6 -11
  56. package/dist/browser/operations/operations.js.map +1 -1
  57. package/dist/browser/operations/privateEndpointConnections.d.ts +25 -25
  58. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
  59. package/dist/browser/operations/privateEndpointConnections.js +56 -60
  60. package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
  61. package/dist/browser/operations/privateLinkResources.d.ts +5 -5
  62. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -1
  63. package/dist/browser/operations/privateLinkResources.js +5 -10
  64. package/dist/browser/operations/privateLinkResources.js.map +1 -1
  65. package/dist/browser/operations/secrets.d.ts +30 -32
  66. package/dist/browser/operations/secrets.d.ts.map +1 -1
  67. package/dist/browser/operations/secrets.js +67 -74
  68. package/dist/browser/operations/secrets.js.map +1 -1
  69. package/dist/browser/operations/vaults.d.ts +72 -72
  70. package/dist/browser/operations/vaults.d.ts.map +1 -1
  71. package/dist/browser/operations/vaults.js +242 -261
  72. package/dist/browser/operations/vaults.js.map +1 -1
  73. package/dist/browser/operationsInterfaces/index.d.ts +6 -6
  74. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  75. package/dist/browser/operationsInterfaces/index.js +10 -13
  76. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  77. package/dist/browser/operationsInterfaces/keys.d.ts +20 -22
  78. package/dist/browser/operationsInterfaces/keys.d.ts.map +1 -1
  79. package/dist/browser/operationsInterfaces/keys.js +2 -7
  80. package/dist/browser/operationsInterfaces/keys.js.map +1 -1
  81. package/dist/browser/operationsInterfaces/managedHsmKeys.d.ts +10 -10
  82. package/dist/browser/operationsInterfaces/managedHsmKeys.d.ts.map +1 -1
  83. package/dist/browser/operationsInterfaces/managedHsmKeys.js +2 -7
  84. package/dist/browser/operationsInterfaces/managedHsmKeys.js.map +1 -1
  85. package/dist/browser/operationsInterfaces/managedHsms.d.ts +54 -54
  86. package/dist/browser/operationsInterfaces/managedHsms.d.ts.map +1 -1
  87. package/dist/browser/operationsInterfaces/managedHsms.js +2 -7
  88. package/dist/browser/operationsInterfaces/managedHsms.js.map +1 -1
  89. package/dist/browser/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts +13 -13
  90. package/dist/browser/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  91. package/dist/browser/operationsInterfaces/mhsmPrivateEndpointConnections.js +2 -7
  92. package/dist/browser/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
  93. package/dist/browser/operationsInterfaces/mhsmPrivateLinkResources.d.ts +3 -3
  94. package/dist/browser/operationsInterfaces/mhsmPrivateLinkResources.d.ts.map +1 -1
  95. package/dist/browser/operationsInterfaces/mhsmPrivateLinkResources.js +2 -7
  96. package/dist/browser/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
  97. package/dist/browser/operationsInterfaces/mhsmRegions.d.ts +4 -4
  98. package/dist/browser/operationsInterfaces/mhsmRegions.d.ts.map +1 -1
  99. package/dist/browser/operationsInterfaces/mhsmRegions.js +2 -7
  100. package/dist/browser/operationsInterfaces/mhsmRegions.js.map +1 -1
  101. package/dist/browser/operationsInterfaces/operations.d.ts +3 -3
  102. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  103. package/dist/browser/operationsInterfaces/operations.js +2 -7
  104. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  105. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +13 -13
  106. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  107. package/dist/browser/operationsInterfaces/privateEndpointConnections.js +2 -7
  108. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  109. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts +3 -3
  110. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  111. package/dist/browser/operationsInterfaces/privateLinkResources.js +2 -7
  112. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -1
  113. package/dist/browser/operationsInterfaces/secrets.d.ts +18 -20
  114. package/dist/browser/operationsInterfaces/secrets.d.ts.map +1 -1
  115. package/dist/browser/operationsInterfaces/secrets.js +2 -7
  116. package/dist/browser/operationsInterfaces/secrets.js.map +1 -1
  117. package/dist/browser/operationsInterfaces/vaults.d.ts +50 -50
  118. package/dist/browser/operationsInterfaces/vaults.d.ts.map +1 -1
  119. package/dist/browser/operationsInterfaces/vaults.js +2 -7
  120. package/dist/browser/operationsInterfaces/vaults.js.map +1 -1
  121. package/dist/browser/pagingHelper.d.ts.map +1 -1
  122. package/dist/browser/pagingHelper.js +2 -7
  123. package/dist/browser/pagingHelper.js.map +1 -1
  124. package/dist/commonjs/index.d.ts.map +1 -1
  125. package/dist/commonjs/index.js +4 -7
  126. package/dist/commonjs/index.js.map +1 -1
  127. package/dist/commonjs/keyVaultManagementClient.d.ts +11 -12
  128. package/dist/commonjs/keyVaultManagementClient.d.ts.map +1 -1
  129. package/dist/commonjs/keyVaultManagementClient.js +23 -30
  130. package/dist/commonjs/keyVaultManagementClient.js.map +1 -1
  131. package/dist/commonjs/lroImpl.d.ts +1 -1
  132. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  133. package/dist/commonjs/lroImpl.js +2 -7
  134. package/dist/commonjs/lroImpl.js.map +1 -1
  135. package/dist/commonjs/models/index.d.ts +1514 -1451
  136. package/dist/commonjs/models/index.d.ts.map +1 -1
  137. package/dist/commonjs/models/index.js +205 -202
  138. package/dist/commonjs/models/index.js.map +1 -1
  139. package/dist/commonjs/models/mappers.d.ts +76 -72
  140. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  141. package/dist/commonjs/models/mappers.js +1696 -1554
  142. package/dist/commonjs/models/mappers.js.map +1 -1
  143. package/dist/commonjs/models/parameters.d.ts +17 -19
  144. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  145. package/dist/commonjs/models/parameters.js +107 -132
  146. package/dist/commonjs/models/parameters.js.map +1 -1
  147. package/dist/commonjs/operations/index.d.ts +6 -6
  148. package/dist/commonjs/operations/index.d.ts.map +1 -1
  149. package/dist/commonjs/operations/index.js +10 -13
  150. package/dist/commonjs/operations/index.js.map +1 -1
  151. package/dist/commonjs/operations/keys.d.ts +36 -38
  152. package/dist/commonjs/operations/keys.d.ts.map +1 -1
  153. package/dist/commonjs/operations/keys.js +71 -78
  154. package/dist/commonjs/operations/keys.js.map +1 -1
  155. package/dist/commonjs/operations/managedHsmKeys.d.ts +20 -20
  156. package/dist/commonjs/operations/managedHsmKeys.d.ts.map +1 -1
  157. package/dist/commonjs/operations/managedHsmKeys.js +62 -67
  158. package/dist/commonjs/operations/managedHsmKeys.js.map +1 -1
  159. package/dist/commonjs/operations/managedHsms.d.ts +77 -77
  160. package/dist/commonjs/operations/managedHsms.d.ts.map +1 -1
  161. package/dist/commonjs/operations/managedHsms.js +242 -255
  162. package/dist/commonjs/operations/managedHsms.js.map +1 -1
  163. package/dist/commonjs/operations/mhsmPrivateEndpointConnections.d.ts +19 -19
  164. package/dist/commonjs/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  165. package/dist/commonjs/operations/mhsmPrivateEndpointConnections.js +27 -31
  166. package/dist/commonjs/operations/mhsmPrivateEndpointConnections.js.map +1 -1
  167. package/dist/commonjs/operations/mhsmPrivateLinkResources.d.ts +5 -5
  168. package/dist/commonjs/operations/mhsmPrivateLinkResources.d.ts.map +1 -1
  169. package/dist/commonjs/operations/mhsmPrivateLinkResources.js +5 -10
  170. package/dist/commonjs/operations/mhsmPrivateLinkResources.js.map +1 -1
  171. package/dist/commonjs/operations/mhsmRegions.d.ts +10 -10
  172. package/dist/commonjs/operations/mhsmRegions.d.ts.map +1 -1
  173. package/dist/commonjs/operations/mhsmRegions.js +13 -18
  174. package/dist/commonjs/operations/mhsmRegions.js.map +1 -1
  175. package/dist/commonjs/operations/operations.d.ts +6 -6
  176. package/dist/commonjs/operations/operations.d.ts.map +1 -1
  177. package/dist/commonjs/operations/operations.js +6 -11
  178. package/dist/commonjs/operations/operations.js.map +1 -1
  179. package/dist/commonjs/operations/privateEndpointConnections.d.ts +25 -25
  180. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
  181. package/dist/commonjs/operations/privateEndpointConnections.js +55 -59
  182. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
  183. package/dist/commonjs/operations/privateLinkResources.d.ts +5 -5
  184. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -1
  185. package/dist/commonjs/operations/privateLinkResources.js +5 -10
  186. package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
  187. package/dist/commonjs/operations/secrets.d.ts +30 -32
  188. package/dist/commonjs/operations/secrets.d.ts.map +1 -1
  189. package/dist/commonjs/operations/secrets.js +67 -74
  190. package/dist/commonjs/operations/secrets.js.map +1 -1
  191. package/dist/commonjs/operations/vaults.d.ts +72 -72
  192. package/dist/commonjs/operations/vaults.d.ts.map +1 -1
  193. package/dist/commonjs/operations/vaults.js +241 -260
  194. package/dist/commonjs/operations/vaults.js.map +1 -1
  195. package/dist/commonjs/operationsInterfaces/index.d.ts +6 -6
  196. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  197. package/dist/commonjs/operationsInterfaces/index.js +10 -13
  198. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  199. package/dist/commonjs/operationsInterfaces/keys.d.ts +20 -22
  200. package/dist/commonjs/operationsInterfaces/keys.d.ts.map +1 -1
  201. package/dist/commonjs/operationsInterfaces/keys.js +2 -7
  202. package/dist/commonjs/operationsInterfaces/keys.js.map +1 -1
  203. package/dist/commonjs/operationsInterfaces/managedHsmKeys.d.ts +10 -10
  204. package/dist/commonjs/operationsInterfaces/managedHsmKeys.d.ts.map +1 -1
  205. package/dist/commonjs/operationsInterfaces/managedHsmKeys.js +2 -7
  206. package/dist/commonjs/operationsInterfaces/managedHsmKeys.js.map +1 -1
  207. package/dist/commonjs/operationsInterfaces/managedHsms.d.ts +54 -54
  208. package/dist/commonjs/operationsInterfaces/managedHsms.d.ts.map +1 -1
  209. package/dist/commonjs/operationsInterfaces/managedHsms.js +2 -7
  210. package/dist/commonjs/operationsInterfaces/managedHsms.js.map +1 -1
  211. package/dist/commonjs/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts +13 -13
  212. package/dist/commonjs/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  213. package/dist/commonjs/operationsInterfaces/mhsmPrivateEndpointConnections.js +2 -7
  214. package/dist/commonjs/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
  215. package/dist/commonjs/operationsInterfaces/mhsmPrivateLinkResources.d.ts +3 -3
  216. package/dist/commonjs/operationsInterfaces/mhsmPrivateLinkResources.d.ts.map +1 -1
  217. package/dist/commonjs/operationsInterfaces/mhsmPrivateLinkResources.js +2 -7
  218. package/dist/commonjs/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
  219. package/dist/commonjs/operationsInterfaces/mhsmRegions.d.ts +4 -4
  220. package/dist/commonjs/operationsInterfaces/mhsmRegions.d.ts.map +1 -1
  221. package/dist/commonjs/operationsInterfaces/mhsmRegions.js +2 -7
  222. package/dist/commonjs/operationsInterfaces/mhsmRegions.js.map +1 -1
  223. package/dist/commonjs/operationsInterfaces/operations.d.ts +3 -3
  224. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  225. package/dist/commonjs/operationsInterfaces/operations.js +2 -7
  226. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  227. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +13 -13
  228. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  229. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +2 -7
  230. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  231. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +3 -3
  232. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  233. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +2 -7
  234. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -1
  235. package/dist/commonjs/operationsInterfaces/secrets.d.ts +18 -20
  236. package/dist/commonjs/operationsInterfaces/secrets.d.ts.map +1 -1
  237. package/dist/commonjs/operationsInterfaces/secrets.js +2 -7
  238. package/dist/commonjs/operationsInterfaces/secrets.js.map +1 -1
  239. package/dist/commonjs/operationsInterfaces/vaults.d.ts +50 -50
  240. package/dist/commonjs/operationsInterfaces/vaults.d.ts.map +1 -1
  241. package/dist/commonjs/operationsInterfaces/vaults.js +2 -7
  242. package/dist/commonjs/operationsInterfaces/vaults.js.map +1 -1
  243. package/dist/commonjs/pagingHelper.d.ts.map +1 -1
  244. package/dist/commonjs/pagingHelper.js +2 -7
  245. package/dist/commonjs/pagingHelper.js.map +1 -1
  246. package/dist/esm/index.d.ts.map +1 -1
  247. package/dist/esm/index.js +4 -7
  248. package/dist/esm/index.js.map +1 -1
  249. package/dist/esm/keyVaultManagementClient.d.ts +11 -12
  250. package/dist/esm/keyVaultManagementClient.d.ts.map +1 -1
  251. package/dist/esm/keyVaultManagementClient.js +24 -31
  252. package/dist/esm/keyVaultManagementClient.js.map +1 -1
  253. package/dist/esm/lroImpl.d.ts +1 -1
  254. package/dist/esm/lroImpl.d.ts.map +1 -1
  255. package/dist/esm/lroImpl.js +2 -7
  256. package/dist/esm/lroImpl.js.map +1 -1
  257. package/dist/esm/models/index.d.ts +1514 -1451
  258. package/dist/esm/models/index.d.ts.map +1 -1
  259. package/dist/esm/models/index.js +204 -201
  260. package/dist/esm/models/index.js.map +1 -1
  261. package/dist/esm/models/mappers.d.ts +76 -72
  262. package/dist/esm/models/mappers.d.ts.map +1 -1
  263. package/dist/esm/models/mappers.js +1693 -1551
  264. package/dist/esm/models/mappers.js.map +1 -1
  265. package/dist/esm/models/parameters.d.ts +17 -19
  266. package/dist/esm/models/parameters.d.ts.map +1 -1
  267. package/dist/esm/models/parameters.js +107 -132
  268. package/dist/esm/models/parameters.js.map +1 -1
  269. package/dist/esm/operations/index.d.ts +6 -6
  270. package/dist/esm/operations/index.d.ts.map +1 -1
  271. package/dist/esm/operations/index.js +10 -13
  272. package/dist/esm/operations/index.js.map +1 -1
  273. package/dist/esm/operations/keys.d.ts +36 -38
  274. package/dist/esm/operations/keys.d.ts.map +1 -1
  275. package/dist/esm/operations/keys.js +71 -78
  276. package/dist/esm/operations/keys.js.map +1 -1
  277. package/dist/esm/operations/managedHsmKeys.d.ts +20 -20
  278. package/dist/esm/operations/managedHsmKeys.d.ts.map +1 -1
  279. package/dist/esm/operations/managedHsmKeys.js +62 -67
  280. package/dist/esm/operations/managedHsmKeys.js.map +1 -1
  281. package/dist/esm/operations/managedHsms.d.ts +77 -77
  282. package/dist/esm/operations/managedHsms.d.ts.map +1 -1
  283. package/dist/esm/operations/managedHsms.js +243 -256
  284. package/dist/esm/operations/managedHsms.js.map +1 -1
  285. package/dist/esm/operations/mhsmPrivateEndpointConnections.d.ts +19 -19
  286. package/dist/esm/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  287. package/dist/esm/operations/mhsmPrivateEndpointConnections.js +28 -32
  288. package/dist/esm/operations/mhsmPrivateEndpointConnections.js.map +1 -1
  289. package/dist/esm/operations/mhsmPrivateLinkResources.d.ts +5 -5
  290. package/dist/esm/operations/mhsmPrivateLinkResources.d.ts.map +1 -1
  291. package/dist/esm/operations/mhsmPrivateLinkResources.js +5 -10
  292. package/dist/esm/operations/mhsmPrivateLinkResources.js.map +1 -1
  293. package/dist/esm/operations/mhsmRegions.d.ts +10 -10
  294. package/dist/esm/operations/mhsmRegions.d.ts.map +1 -1
  295. package/dist/esm/operations/mhsmRegions.js +13 -18
  296. package/dist/esm/operations/mhsmRegions.js.map +1 -1
  297. package/dist/esm/operations/operations.d.ts +6 -6
  298. package/dist/esm/operations/operations.d.ts.map +1 -1
  299. package/dist/esm/operations/operations.js +6 -11
  300. package/dist/esm/operations/operations.js.map +1 -1
  301. package/dist/esm/operations/privateEndpointConnections.d.ts +25 -25
  302. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
  303. package/dist/esm/operations/privateEndpointConnections.js +56 -60
  304. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  305. package/dist/esm/operations/privateLinkResources.d.ts +5 -5
  306. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -1
  307. package/dist/esm/operations/privateLinkResources.js +5 -10
  308. package/dist/esm/operations/privateLinkResources.js.map +1 -1
  309. package/dist/esm/operations/secrets.d.ts +30 -32
  310. package/dist/esm/operations/secrets.d.ts.map +1 -1
  311. package/dist/esm/operations/secrets.js +67 -74
  312. package/dist/esm/operations/secrets.js.map +1 -1
  313. package/dist/esm/operations/vaults.d.ts +72 -72
  314. package/dist/esm/operations/vaults.d.ts.map +1 -1
  315. package/dist/esm/operations/vaults.js +242 -261
  316. package/dist/esm/operations/vaults.js.map +1 -1
  317. package/dist/esm/operationsInterfaces/index.d.ts +6 -6
  318. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  319. package/dist/esm/operationsInterfaces/index.js +10 -13
  320. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  321. package/dist/esm/operationsInterfaces/keys.d.ts +20 -22
  322. package/dist/esm/operationsInterfaces/keys.d.ts.map +1 -1
  323. package/dist/esm/operationsInterfaces/keys.js +2 -7
  324. package/dist/esm/operationsInterfaces/keys.js.map +1 -1
  325. package/dist/esm/operationsInterfaces/managedHsmKeys.d.ts +10 -10
  326. package/dist/esm/operationsInterfaces/managedHsmKeys.d.ts.map +1 -1
  327. package/dist/esm/operationsInterfaces/managedHsmKeys.js +2 -7
  328. package/dist/esm/operationsInterfaces/managedHsmKeys.js.map +1 -1
  329. package/dist/esm/operationsInterfaces/managedHsms.d.ts +54 -54
  330. package/dist/esm/operationsInterfaces/managedHsms.d.ts.map +1 -1
  331. package/dist/esm/operationsInterfaces/managedHsms.js +2 -7
  332. package/dist/esm/operationsInterfaces/managedHsms.js.map +1 -1
  333. package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts +13 -13
  334. package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  335. package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.js +2 -7
  336. package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
  337. package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.d.ts +3 -3
  338. package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.d.ts.map +1 -1
  339. package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.js +2 -7
  340. package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
  341. package/dist/esm/operationsInterfaces/mhsmRegions.d.ts +4 -4
  342. package/dist/esm/operationsInterfaces/mhsmRegions.d.ts.map +1 -1
  343. package/dist/esm/operationsInterfaces/mhsmRegions.js +2 -7
  344. package/dist/esm/operationsInterfaces/mhsmRegions.js.map +1 -1
  345. package/dist/esm/operationsInterfaces/operations.d.ts +3 -3
  346. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  347. package/dist/esm/operationsInterfaces/operations.js +2 -7
  348. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  349. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +13 -13
  350. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  351. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +2 -7
  352. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  353. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +3 -3
  354. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  355. package/dist/esm/operationsInterfaces/privateLinkResources.js +2 -7
  356. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -1
  357. package/dist/esm/operationsInterfaces/secrets.d.ts +18 -20
  358. package/dist/esm/operationsInterfaces/secrets.d.ts.map +1 -1
  359. package/dist/esm/operationsInterfaces/secrets.js +2 -7
  360. package/dist/esm/operationsInterfaces/secrets.js.map +1 -1
  361. package/dist/esm/operationsInterfaces/vaults.d.ts +50 -50
  362. package/dist/esm/operationsInterfaces/vaults.d.ts.map +1 -1
  363. package/dist/esm/operationsInterfaces/vaults.js +2 -7
  364. package/dist/esm/operationsInterfaces/vaults.js.map +1 -1
  365. package/dist/esm/pagingHelper.d.ts.map +1 -1
  366. package/dist/esm/pagingHelper.js +2 -7
  367. package/dist/esm/pagingHelper.js.map +1 -1
  368. package/dist/react-native/index.d.ts.map +1 -1
  369. package/dist/react-native/index.js +4 -7
  370. package/dist/react-native/index.js.map +1 -1
  371. package/dist/react-native/keyVaultManagementClient.d.ts +11 -12
  372. package/dist/react-native/keyVaultManagementClient.d.ts.map +1 -1
  373. package/dist/react-native/keyVaultManagementClient.js +24 -31
  374. package/dist/react-native/keyVaultManagementClient.js.map +1 -1
  375. package/dist/react-native/lroImpl.d.ts +1 -1
  376. package/dist/react-native/lroImpl.d.ts.map +1 -1
  377. package/dist/react-native/lroImpl.js +2 -7
  378. package/dist/react-native/lroImpl.js.map +1 -1
  379. package/dist/react-native/models/index.d.ts +1514 -1451
  380. package/dist/react-native/models/index.d.ts.map +1 -1
  381. package/dist/react-native/models/index.js +204 -201
  382. package/dist/react-native/models/index.js.map +1 -1
  383. package/dist/react-native/models/mappers.d.ts +76 -72
  384. package/dist/react-native/models/mappers.d.ts.map +1 -1
  385. package/dist/react-native/models/mappers.js +1693 -1551
  386. package/dist/react-native/models/mappers.js.map +1 -1
  387. package/dist/react-native/models/parameters.d.ts +17 -19
  388. package/dist/react-native/models/parameters.d.ts.map +1 -1
  389. package/dist/react-native/models/parameters.js +107 -132
  390. package/dist/react-native/models/parameters.js.map +1 -1
  391. package/dist/react-native/operations/index.d.ts +6 -6
  392. package/dist/react-native/operations/index.d.ts.map +1 -1
  393. package/dist/react-native/operations/index.js +10 -13
  394. package/dist/react-native/operations/index.js.map +1 -1
  395. package/dist/react-native/operations/keys.d.ts +36 -38
  396. package/dist/react-native/operations/keys.d.ts.map +1 -1
  397. package/dist/react-native/operations/keys.js +71 -78
  398. package/dist/react-native/operations/keys.js.map +1 -1
  399. package/dist/react-native/operations/managedHsmKeys.d.ts +20 -20
  400. package/dist/react-native/operations/managedHsmKeys.d.ts.map +1 -1
  401. package/dist/react-native/operations/managedHsmKeys.js +62 -67
  402. package/dist/react-native/operations/managedHsmKeys.js.map +1 -1
  403. package/dist/react-native/operations/managedHsms.d.ts +77 -77
  404. package/dist/react-native/operations/managedHsms.d.ts.map +1 -1
  405. package/dist/react-native/operations/managedHsms.js +243 -256
  406. package/dist/react-native/operations/managedHsms.js.map +1 -1
  407. package/dist/react-native/operations/mhsmPrivateEndpointConnections.d.ts +19 -19
  408. package/dist/react-native/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  409. package/dist/react-native/operations/mhsmPrivateEndpointConnections.js +28 -32
  410. package/dist/react-native/operations/mhsmPrivateEndpointConnections.js.map +1 -1
  411. package/dist/react-native/operations/mhsmPrivateLinkResources.d.ts +5 -5
  412. package/dist/react-native/operations/mhsmPrivateLinkResources.d.ts.map +1 -1
  413. package/dist/react-native/operations/mhsmPrivateLinkResources.js +5 -10
  414. package/dist/react-native/operations/mhsmPrivateLinkResources.js.map +1 -1
  415. package/dist/react-native/operations/mhsmRegions.d.ts +10 -10
  416. package/dist/react-native/operations/mhsmRegions.d.ts.map +1 -1
  417. package/dist/react-native/operations/mhsmRegions.js +13 -18
  418. package/dist/react-native/operations/mhsmRegions.js.map +1 -1
  419. package/dist/react-native/operations/operations.d.ts +6 -6
  420. package/dist/react-native/operations/operations.d.ts.map +1 -1
  421. package/dist/react-native/operations/operations.js +6 -11
  422. package/dist/react-native/operations/operations.js.map +1 -1
  423. package/dist/react-native/operations/privateEndpointConnections.d.ts +25 -25
  424. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
  425. package/dist/react-native/operations/privateEndpointConnections.js +56 -60
  426. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  427. package/dist/react-native/operations/privateLinkResources.d.ts +5 -5
  428. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -1
  429. package/dist/react-native/operations/privateLinkResources.js +5 -10
  430. package/dist/react-native/operations/privateLinkResources.js.map +1 -1
  431. package/dist/react-native/operations/secrets.d.ts +30 -32
  432. package/dist/react-native/operations/secrets.d.ts.map +1 -1
  433. package/dist/react-native/operations/secrets.js +67 -74
  434. package/dist/react-native/operations/secrets.js.map +1 -1
  435. package/dist/react-native/operations/vaults.d.ts +72 -72
  436. package/dist/react-native/operations/vaults.d.ts.map +1 -1
  437. package/dist/react-native/operations/vaults.js +242 -261
  438. package/dist/react-native/operations/vaults.js.map +1 -1
  439. package/dist/react-native/operationsInterfaces/index.d.ts +6 -6
  440. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  441. package/dist/react-native/operationsInterfaces/index.js +10 -13
  442. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  443. package/dist/react-native/operationsInterfaces/keys.d.ts +20 -22
  444. package/dist/react-native/operationsInterfaces/keys.d.ts.map +1 -1
  445. package/dist/react-native/operationsInterfaces/keys.js +2 -7
  446. package/dist/react-native/operationsInterfaces/keys.js.map +1 -1
  447. package/dist/react-native/operationsInterfaces/managedHsmKeys.d.ts +10 -10
  448. package/dist/react-native/operationsInterfaces/managedHsmKeys.d.ts.map +1 -1
  449. package/dist/react-native/operationsInterfaces/managedHsmKeys.js +2 -7
  450. package/dist/react-native/operationsInterfaces/managedHsmKeys.js.map +1 -1
  451. package/dist/react-native/operationsInterfaces/managedHsms.d.ts +54 -54
  452. package/dist/react-native/operationsInterfaces/managedHsms.d.ts.map +1 -1
  453. package/dist/react-native/operationsInterfaces/managedHsms.js +2 -7
  454. package/dist/react-native/operationsInterfaces/managedHsms.js.map +1 -1
  455. package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts +13 -13
  456. package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  457. package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.js +2 -7
  458. package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
  459. package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.d.ts +3 -3
  460. package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.d.ts.map +1 -1
  461. package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.js +2 -7
  462. package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
  463. package/dist/react-native/operationsInterfaces/mhsmRegions.d.ts +4 -4
  464. package/dist/react-native/operationsInterfaces/mhsmRegions.d.ts.map +1 -1
  465. package/dist/react-native/operationsInterfaces/mhsmRegions.js +2 -7
  466. package/dist/react-native/operationsInterfaces/mhsmRegions.js.map +1 -1
  467. package/dist/react-native/operationsInterfaces/operations.d.ts +3 -3
  468. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  469. package/dist/react-native/operationsInterfaces/operations.js +2 -7
  470. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  471. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +13 -13
  472. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  473. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +2 -7
  474. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  475. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +3 -3
  476. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  477. package/dist/react-native/operationsInterfaces/privateLinkResources.js +2 -7
  478. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -1
  479. package/dist/react-native/operationsInterfaces/secrets.d.ts +18 -20
  480. package/dist/react-native/operationsInterfaces/secrets.d.ts.map +1 -1
  481. package/dist/react-native/operationsInterfaces/secrets.js +2 -7
  482. package/dist/react-native/operationsInterfaces/secrets.js.map +1 -1
  483. package/dist/react-native/operationsInterfaces/vaults.d.ts +50 -50
  484. package/dist/react-native/operationsInterfaces/vaults.d.ts.map +1 -1
  485. package/dist/react-native/operationsInterfaces/vaults.js +2 -7
  486. package/dist/react-native/operationsInterfaces/vaults.js.map +1 -1
  487. package/dist/react-native/pagingHelper.d.ts.map +1 -1
  488. package/dist/react-native/pagingHelper.js +2 -7
  489. package/dist/react-native/pagingHelper.js.map +1 -1
  490. package/package.json +40 -41
  491. package/CHANGELOG.md +0 -121
  492. package/review/arm-keyvault-node.api.md +0 -1722
@@ -1 +1 @@
1
- {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names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OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,wCAAwC,CAAC,EACxD,wCAAwC,CACzC,CACF;IA4DD;;;;;;;OAOG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC;IAUpD;;;;;;OAMG;IACH,OAAO,CAAC,eAAe;IAWvB;;;;;;OAMG;IACH,OAAO,CAAC,mBAAmB;CAW5B"}
1
+ {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,yBAAyB,EAEzB,sDAAsD,EAEtD,2CAA2C,EAC3C,qCAAqC,EACrC,2CAA2C,EAC3C,qCAAqC,EACrC,8CAA8C,EAC9C,wCAAwC,EAEzC,MAAM,oBAAoB,CAAC;AAG5B,8DAA8D;AAC9D,qBAAa,8BAA+B,YAAW,0BAA0B;IAC/E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;;;;OAMG;IACI,cAAc,CACnB,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,0BAA0B,CAAC,yBAAyB,CAAC;YAkBzC,wBAAwB;YA6BxB,uBAAuB;IAUtC;;;;;;OAMG;IACH,OAAO,CAAC,eAAe;IAWvB;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAOjD;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,6BAA6B,EAAE,MAAM,EACrC,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAajD;;;;;;;OAOG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,wCAAwC,CAAC,EACxD,wCAAwC,CACzC,CACF;IA4DD;;;;;;;OAOG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC;IAUpD;;;;;;OAMG;IACH,OAAO,CAAC,mBAAmB;CAW5B"}
@@ -1,15 +1,10 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
8
3
  import { setContinuationToken } from "../pagingHelper.js";
9
4
  import * as coreClient from "@azure/core-client";
10
5
  import * as Mappers from "../models/mappers.js";
11
6
  import * as Parameters from "../models/parameters.js";
12
- import { createHttpPoller, } from "@azure/core-lro";
7
+ import { createHttpPoller } from "@azure/core-lro";
13
8
  import { createLroSpec } from "../lroImpl.js";
14
9
  /// <reference lib="esnext.asynciterable" />
15
10
  /** Class containing PrivateEndpointConnections operations. */
@@ -25,8 +20,8 @@ export class PrivateEndpointConnectionsImpl {
25
20
  /**
26
21
  * The List operation gets information about the private endpoint connections associated with the
27
22
  * vault.
28
- * @param resourceGroupName Name of the resource group that contains the key vault.
29
- * @param vaultName The name of the key vault.
23
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
24
+ * @param vaultName The name of the vault.
30
25
  * @param options The options parameters.
31
26
  */
32
27
  listByResource(resourceGroupName, vaultName, options) {
@@ -51,7 +46,7 @@ export class PrivateEndpointConnectionsImpl {
51
46
  let continuationToken = settings?.continuationToken;
52
47
  if (!continuationToken) {
53
48
  result = await this._listByResource(resourceGroupName, vaultName, options);
54
- let page = result.value || [];
49
+ const page = result.value || [];
55
50
  continuationToken = result.nextLink;
56
51
  setContinuationToken(page, continuationToken);
57
52
  yield page;
@@ -59,7 +54,7 @@ export class PrivateEndpointConnectionsImpl {
59
54
  while (continuationToken) {
60
55
  result = await this._listByResourceNext(resourceGroupName, vaultName, continuationToken, options);
61
56
  continuationToken = result.nextLink;
62
- let page = result.value || [];
57
+ const page = result.value || [];
63
58
  setContinuationToken(page, continuationToken);
64
59
  yield page;
65
60
  }
@@ -69,10 +64,20 @@ export class PrivateEndpointConnectionsImpl {
69
64
  yield* page;
70
65
  }
71
66
  }
67
+ /**
68
+ * The List operation gets information about the private endpoint connections associated with the
69
+ * vault.
70
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
+ * @param vaultName The name of the vault.
72
+ * @param options The options parameters.
73
+ */
74
+ _listByResource(resourceGroupName, vaultName, options) {
75
+ return this.client.sendOperationRequest({ resourceGroupName, vaultName, options }, listByResourceOperationSpec);
76
+ }
72
77
  /**
73
78
  * Gets the specified private endpoint connection associated with the key vault.
74
- * @param resourceGroupName Name of the resource group that contains the key vault.
75
- * @param vaultName The name of the key vault.
79
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
80
+ * @param vaultName The name of the vault.
76
81
  * @param privateEndpointConnectionName Name of the private endpoint connection associated with the key
77
82
  * vault.
78
83
  * @param options The options parameters.
@@ -82,8 +87,8 @@ export class PrivateEndpointConnectionsImpl {
82
87
  }
83
88
  /**
84
89
  * Updates the specified private endpoint connection associated with the key vault.
85
- * @param resourceGroupName Name of the resource group that contains the key vault.
86
- * @param vaultName The name of the key vault.
90
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
91
+ * @param vaultName The name of the vault.
87
92
  * @param privateEndpointConnectionName Name of the private endpoint connection associated with the key
88
93
  * vault.
89
94
  * @param properties The intended state of private endpoint connection.
@@ -100,8 +105,8 @@ export class PrivateEndpointConnectionsImpl {
100
105
  }
101
106
  /**
102
107
  * Deletes the specified private endpoint connection associated with the key vault.
103
- * @param resourceGroupName Name of the resource group that contains the key vault.
104
- * @param vaultName The name of the key vault.
108
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
109
+ * @param vaultName The name of the vault.
105
110
  * @param privateEndpointConnectionName Name of the private endpoint connection associated with the key
106
111
  * vault.
107
112
  * @param options The options parameters.
@@ -147,14 +152,15 @@ export class PrivateEndpointConnectionsImpl {
147
152
  const poller = await createHttpPoller(lro, {
148
153
  restoreFrom: options?.resumeFrom,
149
154
  intervalInMs: options?.updateIntervalInMs,
155
+ resourceLocationConfig: "location",
150
156
  });
151
157
  await poller.poll();
152
158
  return poller;
153
159
  }
154
160
  /**
155
161
  * Deletes the specified private endpoint connection associated with the key vault.
156
- * @param resourceGroupName Name of the resource group that contains the key vault.
157
- * @param vaultName The name of the key vault.
162
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
163
+ * @param vaultName The name of the vault.
158
164
  * @param privateEndpointConnectionName Name of the private endpoint connection associated with the key
159
165
  * vault.
160
166
  * @param options The options parameters.
@@ -163,20 +169,10 @@ export class PrivateEndpointConnectionsImpl {
163
169
  const poller = await this.beginDelete(resourceGroupName, vaultName, privateEndpointConnectionName, options);
164
170
  return poller.pollUntilDone();
165
171
  }
166
- /**
167
- * The List operation gets information about the private endpoint connections associated with the
168
- * vault.
169
- * @param resourceGroupName Name of the resource group that contains the key vault.
170
- * @param vaultName The name of the key vault.
171
- * @param options The options parameters.
172
- */
173
- _listByResource(resourceGroupName, vaultName, options) {
174
- return this.client.sendOperationRequest({ resourceGroupName, vaultName, options }, listByResourceOperationSpec);
175
- }
176
172
  /**
177
173
  * ListByResourceNext
178
- * @param resourceGroupName Name of the resource group that contains the key vault.
179
- * @param vaultName The name of the key vault.
174
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
175
+ * @param vaultName The name of the vault.
180
176
  * @param nextLink The nextLink from the previous successful call to the ListByResource method.
181
177
  * @param options The options parameters.
182
178
  */
@@ -186,6 +182,27 @@ export class PrivateEndpointConnectionsImpl {
186
182
  }
187
183
  // Operation Specifications
188
184
  const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
185
+ const listByResourceOperationSpec = {
186
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections",
187
+ httpMethod: "GET",
188
+ responses: {
189
+ 200: {
190
+ bodyMapper: Mappers.PrivateEndpointConnectionListResult,
191
+ },
192
+ default: {
193
+ bodyMapper: Mappers.CloudError,
194
+ },
195
+ },
196
+ queryParameters: [Parameters.apiVersion],
197
+ urlParameters: [
198
+ Parameters.$host,
199
+ Parameters.subscriptionId,
200
+ Parameters.resourceGroupName,
201
+ Parameters.vaultName1,
202
+ ],
203
+ headerParameters: [Parameters.accept],
204
+ serializer,
205
+ };
189
206
  const getOperationSpec = {
190
207
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}",
191
208
  httpMethod: "GET",
@@ -203,7 +220,7 @@ const getOperationSpec = {
203
220
  Parameters.$host,
204
221
  Parameters.subscriptionId,
205
222
  Parameters.resourceGroupName,
206
- Parameters.vaultName,
223
+ Parameters.vaultName1,
207
224
  Parameters.privateEndpointConnectionName,
208
225
  ],
209
226
  headerParameters: [Parameters.accept],
@@ -221,16 +238,16 @@ const putOperationSpec = {
221
238
  bodyMapper: Mappers.CloudError,
222
239
  },
223
240
  },
224
- requestBody: Parameters.properties,
241
+ requestBody: Parameters.properties1,
225
242
  queryParameters: [Parameters.apiVersion],
226
243
  urlParameters: [
227
244
  Parameters.$host,
228
245
  Parameters.subscriptionId,
229
246
  Parameters.resourceGroupName,
230
- Parameters.vaultName,
247
+ Parameters.vaultName1,
231
248
  Parameters.privateEndpointConnectionName,
232
249
  ],
233
- headerParameters: [Parameters.contentType, Parameters.accept],
250
+ headerParameters: [Parameters.accept, Parameters.contentType],
234
251
  mediaType: "json",
235
252
  serializer,
236
253
  };
@@ -259,33 +276,12 @@ const deleteOperationSpec = {
259
276
  Parameters.$host,
260
277
  Parameters.subscriptionId,
261
278
  Parameters.resourceGroupName,
262
- Parameters.vaultName,
279
+ Parameters.vaultName1,
263
280
  Parameters.privateEndpointConnectionName,
264
281
  ],
265
282
  headerParameters: [Parameters.accept],
266
283
  serializer,
267
284
  };
268
- const listByResourceOperationSpec = {
269
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections",
270
- httpMethod: "GET",
271
- responses: {
272
- 200: {
273
- bodyMapper: Mappers.PrivateEndpointConnectionListResult,
274
- },
275
- default: {
276
- bodyMapper: Mappers.CloudError,
277
- },
278
- },
279
- queryParameters: [Parameters.apiVersion],
280
- urlParameters: [
281
- Parameters.$host,
282
- Parameters.subscriptionId,
283
- Parameters.resourceGroupName,
284
- Parameters.vaultName,
285
- ],
286
- headerParameters: [Parameters.accept],
287
- serializer,
288
- };
289
285
  const listByResourceNextOperationSpec = {
290
286
  path: "{nextLink}",
291
287
  httpMethod: "GET",
@@ -299,10 +295,10 @@ const listByResourceNextOperationSpec = {
299
295
  },
300
296
  urlParameters: [
301
297
  Parameters.$host,
298
+ Parameters.nextLink,
302
299
  Parameters.subscriptionId,
303
300
  Parameters.resourceGroupName,
304
- Parameters.vaultName,
305
- Parameters.nextLink,
301
+ Parameters.vaultName1,
306
302
  ],
307
303
  headerParameters: [Parameters.accept],
308
304
  serializer,
@@ -1 +1 @@
1
- {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAe9C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IAGxB,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,cAAc,CACnB,iBAAyB,EACzB,SAAiB,EACjB,OAAgE;QAEhE,MAAM,IAAI,GAAG,IAAI,CAAC,uBAAuB,CACvC,iBAAiB,EACjB,SAAS,EACT,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,C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AC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { PrivateEndpointConnections } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { KeyVaultManagementClient } from \"../keyVaultManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n PrivateEndpointConnection,\n PrivateEndpointConnectionsListByResourceNextOptionalParams,\n PrivateEndpointConnectionsListByResourceOptionalParams,\n PrivateEndpointConnectionsListByResourceResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsPutOptionalParams,\n PrivateEndpointConnectionsPutResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsDeleteResponse,\n PrivateEndpointConnectionsListByResourceNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl\n implements PrivateEndpointConnections\n{\n private readonly client: KeyVaultManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: KeyVaultManagementClient) {\n this.client = client;\n }\n\n /**\n * The List operation gets information about the private endpoint connections associated with the\n * vault.\n * @param resourceGroupName Name of the resource group that contains the key vault.\n * @param vaultName The name of the key vault.\n * @param options The options parameters.\n */\n public listByResource(\n resourceGroupName: string,\n vaultName: string,\n options?: PrivateEndpointConnectionsListByResourceOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnection> {\n const iter = this.listByResourcePagingAll(\n resourceGroupName,\n vaultName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourcePagingPage(\n resourceGroupName,\n vaultName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourcePagingPage(\n resourceGroupName: string,\n vaultName: string,\n options?: PrivateEndpointConnectionsListByResourceOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PrivateEndpointConnection[]> {\n let result: PrivateEndpointConnectionsListByResourceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResource(\n resourceGroupName,\n vaultName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceNext(\n resourceGroupName,\n vaultName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourcePagingAll(\n resourceGroupName: string,\n vaultName: string,\n options?: PrivateEndpointConnectionsListByResourceOptionalParams,\n ): AsyncIterableIterator<PrivateEndpointConnection> {\n for await (const page of this.listByResourcePagingPage(\n resourceGroupName,\n vaultName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the specified private endpoint connection associated with the key vault.\n * @param resourceGroupName Name of the resource group that contains the key vault.\n * @param vaultName The name of the key vault.\n * @param privateEndpointConnectionName Name of the private endpoint connection associated with the key\n * vault.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n vaultName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, privateEndpointConnectionName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Updates the specified private endpoint connection associated with the key vault.\n * @param resourceGroupName Name of the resource group that contains the key vault.\n * @param vaultName The name of the key vault.\n * @param privateEndpointConnectionName Name of the private endpoint connection associated with the key\n * vault.\n * @param properties The intended state of private endpoint connection.\n * @param options The options parameters.\n */\n put(\n resourceGroupName: string,\n vaultName: string,\n privateEndpointConnectionName: string,\n properties: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsPutOptionalParams,\n ): Promise<PrivateEndpointConnectionsPutResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n vaultName,\n privateEndpointConnectionName,\n properties,\n options,\n },\n putOperationSpec,\n );\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the key vault.\n * @param resourceGroupName Name of the resource group that contains the key vault.\n * @param vaultName The name of the key vault.\n * @param privateEndpointConnectionName Name of the private endpoint connection associated with the key\n * vault.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n vaultName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsDeleteResponse>,\n PrivateEndpointConnectionsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PrivateEndpointConnectionsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n vaultName,\n privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionsDeleteResponse,\n OperationState<PrivateEndpointConnectionsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the key vault.\n * @param resourceGroupName Name of the resource group that contains the key vault.\n * @param vaultName The name of the key vault.\n * @param privateEndpointConnectionName Name of the private endpoint connection associated with the key\n * vault.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n vaultName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<PrivateEndpointConnectionsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n vaultName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The List operation gets information about the private endpoint connections associated with the\n * vault.\n * @param resourceGroupName Name of the resource group that contains the key vault.\n * @param vaultName The name of the key vault.\n * @param options The options parameters.\n */\n private _listByResource(\n resourceGroupName: string,\n vaultName: string,\n options?: PrivateEndpointConnectionsListByResourceOptionalParams,\n ): Promise<PrivateEndpointConnectionsListByResourceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, options },\n listByResourceOperationSpec,\n );\n }\n\n /**\n * ListByResourceNext\n * @param resourceGroupName Name of the resource group that contains the key vault.\n * @param vaultName The name of the key vault.\n * @param nextLink The nextLink from the previous successful call to the ListByResource method.\n * @param options The options parameters.\n */\n private _listByResourceNext(\n resourceGroupName: string,\n vaultName: string,\n nextLink: string,\n options?: PrivateEndpointConnectionsListByResourceNextOptionalParams,\n ): Promise<PrivateEndpointConnectionsListByResourceNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, nextLink, options },\n listByResourceNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst putOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n headersMapper: Mappers.PrivateEndpointConnectionsPutHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.properties,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAe9C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IACxB,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,cAAc,CACnB,iBAAyB,EACzB,SAAiB,EACjB,OAAgE;QAEhE,MAAM,IAAI,GAAG,IAAI,CAAC,uBAAuB,CAAC,iBAAiB,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;QACjF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KA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5B,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { PrivateEndpointConnections } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { KeyVaultManagementClient } from \"../keyVaultManagementClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n PrivateEndpointConnection,\n PrivateEndpointConnectionsListByResourceNextOptionalParams,\n PrivateEndpointConnectionsListByResourceOptionalParams,\n PrivateEndpointConnectionsListByResourceResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsPutOptionalParams,\n PrivateEndpointConnectionsPutResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsDeleteResponse,\n PrivateEndpointConnectionsListByResourceNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {\n private readonly client: KeyVaultManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: KeyVaultManagementClient) {\n this.client = client;\n }\n\n /**\n * The List operation gets information about the private endpoint connections associated with the\n * vault.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault.\n * @param options The options parameters.\n */\n public listByResource(\n resourceGroupName: string,\n vaultName: string,\n options?: PrivateEndpointConnectionsListByResourceOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnection> {\n const iter = this.listByResourcePagingAll(resourceGroupName, vaultName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourcePagingPage(resourceGroupName, vaultName, options, settings);\n },\n };\n }\n\n private async *listByResourcePagingPage(\n resourceGroupName: string,\n vaultName: string,\n options?: PrivateEndpointConnectionsListByResourceOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PrivateEndpointConnection[]> {\n let result: PrivateEndpointConnectionsListByResourceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResource(resourceGroupName, vaultName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceNext(\n resourceGroupName,\n vaultName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourcePagingAll(\n resourceGroupName: string,\n vaultName: string,\n options?: PrivateEndpointConnectionsListByResourceOptionalParams,\n ): AsyncIterableIterator<PrivateEndpointConnection> {\n for await (const page of this.listByResourcePagingPage(resourceGroupName, vaultName, options)) {\n yield* page;\n }\n }\n\n /**\n * The List operation gets information about the private endpoint connections associated with the\n * vault.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault.\n * @param options The options parameters.\n */\n private _listByResource(\n resourceGroupName: string,\n vaultName: string,\n options?: PrivateEndpointConnectionsListByResourceOptionalParams,\n ): Promise<PrivateEndpointConnectionsListByResourceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, options },\n listByResourceOperationSpec,\n );\n }\n\n /**\n * Gets the specified private endpoint connection associated with the key vault.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault.\n * @param privateEndpointConnectionName Name of the private endpoint connection associated with the key\n * vault.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n vaultName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, privateEndpointConnectionName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Updates the specified private endpoint connection associated with the key vault.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault.\n * @param privateEndpointConnectionName Name of the private endpoint connection associated with the key\n * vault.\n * @param properties The intended state of private endpoint connection.\n * @param options The options parameters.\n */\n put(\n resourceGroupName: string,\n vaultName: string,\n privateEndpointConnectionName: string,\n properties: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsPutOptionalParams,\n ): Promise<PrivateEndpointConnectionsPutResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n vaultName,\n privateEndpointConnectionName,\n properties,\n options,\n },\n putOperationSpec,\n );\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the key vault.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault.\n * @param privateEndpointConnectionName Name of the private endpoint connection associated with the key\n * vault.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n vaultName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsDeleteResponse>,\n PrivateEndpointConnectionsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PrivateEndpointConnectionsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n vaultName,\n privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionsDeleteResponse,\n OperationState<PrivateEndpointConnectionsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the key vault.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault.\n * @param privateEndpointConnectionName Name of the private endpoint connection associated with the key\n * vault.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n vaultName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<PrivateEndpointConnectionsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n vaultName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByResourceNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault.\n * @param nextLink The nextLink from the previous successful call to the ListByResource method.\n * @param options The options parameters.\n */\n private _listByResourceNext(\n resourceGroupName: string,\n vaultName: string,\n nextLink: string,\n options?: PrivateEndpointConnectionsListByResourceNextOptionalParams,\n ): Promise<PrivateEndpointConnectionsListByResourceNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, nextLink, options },\n listByResourceNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByResourceOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName1,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst putOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n headersMapper: Mappers.PrivateEndpointConnectionsPutHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.properties1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName1,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName1,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { PrivateLinkResources } from "../operationsInterfaces/index.js";
2
- import { KeyVaultManagementClient } from "../keyVaultManagementClient.js";
3
- import { PrivateLinkResourcesListByVaultOptionalParams, PrivateLinkResourcesListByVaultResponse } from "../models/index.js";
1
+ import type { PrivateLinkResources } from "../operationsInterfaces/index.js";
2
+ import type { KeyVaultManagementClient } from "../keyVaultManagementClient.js";
3
+ import type { PrivateLinkResourcesListByVaultOptionalParams, PrivateLinkResourcesListByVaultResponse } from "../models/index.js";
4
4
  /** Class containing PrivateLinkResources operations. */
5
5
  export declare class PrivateLinkResourcesImpl implements PrivateLinkResources {
6
6
  private readonly client;
@@ -11,8 +11,8 @@ export declare class PrivateLinkResourcesImpl implements PrivateLinkResources {
11
11
  constructor(client: KeyVaultManagementClient);
12
12
  /**
13
13
  * Gets the private link resources supported for the key vault.
14
- * @param resourceGroupName Name of the resource group that contains the key vault.
15
- * @param vaultName The name of the key vault.
14
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
15
+ * @param vaultName The name of the vault.
16
16
  * @param options The options parameters.
17
17
  */
18
18
  listByVault(resourceGroupName: string, vaultName: string, options?: PrivateLinkResourcesListByVaultOptionalParams): Promise<PrivateLinkResourcesListByVaultResponse>;
@@ -1 +1 @@
1
- {"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAIxE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EACL,6CAA6C,EAC7C,uCAAuC,EACxC,MAAM,oBAAoB,CAAC;AAE5B,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;CAMpD"}
1
+ {"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAI7E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,EACV,6CAA6C,EAC7C,uCAAuC,EACxC,MAAM,oBAAoB,CAAC;AAE5B,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;CAMpD"}
@@ -1,10 +1,5 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
8
3
  import * as coreClient from "@azure/core-client";
9
4
  import * as Mappers from "../models/mappers.js";
10
5
  import * as Parameters from "../models/parameters.js";
@@ -20,8 +15,8 @@ export class PrivateLinkResourcesImpl {
20
15
  }
21
16
  /**
22
17
  * Gets the private link resources supported for the key vault.
23
- * @param resourceGroupName Name of the resource group that contains the key vault.
24
- * @param vaultName The name of the key vault.
18
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
19
+ * @param vaultName The name of the vault.
25
20
  * @param options The options parameters.
26
21
  */
27
22
  listByVault(resourceGroupName, vaultName, options) {
@@ -46,7 +41,7 @@ const listByVaultOperationSpec = {
46
41
  Parameters.$host,
47
42
  Parameters.subscriptionId,
48
43
  Parameters.resourceGroupName,
49
- Parameters.vaultName,
44
+ Parameters.vaultName1,
50
45
  ],
51
46
  headerParameters: [Parameters.accept],
52
47
  serializer,
@@ -1 +1 @@
1
- {"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAClB,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,WAAW,CACT,iBAAyB,EACzB,SAAiB,EACjB,OAAuD;QAEvD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,SAAS,EAAE,OAAO,EAAE,EACzC,wBAAwB,CACzB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,wBAAwB,GAA6B;IACzD,IAAI,EAAE,yIAAyI;IAC/I,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,SAAS;KACrB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PrivateLinkResources } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { KeyVaultManagementClient } from \"../keyVaultManagementClient.js\";\nimport {\n PrivateLinkResourcesListByVaultOptionalParams,\n PrivateLinkResourcesListByVaultResponse,\n} from \"../models/index.js\";\n\n/** Class containing PrivateLinkResources operations. */\nexport class PrivateLinkResourcesImpl implements PrivateLinkResources {\n private readonly client: KeyVaultManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateLinkResources class.\n * @param client Reference to the service client\n */\n constructor(client: KeyVaultManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the private link resources supported for the key vault.\n * @param resourceGroupName Name of the resource group that contains the key vault.\n * @param vaultName The name of the key vault.\n * @param options The options parameters.\n */\n listByVault(\n resourceGroupName: string,\n vaultName: string,\n options?: PrivateLinkResourcesListByVaultOptionalParams,\n ): Promise<PrivateLinkResourcesListByVaultResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, options },\n listByVaultOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByVaultOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResourceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAClB,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,WAAW,CACT,iBAAyB,EACzB,SAAiB,EACjB,OAAuD;QAEvD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,SAAS,EAAE,OAAO,EAAE,EACzC,wBAAwB,CACzB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,wBAAwB,GAA6B;IACzD,IAAI,EAAE,yIAAyI;IAC/I,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PrivateLinkResources } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { KeyVaultManagementClient } from \"../keyVaultManagementClient.js\";\nimport type {\n PrivateLinkResourcesListByVaultOptionalParams,\n PrivateLinkResourcesListByVaultResponse,\n} from \"../models/index.js\";\n\n/** Class containing PrivateLinkResources operations. */\nexport class PrivateLinkResourcesImpl implements PrivateLinkResources {\n private readonly client: KeyVaultManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateLinkResources class.\n * @param client Reference to the service client\n */\n constructor(client: KeyVaultManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the private link resources supported for the key vault.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault.\n * @param options The options parameters.\n */\n listByVault(\n resourceGroupName: string,\n vaultName: string,\n options?: PrivateLinkResourcesListByVaultOptionalParams,\n ): Promise<PrivateLinkResourcesListByVaultResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, options },\n listByVaultOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByVaultOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResourceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,7 +1,7 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Secrets } from "../operationsInterfaces/index.js";
3
- import { KeyVaultManagementClient } from "../keyVaultManagementClient.js";
4
- import { Secret, SecretsListOptionalParams, SecretCreateOrUpdateParameters, SecretsCreateOrUpdateOptionalParams, SecretsCreateOrUpdateResponse, SecretPatchParameters, SecretsUpdateOptionalParams, SecretsUpdateResponse, SecretsGetOptionalParams, SecretsGetResponse } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { Secrets } from "../operationsInterfaces/index.js";
3
+ import type { KeyVaultManagementClient } from "../keyVaultManagementClient.js";
4
+ import type { Secret, SecretsListOptionalParams, SecretsGetOptionalParams, SecretsGetResponse, SecretCreateOrUpdateParameters, SecretsCreateOrUpdateOptionalParams, SecretsCreateOrUpdateResponse, SecretPatchParameters, SecretsUpdateOptionalParams, SecretsUpdateResponse } from "../models/index.js";
5
5
  /** Class containing Secrets operations. */
6
6
  export declare class SecretsImpl implements Secrets {
7
7
  private readonly client;
@@ -14,7 +14,7 @@ export declare class SecretsImpl implements Secrets {
14
14
  * The List operation gets information about the secrets in a vault. NOTE: This API is intended for
15
15
  * internal use in ARM deployments. Users should use the data-plane REST service for interaction with
16
16
  * vault secrets.
17
- * @param resourceGroupName The name of the Resource Group to which the vault belongs.
17
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
18
18
  * @param vaultName The name of the vault.
19
19
  * @param options The options parameters.
20
20
  */
@@ -22,49 +22,47 @@ export declare class SecretsImpl implements Secrets {
22
22
  private listPagingPage;
23
23
  private listPagingAll;
24
24
  /**
25
- * Create or update a secret in a key vault in the specified subscription. NOTE: This API is intended
26
- * for internal use in ARM deployments. Users should use the data-plane REST service for interaction
27
- * with vault secrets.
28
- * @param resourceGroupName The name of the Resource Group to which the vault belongs.
29
- * @param vaultName Name of the vault
30
- * @param secretName Name of the secret. The value you provide may be copied globally for the purpose
31
- * of running the service. The value provided should not include personally identifiable or sensitive
32
- * information.
33
- * @param parameters Parameters to create or update the secret
34
- * @param options The options parameters.
35
- */
36
- createOrUpdate(resourceGroupName: string, vaultName: string, secretName: string, parameters: SecretCreateOrUpdateParameters, options?: SecretsCreateOrUpdateOptionalParams): Promise<SecretsCreateOrUpdateResponse>;
37
- /**
38
- * Update a secret in the specified subscription. NOTE: This API is intended for internal use in ARM
39
- * deployments. Users should use the data-plane REST service for interaction with vault secrets.
40
- * @param resourceGroupName The name of the Resource Group to which the vault belongs.
41
- * @param vaultName Name of the vault
42
- * @param secretName Name of the secret
43
- * @param parameters Parameters to patch the secret
25
+ * The List operation gets information about the secrets in a vault. NOTE: This API is intended for
26
+ * internal use in ARM deployments. Users should use the data-plane REST service for interaction with
27
+ * vault secrets.
28
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
29
+ * @param vaultName The name of the vault.
44
30
  * @param options The options parameters.
45
31
  */
46
- update(resourceGroupName: string, vaultName: string, secretName: string, parameters: SecretPatchParameters, options?: SecretsUpdateOptionalParams): Promise<SecretsUpdateResponse>;
32
+ private _list;
47
33
  /**
48
34
  * Gets the specified secret. NOTE: This API is intended for internal use in ARM deployments. Users
49
35
  * should use the data-plane REST service for interaction with vault secrets.
50
- * @param resourceGroupName The name of the Resource Group to which the vault belongs.
36
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
51
37
  * @param vaultName The name of the vault.
52
38
  * @param secretName The name of the secret.
53
39
  * @param options The options parameters.
54
40
  */
55
41
  get(resourceGroupName: string, vaultName: string, secretName: string, options?: SecretsGetOptionalParams): Promise<SecretsGetResponse>;
56
42
  /**
57
- * The List operation gets information about the secrets in a vault. NOTE: This API is intended for
58
- * internal use in ARM deployments. Users should use the data-plane REST service for interaction with
59
- * vault secrets.
60
- * @param resourceGroupName The name of the Resource Group to which the vault belongs.
43
+ * Create or update a secret in a key vault in the specified subscription. NOTE: This API is intended
44
+ * for internal use in ARM deployments. Users should use the data-plane REST service for interaction
45
+ * with vault secrets.
46
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
61
47
  * @param vaultName The name of the vault.
48
+ * @param secretName The name of the secret.
49
+ * @param parameters Parameters to create or update the secret
62
50
  * @param options The options parameters.
63
51
  */
64
- private _list;
52
+ createOrUpdate(resourceGroupName: string, vaultName: string, secretName: string, parameters: SecretCreateOrUpdateParameters, options?: SecretsCreateOrUpdateOptionalParams): Promise<SecretsCreateOrUpdateResponse>;
53
+ /**
54
+ * Update a secret in the specified subscription. NOTE: This API is intended for internal use in ARM
55
+ * deployments. Users should use the data-plane REST service for interaction with vault secrets.
56
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
57
+ * @param vaultName The name of the vault.
58
+ * @param secretName The name of the secret.
59
+ * @param parameters Parameters to patch the secret
60
+ * @param options The options parameters.
61
+ */
62
+ update(resourceGroupName: string, vaultName: string, secretName: string, parameters: SecretPatchParameters, options?: SecretsUpdateOptionalParams): Promise<SecretsUpdateResponse>;
65
63
  /**
66
64
  * ListNext
67
- * @param resourceGroupName The name of the Resource Group to which the vault belongs.
65
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
68
66
  * @param vaultName The name of the vault.
69
67
  * @param nextLink The nextLink from the previous successful call to the List method.
70
68
  * @param options The options parameters.
@@ -1 +1 @@
1
- {"version":3,"file":"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