@pulumi/artifactory 8.10.3 → 8.10.4
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.
- package/alpineRepository.d.ts +27 -4
- package/alpineRepository.js +0 -1
- package/alpineRepository.js.map +1 -1
- package/anonymousUser.d.ts +15 -0
- package/anonymousUser.js +6 -0
- package/anonymousUser.js.map +1 -1
- package/archivePolicy.d.ts +153 -2
- package/archivePolicy.js +153 -2
- package/archivePolicy.js.map +1 -1
- package/config/vars.d.ts +3 -0
- package/config/vars.js.map +1 -1
- package/debianRepository.d.ts +21 -1
- package/debianRepository.js +0 -1
- package/debianRepository.js.map +1 -1
- package/dockerV1Repository.d.ts +9 -1
- package/dockerV1Repository.js +0 -1
- package/dockerV1Repository.js.map +1 -1
- package/dockerV2Repository.d.ts +9 -1
- package/dockerV2Repository.js +0 -1
- package/dockerV2Repository.js.map +1 -1
- package/federatedAlpineRepository.d.ts +18 -1
- package/federatedAlpineRepository.js +0 -1
- package/federatedAlpineRepository.js.map +1 -1
- package/federatedAnsibleRepository.d.ts +18 -1
- package/federatedAnsibleRepository.js +0 -1
- package/federatedAnsibleRepository.js.map +1 -1
- package/federatedBowerRepository.d.ts +18 -1
- package/federatedBowerRepository.js +0 -1
- package/federatedBowerRepository.js.map +1 -1
- package/federatedCargoRepository.d.ts +18 -1
- package/federatedCargoRepository.js +0 -1
- package/federatedCargoRepository.js.map +1 -1
- package/federatedChefRepository.d.ts +18 -1
- package/federatedChefRepository.js +0 -1
- package/federatedChefRepository.js.map +1 -1
- package/federatedCocoapodsRepository.d.ts +18 -1
- package/federatedCocoapodsRepository.js +0 -1
- package/federatedCocoapodsRepository.js.map +1 -1
- package/federatedComposerRepository.d.ts +18 -1
- package/federatedComposerRepository.js +0 -1
- package/federatedComposerRepository.js.map +1 -1
- package/federatedConanRepository.d.ts +20 -2
- package/federatedConanRepository.js +2 -2
- package/federatedConanRepository.js.map +1 -1
- package/federatedCondaRepository.d.ts +18 -1
- package/federatedCondaRepository.js +0 -1
- package/federatedCondaRepository.js.map +1 -1
- package/federatedCranRepository.d.ts +18 -1
- package/federatedCranRepository.js +0 -1
- package/federatedCranRepository.js.map +1 -1
- package/federatedDebianRepository.d.ts +18 -1
- package/federatedDebianRepository.js +0 -1
- package/federatedDebianRepository.js.map +1 -1
- package/federatedDockerRepository.d.ts +18 -1
- package/federatedDockerRepository.js +0 -1
- package/federatedDockerRepository.js.map +1 -1
- package/federatedDockerV1Repository.d.ts +18 -1
- package/federatedDockerV1Repository.js +0 -1
- package/federatedDockerV1Repository.js.map +1 -1
- package/federatedDockerV2Repository.d.ts +18 -1
- package/federatedDockerV2Repository.js +0 -1
- package/federatedDockerV2Repository.js.map +1 -1
- package/federatedGemsRepository.d.ts +18 -1
- package/federatedGemsRepository.js +0 -1
- package/federatedGemsRepository.js.map +1 -1
- package/federatedGenericRepository.d.ts +18 -1
- package/federatedGenericRepository.js +0 -1
- package/federatedGenericRepository.js.map +1 -1
- package/federatedGitltfsRepository.d.ts +18 -1
- package/federatedGitltfsRepository.js +0 -1
- package/federatedGitltfsRepository.js.map +1 -1
- package/federatedGoRepository.d.ts +18 -1
- package/federatedGoRepository.js +0 -1
- package/federatedGoRepository.js.map +1 -1
- package/federatedGradleRepository.d.ts +18 -1
- package/federatedGradleRepository.js +0 -1
- package/federatedGradleRepository.js.map +1 -1
- package/federatedHelmRepository.d.ts +18 -1
- package/federatedHelmRepository.js +0 -1
- package/federatedHelmRepository.js.map +1 -1
- package/federatedHelmociRepository.d.ts +18 -0
- package/federatedHelmociRepository.js.map +1 -1
- package/federatedHuggingfacemlRepository.d.ts +18 -0
- package/federatedHuggingfacemlRepository.js.map +1 -1
- package/federatedIvyRepository.d.ts +18 -1
- package/federatedIvyRepository.js +0 -1
- package/federatedIvyRepository.js.map +1 -1
- package/federatedMavenRepository.d.ts +18 -1
- package/federatedMavenRepository.js +0 -1
- package/federatedMavenRepository.js.map +1 -1
- package/federatedNpmRepository.d.ts +18 -1
- package/federatedNpmRepository.js +0 -1
- package/federatedNpmRepository.js.map +1 -1
- package/federatedNugetRepository.d.ts +18 -1
- package/federatedNugetRepository.js +0 -1
- package/federatedNugetRepository.js.map +1 -1
- package/federatedOciRepository.d.ts +18 -0
- package/federatedOciRepository.js.map +1 -1
- package/federatedOpkgRepository.d.ts +18 -1
- package/federatedOpkgRepository.js +0 -1
- package/federatedOpkgRepository.js.map +1 -1
- package/federatedPuppetRepository.d.ts +18 -1
- package/federatedPuppetRepository.js +0 -1
- package/federatedPuppetRepository.js.map +1 -1
- package/federatedPypiRepository.d.ts +18 -1
- package/federatedPypiRepository.js +0 -1
- package/federatedPypiRepository.js.map +1 -1
- package/federatedReleasebundlesRepository.d.ts +18 -1
- package/federatedReleasebundlesRepository.js +0 -1
- package/federatedReleasebundlesRepository.js.map +1 -1
- package/federatedRpmRepository.d.ts +18 -1
- package/federatedRpmRepository.js +0 -1
- package/federatedRpmRepository.js.map +1 -1
- package/federatedSbtRepository.d.ts +18 -1
- package/federatedSbtRepository.js +0 -1
- package/federatedSbtRepository.js.map +1 -1
- package/federatedSwiftRepository.d.ts +18 -1
- package/federatedSwiftRepository.js +0 -1
- package/federatedSwiftRepository.js.map +1 -1
- package/federatedTerraformModuleRepository.d.ts +18 -1
- package/federatedTerraformModuleRepository.js +0 -1
- package/federatedTerraformModuleRepository.js.map +1 -1
- package/federatedTerraformProviderRepository.d.ts +18 -1
- package/federatedTerraformProviderRepository.js +0 -1
- package/federatedTerraformProviderRepository.js.map +1 -1
- package/federatedVagrantRepository.d.ts +18 -1
- package/federatedVagrantRepository.js +0 -1
- package/federatedVagrantRepository.js.map +1 -1
- package/generalSecurity.d.ts +2 -1
- package/generalSecurity.js +2 -1
- package/generalSecurity.js.map +1 -1
- package/getFederatedTerraformModuleRepository.d.ts +4 -0
- package/getFederatedTerraformModuleRepository.js +4 -0
- package/getFederatedTerraformModuleRepository.js.map +1 -1
- package/getFederatedTerraformProviderRepository.d.ts +4 -0
- package/getFederatedTerraformProviderRepository.js +4 -0
- package/getFederatedTerraformProviderRepository.js.map +1 -1
- package/getLocalHuggingfacemlRepository.d.ts +9 -0
- package/getLocalHuggingfacemlRepository.js.map +1 -1
- package/getLocalTerraformModuleRepository.d.ts +6 -0
- package/getLocalTerraformModuleRepository.js +6 -0
- package/getLocalTerraformModuleRepository.js.map +1 -1
- package/getLocalTerraformProviderRepository.d.ts +6 -0
- package/getLocalTerraformProviderRepository.js +6 -0
- package/getLocalTerraformProviderRepository.js.map +1 -1
- package/getLocalTerraformbackendRepository.d.ts +4 -0
- package/getLocalTerraformbackendRepository.js +4 -0
- package/getLocalTerraformbackendRepository.js.map +1 -1
- package/getRemoteTerraformRepository.d.ts +22 -0
- package/getRemoteTerraformRepository.js +4 -0
- package/getRemoteTerraformRepository.js.map +1 -1
- package/getRepositories.d.ts +9 -0
- package/getRepositories.js.map +1 -1
- package/getVirtualTerraformRepository.d.ts +4 -0
- package/getVirtualTerraformRepository.js +4 -0
- package/getVirtualTerraformRepository.js.map +1 -1
- package/goRepository.d.ts +9 -0
- package/goRepository.js.map +1 -1
- package/group.d.ts +40 -1
- package/group.js +31 -1
- package/group.js.map +1 -1
- package/itemProperties.d.ts +0 -2
- package/itemProperties.js +0 -2
- package/itemProperties.js.map +1 -1
- package/localAnsibleRepository.d.ts +24 -4
- package/localAnsibleRepository.js +0 -1
- package/localAnsibleRepository.js.map +1 -1
- package/localBowerRepository.d.ts +9 -1
- package/localBowerRepository.js +0 -1
- package/localBowerRepository.js.map +1 -1
- package/localCargoRepository.d.ts +9 -1
- package/localCargoRepository.js +0 -1
- package/localCargoRepository.js.map +1 -1
- package/localChefRepository.d.ts +9 -1
- package/localChefRepository.js +0 -1
- package/localChefRepository.js.map +1 -1
- package/localCocoapodsRepository.d.ts +9 -1
- package/localCocoapodsRepository.js +0 -1
- package/localCocoapodsRepository.js.map +1 -1
- package/localComposerRepository.d.ts +9 -1
- package/localComposerRepository.js +0 -1
- package/localComposerRepository.js.map +1 -1
- package/localConanRepository.d.ts +9 -1
- package/localConanRepository.js +0 -1
- package/localConanRepository.js.map +1 -1
- package/localCondaRepository.d.ts +9 -1
- package/localCondaRepository.js +0 -1
- package/localCondaRepository.js.map +1 -1
- package/localCranRepository.d.ts +9 -1
- package/localCranRepository.js +0 -1
- package/localCranRepository.js.map +1 -1
- package/localGemsRepository.d.ts +9 -1
- package/localGemsRepository.js +0 -1
- package/localGemsRepository.js.map +1 -1
- package/localGenericRepository.d.ts +9 -1
- package/localGenericRepository.js +0 -1
- package/localGenericRepository.js.map +1 -1
- package/localGitltfsRepository.d.ts +9 -1
- package/localGitltfsRepository.js +0 -1
- package/localGitltfsRepository.js.map +1 -1
- package/localGoRepository.d.ts +9 -1
- package/localGoRepository.js +0 -1
- package/localGoRepository.js.map +1 -1
- package/localGradleRepository.d.ts +9 -1
- package/localGradleRepository.js +0 -1
- package/localGradleRepository.js.map +1 -1
- package/localHelmRepository.d.ts +9 -1
- package/localHelmRepository.js +0 -1
- package/localHelmRepository.js.map +1 -1
- package/localHelmociRepository.d.ts +9 -0
- package/localHelmociRepository.js.map +1 -1
- package/localHexRepository.d.ts +18 -4
- package/localHexRepository.js +0 -1
- package/localHexRepository.js.map +1 -1
- package/localHuggingfacemlRepository.d.ts +9 -1
- package/localHuggingfacemlRepository.js +0 -1
- package/localHuggingfacemlRepository.js.map +1 -1
- package/localIvyRepository.d.ts +9 -1
- package/localIvyRepository.js +0 -1
- package/localIvyRepository.js.map +1 -1
- package/localMachinelearningRepository.d.ts +9 -0
- package/localMachinelearningRepository.js.map +1 -1
- package/localMavenRepository.d.ts +9 -1
- package/localMavenRepository.js +0 -1
- package/localMavenRepository.js.map +1 -1
- package/localNpmRepository.d.ts +9 -1
- package/localNpmRepository.js +0 -1
- package/localNpmRepository.js.map +1 -1
- package/localNugetRepository.d.ts +9 -1
- package/localNugetRepository.js +0 -1
- package/localNugetRepository.js.map +1 -1
- package/localOciRepository.d.ts +9 -1
- package/localOciRepository.js +0 -1
- package/localOciRepository.js.map +1 -1
- package/localOpkgRepository.d.ts +9 -1
- package/localOpkgRepository.js +0 -1
- package/localOpkgRepository.js.map +1 -1
- package/localPubRepository.d.ts +9 -1
- package/localPubRepository.js +0 -1
- package/localPubRepository.js.map +1 -1
- package/localPuppetRepository.d.ts +9 -1
- package/localPuppetRepository.js +0 -1
- package/localPuppetRepository.js.map +1 -1
- package/localPypiRepository.d.ts +9 -1
- package/localPypiRepository.js +0 -1
- package/localPypiRepository.js.map +1 -1
- package/localRpmRepository.d.ts +9 -1
- package/localRpmRepository.js +0 -1
- package/localRpmRepository.js.map +1 -1
- package/localSbtRepository.d.ts +9 -1
- package/localSbtRepository.js +0 -1
- package/localSbtRepository.js.map +1 -1
- package/localSwiftRepository.d.ts +9 -1
- package/localSwiftRepository.js +0 -1
- package/localSwiftRepository.js.map +1 -1
- package/localTerraformBackendRepository.d.ts +12 -1
- package/localTerraformBackendRepository.js +3 -1
- package/localTerraformBackendRepository.js.map +1 -1
- package/localTerraformModuleRepository.d.ts +12 -1
- package/localTerraformModuleRepository.js +3 -1
- package/localTerraformModuleRepository.js.map +1 -1
- package/localTerraformProviderRepository.d.ts +12 -1
- package/localTerraformProviderRepository.js +3 -1
- package/localTerraformProviderRepository.js.map +1 -1
- package/localVagrantRepository.d.ts +9 -1
- package/localVagrantRepository.js +0 -1
- package/localVagrantRepository.js.map +1 -1
- package/managedUser.d.ts +8 -0
- package/managedUser.js +8 -0
- package/managedUser.js.map +1 -1
- package/mavenRepository.d.ts +9 -0
- package/mavenRepository.js.map +1 -1
- package/oauthSettings.d.ts +3 -3
- package/oauthSettings.js +3 -3
- package/package.json +2 -2
- package/packageCleanupPolicy.d.ts +195 -2
- package/packageCleanupPolicy.js +195 -2
- package/packageCleanupPolicy.js.map +1 -1
- package/provider.d.ts +6 -0
- package/provider.js.map +1 -1
- package/releaseBundleV2CleanupPolicy.d.ts +77 -0
- package/releaseBundleV2CleanupPolicy.js +77 -0
- package/releaseBundleV2CleanupPolicy.js.map +1 -1
- package/remoteAlpineRepository.d.ts +9 -1
- package/remoteAlpineRepository.js +0 -1
- package/remoteAlpineRepository.js.map +1 -1
- package/remoteAnsibleRepository.d.ts +9 -1
- package/remoteAnsibleRepository.js +0 -1
- package/remoteAnsibleRepository.js.map +1 -1
- package/remoteBowerRepository.d.ts +9 -1
- package/remoteBowerRepository.js +0 -1
- package/remoteBowerRepository.js.map +1 -1
- package/remoteCargoRepository.d.ts +9 -1
- package/remoteCargoRepository.js +0 -1
- package/remoteCargoRepository.js.map +1 -1
- package/remoteChefRepository.d.ts +9 -1
- package/remoteChefRepository.js +0 -1
- package/remoteChefRepository.js.map +1 -1
- package/remoteCocoapodsRepository.d.ts +9 -1
- package/remoteCocoapodsRepository.js +0 -1
- package/remoteCocoapodsRepository.js.map +1 -1
- package/remoteComposerRepository.d.ts +9 -1
- package/remoteComposerRepository.js +0 -1
- package/remoteComposerRepository.js.map +1 -1
- package/remoteConanRepository.d.ts +9 -1
- package/remoteConanRepository.js +0 -1
- package/remoteConanRepository.js.map +1 -1
- package/remoteCondaRepository.d.ts +9 -1
- package/remoteCondaRepository.js +0 -1
- package/remoteCondaRepository.js.map +1 -1
- package/remoteCranRepository.d.ts +9 -1
- package/remoteCranRepository.js +0 -1
- package/remoteCranRepository.js.map +1 -1
- package/remoteDebianRepository.d.ts +9 -1
- package/remoteDebianRepository.js +0 -1
- package/remoteDebianRepository.js.map +1 -1
- package/remoteDockerRepository.d.ts +9 -1
- package/remoteDockerRepository.js +0 -1
- package/remoteDockerRepository.js.map +1 -1
- package/remoteGemsRepository.d.ts +9 -1
- package/remoteGemsRepository.js +0 -1
- package/remoteGemsRepository.js.map +1 -1
- package/remoteGenericRepository.d.ts +9 -1
- package/remoteGenericRepository.js +0 -1
- package/remoteGenericRepository.js.map +1 -1
- package/remoteGitlfsRepository.d.ts +9 -1
- package/remoteGitlfsRepository.js +0 -1
- package/remoteGitlfsRepository.js.map +1 -1
- package/remoteGoRepository.d.ts +9 -1
- package/remoteGoRepository.js +0 -1
- package/remoteGoRepository.js.map +1 -1
- package/remoteGradleRepository.d.ts +9 -1
- package/remoteGradleRepository.js +0 -1
- package/remoteGradleRepository.js.map +1 -1
- package/remoteHelmRepository.d.ts +9 -1
- package/remoteHelmRepository.js +0 -1
- package/remoteHelmRepository.js.map +1 -1
- package/remoteHelmociRepository.d.ts +9 -0
- package/remoteHelmociRepository.js.map +1 -1
- package/remoteHexRepository.d.ts +18 -4
- package/remoteHexRepository.js +0 -1
- package/remoteHexRepository.js.map +1 -1
- package/remoteHuggingfacemlRepository.d.ts +9 -1
- package/remoteHuggingfacemlRepository.js +0 -1
- package/remoteHuggingfacemlRepository.js.map +1 -1
- package/remoteIvyRepository.d.ts +9 -1
- package/remoteIvyRepository.js +0 -1
- package/remoteIvyRepository.js.map +1 -1
- package/remoteMavenRepository.d.ts +9 -1
- package/remoteMavenRepository.js +0 -1
- package/remoteMavenRepository.js.map +1 -1
- package/remoteNpmRepository.d.ts +9 -1
- package/remoteNpmRepository.js +0 -1
- package/remoteNpmRepository.js.map +1 -1
- package/remoteNugetRepository.d.ts +9 -1
- package/remoteNugetRepository.js +0 -1
- package/remoteNugetRepository.js.map +1 -1
- package/remoteOciRepository.d.ts +9 -1
- package/remoteOciRepository.js +0 -1
- package/remoteOciRepository.js.map +1 -1
- package/remoteOpkgRepository.d.ts +9 -1
- package/remoteOpkgRepository.js +0 -1
- package/remoteOpkgRepository.js.map +1 -1
- package/remoteP2Repository.d.ts +9 -1
- package/remoteP2Repository.js +0 -1
- package/remoteP2Repository.js.map +1 -1
- package/remotePubRepository.d.ts +9 -1
- package/remotePubRepository.js +0 -1
- package/remotePubRepository.js.map +1 -1
- package/remotePuppetRepository.d.ts +9 -1
- package/remotePuppetRepository.js +0 -1
- package/remotePuppetRepository.js.map +1 -1
- package/remotePypiRepository.d.ts +9 -1
- package/remotePypiRepository.js +0 -1
- package/remotePypiRepository.js.map +1 -1
- package/remoteRpmRepository.d.ts +9 -1
- package/remoteRpmRepository.js +0 -1
- package/remoteRpmRepository.js.map +1 -1
- package/remoteSbtRepository.d.ts +9 -1
- package/remoteSbtRepository.js +0 -1
- package/remoteSbtRepository.js.map +1 -1
- package/remoteSwiftRepository.d.ts +9 -1
- package/remoteSwiftRepository.js +0 -1
- package/remoteSwiftRepository.js.map +1 -1
- package/remoteTerraformRepository.d.ts +91 -1
- package/remoteTerraformRepository.js +49 -1
- package/remoteTerraformRepository.js.map +1 -1
- package/remoteVcsRepository.d.ts +9 -1
- package/remoteVcsRepository.js +0 -1
- package/remoteVcsRepository.js.map +1 -1
- package/samlSettings.d.ts +1 -1
- package/samlSettings.js +1 -1
- package/types/input.d.ts +9 -0
- package/types/output.d.ts +9 -0
- package/unmanagedUser.d.ts +21 -0
- package/unmanagedUser.js.map +1 -1
- package/user.d.ts +9 -0
- package/user.js +9 -0
- package/user.js.map +1 -1
- package/virtualAlpineRepository.d.ts +9 -0
- package/virtualAlpineRepository.js.map +1 -1
- package/virtualAnsibleRepository.d.ts +9 -1
- package/virtualAnsibleRepository.js +0 -1
- package/virtualAnsibleRepository.js.map +1 -1
- package/virtualBowerRepository.d.ts +9 -0
- package/virtualBowerRepository.js.map +1 -1
- package/virtualChefRepository.d.ts +9 -0
- package/virtualChefRepository.js.map +1 -1
- package/virtualCocoapodsRepository.d.ts +9 -0
- package/virtualCocoapodsRepository.js.map +1 -1
- package/virtualComposerRepository.d.ts +9 -0
- package/virtualComposerRepository.js.map +1 -1
- package/virtualConanRepository.d.ts +9 -0
- package/virtualConanRepository.js.map +1 -1
- package/virtualCondaRepository.d.ts +9 -0
- package/virtualCondaRepository.js.map +1 -1
- package/virtualCranRepository.d.ts +9 -0
- package/virtualCranRepository.js.map +1 -1
- package/virtualDebianRepository.d.ts +9 -0
- package/virtualDebianRepository.js.map +1 -1
- package/virtualDockerRepository.d.ts +9 -0
- package/virtualDockerRepository.js.map +1 -1
- package/virtualGemsRepository.d.ts +9 -0
- package/virtualGemsRepository.js.map +1 -1
- package/virtualGenericRepository.d.ts +9 -0
- package/virtualGenericRepository.js.map +1 -1
- package/virtualGitlfsRepository.d.ts +9 -0
- package/virtualGitlfsRepository.js.map +1 -1
- package/virtualGradleRepository.d.ts +9 -0
- package/virtualGradleRepository.js.map +1 -1
- package/virtualHelmRepository.d.ts +9 -0
- package/virtualHelmRepository.js.map +1 -1
- package/virtualHelmociRepository.d.ts +9 -0
- package/virtualHelmociRepository.js.map +1 -1
- package/virtualHexRepository.d.ts +18 -4
- package/virtualHexRepository.js +0 -1
- package/virtualHexRepository.js.map +1 -1
- package/virtualIvyRepository.d.ts +9 -0
- package/virtualIvyRepository.js.map +1 -1
- package/virtualNpmRepository.d.ts +9 -0
- package/virtualNpmRepository.js.map +1 -1
- package/virtualNugetRepository.d.ts +9 -0
- package/virtualNugetRepository.js.map +1 -1
- package/virtualOciRepository.d.ts +9 -0
- package/virtualOciRepository.js.map +1 -1
- package/virtualP2Repository.d.ts +9 -0
- package/virtualP2Repository.js.map +1 -1
- package/virtualPubRepository.d.ts +9 -0
- package/virtualPubRepository.js.map +1 -1
- package/virtualPuppetRepository.d.ts +9 -0
- package/virtualPuppetRepository.js.map +1 -1
- package/virtualPypiRepository.d.ts +9 -0
- package/virtualPypiRepository.js.map +1 -1
- package/virtualRpmRepository.d.ts +24 -3
- package/virtualRpmRepository.js.map +1 -1
- package/virtualSbtRepository.d.ts +9 -0
- package/virtualSbtRepository.js.map +1 -1
- package/virtualSwiftRepository.d.ts +9 -0
- package/virtualSwiftRepository.js.map +1 -1
- package/virtualTerraformRepository.d.ts +12 -0
- package/virtualTerraformRepository.js +3 -0
- package/virtualTerraformRepository.js.map +1 -1
package/alpineRepository.d.ts
CHANGED
|
@@ -31,7 +31,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
31
31
|
* ## Import
|
|
32
32
|
*
|
|
33
33
|
* Local repositories can be imported using their name, e.g.
|
|
34
|
-
*
|
|
35
34
|
* ```sh
|
|
36
35
|
* $ pulumi import artifactory:index/alpineRepository:AlpineRepository terraform-local-test-alpine-repo-basic terraform-local-test-alpine-repo-basic
|
|
37
36
|
* ```
|
|
@@ -90,13 +89,21 @@ export declare class AlpineRepository extends pulumi.CustomResource {
|
|
|
90
89
|
*/
|
|
91
90
|
readonly notes: pulumi.Output<string>;
|
|
92
91
|
/**
|
|
93
|
-
*
|
|
92
|
+
* The RSA key to be used to sign alpine indices.
|
|
93
|
+
*
|
|
94
|
+
* Artifactory REST API call Get Key Pair doesn't return keys `privateKey` and `passphrase`, but consumes these keys in the POST call.
|
|
95
|
+
*
|
|
96
|
+
*
|
|
97
|
+
* The meta-argument `lifecycle` used here to make Provider ignore the changes for these two keys in the Terraform state.
|
|
94
98
|
*/
|
|
95
99
|
readonly primaryKeypairRef: pulumi.Output<string>;
|
|
96
100
|
/**
|
|
97
101
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
98
102
|
*/
|
|
99
103
|
readonly priorityResolution: pulumi.Output<boolean>;
|
|
104
|
+
/**
|
|
105
|
+
* Before Artifactory 7.53.1, up to 2 values (`DEV` and `PROD`) are allowed. From 7.53.1 to 7.107.1, only one value is allowed. From 7.107.1, multiple values are allowed.The attribute should only be used if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but will remain in the Terraform state, which will create state drift during the update.
|
|
106
|
+
*/
|
|
100
107
|
readonly projectEnvironments: pulumi.Output<string[]>;
|
|
101
108
|
/**
|
|
102
109
|
* Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
@@ -165,13 +172,21 @@ export interface AlpineRepositoryState {
|
|
|
165
172
|
*/
|
|
166
173
|
notes?: pulumi.Input<string>;
|
|
167
174
|
/**
|
|
168
|
-
*
|
|
175
|
+
* The RSA key to be used to sign alpine indices.
|
|
176
|
+
*
|
|
177
|
+
* Artifactory REST API call Get Key Pair doesn't return keys `privateKey` and `passphrase`, but consumes these keys in the POST call.
|
|
178
|
+
*
|
|
179
|
+
*
|
|
180
|
+
* The meta-argument `lifecycle` used here to make Provider ignore the changes for these two keys in the Terraform state.
|
|
169
181
|
*/
|
|
170
182
|
primaryKeypairRef?: pulumi.Input<string>;
|
|
171
183
|
/**
|
|
172
184
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
173
185
|
*/
|
|
174
186
|
priorityResolution?: pulumi.Input<boolean>;
|
|
187
|
+
/**
|
|
188
|
+
* Before Artifactory 7.53.1, up to 2 values (`DEV` and `PROD`) are allowed. From 7.53.1 to 7.107.1, only one value is allowed. From 7.107.1, multiple values are allowed.The attribute should only be used if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but will remain in the Terraform state, which will create state drift during the update.
|
|
189
|
+
*/
|
|
175
190
|
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
176
191
|
/**
|
|
177
192
|
* Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
@@ -232,13 +247,21 @@ export interface AlpineRepositoryArgs {
|
|
|
232
247
|
*/
|
|
233
248
|
notes?: pulumi.Input<string>;
|
|
234
249
|
/**
|
|
235
|
-
*
|
|
250
|
+
* The RSA key to be used to sign alpine indices.
|
|
251
|
+
*
|
|
252
|
+
* Artifactory REST API call Get Key Pair doesn't return keys `privateKey` and `passphrase`, but consumes these keys in the POST call.
|
|
253
|
+
*
|
|
254
|
+
*
|
|
255
|
+
* The meta-argument `lifecycle` used here to make Provider ignore the changes for these two keys in the Terraform state.
|
|
236
256
|
*/
|
|
237
257
|
primaryKeypairRef?: pulumi.Input<string>;
|
|
238
258
|
/**
|
|
239
259
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
240
260
|
*/
|
|
241
261
|
priorityResolution?: pulumi.Input<boolean>;
|
|
262
|
+
/**
|
|
263
|
+
* Before Artifactory 7.53.1, up to 2 values (`DEV` and `PROD`) are allowed. From 7.53.1 to 7.107.1, only one value is allowed. From 7.107.1, multiple values are allowed.The attribute should only be used if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but will remain in the Terraform state, which will create state drift during the update.
|
|
264
|
+
*/
|
|
242
265
|
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
243
266
|
/**
|
|
244
267
|
* Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
package/alpineRepository.js
CHANGED
|
@@ -37,7 +37,6 @@ const utilities = require("./utilities");
|
|
|
37
37
|
* ## Import
|
|
38
38
|
*
|
|
39
39
|
* Local repositories can be imported using their name, e.g.
|
|
40
|
-
*
|
|
41
40
|
* ```sh
|
|
42
41
|
* $ pulumi import artifactory:index/alpineRepository:AlpineRepository terraform-local-test-alpine-repo-basic terraform-local-test-alpine-repo-basic
|
|
43
42
|
* ```
|
package/alpineRepository.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alpineRepository.js","sourceRoot":"","sources":["../alpineRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"alpineRepository.js","sourceRoot":"","sources":["../alpineRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;IAKD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YACpD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAxJL,4CAyJC;AA3IG,gBAAgB;AACO,6BAAY,GAAG,qDAAqD,CAAC"}
|
package/anonymousUser.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* Provides an Artifactory anonymous user resource. This can be used to import Artifactory 'anonymous' user for some use cases where this is useful.
|
|
4
|
+
*
|
|
5
|
+
* This resource is not intended for managing the 'anonymous' user in Artifactory. Use the `artifactory.User` resource instead.
|
|
6
|
+
*
|
|
7
|
+
* !> Anonymous user cannot be created from scratch, nor updated/deleted once imported into Terraform state.
|
|
8
|
+
*
|
|
3
9
|
* ## Example Usage
|
|
4
10
|
*
|
|
5
11
|
* ```typescript
|
|
@@ -32,6 +38,9 @@ export declare class AnonymousUser extends pulumi.CustomResource {
|
|
|
32
38
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
39
|
*/
|
|
34
40
|
static isInstance(obj: any): obj is AnonymousUser;
|
|
41
|
+
/**
|
|
42
|
+
* Username for anonymous user. This is only for ensuring resource schema is valid for Terraform. This is not meant to be set or updated in the HCL.
|
|
43
|
+
*/
|
|
35
44
|
readonly name: pulumi.Output<string>;
|
|
36
45
|
/**
|
|
37
46
|
* Create a AnonymousUser resource with the given unique name, arguments, and options.
|
|
@@ -46,11 +55,17 @@ export declare class AnonymousUser extends pulumi.CustomResource {
|
|
|
46
55
|
* Input properties used for looking up and filtering AnonymousUser resources.
|
|
47
56
|
*/
|
|
48
57
|
export interface AnonymousUserState {
|
|
58
|
+
/**
|
|
59
|
+
* Username for anonymous user. This is only for ensuring resource schema is valid for Terraform. This is not meant to be set or updated in the HCL.
|
|
60
|
+
*/
|
|
49
61
|
name?: pulumi.Input<string>;
|
|
50
62
|
}
|
|
51
63
|
/**
|
|
52
64
|
* The set of arguments for constructing a AnonymousUser resource.
|
|
53
65
|
*/
|
|
54
66
|
export interface AnonymousUserArgs {
|
|
67
|
+
/**
|
|
68
|
+
* Username for anonymous user. This is only for ensuring resource schema is valid for Terraform. This is not meant to be set or updated in the HCL.
|
|
69
|
+
*/
|
|
55
70
|
name?: pulumi.Input<string>;
|
|
56
71
|
}
|
package/anonymousUser.js
CHANGED
|
@@ -6,6 +6,12 @@ exports.AnonymousUser = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Provides an Artifactory anonymous user resource. This can be used to import Artifactory 'anonymous' user for some use cases where this is useful.
|
|
10
|
+
*
|
|
11
|
+
* This resource is not intended for managing the 'anonymous' user in Artifactory. Use the `artifactory.User` resource instead.
|
|
12
|
+
*
|
|
13
|
+
* !> Anonymous user cannot be created from scratch, nor updated/deleted once imported into Terraform state.
|
|
14
|
+
*
|
|
9
15
|
* ## Example Usage
|
|
10
16
|
*
|
|
11
17
|
* ```typescript
|
package/anonymousUser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anonymousUser.js","sourceRoot":"","sources":["../anonymousUser.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"anonymousUser.js","sourceRoot":"","sources":["../anonymousUser.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;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input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* Provides an Artifactory Archive Policy resource. This resource enable system administrators to define and customize policies based on specific criteria for removing unused binaries from across their JFrog platform. See [Retention Policies](https://jfrog.com/help/r/jfrog-platform-administration-documentation/archive) for more details.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ### Time-based Archive Policy (Days)
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
14
|
+
*
|
|
15
|
+
* const my_archive_policy = new artifactory.ArchivePolicy("my-archive-policy", {
|
|
16
|
+
* key: "my-archive-policy",
|
|
17
|
+
* description: "My archive policy",
|
|
18
|
+
* cronExpression: "0 0 2 ? * MON-SAT *",
|
|
19
|
+
* durationInMinutes: 60,
|
|
20
|
+
* enabled: true,
|
|
21
|
+
* skipTrashcan: false,
|
|
22
|
+
* searchCriteria: {
|
|
23
|
+
* packageTypes: ["docker"],
|
|
24
|
+
* repos: ["**"],
|
|
25
|
+
* includeAllProjects: true,
|
|
26
|
+
* includedProjects: [],
|
|
27
|
+
* includedPackages: ["**"],
|
|
28
|
+
* excludedPackages: ["com/jfrog/latest"],
|
|
29
|
+
* createdBeforeInDays: 30,
|
|
30
|
+
* lastDownloadedBeforeInDays: 60,
|
|
31
|
+
* },
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ### Version-based Archive Policy
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
40
|
+
*
|
|
41
|
+
* const my_version_policy = new artifactory.ArchivePolicy("my-version-policy", {
|
|
42
|
+
* key: "my-version-policy",
|
|
43
|
+
* description: "Keep only latest versions",
|
|
44
|
+
* cronExpression: "0 0 2 ? * MON-SAT *",
|
|
45
|
+
* durationInMinutes: 60,
|
|
46
|
+
* enabled: true,
|
|
47
|
+
* skipTrashcan: false,
|
|
48
|
+
* searchCriteria: {
|
|
49
|
+
* packageTypes: ["docker"],
|
|
50
|
+
* repos: ["**"],
|
|
51
|
+
* includeAllProjects: true,
|
|
52
|
+
* includedProjects: [],
|
|
53
|
+
* includedPackages: ["**"],
|
|
54
|
+
* excludedPackages: ["com/jfrog/latest"],
|
|
55
|
+
* keepLastNVersions: 5,
|
|
56
|
+
* },
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* ### Properties-based Archive Policy
|
|
61
|
+
*
|
|
62
|
+
* ```typescript
|
|
63
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
64
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
65
|
+
*
|
|
66
|
+
* const my_properties_policy = new artifactory.ArchivePolicy("my-properties-policy", {
|
|
67
|
+
* key: "my-properties-policy",
|
|
68
|
+
* description: "Archive based on properties",
|
|
69
|
+
* cronExpression: "0 0 2 ? * MON-SAT *",
|
|
70
|
+
* durationInMinutes: 60,
|
|
71
|
+
* enabled: true,
|
|
72
|
+
* skipTrashcan: false,
|
|
73
|
+
* searchCriteria: {
|
|
74
|
+
* packageTypes: ["docker"],
|
|
75
|
+
* repos: ["**"],
|
|
76
|
+
* includeAllProjects: true,
|
|
77
|
+
* includedProjects: [],
|
|
78
|
+
* includedPackages: ["**"],
|
|
79
|
+
* excludedPackages: ["com/jfrog/latest"],
|
|
80
|
+
* includedProperties: {
|
|
81
|
+
* "build.name": ["my-app"],
|
|
82
|
+
* },
|
|
83
|
+
* },
|
|
84
|
+
* });
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* ### Using Variables for Condition Fields
|
|
88
|
+
*
|
|
89
|
+
* You can use Terraform variables for condition fields (`createdBeforeInDays`, `lastDownloadedBeforeInDays`, `createdBeforeInMonths`, `lastDownloadedBeforeInMonths`, `keepLastNVersions`, `includedProperties`) and `durationInMinutes`. The validator will skip validation when values are unknown (variables), allowing `terraform validate` to pass without requiring variable values.
|
|
90
|
+
*
|
|
91
|
+
* **Example with variables:**
|
|
92
|
+
*
|
|
93
|
+
* ```typescript
|
|
94
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
95
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
96
|
+
*
|
|
97
|
+
* const config = new pulumi.Config();
|
|
98
|
+
* const archivePolicyLastDownloadedBeforeInDays = config.getNumber("archivePolicyLastDownloadedBeforeInDays") || 30;
|
|
99
|
+
* const archivePolicyDurationInMinutes = config.getNumber("archivePolicyDurationInMinutes") || 60;
|
|
100
|
+
* const my_archive_policy = new artifactory.ArchivePolicy("my-archive-policy", {
|
|
101
|
+
* key: "my-archive-policy",
|
|
102
|
+
* description: "My archive policy with variables",
|
|
103
|
+
* cronExpression: "0 0 2 ? * MON-SAT *",
|
|
104
|
+
* durationInMinutes: archivePolicyDurationInMinutes,
|
|
105
|
+
* enabled: true,
|
|
106
|
+
* skipTrashcan: false,
|
|
107
|
+
* searchCriteria: {
|
|
108
|
+
* packageTypes: [
|
|
109
|
+
* "docker",
|
|
110
|
+
* "generic",
|
|
111
|
+
* "helm",
|
|
112
|
+
* "helmoci",
|
|
113
|
+
* "nuget",
|
|
114
|
+
* "terraform",
|
|
115
|
+
* ],
|
|
116
|
+
* repos: ["**"],
|
|
117
|
+
* includeAllProjects: false,
|
|
118
|
+
* includedProjects: ["default"],
|
|
119
|
+
* includedPackages: ["**"],
|
|
120
|
+
* excludedPackages: ["com/jfrog/latest"],
|
|
121
|
+
* lastDownloadedBeforeInDays: archivePolicyLastDownloadedBeforeInDays,
|
|
122
|
+
* },
|
|
123
|
+
* });
|
|
124
|
+
* ```
|
|
125
|
+
*
|
|
126
|
+
* **Important Notes:**
|
|
127
|
+
* - Variables with default values allow `terraform validate` to pass without requiring variable values
|
|
128
|
+
* - Variables without default values will require values to be provided during `pulumi preview` or `pulumi up`
|
|
129
|
+
* - The validator automatically skips validation when condition field values are unknown (variables), preventing false validation errors during `terraform validate`
|
|
130
|
+
*
|
|
131
|
+
* ## Validation Rules
|
|
132
|
+
*
|
|
133
|
+
* The archive policy resource enforces the following validation rules:
|
|
134
|
+
*
|
|
135
|
+
* 1. **Condition Types**: A policy must use exactly one of the following condition types:
|
|
136
|
+
* - Time-based conditions (`days-based`)
|
|
137
|
+
* - Version-based condition (`keepLastNVersions`)
|
|
138
|
+
* - Properties-based condition (`includedProperties`)
|
|
139
|
+
*
|
|
140
|
+
* 2. **Mutual Exclusivity**: Cannot use multiple condition types together.
|
|
141
|
+
*
|
|
142
|
+
* 3. **Zero Values**: Time-based and version-based conditions must have values greater than 0.
|
|
143
|
+
*
|
|
144
|
+
* 4. **Days vs Months**: Cannot use both days-based conditions (`createdBeforeInDays`, `lastDownloadedBeforeInDays`) and months-based conditions (`createdBeforeInMonths`, `lastDownloadedBeforeInMonths`) together.
|
|
145
|
+
*
|
|
146
|
+
* 5. **Properties Validation**: Properties-based conditions must have exactly one key with exactly one string value.
|
|
147
|
+
*
|
|
148
|
+
* 6. **Project Configuration**: When `includeAllProjects` is set to `true`, the `includedProjects` field can be empty array. When `includeAllProjects` is `false`, `includedProjects` must contain at least one project key.
|
|
149
|
+
*
|
|
150
|
+
* ## Supported Package Types
|
|
151
|
+
*
|
|
152
|
+
* The following package types are supported: alpine, ansible, cargo, chef, cocoapods, composer, conan, conda, debian, docker, gems, generic, go, gradle, helm, helmoci, huggingfaceml, maven, npm, nuget, oci, opkg, puppet, pypi, sbt, swift, terraform, terraformbackend, vagrant, yum.
|
|
153
|
+
*
|
|
154
|
+
* ## Version Compatibility
|
|
155
|
+
*
|
|
156
|
+
* - The `createdBeforeInDays` and `lastDownloadedBeforeInDays` attributes are only supported in Artifactory 7.111.2 and later. For earlier versions, use `createdBeforeInMonths` and `lastDownloadedBeforeInMonths`.
|
|
157
|
+
*
|
|
5
158
|
* ## Import
|
|
6
159
|
*
|
|
7
160
|
* ```sh
|
|
8
161
|
* $ pulumi import artifactory:index/archivePolicy:ArchivePolicy my-archive-policy my-policy
|
|
9
|
-
* ```
|
|
10
162
|
*
|
|
11
|
-
* ```sh
|
|
12
163
|
* $ pulumi import artifactory:index/archivePolicy:ArchivePolicy my-archive-policy my-policy:myproj
|
|
13
164
|
* ```
|
|
14
165
|
*/
|
package/archivePolicy.js
CHANGED
|
@@ -6,13 +6,164 @@ exports.ArchivePolicy = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Provides an Artifactory Archive Policy resource. This resource enable system administrators to define and customize policies based on specific criteria for removing unused binaries from across their JFrog platform. See [Retention Policies](https://jfrog.com/help/r/jfrog-platform-administration-documentation/archive) for more details.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Time-based Archive Policy (Days)
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
18
|
+
*
|
|
19
|
+
* const my_archive_policy = new artifactory.ArchivePolicy("my-archive-policy", {
|
|
20
|
+
* key: "my-archive-policy",
|
|
21
|
+
* description: "My archive policy",
|
|
22
|
+
* cronExpression: "0 0 2 ? * MON-SAT *",
|
|
23
|
+
* durationInMinutes: 60,
|
|
24
|
+
* enabled: true,
|
|
25
|
+
* skipTrashcan: false,
|
|
26
|
+
* searchCriteria: {
|
|
27
|
+
* packageTypes: ["docker"],
|
|
28
|
+
* repos: ["**"],
|
|
29
|
+
* includeAllProjects: true,
|
|
30
|
+
* includedProjects: [],
|
|
31
|
+
* includedPackages: ["**"],
|
|
32
|
+
* excludedPackages: ["com/jfrog/latest"],
|
|
33
|
+
* createdBeforeInDays: 30,
|
|
34
|
+
* lastDownloadedBeforeInDays: 60,
|
|
35
|
+
* },
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* ### Version-based Archive Policy
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
44
|
+
*
|
|
45
|
+
* const my_version_policy = new artifactory.ArchivePolicy("my-version-policy", {
|
|
46
|
+
* key: "my-version-policy",
|
|
47
|
+
* description: "Keep only latest versions",
|
|
48
|
+
* cronExpression: "0 0 2 ? * MON-SAT *",
|
|
49
|
+
* durationInMinutes: 60,
|
|
50
|
+
* enabled: true,
|
|
51
|
+
* skipTrashcan: false,
|
|
52
|
+
* searchCriteria: {
|
|
53
|
+
* packageTypes: ["docker"],
|
|
54
|
+
* repos: ["**"],
|
|
55
|
+
* includeAllProjects: true,
|
|
56
|
+
* includedProjects: [],
|
|
57
|
+
* includedPackages: ["**"],
|
|
58
|
+
* excludedPackages: ["com/jfrog/latest"],
|
|
59
|
+
* keepLastNVersions: 5,
|
|
60
|
+
* },
|
|
61
|
+
* });
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* ### Properties-based Archive Policy
|
|
65
|
+
*
|
|
66
|
+
* ```typescript
|
|
67
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
68
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
69
|
+
*
|
|
70
|
+
* const my_properties_policy = new artifactory.ArchivePolicy("my-properties-policy", {
|
|
71
|
+
* key: "my-properties-policy",
|
|
72
|
+
* description: "Archive based on properties",
|
|
73
|
+
* cronExpression: "0 0 2 ? * MON-SAT *",
|
|
74
|
+
* durationInMinutes: 60,
|
|
75
|
+
* enabled: true,
|
|
76
|
+
* skipTrashcan: false,
|
|
77
|
+
* searchCriteria: {
|
|
78
|
+
* packageTypes: ["docker"],
|
|
79
|
+
* repos: ["**"],
|
|
80
|
+
* includeAllProjects: true,
|
|
81
|
+
* includedProjects: [],
|
|
82
|
+
* includedPackages: ["**"],
|
|
83
|
+
* excludedPackages: ["com/jfrog/latest"],
|
|
84
|
+
* includedProperties: {
|
|
85
|
+
* "build.name": ["my-app"],
|
|
86
|
+
* },
|
|
87
|
+
* },
|
|
88
|
+
* });
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* ### Using Variables for Condition Fields
|
|
92
|
+
*
|
|
93
|
+
* You can use Terraform variables for condition fields (`createdBeforeInDays`, `lastDownloadedBeforeInDays`, `createdBeforeInMonths`, `lastDownloadedBeforeInMonths`, `keepLastNVersions`, `includedProperties`) and `durationInMinutes`. The validator will skip validation when values are unknown (variables), allowing `terraform validate` to pass without requiring variable values.
|
|
94
|
+
*
|
|
95
|
+
* **Example with variables:**
|
|
96
|
+
*
|
|
97
|
+
* ```typescript
|
|
98
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
99
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
100
|
+
*
|
|
101
|
+
* const config = new pulumi.Config();
|
|
102
|
+
* const archivePolicyLastDownloadedBeforeInDays = config.getNumber("archivePolicyLastDownloadedBeforeInDays") || 30;
|
|
103
|
+
* const archivePolicyDurationInMinutes = config.getNumber("archivePolicyDurationInMinutes") || 60;
|
|
104
|
+
* const my_archive_policy = new artifactory.ArchivePolicy("my-archive-policy", {
|
|
105
|
+
* key: "my-archive-policy",
|
|
106
|
+
* description: "My archive policy with variables",
|
|
107
|
+
* cronExpression: "0 0 2 ? * MON-SAT *",
|
|
108
|
+
* durationInMinutes: archivePolicyDurationInMinutes,
|
|
109
|
+
* enabled: true,
|
|
110
|
+
* skipTrashcan: false,
|
|
111
|
+
* searchCriteria: {
|
|
112
|
+
* packageTypes: [
|
|
113
|
+
* "docker",
|
|
114
|
+
* "generic",
|
|
115
|
+
* "helm",
|
|
116
|
+
* "helmoci",
|
|
117
|
+
* "nuget",
|
|
118
|
+
* "terraform",
|
|
119
|
+
* ],
|
|
120
|
+
* repos: ["**"],
|
|
121
|
+
* includeAllProjects: false,
|
|
122
|
+
* includedProjects: ["default"],
|
|
123
|
+
* includedPackages: ["**"],
|
|
124
|
+
* excludedPackages: ["com/jfrog/latest"],
|
|
125
|
+
* lastDownloadedBeforeInDays: archivePolicyLastDownloadedBeforeInDays,
|
|
126
|
+
* },
|
|
127
|
+
* });
|
|
128
|
+
* ```
|
|
129
|
+
*
|
|
130
|
+
* **Important Notes:**
|
|
131
|
+
* - Variables with default values allow `terraform validate` to pass without requiring variable values
|
|
132
|
+
* - Variables without default values will require values to be provided during `pulumi preview` or `pulumi up`
|
|
133
|
+
* - The validator automatically skips validation when condition field values are unknown (variables), preventing false validation errors during `terraform validate`
|
|
134
|
+
*
|
|
135
|
+
* ## Validation Rules
|
|
136
|
+
*
|
|
137
|
+
* The archive policy resource enforces the following validation rules:
|
|
138
|
+
*
|
|
139
|
+
* 1. **Condition Types**: A policy must use exactly one of the following condition types:
|
|
140
|
+
* - Time-based conditions (`days-based`)
|
|
141
|
+
* - Version-based condition (`keepLastNVersions`)
|
|
142
|
+
* - Properties-based condition (`includedProperties`)
|
|
143
|
+
*
|
|
144
|
+
* 2. **Mutual Exclusivity**: Cannot use multiple condition types together.
|
|
145
|
+
*
|
|
146
|
+
* 3. **Zero Values**: Time-based and version-based conditions must have values greater than 0.
|
|
147
|
+
*
|
|
148
|
+
* 4. **Days vs Months**: Cannot use both days-based conditions (`createdBeforeInDays`, `lastDownloadedBeforeInDays`) and months-based conditions (`createdBeforeInMonths`, `lastDownloadedBeforeInMonths`) together.
|
|
149
|
+
*
|
|
150
|
+
* 5. **Properties Validation**: Properties-based conditions must have exactly one key with exactly one string value.
|
|
151
|
+
*
|
|
152
|
+
* 6. **Project Configuration**: When `includeAllProjects` is set to `true`, the `includedProjects` field can be empty array. When `includeAllProjects` is `false`, `includedProjects` must contain at least one project key.
|
|
153
|
+
*
|
|
154
|
+
* ## Supported Package Types
|
|
155
|
+
*
|
|
156
|
+
* The following package types are supported: alpine, ansible, cargo, chef, cocoapods, composer, conan, conda, debian, docker, gems, generic, go, gradle, helm, helmoci, huggingfaceml, maven, npm, nuget, oci, opkg, puppet, pypi, sbt, swift, terraform, terraformbackend, vagrant, yum.
|
|
157
|
+
*
|
|
158
|
+
* ## Version Compatibility
|
|
159
|
+
*
|
|
160
|
+
* - The `createdBeforeInDays` and `lastDownloadedBeforeInDays` attributes are only supported in Artifactory 7.111.2 and later. For earlier versions, use `createdBeforeInMonths` and `lastDownloadedBeforeInMonths`.
|
|
161
|
+
*
|
|
9
162
|
* ## Import
|
|
10
163
|
*
|
|
11
164
|
* ```sh
|
|
12
165
|
* $ pulumi import artifactory:index/archivePolicy:ArchivePolicy my-archive-policy my-policy
|
|
13
|
-
* ```
|
|
14
166
|
*
|
|
15
|
-
* ```sh
|
|
16
167
|
* $ pulumi import artifactory:index/archivePolicy:ArchivePolicy my-archive-policy my-policy:myproj
|
|
17
168
|
* ```
|
|
18
169
|
*/
|
package/archivePolicy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"archivePolicy.js","sourceRoot":"","sources":["../archivePolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"archivePolicy.js","sourceRoot":"","sources":["../archivePolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiKG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0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C;aACtD;YACD,IAAI,IAAI,EAAE,cAAc,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA/FL,sCAgGC;AAlFG,gBAAgB;AACO,0BAAY,GAAG,+CAA+C,CAAC"}
|
package/config/vars.d.ts
CHANGED
|
@@ -26,6 +26,9 @@ export declare const clientPrivateKeyPem: string | undefined;
|
|
|
26
26
|
* OIDC provider name. See [Configure an OIDC Integration](https://jfrog.com/help/r/jfrog-platform-administration-documentation/configure-an-oidc-integration) for more details.
|
|
27
27
|
*/
|
|
28
28
|
export declare const oidcProviderName: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Terraform Cloud Workload Identity Token tag name. Use for generating multiple TFC workload identity tokens. When set, the provider will attempt to use env var with this tag name as suffix. **Note:** this is case sensitive, so if set to `JFROG`, then env var `TFC_WORKLOAD_IDENTITY_TOKEN_JFROG` is used instead of `TFC_WORKLOAD_IDENTITY_TOKEN`. See [Generating Multiple Tokens](https://developer.hashicorp.com/terraform/cloud-docs/workspaces/dynamic-provider-credentials/manual-generation#generating-multiple-tokens) on HCP Terraform for more details.
|
|
31
|
+
*/
|
|
29
32
|
export declare const tfcCredentialTagName: string | undefined;
|
|
30
33
|
/**
|
|
31
34
|
* Artifactory URL.
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;AAMlD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE;IAC1C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IACvC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,0BAA0B,EAAE;IACvD,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAC;IACpD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,uBAAuB,EAAE;IACpD,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC;IACjD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CA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be imported using their name, e.g.
|
|
55
|
-
*
|
|
56
55
|
* ```sh
|
|
57
56
|
* $ pulumi import artifactory:index/debianRepository:DebianRepository my-debian-repo my-debian-repo
|
|
58
57
|
* ```
|
|
@@ -127,6 +126,9 @@ export declare class DebianRepository extends pulumi.CustomResource {
|
|
|
127
126
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
128
127
|
*/
|
|
129
128
|
readonly priorityResolution: pulumi.Output<boolean>;
|
|
129
|
+
/**
|
|
130
|
+
* Before Artifactory 7.53.1, up to 2 values (`DEV` and `PROD`) are allowed. From 7.53.1 to 7.107.1, only one value is allowed. From 7.107.1, multiple values are allowed.The attribute should only be used if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but will remain in the Terraform state, which will create state drift during the update.
|
|
131
|
+
*/
|
|
130
132
|
readonly projectEnvironments: pulumi.Output<string[]>;
|
|
131
133
|
/**
|
|
132
134
|
* Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
@@ -146,6 +148,10 @@ export declare class DebianRepository extends pulumi.CustomResource {
|
|
|
146
148
|
readonly secondaryKeypairRef: pulumi.Output<string>;
|
|
147
149
|
/**
|
|
148
150
|
* When set, the repository will use the deprecated trivial layout.
|
|
151
|
+
*
|
|
152
|
+
* Artifactory REST API call Get Key Pair doesn't return keys `privateKey` and `passphrase`, but consumes these keys in the POST call.
|
|
153
|
+
*
|
|
154
|
+
* The meta-argument `lifecycle` used here to make Provider ignore the changes for these two keys in the Terraform state.
|
|
149
155
|
*/
|
|
150
156
|
readonly trivialLayout: pulumi.Output<boolean>;
|
|
151
157
|
/**
|
|
@@ -219,6 +225,9 @@ export interface DebianRepositoryState {
|
|
|
219
225
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
220
226
|
*/
|
|
221
227
|
priorityResolution?: pulumi.Input<boolean>;
|
|
228
|
+
/**
|
|
229
|
+
* Before Artifactory 7.53.1, up to 2 values (`DEV` and `PROD`) are allowed. From 7.53.1 to 7.107.1, only one value is allowed. From 7.107.1, multiple values are allowed.The attribute should only be used if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but will remain in the Terraform state, which will create state drift during the update.
|
|
230
|
+
*/
|
|
222
231
|
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
223
232
|
/**
|
|
224
233
|
* Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
@@ -238,6 +247,10 @@ export interface DebianRepositoryState {
|
|
|
238
247
|
secondaryKeypairRef?: pulumi.Input<string>;
|
|
239
248
|
/**
|
|
240
249
|
* When set, the repository will use the deprecated trivial layout.
|
|
250
|
+
*
|
|
251
|
+
* Artifactory REST API call Get Key Pair doesn't return keys `privateKey` and `passphrase`, but consumes these keys in the POST call.
|
|
252
|
+
*
|
|
253
|
+
* The meta-argument `lifecycle` used here to make Provider ignore the changes for these two keys in the Terraform state.
|
|
241
254
|
*/
|
|
242
255
|
trivialLayout?: pulumi.Input<boolean>;
|
|
243
256
|
/**
|
|
@@ -303,6 +316,9 @@ export interface DebianRepositoryArgs {
|
|
|
303
316
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
304
317
|
*/
|
|
305
318
|
priorityResolution?: pulumi.Input<boolean>;
|
|
319
|
+
/**
|
|
320
|
+
* Before Artifactory 7.53.1, up to 2 values (`DEV` and `PROD`) are allowed. From 7.53.1 to 7.107.1, only one value is allowed. From 7.107.1, multiple values are allowed.The attribute should only be used if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but will remain in the Terraform state, which will create state drift during the update.
|
|
321
|
+
*/
|
|
306
322
|
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
307
323
|
/**
|
|
308
324
|
* Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
@@ -322,6 +338,10 @@ export interface DebianRepositoryArgs {
|
|
|
322
338
|
secondaryKeypairRef?: pulumi.Input<string>;
|
|
323
339
|
/**
|
|
324
340
|
* When set, the repository will use the deprecated trivial layout.
|
|
341
|
+
*
|
|
342
|
+
* Artifactory REST API call Get Key Pair doesn't return keys `privateKey` and `passphrase`, but consumes these keys in the POST call.
|
|
343
|
+
*
|
|
344
|
+
* The meta-argument `lifecycle` used here to make Provider ignore the changes for these two keys in the Terraform state.
|
|
325
345
|
*/
|
|
326
346
|
trivialLayout?: pulumi.Input<boolean>;
|
|
327
347
|
/**
|
package/debianRepository.js
CHANGED
package/debianRepository.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debianRepository.js","sourceRoot":"","sources":["../debianRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"debianRepository.js","sourceRoot":"","sources":["../debianRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,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