@pulumi/artifactory 2.0.0 → 2.2.0-alpha.1654079683

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 (419) hide show
  1. package/accessToken.d.ts +2 -2
  2. package/alpineRepository.d.ts +15 -9
  3. package/alpineRepository.js +9 -3
  4. package/alpineRepository.js.map +1 -1
  5. package/anonymousUser.d.ts +3 -6
  6. package/anonymousUser.js.map +1 -1
  7. package/artifactPropertyWebhook.d.ts +27 -69
  8. package/artifactPropertyWebhook.js +14 -20
  9. package/artifactPropertyWebhook.js.map +1 -1
  10. package/artifactWebhook.d.ts +27 -69
  11. package/artifactWebhook.js +14 -20
  12. package/artifactWebhook.js.map +1 -1
  13. package/artifactoryReleaseBundleWebhook.d.ts +30 -71
  14. package/artifactoryReleaseBundleWebhook.js +20 -25
  15. package/artifactoryReleaseBundleWebhook.js.map +1 -1
  16. package/backup.d.ts +5 -6
  17. package/backup.js +2 -3
  18. package/backup.js.map +1 -1
  19. package/buildWebhook.d.ts +27 -69
  20. package/buildWebhook.js +14 -20
  21. package/buildWebhook.js.map +1 -1
  22. package/certificate.d.ts +0 -2
  23. package/certificate.js +0 -2
  24. package/certificate.js.map +1 -1
  25. package/config/vars.d.ts +2 -1
  26. package/config/vars.js.map +1 -1
  27. package/debianRepository.d.ts +27 -18
  28. package/debianRepository.js +9 -3
  29. package/debianRepository.js.map +1 -1
  30. package/distributionWebhook.d.ts +24 -66
  31. package/distributionWebhook.js +14 -20
  32. package/distributionWebhook.js.map +1 -1
  33. package/dockerV1Repository.d.ts +13 -7
  34. package/dockerV1Repository.js +10 -4
  35. package/dockerV1Repository.js.map +1 -1
  36. package/dockerV2Repository.d.ts +33 -15
  37. package/dockerV2Repository.js +9 -3
  38. package/dockerV2Repository.js.map +1 -1
  39. package/dockerWebhook.d.ts +27 -69
  40. package/dockerWebhook.js +14 -20
  41. package/dockerWebhook.js.map +1 -1
  42. package/federatedAlpineRepository.d.ts +109 -10
  43. package/federatedAlpineRepository.js +13 -3
  44. package/federatedAlpineRepository.js.map +1 -1
  45. package/federatedBowerRepository.d.ts +91 -10
  46. package/federatedBowerRepository.js +9 -3
  47. package/federatedBowerRepository.js.map +1 -1
  48. package/federatedCargoRepository.d.ts +112 -10
  49. package/federatedCargoRepository.js +13 -3
  50. package/federatedCargoRepository.js.map +1 -1
  51. package/federatedChefRepository.d.ts +91 -10
  52. package/federatedChefRepository.js +9 -3
  53. package/federatedChefRepository.js.map +1 -1
  54. package/federatedCocoapodsRepository.d.ts +91 -10
  55. package/federatedCocoapodsRepository.js +9 -3
  56. package/federatedCocoapodsRepository.js.map +1 -1
  57. package/federatedComposerRepository.d.ts +91 -10
  58. package/federatedComposerRepository.js +9 -3
  59. package/federatedComposerRepository.js.map +1 -1
  60. package/federatedConanRepository.d.ts +93 -10
  61. package/federatedConanRepository.js +11 -3
  62. package/federatedConanRepository.js.map +1 -1
  63. package/federatedCondaRepository.d.ts +91 -10
  64. package/federatedCondaRepository.js +9 -3
  65. package/federatedCondaRepository.js.map +1 -1
  66. package/federatedCranRepository.d.ts +91 -10
  67. package/federatedCranRepository.js +9 -3
  68. package/federatedCranRepository.js.map +1 -1
  69. package/federatedDebianRepository.d.ts +136 -10
  70. package/federatedDebianRepository.js +17 -3
  71. package/federatedDebianRepository.js.map +1 -1
  72. package/federatedDockerRepository.d.ts +144 -10
  73. package/federatedDockerRepository.js +17 -3
  74. package/federatedDockerRepository.js.map +1 -1
  75. package/federatedGemsRepository.d.ts +91 -10
  76. package/federatedGemsRepository.js +9 -3
  77. package/federatedGemsRepository.js.map +1 -1
  78. package/federatedGenericRepository.d.ts +91 -16
  79. package/federatedGenericRepository.js +9 -3
  80. package/federatedGenericRepository.js.map +1 -1
  81. package/federatedGitltfsRepository.d.ts +91 -10
  82. package/federatedGitltfsRepository.js +9 -3
  83. package/federatedGitltfsRepository.js.map +1 -1
  84. package/federatedGoRepository.d.ts +91 -10
  85. package/federatedGoRepository.js +9 -3
  86. package/federatedGoRepository.js.map +1 -1
  87. package/federatedGradleRepository.d.ts +187 -10
  88. package/federatedGradleRepository.js +21 -3
  89. package/federatedGradleRepository.js.map +1 -1
  90. package/federatedHelmRepository.d.ts +91 -10
  91. package/federatedHelmRepository.js +9 -3
  92. package/federatedHelmRepository.js.map +1 -1
  93. package/federatedIvyRepository.d.ts +187 -10
  94. package/federatedIvyRepository.js +21 -3
  95. package/federatedIvyRepository.js.map +1 -1
  96. package/federatedMavenRepository.d.ts +187 -10
  97. package/federatedMavenRepository.js +21 -3
  98. package/federatedMavenRepository.js.map +1 -1
  99. package/federatedNpmRepository.d.ts +91 -10
  100. package/federatedNpmRepository.js +9 -3
  101. package/federatedNpmRepository.js.map +1 -1
  102. package/federatedNugetRepository.d.ts +118 -10
  103. package/federatedNugetRepository.js +13 -3
  104. package/federatedNugetRepository.js.map +1 -1
  105. package/federatedOpkgRepository.d.ts +91 -10
  106. package/federatedOpkgRepository.js +9 -3
  107. package/federatedOpkgRepository.js.map +1 -1
  108. package/federatedPuppetRepository.d.ts +91 -10
  109. package/federatedPuppetRepository.js +9 -3
  110. package/federatedPuppetRepository.js.map +1 -1
  111. package/federatedPypiRepository.d.ts +91 -10
  112. package/federatedPypiRepository.js +9 -3
  113. package/federatedPypiRepository.js.map +1 -1
  114. package/federatedRpmRepository.d.ts +157 -10
  115. package/federatedRpmRepository.js +21 -3
  116. package/federatedRpmRepository.js.map +1 -1
  117. package/federatedSbtRepository.d.ts +187 -10
  118. package/federatedSbtRepository.js +21 -3
  119. package/federatedSbtRepository.js.map +1 -1
  120. package/federatedVagrantRepository.d.ts +91 -10
  121. package/federatedVagrantRepository.js +9 -3
  122. package/federatedVagrantRepository.js.map +1 -1
  123. package/generalSecurity.d.ts +0 -2
  124. package/generalSecurity.js +0 -2
  125. package/generalSecurity.js.map +1 -1
  126. package/goRepository.d.ts +15 -16
  127. package/goRepository.js +3 -4
  128. package/goRepository.js.map +1 -1
  129. package/group.d.ts +12 -0
  130. package/group.js +2 -0
  131. package/group.js.map +1 -1
  132. package/index.d.ts +3 -0
  133. package/index.js +15 -0
  134. package/index.js.map +1 -1
  135. package/keypair.d.ts +8 -10
  136. package/keypair.js +0 -2
  137. package/keypair.js.map +1 -1
  138. package/ldapGroupSetting.d.ts +8 -9
  139. package/ldapGroupSetting.js +2 -3
  140. package/ldapGroupSetting.js.map +1 -1
  141. package/ldapSetting.d.ts +2 -3
  142. package/ldapSetting.js +2 -3
  143. package/ldapSetting.js.map +1 -1
  144. package/localBowerRepository.d.ts +12 -6
  145. package/localBowerRepository.js +9 -3
  146. package/localBowerRepository.js.map +1 -1
  147. package/localCargoRepository.d.ts +21 -9
  148. package/localCargoRepository.js +9 -3
  149. package/localCargoRepository.js.map +1 -1
  150. package/localChefRepository.d.ts +12 -6
  151. package/localChefRepository.js +9 -3
  152. package/localChefRepository.js.map +1 -1
  153. package/localCocoapodsRepository.d.ts +12 -6
  154. package/localCocoapodsRepository.js +9 -3
  155. package/localCocoapodsRepository.js.map +1 -1
  156. package/localComposerRepository.d.ts +12 -6
  157. package/localComposerRepository.js +9 -3
  158. package/localComposerRepository.js.map +1 -1
  159. package/localConanRepository.d.ts +12 -6
  160. package/localConanRepository.js +9 -3
  161. package/localConanRepository.js.map +1 -1
  162. package/localCondaRepository.d.ts +12 -6
  163. package/localCondaRepository.js +9 -3
  164. package/localCondaRepository.js.map +1 -1
  165. package/localCranRepository.d.ts +12 -6
  166. package/localCranRepository.js +9 -3
  167. package/localCranRepository.js.map +1 -1
  168. package/localGemsRepository.d.ts +12 -6
  169. package/localGemsRepository.js +9 -3
  170. package/localGemsRepository.js.map +1 -1
  171. package/localGenericRepository.d.ts +54 -24
  172. package/localGenericRepository.js +9 -3
  173. package/localGenericRepository.js.map +1 -1
  174. package/localGitltfsRepository.d.ts +12 -6
  175. package/localGitltfsRepository.js +9 -3
  176. package/localGitltfsRepository.js.map +1 -1
  177. package/localGoRepository.d.ts +12 -6
  178. package/localGoRepository.js +9 -3
  179. package/localGoRepository.js.map +1 -1
  180. package/localGradleRepository.d.ts +42 -33
  181. package/localGradleRepository.js +9 -3
  182. package/localGradleRepository.js.map +1 -1
  183. package/localHelmRepository.d.ts +12 -6
  184. package/localHelmRepository.js +9 -3
  185. package/localHelmRepository.js.map +1 -1
  186. package/localIvyRepository.d.ts +12 -6
  187. package/localIvyRepository.js +9 -3
  188. package/localIvyRepository.js.map +1 -1
  189. package/localMavenRepository.d.ts +45 -36
  190. package/localMavenRepository.js +9 -3
  191. package/localMavenRepository.js.map +1 -1
  192. package/localNpmRepository.d.ts +12 -6
  193. package/localNpmRepository.js +9 -3
  194. package/localNpmRepository.js.map +1 -1
  195. package/localNugetRepository.d.ts +24 -15
  196. package/localNugetRepository.js +9 -3
  197. package/localNugetRepository.js.map +1 -1
  198. package/localOpkgRepository.d.ts +12 -6
  199. package/localOpkgRepository.js +9 -3
  200. package/localOpkgRepository.js.map +1 -1
  201. package/localPubRepository.d.ts +231 -0
  202. package/localPubRepository.js +102 -0
  203. package/localPubRepository.js.map +1 -0
  204. package/localPuppetRepository.d.ts +12 -6
  205. package/localPuppetRepository.js +9 -3
  206. package/localPuppetRepository.js.map +1 -1
  207. package/localPypiRepository.d.ts +12 -6
  208. package/localPypiRepository.js +9 -3
  209. package/localPypiRepository.js.map +1 -1
  210. package/localRpmRepository.d.ts +60 -18
  211. package/localRpmRepository.js +9 -3
  212. package/localRpmRepository.js.map +1 -1
  213. package/localSbtRepository.d.ts +12 -6
  214. package/localSbtRepository.js +9 -3
  215. package/localSbtRepository.js.map +1 -1
  216. package/localVagrantRepository.d.ts +12 -6
  217. package/localVagrantRepository.js +9 -3
  218. package/localVagrantRepository.js.map +1 -1
  219. package/managedUser.d.ts +0 -2
  220. package/managedUser.js +0 -2
  221. package/managedUser.js.map +1 -1
  222. package/mavenRepository.d.ts +16 -20
  223. package/mavenRepository.js +4 -5
  224. package/mavenRepository.js.map +1 -1
  225. package/oauthSettings.d.ts +0 -2
  226. package/oauthSettings.js +0 -2
  227. package/oauthSettings.js.map +1 -1
  228. package/package.json +2 -2
  229. package/package.json.dev +2 -2
  230. package/permissionTarget.d.ts +25 -10
  231. package/permissionTarget.js +10 -4
  232. package/permissionTarget.js.map +1 -1
  233. package/permissionTargets.d.ts +25 -10
  234. package/permissionTargets.js +10 -4
  235. package/permissionTargets.js.map +1 -1
  236. package/provider.d.ts +4 -2
  237. package/provider.js.map +1 -1
  238. package/pullReplication.d.ts +78 -3
  239. package/pullReplication.js +5 -3
  240. package/pullReplication.js.map +1 -1
  241. package/pushReplication.d.ts +12 -2
  242. package/pushReplication.js +3 -2
  243. package/pushReplication.js.map +1 -1
  244. package/releaseBundleWebhook.d.ts +27 -69
  245. package/releaseBundleWebhook.js +14 -20
  246. package/releaseBundleWebhook.js.map +1 -1
  247. package/remoteAlpineRepository.d.ts +33 -26
  248. package/remoteAlpineRepository.js +9 -5
  249. package/remoteAlpineRepository.js.map +1 -1
  250. package/remoteBowerRepository.d.ts +39 -29
  251. package/remoteBowerRepository.js +9 -5
  252. package/remoteBowerRepository.js.map +1 -1
  253. package/remoteCargoRepository.d.ts +143 -90
  254. package/remoteCargoRepository.js +11 -8
  255. package/remoteCargoRepository.js.map +1 -1
  256. package/remoteChefRepository.d.ts +33 -26
  257. package/remoteChefRepository.js +9 -5
  258. package/remoteChefRepository.js.map +1 -1
  259. package/remoteCocoapodsRepository.d.ts +40 -29
  260. package/remoteCocoapodsRepository.js +10 -5
  261. package/remoteCocoapodsRepository.js.map +1 -1
  262. package/remoteComposerRepository.d.ts +39 -29
  263. package/remoteComposerRepository.js +9 -5
  264. package/remoteComposerRepository.js.map +1 -1
  265. package/remoteConanRepository.d.ts +34 -27
  266. package/remoteConanRepository.js +10 -6
  267. package/remoteConanRepository.js.map +1 -1
  268. package/remoteCondaRepository.d.ts +33 -26
  269. package/remoteCondaRepository.js +9 -5
  270. package/remoteCondaRepository.js.map +1 -1
  271. package/remoteCranRepository.d.ts +33 -26
  272. package/remoteCranRepository.js +9 -5
  273. package/remoteCranRepository.js.map +1 -1
  274. package/remoteDebianRepository.d.ts +33 -26
  275. package/remoteDebianRepository.js +9 -5
  276. package/remoteDebianRepository.js.map +1 -1
  277. package/remoteDockerRepository.d.ts +143 -92
  278. package/remoteDockerRepository.js +11 -10
  279. package/remoteDockerRepository.js.map +1 -1
  280. package/remoteGemsRepository.d.ts +33 -26
  281. package/remoteGemsRepository.js +9 -5
  282. package/remoteGemsRepository.js.map +1 -1
  283. package/remoteGenericRepository.d.ts +137 -80
  284. package/remoteGenericRepository.js +8 -4
  285. package/remoteGenericRepository.js.map +1 -1
  286. package/remoteGitlfsRepository.d.ts +33 -26
  287. package/remoteGitlfsRepository.js +9 -5
  288. package/remoteGitlfsRepository.js.map +1 -1
  289. package/remoteGoRepository.d.ts +33 -26
  290. package/remoteGoRepository.js +9 -5
  291. package/remoteGoRepository.js.map +1 -1
  292. package/remoteGradleRepository.d.ts +154 -99
  293. package/remoteGradleRepository.js +10 -5
  294. package/remoteGradleRepository.js.map +1 -1
  295. package/remoteHelmRepository.d.ts +139 -85
  296. package/remoteHelmRepository.js +10 -6
  297. package/remoteHelmRepository.js.map +1 -1
  298. package/remoteIvyRepository.d.ts +154 -99
  299. package/remoteIvyRepository.js +10 -5
  300. package/remoteIvyRepository.js.map +1 -1
  301. package/remoteMavenRepository.d.ts +157 -102
  302. package/remoteMavenRepository.js +10 -5
  303. package/remoteMavenRepository.js.map +1 -1
  304. package/remoteNpmRepository.d.ts +142 -86
  305. package/remoteNpmRepository.js +13 -10
  306. package/remoteNpmRepository.js.map +1 -1
  307. package/remoteNugetRepository.d.ts +42 -29
  308. package/remoteNugetRepository.js +9 -5
  309. package/remoteNugetRepository.js.map +1 -1
  310. package/remoteOpkgRepository.d.ts +33 -26
  311. package/remoteOpkgRepository.js +9 -5
  312. package/remoteOpkgRepository.js.map +1 -1
  313. package/remoteP2Repository.d.ts +33 -26
  314. package/remoteP2Repository.js +9 -5
  315. package/remoteP2Repository.js.map +1 -1
  316. package/remotePubRepository.d.ts +521 -0
  317. package/remotePubRepository.js +157 -0
  318. package/remotePubRepository.js.map +1 -0
  319. package/remotePuppetRepository.d.ts +33 -26
  320. package/remotePuppetRepository.js +9 -5
  321. package/remotePuppetRepository.js.map +1 -1
  322. package/remotePypiRepository.d.ts +136 -82
  323. package/remotePypiRepository.js +10 -6
  324. package/remotePypiRepository.js.map +1 -1
  325. package/remoteRpmRepository.d.ts +33 -26
  326. package/remoteRpmRepository.js +9 -5
  327. package/remoteRpmRepository.js.map +1 -1
  328. package/remoteSbtRepository.d.ts +155 -104
  329. package/remoteSbtRepository.js +11 -1
  330. package/remoteSbtRepository.js.map +1 -1
  331. package/remoteVcsRepository.d.ts +36 -29
  332. package/remoteVcsRepository.js +9 -5
  333. package/remoteVcsRepository.js.map +1 -1
  334. package/replicationConfig.d.ts +4 -0
  335. package/replicationConfig.js +4 -0
  336. package/replicationConfig.js.map +1 -1
  337. package/samlSettings.d.ts +0 -2
  338. package/samlSettings.js +0 -2
  339. package/samlSettings.js.map +1 -1
  340. package/singleReplicationConfig.d.ts +13 -5
  341. package/singleReplicationConfig.js +8 -0
  342. package/singleReplicationConfig.js.map +1 -1
  343. package/types/input.d.ts +321 -235
  344. package/types/output.d.ts +321 -235
  345. package/unmanagedUser.d.ts +0 -2
  346. package/unmanagedUser.js +0 -2
  347. package/unmanagedUser.js.map +1 -1
  348. package/user.d.ts +0 -2
  349. package/user.js +0 -2
  350. package/user.js.map +1 -1
  351. package/virtualAlpineRepository.d.ts +15 -16
  352. package/virtualAlpineRepository.js +3 -4
  353. package/virtualAlpineRepository.js.map +1 -1
  354. package/virtualBowerRepository.d.ts +9 -14
  355. package/virtualBowerRepository.js +3 -5
  356. package/virtualBowerRepository.js.map +1 -1
  357. package/virtualChefRepository.d.ts +15 -16
  358. package/virtualChefRepository.js +3 -4
  359. package/virtualChefRepository.js.map +1 -1
  360. package/virtualComposerRepository.d.ts +9 -13
  361. package/virtualComposerRepository.js +3 -4
  362. package/virtualComposerRepository.js.map +1 -1
  363. package/virtualConanRepository.d.ts +15 -16
  364. package/virtualConanRepository.js +3 -4
  365. package/virtualConanRepository.js.map +1 -1
  366. package/virtualCondaRepository.d.ts +15 -16
  367. package/virtualCondaRepository.js +3 -4
  368. package/virtualCondaRepository.js.map +1 -1
  369. package/virtualCranRepository.d.ts +15 -16
  370. package/virtualCranRepository.js +3 -4
  371. package/virtualCranRepository.js.map +1 -1
  372. package/virtualDebianRepository.d.ts +9 -13
  373. package/virtualDebianRepository.js +3 -4
  374. package/virtualDebianRepository.js.map +1 -1
  375. package/virtualDockerRepository.d.ts +9 -13
  376. package/virtualDockerRepository.js +3 -4
  377. package/virtualDockerRepository.js.map +1 -1
  378. package/virtualGemsRepository.d.ts +9 -13
  379. package/virtualGemsRepository.js +3 -4
  380. package/virtualGemsRepository.js.map +1 -1
  381. package/virtualGenericRepository.d.ts +42 -31
  382. package/virtualGenericRepository.js +3 -4
  383. package/virtualGenericRepository.js.map +1 -1
  384. package/virtualGitlfsRepository.d.ts +9 -13
  385. package/virtualGitlfsRepository.js +3 -4
  386. package/virtualGitlfsRepository.js.map +1 -1
  387. package/virtualGradleRepository.d.ts +9 -13
  388. package/virtualGradleRepository.js +3 -4
  389. package/virtualGradleRepository.js.map +1 -1
  390. package/virtualHelmRepository.d.ts +12 -16
  391. package/virtualHelmRepository.js +3 -4
  392. package/virtualHelmRepository.js.map +1 -1
  393. package/virtualIvyRepository.d.ts +9 -13
  394. package/virtualIvyRepository.js +3 -4
  395. package/virtualIvyRepository.js.map +1 -1
  396. package/virtualNpmRepository.d.ts +15 -16
  397. package/virtualNpmRepository.js +3 -4
  398. package/virtualNpmRepository.js.map +1 -1
  399. package/virtualNugetRepository.d.ts +12 -16
  400. package/virtualNugetRepository.js +3 -4
  401. package/virtualNugetRepository.js.map +1 -1
  402. package/virtualP2Repository.d.ts +9 -13
  403. package/virtualP2Repository.js +3 -4
  404. package/virtualP2Repository.js.map +1 -1
  405. package/virtualPubRepository.d.ts +237 -0
  406. package/virtualPubRepository.js +104 -0
  407. package/virtualPubRepository.js.map +1 -0
  408. package/virtualPuppetRepository.d.ts +9 -13
  409. package/virtualPuppetRepository.js +3 -4
  410. package/virtualPuppetRepository.js.map +1 -1
  411. package/virtualPypiRepository.d.ts +9 -13
  412. package/virtualPypiRepository.js +3 -4
  413. package/virtualPypiRepository.js.map +1 -1
  414. package/virtualRpmRepository.d.ts +15 -19
  415. package/virtualRpmRepository.js +3 -4
  416. package/virtualRpmRepository.js.map +1 -1
  417. package/virtualSbtRepository.d.ts +9 -13
  418. package/virtualSbtRepository.js +3 -4
  419. package/virtualSbtRepository.js.map +1 -1
@@ -1,16 +1,11 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { input as inputs, output as outputs } from "./types";
3
3
  /**
4
- * ## # Artifactory Remote Cargo Repository Resource
5
- *
6
- * Provides an Artifactory remote `cargo` repository resource. This provides cargo specific fields and is the only way to get them
7
- * Official documentation can be found [here](https://www.jfrog.com/confluence/display/JFROG/Cargo+Registry)
4
+ * Creates a remote Cargo repository.
5
+ * Official documentation can be found [here](https://www.jfrog.com/confluence/display/JFROG/Cargo+Registry).
8
6
  *
9
7
  * ## Example Usage
10
8
  *
11
- * Create a new Artifactory remote cargo repository called my-remote-cargo
12
- * for brevity sake, only cargo specific fields are included; for other fields see documentation for
13
- * generic repo.
14
9
  * ```typescript
15
10
  * import * as pulumi from "@pulumi/pulumi";
16
11
  * import * as artifactory from "@pulumi/artifactory";
@@ -19,13 +14,21 @@ import { input as inputs, output as outputs } from "./types";
19
14
  * anonymousAccess: true,
20
15
  * gitRegistryUrl: "https://github.com/rust-lang/foo.index",
21
16
  * key: "my-remote-cargo",
22
- * url: "https://github.com/",
17
+ * url: "https://github.com/rust-lang/crates.io-index",
23
18
  * });
24
19
  * ```
25
20
  * ## Note
26
21
  *
27
22
  * If you get a 400 error: `"Custom Base URL should be defined prior to creating a Cargo repository"`,
28
23
  * you must set the base url at: `http://${host}/ui/admin/configuration/general`
24
+ *
25
+ * ## Import
26
+ *
27
+ * Remote repositories can be imported using their name, e.g.
28
+ *
29
+ * ```sh
30
+ * $ pulumi import artifactory:index/remoteCargoRepository:RemoteCargoRepository my-remote-cargo my-remote-cargo
31
+ * ```
29
32
  */
30
33
  export declare class RemoteCargoRepository extends pulumi.CustomResource {
31
34
  /**
@@ -44,33 +47,38 @@ export declare class RemoteCargoRepository extends pulumi.CustomResource {
44
47
  */
45
48
  static isInstance(obj: any): obj is RemoteCargoRepository;
46
49
  /**
47
- * Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to any other host.
50
+ * Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to
51
+ * any other host.
48
52
  */
49
53
  readonly allowAnyHostAuth: pulumi.Output<boolean>;
50
54
  /**
51
- * - Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option.
55
+ * Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option.
52
56
  */
53
57
  readonly anonymousAccess: pulumi.Output<boolean | undefined>;
54
58
  /**
55
- * The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline. Default to 300.
59
+ * The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time,
60
+ * an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed
61
+ * offline. Default to 300.
56
62
  */
57
63
  readonly assumedOfflinePeriodSecs: pulumi.Output<number | undefined>;
58
64
  /**
59
- * (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
65
+ * (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact
66
+ * resolution.
60
67
  */
61
68
  readonly blackedOut: pulumi.Output<boolean>;
62
69
  /**
63
- * Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
70
+ * Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
71
+ * HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked,
72
+ * Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
64
73
  */
65
74
  readonly blockMismatchingMimeTypes: pulumi.Output<boolean>;
66
75
  /**
67
- * Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
76
+ * Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
77
+ * HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked,
78
+ * Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
68
79
  */
69
80
  readonly bypassHeadRequests: pulumi.Output<boolean>;
70
81
  readonly clientTlsCertificate: pulumi.Output<string>;
71
- /**
72
- * Reference [JFROG Smart Remote Repositories](https://www.jfrog.com/confluence/display/JFROG/Smart+Remote+Repositories)
73
- */
74
82
  readonly contentSynchronisation: pulumi.Output<outputs.RemoteCargoRepositoryContentSynchronisation>;
75
83
  readonly description: pulumi.Output<string>;
76
84
  /**
@@ -78,41 +86,45 @@ export declare class RemoteCargoRepository extends pulumi.CustomResource {
78
86
  */
79
87
  readonly enableCookieManagement: pulumi.Output<boolean>;
80
88
  /**
81
- * List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**&#47;z/*. By default no artifacts are excluded.
89
+ * List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**&#47;z/*. By default no
90
+ * artifacts are excluded.
82
91
  */
83
92
  readonly excludesPattern: pulumi.Output<string>;
84
93
  /**
85
- * This field is not returned in a get payload but is offered on the UI. It's inserted here for inclusive and informational reasons. It does not function
86
- *
87
94
  * @deprecated This field is not returned in a get payload but is offered on the UI. It's inserted here for inclusive and informational reasons. It does not function
88
95
  */
89
96
  readonly failedRetrievalCachePeriodSecs: pulumi.Output<number>;
90
97
  /**
91
- * - This is the index url, expected to be a git repository. for remote artifactory use "arturl/git/repokey.git"
98
+ * This is the index url, expected to be a git repository. Default value is "https://github.com/rust-lang/crates.io-index".
92
99
  */
93
100
  readonly gitRegistryUrl: pulumi.Output<string>;
94
101
  /**
95
- * When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
102
+ * When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to
103
+ * communicate with this repository.
96
104
  */
97
105
  readonly hardFail: pulumi.Output<boolean>;
98
106
  /**
99
- * List of artifact patterns to include when evaluating artifact requests in the form of x/y/**&#47;z/*. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**&#47;*).
107
+ * List of artifact patterns to include when evaluating artifact requests in the form of x/y/**&#47;z/*. When used, only
108
+ * artifacts matching one of the include patterns are served. By default, all artifacts are included (**&#47;*).
100
109
  */
101
110
  readonly includesPattern: pulumi.Output<string>;
102
111
  /**
103
- * The repository identifier. Must be unique system-wide
112
+ * A mandatory identifier for the repository that must be unique. It cannot begin with a number or
113
+ * contain spaces or special characters.
104
114
  */
105
115
  readonly key: pulumi.Output<string>;
106
116
  /**
107
- * - Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. This field exists in the API but not in the UI.
117
+ * Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of
118
+ * the 'Retrieval Cache Period'. Default value is 'false'.
108
119
  */
109
120
  readonly listRemoteFolderItems: pulumi.Output<boolean | undefined>;
110
121
  /**
111
- * The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
122
+ * The local address to be used when creating connections. Useful for specifying the interface to use on systems with
123
+ * multiple network interfaces.
112
124
  */
113
125
  readonly localAddress: pulumi.Output<string | undefined>;
114
126
  /**
115
- * (Optional) The set of mime types that should override the block_mismatching_mime_types setting. Eg:
127
+ * The set of mime types that should override the block_mismatching_mime_types setting. Eg:
116
128
  * "application/json,application/xml". Default value is empty.
117
129
  */
118
130
  readonly mismatchingMimeTypesOverrideList: pulumi.Output<string | undefined>;
@@ -136,7 +148,8 @@ export declare class RemoteCargoRepository extends pulumi.CustomResource {
136
148
  */
137
149
  readonly projectEnvironments: pulumi.Output<string[] | undefined>;
138
150
  /**
139
- * Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
151
+ * Project key for assigning this repository to. Must be 3 - 10 lowercase alphanumeric characters. When assigning
152
+ * repository to a project, repository key must be prefixed with project key, separated by a dash.
140
153
  */
141
154
  readonly projectKey: pulumi.Output<string | undefined>;
142
155
  /**
@@ -144,11 +157,11 @@ export declare class RemoteCargoRepository extends pulumi.CustomResource {
144
157
  */
145
158
  readonly propagateQueryParams: pulumi.Output<boolean | undefined>;
146
159
  /**
147
- * List of property set name
160
+ * List of property set names
148
161
  */
149
162
  readonly propertySets: pulumi.Output<string[] | undefined>;
150
163
  /**
151
- * Proxy key from Artifactory Proxies setting
164
+ * Proxy key from Artifactory Proxies settings
152
165
  */
153
166
  readonly proxy: pulumi.Output<string | undefined>;
154
167
  /**
@@ -156,7 +169,7 @@ export declare class RemoteCargoRepository extends pulumi.CustomResource {
156
169
  */
157
170
  readonly remoteRepoLayoutRef: pulumi.Output<string>;
158
171
  /**
159
- * Repository layout key for the remote repository
172
+ * Repository layout key for the local repository
160
173
  */
161
174
  readonly repoLayoutRef: pulumi.Output<string | undefined>;
162
175
  /**
@@ -165,11 +178,15 @@ export declare class RemoteCargoRepository extends pulumi.CustomResource {
165
178
  readonly retrievalCachePeriodSeconds: pulumi.Output<number>;
166
179
  readonly shareConfiguration: pulumi.Output<boolean>;
167
180
  /**
168
- * Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
181
+ * Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network
182
+ * operation is considered a retrieval failure.
169
183
  */
170
184
  readonly socketTimeoutMillis: pulumi.Output<number>;
171
185
  /**
172
- * When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
186
+ * When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and
187
+ * direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with
188
+ * one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory
189
+ * servers.
173
190
  */
174
191
  readonly storeArtifactsLocally: pulumi.Output<boolean>;
175
192
  /**
@@ -178,16 +195,18 @@ export declare class RemoteCargoRepository extends pulumi.CustomResource {
178
195
  readonly synchronizeProperties: pulumi.Output<boolean>;
179
196
  readonly unusedArtifactsCleanupPeriodEnabled: pulumi.Output<boolean>;
180
197
  /**
181
- * The number of hours to wait before an artifact is deemed "unused" and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
198
+ * The number of hours to wait before an artifact is deemed "unused" and eligible for cleanup from the repository. A value
199
+ * of 0 means automatic cleanup of cached artifacts is disabled.
182
200
  */
183
201
  readonly unusedArtifactsCleanupPeriodHours: pulumi.Output<number>;
184
202
  /**
185
- * the remote repo URL. You kinda don't have a remote repo without it
203
+ * The remote repo URL.
186
204
  */
187
205
  readonly url: pulumi.Output<string>;
188
206
  readonly username: pulumi.Output<string | undefined>;
189
207
  /**
190
- * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
208
+ * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
209
+ * Xray settings.
191
210
  */
192
211
  readonly xrayIndex: pulumi.Output<boolean | undefined>;
193
212
  /**
@@ -204,33 +223,38 @@ export declare class RemoteCargoRepository extends pulumi.CustomResource {
204
223
  */
205
224
  export interface RemoteCargoRepositoryState {
206
225
  /**
207
- * Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to any other host.
226
+ * Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to
227
+ * any other host.
208
228
  */
209
229
  allowAnyHostAuth?: pulumi.Input<boolean>;
210
230
  /**
211
- * - Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option.
231
+ * Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option.
212
232
  */
213
233
  anonymousAccess?: pulumi.Input<boolean>;
214
234
  /**
215
- * The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline. Default to 300.
235
+ * The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time,
236
+ * an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed
237
+ * offline. Default to 300.
216
238
  */
217
239
  assumedOfflinePeriodSecs?: pulumi.Input<number>;
218
240
  /**
219
- * (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
241
+ * (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact
242
+ * resolution.
220
243
  */
221
244
  blackedOut?: pulumi.Input<boolean>;
222
245
  /**
223
- * Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
246
+ * Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
247
+ * HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked,
248
+ * Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
224
249
  */
225
250
  blockMismatchingMimeTypes?: pulumi.Input<boolean>;
226
251
  /**
227
- * Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
252
+ * Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
253
+ * HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked,
254
+ * Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
228
255
  */
229
256
  bypassHeadRequests?: pulumi.Input<boolean>;
230
257
  clientTlsCertificate?: pulumi.Input<string>;
231
- /**
232
- * Reference [JFROG Smart Remote Repositories](https://www.jfrog.com/confluence/display/JFROG/Smart+Remote+Repositories)
233
- */
234
258
  contentSynchronisation?: pulumi.Input<inputs.RemoteCargoRepositoryContentSynchronisation>;
235
259
  description?: pulumi.Input<string>;
236
260
  /**
@@ -238,41 +262,45 @@ export interface RemoteCargoRepositoryState {
238
262
  */
239
263
  enableCookieManagement?: pulumi.Input<boolean>;
240
264
  /**
241
- * List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**&#47;z/*. By default no artifacts are excluded.
265
+ * List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**&#47;z/*. By default no
266
+ * artifacts are excluded.
242
267
  */
243
268
  excludesPattern?: pulumi.Input<string>;
244
269
  /**
245
- * This field is not returned in a get payload but is offered on the UI. It's inserted here for inclusive and informational reasons. It does not function
246
- *
247
270
  * @deprecated This field is not returned in a get payload but is offered on the UI. It's inserted here for inclusive and informational reasons. It does not function
248
271
  */
249
272
  failedRetrievalCachePeriodSecs?: pulumi.Input<number>;
250
273
  /**
251
- * - This is the index url, expected to be a git repository. for remote artifactory use "arturl/git/repokey.git"
274
+ * This is the index url, expected to be a git repository. Default value is "https://github.com/rust-lang/crates.io-index".
252
275
  */
253
276
  gitRegistryUrl?: pulumi.Input<string>;
254
277
  /**
255
- * When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
278
+ * When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to
279
+ * communicate with this repository.
256
280
  */
257
281
  hardFail?: pulumi.Input<boolean>;
258
282
  /**
259
- * List of artifact patterns to include when evaluating artifact requests in the form of x/y/**&#47;z/*. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**&#47;*).
283
+ * List of artifact patterns to include when evaluating artifact requests in the form of x/y/**&#47;z/*. When used, only
284
+ * artifacts matching one of the include patterns are served. By default, all artifacts are included (**&#47;*).
260
285
  */
261
286
  includesPattern?: pulumi.Input<string>;
262
287
  /**
263
- * The repository identifier. Must be unique system-wide
288
+ * A mandatory identifier for the repository that must be unique. It cannot begin with a number or
289
+ * contain spaces or special characters.
264
290
  */
265
291
  key?: pulumi.Input<string>;
266
292
  /**
267
- * - Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. This field exists in the API but not in the UI.
293
+ * Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of
294
+ * the 'Retrieval Cache Period'. Default value is 'false'.
268
295
  */
269
296
  listRemoteFolderItems?: pulumi.Input<boolean>;
270
297
  /**
271
- * The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
298
+ * The local address to be used when creating connections. Useful for specifying the interface to use on systems with
299
+ * multiple network interfaces.
272
300
  */
273
301
  localAddress?: pulumi.Input<string>;
274
302
  /**
275
- * (Optional) The set of mime types that should override the block_mismatching_mime_types setting. Eg:
303
+ * The set of mime types that should override the block_mismatching_mime_types setting. Eg:
276
304
  * "application/json,application/xml". Default value is empty.
277
305
  */
278
306
  mismatchingMimeTypesOverrideList?: pulumi.Input<string>;
@@ -296,7 +324,8 @@ export interface RemoteCargoRepositoryState {
296
324
  */
297
325
  projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
298
326
  /**
299
- * Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
327
+ * Project key for assigning this repository to. Must be 3 - 10 lowercase alphanumeric characters. When assigning
328
+ * repository to a project, repository key must be prefixed with project key, separated by a dash.
300
329
  */
301
330
  projectKey?: pulumi.Input<string>;
302
331
  /**
@@ -304,11 +333,11 @@ export interface RemoteCargoRepositoryState {
304
333
  */
305
334
  propagateQueryParams?: pulumi.Input<boolean>;
306
335
  /**
307
- * List of property set name
336
+ * List of property set names
308
337
  */
309
338
  propertySets?: pulumi.Input<pulumi.Input<string>[]>;
310
339
  /**
311
- * Proxy key from Artifactory Proxies setting
340
+ * Proxy key from Artifactory Proxies settings
312
341
  */
313
342
  proxy?: pulumi.Input<string>;
314
343
  /**
@@ -316,7 +345,7 @@ export interface RemoteCargoRepositoryState {
316
345
  */
317
346
  remoteRepoLayoutRef?: pulumi.Input<string>;
318
347
  /**
319
- * Repository layout key for the remote repository
348
+ * Repository layout key for the local repository
320
349
  */
321
350
  repoLayoutRef?: pulumi.Input<string>;
322
351
  /**
@@ -325,11 +354,15 @@ export interface RemoteCargoRepositoryState {
325
354
  retrievalCachePeriodSeconds?: pulumi.Input<number>;
326
355
  shareConfiguration?: pulumi.Input<boolean>;
327
356
  /**
328
- * Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
357
+ * Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network
358
+ * operation is considered a retrieval failure.
329
359
  */
330
360
  socketTimeoutMillis?: pulumi.Input<number>;
331
361
  /**
332
- * When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
362
+ * When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and
363
+ * direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with
364
+ * one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory
365
+ * servers.
333
366
  */
334
367
  storeArtifactsLocally?: pulumi.Input<boolean>;
335
368
  /**
@@ -338,16 +371,18 @@ export interface RemoteCargoRepositoryState {
338
371
  synchronizeProperties?: pulumi.Input<boolean>;
339
372
  unusedArtifactsCleanupPeriodEnabled?: pulumi.Input<boolean>;
340
373
  /**
341
- * The number of hours to wait before an artifact is deemed "unused" and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
374
+ * The number of hours to wait before an artifact is deemed "unused" and eligible for cleanup from the repository. A value
375
+ * of 0 means automatic cleanup of cached artifacts is disabled.
342
376
  */
343
377
  unusedArtifactsCleanupPeriodHours?: pulumi.Input<number>;
344
378
  /**
345
- * the remote repo URL. You kinda don't have a remote repo without it
379
+ * The remote repo URL.
346
380
  */
347
381
  url?: pulumi.Input<string>;
348
382
  username?: pulumi.Input<string>;
349
383
  /**
350
- * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
384
+ * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
385
+ * Xray settings.
351
386
  */
352
387
  xrayIndex?: pulumi.Input<boolean>;
353
388
  }
@@ -356,33 +391,38 @@ export interface RemoteCargoRepositoryState {
356
391
  */
357
392
  export interface RemoteCargoRepositoryArgs {
358
393
  /**
359
- * Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to any other host.
394
+ * Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to
395
+ * any other host.
360
396
  */
361
397
  allowAnyHostAuth?: pulumi.Input<boolean>;
362
398
  /**
363
- * - Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option.
399
+ * Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option.
364
400
  */
365
401
  anonymousAccess?: pulumi.Input<boolean>;
366
402
  /**
367
- * The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline. Default to 300.
403
+ * The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time,
404
+ * an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed
405
+ * offline. Default to 300.
368
406
  */
369
407
  assumedOfflinePeriodSecs?: pulumi.Input<number>;
370
408
  /**
371
- * (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
409
+ * (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact
410
+ * resolution.
372
411
  */
373
412
  blackedOut?: pulumi.Input<boolean>;
374
413
  /**
375
- * Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
414
+ * Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
415
+ * HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked,
416
+ * Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
376
417
  */
377
418
  blockMismatchingMimeTypes?: pulumi.Input<boolean>;
378
419
  /**
379
- * Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
420
+ * Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
421
+ * HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked,
422
+ * Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
380
423
  */
381
424
  bypassHeadRequests?: pulumi.Input<boolean>;
382
425
  clientTlsCertificate?: pulumi.Input<string>;
383
- /**
384
- * Reference [JFROG Smart Remote Repositories](https://www.jfrog.com/confluence/display/JFROG/Smart+Remote+Repositories)
385
- */
386
426
  contentSynchronisation?: pulumi.Input<inputs.RemoteCargoRepositoryContentSynchronisation>;
387
427
  description?: pulumi.Input<string>;
388
428
  /**
@@ -390,35 +430,41 @@ export interface RemoteCargoRepositoryArgs {
390
430
  */
391
431
  enableCookieManagement?: pulumi.Input<boolean>;
392
432
  /**
393
- * List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**&#47;z/*. By default no artifacts are excluded.
433
+ * List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**&#47;z/*. By default no
434
+ * artifacts are excluded.
394
435
  */
395
436
  excludesPattern?: pulumi.Input<string>;
396
437
  /**
397
- * - This is the index url, expected to be a git repository. for remote artifactory use "arturl/git/repokey.git"
438
+ * This is the index url, expected to be a git repository. Default value is "https://github.com/rust-lang/crates.io-index".
398
439
  */
399
440
  gitRegistryUrl: pulumi.Input<string>;
400
441
  /**
401
- * When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
442
+ * When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to
443
+ * communicate with this repository.
402
444
  */
403
445
  hardFail?: pulumi.Input<boolean>;
404
446
  /**
405
- * List of artifact patterns to include when evaluating artifact requests in the form of x/y/**&#47;z/*. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**&#47;*).
447
+ * List of artifact patterns to include when evaluating artifact requests in the form of x/y/**&#47;z/*. When used, only
448
+ * artifacts matching one of the include patterns are served. By default, all artifacts are included (**&#47;*).
406
449
  */
407
450
  includesPattern?: pulumi.Input<string>;
408
451
  /**
409
- * The repository identifier. Must be unique system-wide
452
+ * A mandatory identifier for the repository that must be unique. It cannot begin with a number or
453
+ * contain spaces or special characters.
410
454
  */
411
455
  key: pulumi.Input<string>;
412
456
  /**
413
- * - Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. This field exists in the API but not in the UI.
457
+ * Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of
458
+ * the 'Retrieval Cache Period'. Default value is 'false'.
414
459
  */
415
460
  listRemoteFolderItems?: pulumi.Input<boolean>;
416
461
  /**
417
- * The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
462
+ * The local address to be used when creating connections. Useful for specifying the interface to use on systems with
463
+ * multiple network interfaces.
418
464
  */
419
465
  localAddress?: pulumi.Input<string>;
420
466
  /**
421
- * (Optional) The set of mime types that should override the block_mismatching_mime_types setting. Eg:
467
+ * The set of mime types that should override the block_mismatching_mime_types setting. Eg:
422
468
  * "application/json,application/xml". Default value is empty.
423
469
  */
424
470
  mismatchingMimeTypesOverrideList?: pulumi.Input<string>;
@@ -441,7 +487,8 @@ export interface RemoteCargoRepositoryArgs {
441
487
  */
442
488
  projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
443
489
  /**
444
- * Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
490
+ * Project key for assigning this repository to. Must be 3 - 10 lowercase alphanumeric characters. When assigning
491
+ * repository to a project, repository key must be prefixed with project key, separated by a dash.
445
492
  */
446
493
  projectKey?: pulumi.Input<string>;
447
494
  /**
@@ -449,11 +496,11 @@ export interface RemoteCargoRepositoryArgs {
449
496
  */
450
497
  propagateQueryParams?: pulumi.Input<boolean>;
451
498
  /**
452
- * List of property set name
499
+ * List of property set names
453
500
  */
454
501
  propertySets?: pulumi.Input<pulumi.Input<string>[]>;
455
502
  /**
456
- * Proxy key from Artifactory Proxies setting
503
+ * Proxy key from Artifactory Proxies settings
457
504
  */
458
505
  proxy?: pulumi.Input<string>;
459
506
  /**
@@ -461,7 +508,7 @@ export interface RemoteCargoRepositoryArgs {
461
508
  */
462
509
  remoteRepoLayoutRef?: pulumi.Input<string>;
463
510
  /**
464
- * Repository layout key for the remote repository
511
+ * Repository layout key for the local repository
465
512
  */
466
513
  repoLayoutRef?: pulumi.Input<string>;
467
514
  /**
@@ -470,11 +517,15 @@ export interface RemoteCargoRepositoryArgs {
470
517
  retrievalCachePeriodSeconds?: pulumi.Input<number>;
471
518
  shareConfiguration?: pulumi.Input<boolean>;
472
519
  /**
473
- * Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
520
+ * Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network
521
+ * operation is considered a retrieval failure.
474
522
  */
475
523
  socketTimeoutMillis?: pulumi.Input<number>;
476
524
  /**
477
- * When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
525
+ * When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and
526
+ * direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with
527
+ * one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory
528
+ * servers.
478
529
  */
479
530
  storeArtifactsLocally?: pulumi.Input<boolean>;
480
531
  /**
@@ -483,16 +534,18 @@ export interface RemoteCargoRepositoryArgs {
483
534
  synchronizeProperties?: pulumi.Input<boolean>;
484
535
  unusedArtifactsCleanupPeriodEnabled?: pulumi.Input<boolean>;
485
536
  /**
486
- * The number of hours to wait before an artifact is deemed "unused" and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
537
+ * The number of hours to wait before an artifact is deemed "unused" and eligible for cleanup from the repository. A value
538
+ * of 0 means automatic cleanup of cached artifacts is disabled.
487
539
  */
488
540
  unusedArtifactsCleanupPeriodHours?: pulumi.Input<number>;
489
541
  /**
490
- * the remote repo URL. You kinda don't have a remote repo without it
542
+ * The remote repo URL.
491
543
  */
492
544
  url: pulumi.Input<string>;
493
545
  username?: pulumi.Input<string>;
494
546
  /**
495
- * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
547
+ * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
548
+ * Xray settings.
496
549
  */
497
550
  xrayIndex?: pulumi.Input<boolean>;
498
551
  }
@@ -6,16 +6,11 @@ exports.RemoteCargoRepository = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * ## # Artifactory Remote Cargo Repository Resource
10
- *
11
- * Provides an Artifactory remote `cargo` repository resource. This provides cargo specific fields and is the only way to get them
12
- * Official documentation can be found [here](https://www.jfrog.com/confluence/display/JFROG/Cargo+Registry)
9
+ * Creates a remote Cargo repository.
10
+ * Official documentation can be found [here](https://www.jfrog.com/confluence/display/JFROG/Cargo+Registry).
13
11
  *
14
12
  * ## Example Usage
15
13
  *
16
- * Create a new Artifactory remote cargo repository called my-remote-cargo
17
- * for brevity sake, only cargo specific fields are included; for other fields see documentation for
18
- * generic repo.
19
14
  * ```typescript
20
15
  * import * as pulumi from "@pulumi/pulumi";
21
16
  * import * as artifactory from "@pulumi/artifactory";
@@ -24,13 +19,21 @@ const utilities = require("./utilities");
24
19
  * anonymousAccess: true,
25
20
  * gitRegistryUrl: "https://github.com/rust-lang/foo.index",
26
21
  * key: "my-remote-cargo",
27
- * url: "https://github.com/",
22
+ * url: "https://github.com/rust-lang/crates.io-index",
28
23
  * });
29
24
  * ```
30
25
  * ## Note
31
26
  *
32
27
  * If you get a 400 error: `"Custom Base URL should be defined prior to creating a Cargo repository"`,
33
28
  * you must set the base url at: `http://${host}/ui/admin/configuration/general`
29
+ *
30
+ * ## Import
31
+ *
32
+ * Remote repositories can be imported using their name, e.g.
33
+ *
34
+ * ```sh
35
+ * $ pulumi import artifactory:index/remoteCargoRepository:RemoteCargoRepository my-remote-cargo my-remote-cargo
36
+ * ```
34
37
  */
35
38
  class RemoteCargoRepository extends pulumi.CustomResource {
36
39
  constructor(name, argsOrState, opts) {