@pulumi/artifactory 2.9.0 → 2.10.0
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/accessToken.d.ts +2 -1
- package/accessToken.js +24 -22
- package/accessToken.js.map +1 -1
- package/alpineRepository.d.ts +15 -9
- package/alpineRepository.js +22 -22
- package/alpineRepository.js.map +1 -1
- package/anonymousUser.js +14 -14
- package/anonymousUser.js.map +1 -1
- package/apiKey.d.ts +10 -2
- package/apiKey.js +16 -14
- package/apiKey.js.map +1 -1
- package/artifactPropertyWebhook.d.ts +2 -1
- package/artifactPropertyWebhook.js +22 -22
- package/artifactPropertyWebhook.js.map +1 -1
- package/artifactWebhook.d.ts +2 -1
- package/artifactWebhook.js +22 -22
- package/artifactWebhook.js.map +1 -1
- package/artifactoryReleaseBundleWebhook.d.ts +2 -1
- package/artifactoryReleaseBundleWebhook.js +22 -22
- package/artifactoryReleaseBundleWebhook.js.map +1 -1
- package/backup.d.ts +8 -6
- package/backup.js +27 -25
- package/backup.js.map +1 -1
- package/buildWebhook.d.ts +2 -1
- package/buildWebhook.js +22 -22
- package/buildWebhook.js.map +1 -1
- package/certificate.d.ts +2 -5
- package/certificate.js +28 -29
- package/certificate.js.map +1 -1
- package/debianRepository.d.ts +15 -9
- package/debianRepository.js +22 -22
- package/debianRepository.js.map +1 -1
- package/distributionWebhook.d.ts +2 -1
- package/distributionWebhook.js +22 -22
- package/distributionWebhook.js.map +1 -1
- package/dockerV1Repository.d.ts +16 -12
- package/dockerV1Repository.js +23 -25
- package/dockerV1Repository.js.map +1 -1
- package/dockerV2Repository.d.ts +15 -9
- package/dockerV2Repository.js +22 -22
- package/dockerV2Repository.js.map +1 -1
- package/dockerWebhook.d.ts +2 -1
- package/dockerWebhook.js +22 -22
- package/dockerWebhook.js.map +1 -1
- package/federatedAlpineRepository.d.ts +17 -10
- package/federatedAlpineRepository.js +22 -22
- package/federatedAlpineRepository.js.map +1 -1
- package/federatedBowerRepository.d.ts +17 -10
- package/federatedBowerRepository.js +22 -22
- package/federatedBowerRepository.js.map +1 -1
- package/federatedCargoRepository.d.ts +17 -10
- package/federatedCargoRepository.js +22 -22
- package/federatedCargoRepository.js.map +1 -1
- package/federatedChefRepository.d.ts +17 -10
- package/federatedChefRepository.js +22 -22
- package/federatedChefRepository.js.map +1 -1
- package/federatedCocoapodsRepository.d.ts +17 -10
- package/federatedCocoapodsRepository.js +22 -22
- package/federatedCocoapodsRepository.js.map +1 -1
- package/federatedComposerRepository.d.ts +17 -10
- package/federatedComposerRepository.js +22 -22
- package/federatedComposerRepository.js.map +1 -1
- package/federatedConanRepository.d.ts +17 -10
- package/federatedConanRepository.js +22 -22
- package/federatedConanRepository.js.map +1 -1
- package/federatedCondaRepository.d.ts +17 -10
- package/federatedCondaRepository.js +22 -22
- package/federatedCondaRepository.js.map +1 -1
- package/federatedCranRepository.d.ts +17 -10
- package/federatedCranRepository.js +22 -22
- package/federatedCranRepository.js.map +1 -1
- package/federatedDebianRepository.d.ts +17 -10
- package/federatedDebianRepository.js +22 -22
- package/federatedDebianRepository.js.map +1 -1
- package/federatedDockerRepository.d.ts +19 -10
- package/federatedDockerRepository.js +24 -22
- package/federatedDockerRepository.js.map +1 -1
- package/federatedDockerV1Repository.d.ts +279 -0
- package/federatedDockerV1Repository.js +125 -0
- package/federatedDockerV1Repository.js.map +1 -0
- package/federatedDockerV2Repository.d.ts +323 -0
- package/federatedDockerV2Repository.js +125 -0
- package/federatedDockerV2Repository.js.map +1 -0
- package/federatedGemsRepository.d.ts +24 -17
- package/federatedGemsRepository.js +29 -29
- package/federatedGemsRepository.js.map +1 -1
- package/federatedGenericRepository.d.ts +17 -10
- package/federatedGenericRepository.js +22 -22
- package/federatedGenericRepository.js.map +1 -1
- package/federatedGitltfsRepository.d.ts +17 -10
- package/federatedGitltfsRepository.js +22 -22
- package/federatedGitltfsRepository.js.map +1 -1
- package/federatedGoRepository.d.ts +17 -10
- package/federatedGoRepository.js +22 -22
- package/federatedGoRepository.js.map +1 -1
- package/federatedGradleRepository.d.ts +17 -10
- package/federatedGradleRepository.js +22 -22
- package/federatedGradleRepository.js.map +1 -1
- package/federatedHelmRepository.d.ts +17 -10
- package/federatedHelmRepository.js +22 -22
- package/federatedHelmRepository.js.map +1 -1
- package/federatedIvyRepository.d.ts +17 -10
- package/federatedIvyRepository.js +22 -22
- package/federatedIvyRepository.js.map +1 -1
- package/federatedMavenRepository.d.ts +17 -10
- package/federatedMavenRepository.js +22 -22
- package/federatedMavenRepository.js.map +1 -1
- package/federatedNpmRepository.d.ts +17 -10
- package/federatedNpmRepository.js +22 -22
- package/federatedNpmRepository.js.map +1 -1
- package/federatedNugetRepository.d.ts +17 -10
- package/federatedNugetRepository.js +22 -22
- package/federatedNugetRepository.js.map +1 -1
- package/federatedOpkgRepository.d.ts +17 -10
- package/federatedOpkgRepository.js +22 -22
- package/federatedOpkgRepository.js.map +1 -1
- package/federatedPuppetRepository.d.ts +17 -10
- package/federatedPuppetRepository.js +22 -22
- package/federatedPuppetRepository.js.map +1 -1
- package/federatedPypiRepository.d.ts +17 -10
- package/federatedPypiRepository.js +22 -22
- package/federatedPypiRepository.js.map +1 -1
- package/federatedRpmRepository.d.ts +17 -10
- package/federatedRpmRepository.js +22 -22
- package/federatedRpmRepository.js.map +1 -1
- package/federatedSbtRepository.d.ts +17 -10
- package/federatedSbtRepository.js +22 -22
- package/federatedSbtRepository.js.map +1 -1
- package/federatedSwiftRepository.d.ts +270 -0
- package/federatedSwiftRepository.js +117 -0
- package/federatedSwiftRepository.js.map +1 -0
- package/federatedTerraformModuleRepository.d.ts +18 -11
- package/federatedTerraformModuleRepository.js +23 -23
- package/federatedTerraformModuleRepository.js.map +1 -1
- package/federatedTerraformProviderRepository.d.ts +18 -11
- package/federatedTerraformProviderRepository.js +23 -23
- package/federatedTerraformProviderRepository.js.map +1 -1
- package/federatedVagrantRepository.d.ts +17 -10
- package/federatedVagrantRepository.js +22 -22
- package/federatedVagrantRepository.js.map +1 -1
- package/generalSecurity.d.ts +4 -4
- package/generalSecurity.js +18 -18
- package/generalSecurity.js.map +1 -1
- package/getFile.d.ts +20 -3
- package/getFile.js +22 -8
- package/getFile.js.map +1 -1
- package/getFileinfo.d.ts +19 -3
- package/getFileinfo.js +21 -8
- package/getFileinfo.js.map +1 -1
- package/goRepository.d.ts +18 -27
- package/goRepository.js +22 -24
- package/goRepository.js.map +1 -1
- package/group.d.ts +12 -21
- package/group.js +22 -22
- package/group.js.map +1 -1
- package/index.d.ts +474 -154
- package/index.js +486 -475
- package/index.js.map +1 -1
- package/keypair.d.ts +4 -4
- package/keypair.js +27 -25
- package/keypair.js.map +1 -1
- package/ldapGroupSetting.d.ts +1 -20
- package/ldapGroupSetting.js +23 -42
- package/ldapGroupSetting.js.map +1 -1
- package/ldapSetting.d.ts +3 -1
- package/ldapSetting.js +28 -24
- package/ldapSetting.js.map +1 -1
- package/localBowerRepository.d.ts +16 -12
- package/localBowerRepository.js +23 -25
- package/localBowerRepository.js.map +1 -1
- package/localCargoRepository.d.ts +15 -9
- package/localCargoRepository.js +22 -22
- package/localCargoRepository.js.map +1 -1
- package/localChefRepository.d.ts +16 -12
- package/localChefRepository.js +23 -25
- package/localChefRepository.js.map +1 -1
- package/localCocoapodsRepository.d.ts +16 -12
- package/localCocoapodsRepository.js +23 -25
- package/localCocoapodsRepository.js.map +1 -1
- package/localComposerRepository.d.ts +16 -12
- package/localComposerRepository.js +23 -25
- package/localComposerRepository.js.map +1 -1
- package/localConanRepository.d.ts +16 -12
- package/localConanRepository.js +23 -25
- package/localConanRepository.js.map +1 -1
- package/localCondaRepository.d.ts +16 -12
- package/localCondaRepository.js +23 -25
- package/localCondaRepository.js.map +1 -1
- package/localCranRepository.d.ts +16 -12
- package/localCranRepository.js +23 -25
- package/localCranRepository.js.map +1 -1
- package/localGemsRepository.d.ts +16 -12
- package/localGemsRepository.js +23 -25
- package/localGemsRepository.js.map +1 -1
- package/localGenericRepository.d.ts +16 -12
- package/localGenericRepository.js +23 -25
- package/localGenericRepository.js.map +1 -1
- package/localGitltfsRepository.d.ts +16 -12
- package/localGitltfsRepository.js +23 -25
- package/localGitltfsRepository.js.map +1 -1
- package/localGoRepository.d.ts +16 -12
- package/localGoRepository.js +23 -25
- package/localGoRepository.js.map +1 -1
- package/localGradleRepository.d.ts +15 -18
- package/localGradleRepository.js +22 -22
- package/localGradleRepository.js.map +1 -1
- package/localHelmRepository.d.ts +16 -12
- package/localHelmRepository.js +23 -25
- package/localHelmRepository.js.map +1 -1
- package/localIvyRepository.d.ts +16 -12
- package/localIvyRepository.js +23 -25
- package/localIvyRepository.js.map +1 -1
- package/localMavenRepository.d.ts +15 -18
- package/localMavenRepository.js +22 -22
- package/localMavenRepository.js.map +1 -1
- package/localNpmRepository.d.ts +16 -12
- package/localNpmRepository.js +23 -25
- package/localNpmRepository.js.map +1 -1
- package/localNugetRepository.d.ts +15 -9
- package/localNugetRepository.js +22 -22
- package/localNugetRepository.js.map +1 -1
- package/localOpkgRepository.d.ts +16 -12
- package/localOpkgRepository.js +23 -25
- package/localOpkgRepository.js.map +1 -1
- package/localPubRepository.d.ts +16 -12
- package/localPubRepository.js +23 -25
- package/localPubRepository.js.map +1 -1
- package/localPuppetRepository.d.ts +16 -12
- package/localPuppetRepository.js +23 -25
- package/localPuppetRepository.js.map +1 -1
- package/localPypiRepository.d.ts +16 -12
- package/localPypiRepository.js +23 -25
- package/localPypiRepository.js.map +1 -1
- package/localRpmRepository.d.ts +15 -9
- package/localRpmRepository.js +22 -22
- package/localRpmRepository.js.map +1 -1
- package/localSbtRepository.d.ts +16 -12
- package/localSbtRepository.js +23 -25
- package/localSbtRepository.js.map +1 -1
- package/localSwiftRepository.d.ts +16 -12
- package/localSwiftRepository.js +23 -25
- package/localSwiftRepository.js.map +1 -1
- package/localTerraformBackendRepository.d.ts +16 -12
- package/localTerraformBackendRepository.js +23 -25
- package/localTerraformBackendRepository.js.map +1 -1
- package/localTerraformModuleRepository.d.ts +16 -12
- package/localTerraformModuleRepository.js +23 -25
- package/localTerraformModuleRepository.js.map +1 -1
- package/localTerraformProviderRepository.d.ts +16 -12
- package/localTerraformProviderRepository.js +23 -25
- package/localTerraformProviderRepository.js.map +1 -1
- package/localVagrantRepository.d.ts +16 -12
- package/localVagrantRepository.js +23 -25
- package/localVagrantRepository.js.map +1 -1
- package/managedUser.js +25 -23
- package/managedUser.js.map +1 -1
- package/mavenRepository.d.ts +18 -27
- package/mavenRepository.js +22 -24
- package/mavenRepository.js.map +1 -1
- package/oauthSettings.d.ts +4 -1
- package/oauthSettings.js +24 -22
- package/oauthSettings.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/permissionTarget.d.ts +5 -4
- package/permissionTarget.js +20 -20
- package/permissionTarget.js.map +1 -1
- package/permissionTargets.d.ts +5 -4
- package/permissionTargets.js +20 -20
- package/permissionTargets.js.map +1 -1
- package/propertySet.d.ts +4 -1
- package/propertySet.js +23 -21
- package/propertySet.js.map +1 -1
- package/provider.js +14 -12
- package/provider.js.map +1 -1
- package/proxy.d.ts +195 -0
- package/proxy.js +117 -0
- package/proxy.js.map +1 -0
- package/pullReplication.d.ts +21 -5
- package/pullReplication.js +28 -28
- package/pullReplication.js.map +1 -1
- package/pushReplication.d.ts +20 -1
- package/pushReplication.js +22 -22
- package/pushReplication.js.map +1 -1
- package/releaseBundleWebhook.d.ts +2 -1
- package/releaseBundleWebhook.js +22 -22
- package/releaseBundleWebhook.js.map +1 -1
- package/remoteAlpineRepository.d.ts +142 -77
- package/remoteAlpineRepository.js +29 -27
- package/remoteAlpineRepository.js.map +1 -1
- package/remoteBowerRepository.d.ts +142 -77
- package/remoteBowerRepository.js +29 -27
- package/remoteBowerRepository.js.map +1 -1
- package/remoteCargoRepository.d.ts +142 -77
- package/remoteCargoRepository.js +29 -27
- package/remoteCargoRepository.js.map +1 -1
- package/remoteChefRepository.d.ts +142 -77
- package/remoteChefRepository.js +29 -27
- package/remoteChefRepository.js.map +1 -1
- package/remoteCocoapodsRepository.d.ts +142 -77
- package/remoteCocoapodsRepository.js +29 -27
- package/remoteCocoapodsRepository.js.map +1 -1
- package/remoteComposerRepository.d.ts +142 -77
- package/remoteComposerRepository.js +29 -27
- package/remoteComposerRepository.js.map +1 -1
- package/remoteConanRepository.d.ts +151 -73
- package/remoteConanRepository.js +32 -27
- package/remoteConanRepository.js.map +1 -1
- package/remoteCondaRepository.d.ts +142 -77
- package/remoteCondaRepository.js +29 -27
- package/remoteCondaRepository.js.map +1 -1
- package/remoteCranRepository.d.ts +142 -77
- package/remoteCranRepository.js +29 -27
- package/remoteCranRepository.js.map +1 -1
- package/remoteDebianRepository.d.ts +142 -77
- package/remoteDebianRepository.js +29 -27
- package/remoteDebianRepository.js.map +1 -1
- package/remoteDockerRepository.d.ts +144 -79
- package/remoteDockerRepository.js +31 -29
- package/remoteDockerRepository.js.map +1 -1
- package/remoteGemsRepository.d.ts +142 -77
- package/remoteGemsRepository.js +29 -27
- package/remoteGemsRepository.js.map +1 -1
- package/remoteGenericRepository.d.ts +142 -77
- package/remoteGenericRepository.js +29 -27
- package/remoteGenericRepository.js.map +1 -1
- package/remoteGitlfsRepository.d.ts +142 -77
- package/remoteGitlfsRepository.js +29 -27
- package/remoteGitlfsRepository.js.map +1 -1
- package/remoteGoRepository.d.ts +142 -77
- package/remoteGoRepository.js +29 -27
- package/remoteGoRepository.js.map +1 -1
- package/remoteGradleRepository.d.ts +145 -80
- package/remoteGradleRepository.js +29 -27
- package/remoteGradleRepository.js.map +1 -1
- package/remoteHelmRepository.d.ts +142 -77
- package/remoteHelmRepository.js +29 -27
- package/remoteHelmRepository.js.map +1 -1
- package/remoteIvyRepository.d.ts +145 -80
- package/remoteIvyRepository.js +29 -27
- package/remoteIvyRepository.js.map +1 -1
- package/remoteMavenRepository.d.ts +142 -77
- package/remoteMavenRepository.js +29 -27
- package/remoteMavenRepository.js.map +1 -1
- package/remoteNpmRepository.d.ts +142 -77
- package/remoteNpmRepository.js +29 -27
- package/remoteNpmRepository.js.map +1 -1
- package/remoteNugetRepository.d.ts +155 -77
- package/remoteNugetRepository.js +32 -27
- package/remoteNugetRepository.js.map +1 -1
- package/remoteOpkgRepository.d.ts +142 -77
- package/remoteOpkgRepository.js +29 -27
- package/remoteOpkgRepository.js.map +1 -1
- package/remoteP2Repository.d.ts +142 -77
- package/remoteP2Repository.js +29 -27
- package/remoteP2Repository.js.map +1 -1
- package/remotePubRepository.d.ts +142 -77
- package/remotePubRepository.js +29 -27
- package/remotePubRepository.js.map +1 -1
- package/remotePuppetRepository.d.ts +142 -77
- package/remotePuppetRepository.js +29 -27
- package/remotePuppetRepository.js.map +1 -1
- package/remotePypiRepository.d.ts +142 -77
- package/remotePypiRepository.js +29 -27
- package/remotePypiRepository.js.map +1 -1
- package/remoteRpmRepository.d.ts +142 -77
- package/remoteRpmRepository.js +29 -27
- package/remoteRpmRepository.js.map +1 -1
- package/remoteSbtRepository.d.ts +145 -80
- package/remoteSbtRepository.js +29 -27
- package/remoteSbtRepository.js.map +1 -1
- package/remoteSwiftRepository.d.ts +142 -77
- package/remoteSwiftRepository.js +29 -27
- package/remoteSwiftRepository.js.map +1 -1
- package/remoteTerraformRepository.d.ts +142 -77
- package/remoteTerraformRepository.js +29 -27
- package/remoteTerraformRepository.js.map +1 -1
- package/remoteVcsRepository.d.ts +144 -78
- package/remoteVcsRepository.js +31 -28
- package/remoteVcsRepository.js.map +1 -1
- package/replicationConfig.d.ts +16 -10
- package/replicationConfig.js +27 -31
- package/replicationConfig.js.map +1 -1
- package/repositoryLayout.js +22 -22
- package/repositoryLayout.js.map +1 -1
- package/samlSettings.d.ts +2 -0
- package/samlSettings.js +24 -22
- package/samlSettings.js.map +1 -1
- package/scopedToken.js +24 -22
- package/scopedToken.js.map +1 -1
- package/singleReplicationConfig.d.ts +9 -23
- package/singleReplicationConfig.js +24 -45
- package/singleReplicationConfig.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +40 -25
- package/types/output.d.ts +40 -25
- package/unmanagedUser.d.ts +3 -3
- package/unmanagedUser.js +25 -23
- package/unmanagedUser.js.map +1 -1
- package/user.d.ts +9 -9
- package/user.js +28 -23
- package/user.js.map +1 -1
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
- package/virtualAlpineRepository.d.ts +21 -18
- package/virtualAlpineRepository.js +22 -22
- package/virtualAlpineRepository.js.map +1 -1
- package/virtualBowerRepository.d.ts +18 -27
- package/virtualBowerRepository.js +22 -24
- package/virtualBowerRepository.js.map +1 -1
- package/virtualChefRepository.d.ts +21 -18
- package/virtualChefRepository.js +22 -22
- package/virtualChefRepository.js.map +1 -1
- package/virtualComposerRepository.d.ts +18 -27
- package/virtualComposerRepository.js +22 -24
- package/virtualComposerRepository.js.map +1 -1
- package/virtualConanRepository.d.ts +21 -18
- package/virtualConanRepository.js +22 -22
- package/virtualConanRepository.js.map +1 -1
- package/virtualCondaRepository.d.ts +21 -18
- package/virtualCondaRepository.js +22 -22
- package/virtualCondaRepository.js.map +1 -1
- package/virtualCranRepository.d.ts +21 -18
- package/virtualCranRepository.js +22 -22
- package/virtualCranRepository.js.map +1 -1
- package/virtualDebianRepository.d.ts +21 -18
- package/virtualDebianRepository.js +22 -22
- package/virtualDebianRepository.js.map +1 -1
- package/virtualDockerRepository.d.ts +25 -21
- package/virtualDockerRepository.js +25 -24
- package/virtualDockerRepository.js.map +1 -1
- package/virtualGemsRepository.d.ts +18 -27
- package/virtualGemsRepository.js +22 -24
- package/virtualGemsRepository.js.map +1 -1
- package/virtualGenericRepository.d.ts +18 -27
- package/virtualGenericRepository.js +22 -24
- package/virtualGenericRepository.js.map +1 -1
- package/virtualGitlfsRepository.d.ts +18 -43
- package/virtualGitlfsRepository.js +22 -40
- package/virtualGitlfsRepository.js.map +1 -1
- package/virtualGradleRepository.d.ts +18 -27
- package/virtualGradleRepository.js +22 -24
- package/virtualGradleRepository.js.map +1 -1
- package/virtualHelmRepository.d.ts +21 -18
- package/virtualHelmRepository.js +22 -22
- package/virtualHelmRepository.js.map +1 -1
- package/virtualIvyRepository.d.ts +18 -27
- package/virtualIvyRepository.js +22 -24
- package/virtualIvyRepository.js.map +1 -1
- package/virtualNpmRepository.d.ts +21 -18
- package/virtualNpmRepository.js +22 -22
- package/virtualNpmRepository.js.map +1 -1
- package/virtualNugetRepository.d.ts +18 -27
- package/virtualNugetRepository.js +22 -24
- package/virtualNugetRepository.js.map +1 -1
- package/virtualP2Repository.d.ts +18 -27
- package/virtualP2Repository.js +22 -24
- package/virtualP2Repository.js.map +1 -1
- package/virtualPubRepository.d.ts +18 -27
- package/virtualPubRepository.js +22 -24
- package/virtualPubRepository.js.map +1 -1
- package/virtualPuppetRepository.d.ts +18 -27
- package/virtualPuppetRepository.js +22 -24
- package/virtualPuppetRepository.js.map +1 -1
- package/virtualPypiRepository.d.ts +18 -27
- package/virtualPypiRepository.js +22 -24
- package/virtualPypiRepository.js.map +1 -1
- package/virtualRpmRepository.d.ts +18 -27
- package/virtualRpmRepository.js +22 -24
- package/virtualRpmRepository.js.map +1 -1
- package/virtualSbtRepository.d.ts +18 -27
- package/virtualSbtRepository.js +22 -24
- package/virtualSbtRepository.js.map +1 -1
- package/virtualSwiftRepository.d.ts +18 -27
- package/virtualSwiftRepository.js +22 -24
- package/virtualSwiftRepository.js.map +1 -1
- package/virtualTerraformRepository.d.ts +18 -27
- package/virtualTerraformRepository.js +22 -24
- package/virtualTerraformRepository.js.map +1 -1
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Creates a federated Docker repository.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
12
|
+
*
|
|
13
|
+
* const terraform_federated_test_docker_repo = new artifactory.FederatedDockerV2Repository("terraform-federated-test-docker-repo", {
|
|
14
|
+
* key: "terraform-federated-test-docker-repo",
|
|
15
|
+
* members: [
|
|
16
|
+
* {
|
|
17
|
+
* enabled: true,
|
|
18
|
+
* url: "http://tempurl.org/artifactory/terraform-federated-test-docker-repo",
|
|
19
|
+
* },
|
|
20
|
+
* {
|
|
21
|
+
* enabled: true,
|
|
22
|
+
* url: "http://tempurl2.org/artifactory/terraform-federated-test-docker-repo-2",
|
|
23
|
+
* },
|
|
24
|
+
* ],
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* Federated repositories can be imported using their name, e.g.
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import artifactory:index/federatedDockerV2Repository:FederatedDockerV2Repository terraform-federated-test-docker-repo terraform-federated-test-docker-repo
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare class FederatedDockerV2Repository extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing FederatedDockerV2Repository resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FederatedDockerV2RepositoryState, opts?: pulumi.CustomResourceOptions): FederatedDockerV2Repository;
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of FederatedDockerV2Repository. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj: any): obj is FederatedDockerV2Repository;
|
|
52
|
+
/**
|
|
53
|
+
* The Docker API version to use. This cannot be set
|
|
54
|
+
*/
|
|
55
|
+
readonly apiVersion: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and
|
|
58
|
+
* therefore requires strict content moderation to prevent malicious users from uploading content that may compromise
|
|
59
|
+
* security (e.g., cross-site scripting attacks).
|
|
60
|
+
*/
|
|
61
|
+
readonly archiveBrowsingEnabled: pulumi.Output<boolean | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed.
|
|
64
|
+
*/
|
|
65
|
+
readonly blackedOut: pulumi.Output<boolean | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* When set, Artifactory will block the pushing of Docker images with manifest v2 schema 1 to this repository.
|
|
68
|
+
*/
|
|
69
|
+
readonly blockPushingSchema1: pulumi.Output<boolean>;
|
|
70
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* When set, download requests to this repository will redirect the client to download the artifact directly from the cloud
|
|
73
|
+
* storage provider. Available in Enterprise+ and Edge licenses only.
|
|
74
|
+
*/
|
|
75
|
+
readonly downloadDirect: pulumi.Output<boolean | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no
|
|
78
|
+
* artifacts are excluded.
|
|
79
|
+
*/
|
|
80
|
+
readonly excludesPattern: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
83
|
+
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
84
|
+
*/
|
|
85
|
+
readonly includesPattern: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* the identity key of the repo.
|
|
88
|
+
*/
|
|
89
|
+
readonly key: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The maximum number of unique tags of a single Docker image to store in this repository. Once the number tags for an
|
|
92
|
+
* image exceeds this setting, older tags are removed. A value of 0 (default) indicates there is no limit. This only
|
|
93
|
+
* applies to manifest v2
|
|
94
|
+
*/
|
|
95
|
+
readonly maxUniqueTags: pulumi.Output<number | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* The list of Federated members and must contain this repository URL (configured base URL
|
|
98
|
+
* `/artifactory/` + repo `key`). Note that each of the federated members will need to have a base URL set.
|
|
99
|
+
* Please follow the [instruction](https://www.jfrog.com/confluence/display/JFROG/Working+with+Federated+Repositories#WorkingwithFederatedRepositories-SettingUpaFederatedRepository)
|
|
100
|
+
* to set up Federated repositories correctly.
|
|
101
|
+
*/
|
|
102
|
+
readonly members: pulumi.Output<outputs.FederatedDockerV2RepositoryMember[]>;
|
|
103
|
+
readonly notes: pulumi.Output<string | undefined>;
|
|
104
|
+
readonly packageType: pulumi.Output<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
107
|
+
*/
|
|
108
|
+
readonly priorityResolution: pulumi.Output<boolean | undefined>;
|
|
109
|
+
/**
|
|
110
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
111
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
112
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
113
|
+
*/
|
|
114
|
+
readonly projectEnvironments: pulumi.Output<string[]>;
|
|
115
|
+
/**
|
|
116
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
117
|
+
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
118
|
+
*/
|
|
119
|
+
readonly projectKey: pulumi.Output<string | undefined>;
|
|
120
|
+
/**
|
|
121
|
+
* List of property set name
|
|
122
|
+
*/
|
|
123
|
+
readonly propertySets: pulumi.Output<string[] | undefined>;
|
|
124
|
+
/**
|
|
125
|
+
* Repository layout key for the local repository
|
|
126
|
+
*/
|
|
127
|
+
readonly repoLayoutRef: pulumi.Output<string | undefined>;
|
|
128
|
+
/**
|
|
129
|
+
* If greater than 1, overwritten tags will be saved by their digest, up to the set up number. This only applies to
|
|
130
|
+
* manifest V2
|
|
131
|
+
*/
|
|
132
|
+
readonly tagRetention: pulumi.Output<number | undefined>;
|
|
133
|
+
/**
|
|
134
|
+
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
|
|
135
|
+
* Xray settings.
|
|
136
|
+
*/
|
|
137
|
+
readonly xrayIndex: pulumi.Output<boolean | undefined>;
|
|
138
|
+
/**
|
|
139
|
+
* Create a FederatedDockerV2Repository resource with the given unique name, arguments, and options.
|
|
140
|
+
*
|
|
141
|
+
* @param name The _unique_ name of the resource.
|
|
142
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
143
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
144
|
+
*/
|
|
145
|
+
constructor(name: string, args: FederatedDockerV2RepositoryArgs, opts?: pulumi.CustomResourceOptions);
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Input properties used for looking up and filtering FederatedDockerV2Repository resources.
|
|
149
|
+
*/
|
|
150
|
+
export interface FederatedDockerV2RepositoryState {
|
|
151
|
+
/**
|
|
152
|
+
* The Docker API version to use. This cannot be set
|
|
153
|
+
*/
|
|
154
|
+
apiVersion?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and
|
|
157
|
+
* therefore requires strict content moderation to prevent malicious users from uploading content that may compromise
|
|
158
|
+
* security (e.g., cross-site scripting attacks).
|
|
159
|
+
*/
|
|
160
|
+
archiveBrowsingEnabled?: pulumi.Input<boolean>;
|
|
161
|
+
/**
|
|
162
|
+
* When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed.
|
|
163
|
+
*/
|
|
164
|
+
blackedOut?: pulumi.Input<boolean>;
|
|
165
|
+
/**
|
|
166
|
+
* When set, Artifactory will block the pushing of Docker images with manifest v2 schema 1 to this repository.
|
|
167
|
+
*/
|
|
168
|
+
blockPushingSchema1?: pulumi.Input<boolean>;
|
|
169
|
+
description?: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* When set, download requests to this repository will redirect the client to download the artifact directly from the cloud
|
|
172
|
+
* storage provider. Available in Enterprise+ and Edge licenses only.
|
|
173
|
+
*/
|
|
174
|
+
downloadDirect?: pulumi.Input<boolean>;
|
|
175
|
+
/**
|
|
176
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no
|
|
177
|
+
* artifacts are excluded.
|
|
178
|
+
*/
|
|
179
|
+
excludesPattern?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
182
|
+
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
183
|
+
*/
|
|
184
|
+
includesPattern?: pulumi.Input<string>;
|
|
185
|
+
/**
|
|
186
|
+
* the identity key of the repo.
|
|
187
|
+
*/
|
|
188
|
+
key?: pulumi.Input<string>;
|
|
189
|
+
/**
|
|
190
|
+
* The maximum number of unique tags of a single Docker image to store in this repository. Once the number tags for an
|
|
191
|
+
* image exceeds this setting, older tags are removed. A value of 0 (default) indicates there is no limit. This only
|
|
192
|
+
* applies to manifest v2
|
|
193
|
+
*/
|
|
194
|
+
maxUniqueTags?: pulumi.Input<number>;
|
|
195
|
+
/**
|
|
196
|
+
* The list of Federated members and must contain this repository URL (configured base URL
|
|
197
|
+
* `/artifactory/` + repo `key`). Note that each of the federated members will need to have a base URL set.
|
|
198
|
+
* Please follow the [instruction](https://www.jfrog.com/confluence/display/JFROG/Working+with+Federated+Repositories#WorkingwithFederatedRepositories-SettingUpaFederatedRepository)
|
|
199
|
+
* to set up Federated repositories correctly.
|
|
200
|
+
*/
|
|
201
|
+
members?: pulumi.Input<pulumi.Input<inputs.FederatedDockerV2RepositoryMember>[]>;
|
|
202
|
+
notes?: pulumi.Input<string>;
|
|
203
|
+
packageType?: pulumi.Input<string>;
|
|
204
|
+
/**
|
|
205
|
+
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
206
|
+
*/
|
|
207
|
+
priorityResolution?: pulumi.Input<boolean>;
|
|
208
|
+
/**
|
|
209
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
210
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
211
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
212
|
+
*/
|
|
213
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
214
|
+
/**
|
|
215
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
216
|
+
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
217
|
+
*/
|
|
218
|
+
projectKey?: pulumi.Input<string>;
|
|
219
|
+
/**
|
|
220
|
+
* List of property set name
|
|
221
|
+
*/
|
|
222
|
+
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
223
|
+
/**
|
|
224
|
+
* Repository layout key for the local repository
|
|
225
|
+
*/
|
|
226
|
+
repoLayoutRef?: pulumi.Input<string>;
|
|
227
|
+
/**
|
|
228
|
+
* If greater than 1, overwritten tags will be saved by their digest, up to the set up number. This only applies to
|
|
229
|
+
* manifest V2
|
|
230
|
+
*/
|
|
231
|
+
tagRetention?: pulumi.Input<number>;
|
|
232
|
+
/**
|
|
233
|
+
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
|
|
234
|
+
* Xray settings.
|
|
235
|
+
*/
|
|
236
|
+
xrayIndex?: pulumi.Input<boolean>;
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* The set of arguments for constructing a FederatedDockerV2Repository resource.
|
|
240
|
+
*/
|
|
241
|
+
export interface FederatedDockerV2RepositoryArgs {
|
|
242
|
+
/**
|
|
243
|
+
* When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and
|
|
244
|
+
* therefore requires strict content moderation to prevent malicious users from uploading content that may compromise
|
|
245
|
+
* security (e.g., cross-site scripting attacks).
|
|
246
|
+
*/
|
|
247
|
+
archiveBrowsingEnabled?: pulumi.Input<boolean>;
|
|
248
|
+
/**
|
|
249
|
+
* When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed.
|
|
250
|
+
*/
|
|
251
|
+
blackedOut?: pulumi.Input<boolean>;
|
|
252
|
+
/**
|
|
253
|
+
* When set, Artifactory will block the pushing of Docker images with manifest v2 schema 1 to this repository.
|
|
254
|
+
*/
|
|
255
|
+
blockPushingSchema1?: pulumi.Input<boolean>;
|
|
256
|
+
description?: pulumi.Input<string>;
|
|
257
|
+
/**
|
|
258
|
+
* When set, download requests to this repository will redirect the client to download the artifact directly from the cloud
|
|
259
|
+
* storage provider. Available in Enterprise+ and Edge licenses only.
|
|
260
|
+
*/
|
|
261
|
+
downloadDirect?: pulumi.Input<boolean>;
|
|
262
|
+
/**
|
|
263
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no
|
|
264
|
+
* artifacts are excluded.
|
|
265
|
+
*/
|
|
266
|
+
excludesPattern?: pulumi.Input<string>;
|
|
267
|
+
/**
|
|
268
|
+
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
269
|
+
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
270
|
+
*/
|
|
271
|
+
includesPattern?: pulumi.Input<string>;
|
|
272
|
+
/**
|
|
273
|
+
* the identity key of the repo.
|
|
274
|
+
*/
|
|
275
|
+
key: pulumi.Input<string>;
|
|
276
|
+
/**
|
|
277
|
+
* The maximum number of unique tags of a single Docker image to store in this repository. Once the number tags for an
|
|
278
|
+
* image exceeds this setting, older tags are removed. A value of 0 (default) indicates there is no limit. This only
|
|
279
|
+
* applies to manifest v2
|
|
280
|
+
*/
|
|
281
|
+
maxUniqueTags?: pulumi.Input<number>;
|
|
282
|
+
/**
|
|
283
|
+
* The list of Federated members and must contain this repository URL (configured base URL
|
|
284
|
+
* `/artifactory/` + repo `key`). Note that each of the federated members will need to have a base URL set.
|
|
285
|
+
* Please follow the [instruction](https://www.jfrog.com/confluence/display/JFROG/Working+with+Federated+Repositories#WorkingwithFederatedRepositories-SettingUpaFederatedRepository)
|
|
286
|
+
* to set up Federated repositories correctly.
|
|
287
|
+
*/
|
|
288
|
+
members: pulumi.Input<pulumi.Input<inputs.FederatedDockerV2RepositoryMember>[]>;
|
|
289
|
+
notes?: pulumi.Input<string>;
|
|
290
|
+
/**
|
|
291
|
+
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
292
|
+
*/
|
|
293
|
+
priorityResolution?: pulumi.Input<boolean>;
|
|
294
|
+
/**
|
|
295
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
296
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
297
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
298
|
+
*/
|
|
299
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
300
|
+
/**
|
|
301
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
302
|
+
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
303
|
+
*/
|
|
304
|
+
projectKey?: pulumi.Input<string>;
|
|
305
|
+
/**
|
|
306
|
+
* List of property set name
|
|
307
|
+
*/
|
|
308
|
+
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
309
|
+
/**
|
|
310
|
+
* Repository layout key for the local repository
|
|
311
|
+
*/
|
|
312
|
+
repoLayoutRef?: pulumi.Input<string>;
|
|
313
|
+
/**
|
|
314
|
+
* If greater than 1, overwritten tags will be saved by their digest, up to the set up number. This only applies to
|
|
315
|
+
* manifest V2
|
|
316
|
+
*/
|
|
317
|
+
tagRetention?: pulumi.Input<number>;
|
|
318
|
+
/**
|
|
319
|
+
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
|
|
320
|
+
* Xray settings.
|
|
321
|
+
*/
|
|
322
|
+
xrayIndex?: pulumi.Input<boolean>;
|
|
323
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.FederatedDockerV2Repository = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Creates a federated Docker repository.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
16
|
+
*
|
|
17
|
+
* const terraform_federated_test_docker_repo = new artifactory.FederatedDockerV2Repository("terraform-federated-test-docker-repo", {
|
|
18
|
+
* key: "terraform-federated-test-docker-repo",
|
|
19
|
+
* members: [
|
|
20
|
+
* {
|
|
21
|
+
* enabled: true,
|
|
22
|
+
* url: "http://tempurl.org/artifactory/terraform-federated-test-docker-repo",
|
|
23
|
+
* },
|
|
24
|
+
* {
|
|
25
|
+
* enabled: true,
|
|
26
|
+
* url: "http://tempurl2.org/artifactory/terraform-federated-test-docker-repo-2",
|
|
27
|
+
* },
|
|
28
|
+
* ],
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* Federated repositories can be imported using their name, e.g.
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import artifactory:index/federatedDockerV2Repository:FederatedDockerV2Repository terraform-federated-test-docker-repo terraform-federated-test-docker-repo
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
class FederatedDockerV2Repository extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing FederatedDockerV2Repository resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name, id, state, opts) {
|
|
51
|
+
return new FederatedDockerV2Repository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of FederatedDockerV2Repository. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj) {
|
|
58
|
+
if (obj === undefined || obj === null) {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
return obj['__pulumiType'] === FederatedDockerV2Repository.__pulumiType;
|
|
62
|
+
}
|
|
63
|
+
constructor(name, argsOrState, opts) {
|
|
64
|
+
let resourceInputs = {};
|
|
65
|
+
opts = opts || {};
|
|
66
|
+
if (opts.id) {
|
|
67
|
+
const state = argsOrState;
|
|
68
|
+
resourceInputs["apiVersion"] = state ? state.apiVersion : undefined;
|
|
69
|
+
resourceInputs["archiveBrowsingEnabled"] = state ? state.archiveBrowsingEnabled : undefined;
|
|
70
|
+
resourceInputs["blackedOut"] = state ? state.blackedOut : undefined;
|
|
71
|
+
resourceInputs["blockPushingSchema1"] = state ? state.blockPushingSchema1 : undefined;
|
|
72
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
73
|
+
resourceInputs["downloadDirect"] = state ? state.downloadDirect : undefined;
|
|
74
|
+
resourceInputs["excludesPattern"] = state ? state.excludesPattern : undefined;
|
|
75
|
+
resourceInputs["includesPattern"] = state ? state.includesPattern : undefined;
|
|
76
|
+
resourceInputs["key"] = state ? state.key : undefined;
|
|
77
|
+
resourceInputs["maxUniqueTags"] = state ? state.maxUniqueTags : undefined;
|
|
78
|
+
resourceInputs["members"] = state ? state.members : undefined;
|
|
79
|
+
resourceInputs["notes"] = state ? state.notes : undefined;
|
|
80
|
+
resourceInputs["packageType"] = state ? state.packageType : undefined;
|
|
81
|
+
resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined;
|
|
82
|
+
resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined;
|
|
83
|
+
resourceInputs["projectKey"] = state ? state.projectKey : undefined;
|
|
84
|
+
resourceInputs["propertySets"] = state ? state.propertySets : undefined;
|
|
85
|
+
resourceInputs["repoLayoutRef"] = state ? state.repoLayoutRef : undefined;
|
|
86
|
+
resourceInputs["tagRetention"] = state ? state.tagRetention : undefined;
|
|
87
|
+
resourceInputs["xrayIndex"] = state ? state.xrayIndex : undefined;
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
const args = argsOrState;
|
|
91
|
+
if ((!args || args.key === undefined) && !opts.urn) {
|
|
92
|
+
throw new Error("Missing required property 'key'");
|
|
93
|
+
}
|
|
94
|
+
if ((!args || args.members === undefined) && !opts.urn) {
|
|
95
|
+
throw new Error("Missing required property 'members'");
|
|
96
|
+
}
|
|
97
|
+
resourceInputs["archiveBrowsingEnabled"] = args ? args.archiveBrowsingEnabled : undefined;
|
|
98
|
+
resourceInputs["blackedOut"] = args ? args.blackedOut : undefined;
|
|
99
|
+
resourceInputs["blockPushingSchema1"] = args ? args.blockPushingSchema1 : undefined;
|
|
100
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
101
|
+
resourceInputs["downloadDirect"] = args ? args.downloadDirect : undefined;
|
|
102
|
+
resourceInputs["excludesPattern"] = args ? args.excludesPattern : undefined;
|
|
103
|
+
resourceInputs["includesPattern"] = args ? args.includesPattern : undefined;
|
|
104
|
+
resourceInputs["key"] = args ? args.key : undefined;
|
|
105
|
+
resourceInputs["maxUniqueTags"] = args ? args.maxUniqueTags : undefined;
|
|
106
|
+
resourceInputs["members"] = args ? args.members : undefined;
|
|
107
|
+
resourceInputs["notes"] = args ? args.notes : undefined;
|
|
108
|
+
resourceInputs["priorityResolution"] = args ? args.priorityResolution : undefined;
|
|
109
|
+
resourceInputs["projectEnvironments"] = args ? args.projectEnvironments : undefined;
|
|
110
|
+
resourceInputs["projectKey"] = args ? args.projectKey : undefined;
|
|
111
|
+
resourceInputs["propertySets"] = args ? args.propertySets : undefined;
|
|
112
|
+
resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined;
|
|
113
|
+
resourceInputs["tagRetention"] = args ? args.tagRetention : undefined;
|
|
114
|
+
resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined;
|
|
115
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
116
|
+
resourceInputs["packageType"] = undefined /*out*/;
|
|
117
|
+
}
|
|
118
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
119
|
+
super(FederatedDockerV2Repository.__pulumiType, name, resourceInputs, opts);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
exports.FederatedDockerV2Repository = FederatedDockerV2Repository;
|
|
123
|
+
/** @internal */
|
|
124
|
+
FederatedDockerV2Repository.__pulumiType = 'artifactory:index/federatedDockerV2Repository:FederatedDockerV2Repository';
|
|
125
|
+
//# sourceMappingURL=federatedDockerV2Repository.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"federatedDockerV2Repository.js","sourceRoot":"","sources":["../federatedDockerV2Repository.ts"],"names":[],"mappings":";AAAA,wFAAwF;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AC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,2BAA2B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChF,CAAC;;AAnLL,kEAoLC;AAtKG,gBAAgB;AACO,wCAAY,GAAG,2EAA2E,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
|
-
* Creates a federated
|
|
5
|
+
* Creates a federated Gems repository.
|
|
5
6
|
*
|
|
6
7
|
* ## Example Usage
|
|
7
8
|
*
|
|
@@ -9,16 +10,16 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
9
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
11
|
* import * as artifactory from "@pulumi/artifactory";
|
|
11
12
|
*
|
|
12
|
-
* const
|
|
13
|
-
* key: "terraform-federated-test-
|
|
14
|
-
*
|
|
13
|
+
* const terraform_federated_test_gems_repo = new artifactory.FederatedGemsRepository("terraform-federated-test-gems-repo", {
|
|
14
|
+
* key: "terraform-federated-test-gems-repo",
|
|
15
|
+
* members: [
|
|
15
16
|
* {
|
|
16
17
|
* enabled: true,
|
|
17
|
-
* url: "http://tempurl.org/artifactory/terraform-federated-test-
|
|
18
|
+
* url: "http://tempurl.org/artifactory/terraform-federated-test-gems-repo",
|
|
18
19
|
* },
|
|
19
20
|
* {
|
|
20
21
|
* enabled: true,
|
|
21
|
-
* url: "http://tempurl2.org/artifactory/terraform-federated-test-
|
|
22
|
+
* url: "http://tempurl2.org/artifactory/terraform-federated-test-gems-repo-2",
|
|
22
23
|
* },
|
|
23
24
|
* ],
|
|
24
25
|
* });
|
|
@@ -29,7 +30,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
29
30
|
* Federated repositories can be imported using their name, e.g.
|
|
30
31
|
*
|
|
31
32
|
* ```sh
|
|
32
|
-
* $ pulumi import artifactory:index/federatedGemsRepository:FederatedGemsRepository terraform-federated-test-
|
|
33
|
+
* $ pulumi import artifactory:index/federatedGemsRepository:FederatedGemsRepository terraform-federated-test-gems-repo terraform-federated-test-gems-repo
|
|
33
34
|
* ```
|
|
34
35
|
*/
|
|
35
36
|
export declare class FederatedGemsRepository extends pulumi.CustomResource {
|
|
@@ -92,12 +93,14 @@ export declare class FederatedGemsRepository extends pulumi.CustomResource {
|
|
|
92
93
|
*/
|
|
93
94
|
readonly priorityResolution: pulumi.Output<boolean | undefined>;
|
|
94
95
|
/**
|
|
95
|
-
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
96
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
97
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
98
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
96
99
|
*/
|
|
97
100
|
readonly projectEnvironments: pulumi.Output<string[]>;
|
|
98
101
|
/**
|
|
99
|
-
* Project key for assigning this repository to.
|
|
100
|
-
* with project key, separated by a dash.
|
|
102
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
103
|
+
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
101
104
|
*/
|
|
102
105
|
readonly projectKey: pulumi.Output<string | undefined>;
|
|
103
106
|
/**
|
|
@@ -170,12 +173,14 @@ export interface FederatedGemsRepositoryState {
|
|
|
170
173
|
*/
|
|
171
174
|
priorityResolution?: pulumi.Input<boolean>;
|
|
172
175
|
/**
|
|
173
|
-
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
176
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
177
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
178
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
174
179
|
*/
|
|
175
180
|
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
176
181
|
/**
|
|
177
|
-
* Project key for assigning this repository to.
|
|
178
|
-
* with project key, separated by a dash.
|
|
182
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
183
|
+
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
179
184
|
*/
|
|
180
185
|
projectKey?: pulumi.Input<string>;
|
|
181
186
|
/**
|
|
@@ -239,12 +244,14 @@ export interface FederatedGemsRepositoryArgs {
|
|
|
239
244
|
*/
|
|
240
245
|
priorityResolution?: pulumi.Input<boolean>;
|
|
241
246
|
/**
|
|
242
|
-
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
247
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
248
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
249
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
243
250
|
*/
|
|
244
251
|
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
245
252
|
/**
|
|
246
|
-
* Project key for assigning this repository to.
|
|
247
|
-
* with project key, separated by a dash.
|
|
253
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
254
|
+
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
248
255
|
*/
|
|
249
256
|
projectKey?: pulumi.Input<string>;
|
|
250
257
|
/**
|
|
@@ -6,7 +6,7 @@ exports.FederatedGemsRepository = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Creates a federated
|
|
9
|
+
* Creates a federated Gems repository.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
@@ -14,16 +14,16 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as artifactory from "@pulumi/artifactory";
|
|
16
16
|
*
|
|
17
|
-
* const
|
|
18
|
-
* key: "terraform-federated-test-
|
|
19
|
-
*
|
|
17
|
+
* const terraform_federated_test_gems_repo = new artifactory.FederatedGemsRepository("terraform-federated-test-gems-repo", {
|
|
18
|
+
* key: "terraform-federated-test-gems-repo",
|
|
19
|
+
* members: [
|
|
20
20
|
* {
|
|
21
21
|
* enabled: true,
|
|
22
|
-
* url: "http://tempurl.org/artifactory/terraform-federated-test-
|
|
22
|
+
* url: "http://tempurl.org/artifactory/terraform-federated-test-gems-repo",
|
|
23
23
|
* },
|
|
24
24
|
* {
|
|
25
25
|
* enabled: true,
|
|
26
|
-
* url: "http://tempurl2.org/artifactory/terraform-federated-test-
|
|
26
|
+
* url: "http://tempurl2.org/artifactory/terraform-federated-test-gems-repo-2",
|
|
27
27
|
* },
|
|
28
28
|
* ],
|
|
29
29
|
* });
|
|
@@ -34,10 +34,32 @@ const utilities = require("./utilities");
|
|
|
34
34
|
* Federated repositories can be imported using their name, e.g.
|
|
35
35
|
*
|
|
36
36
|
* ```sh
|
|
37
|
-
* $ pulumi import artifactory:index/federatedGemsRepository:FederatedGemsRepository terraform-federated-test-
|
|
37
|
+
* $ pulumi import artifactory:index/federatedGemsRepository:FederatedGemsRepository terraform-federated-test-gems-repo terraform-federated-test-gems-repo
|
|
38
38
|
* ```
|
|
39
39
|
*/
|
|
40
40
|
class FederatedGemsRepository extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing FederatedGemsRepository resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name, id, state, opts) {
|
|
51
|
+
return new FederatedGemsRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of FederatedGemsRepository. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj) {
|
|
58
|
+
if (obj === undefined || obj === null) {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
return obj['__pulumiType'] === FederatedGemsRepository.__pulumiType;
|
|
62
|
+
}
|
|
41
63
|
constructor(name, argsOrState, opts) {
|
|
42
64
|
let resourceInputs = {};
|
|
43
65
|
opts = opts || {};
|
|
@@ -88,28 +110,6 @@ class FederatedGemsRepository extends pulumi.CustomResource {
|
|
|
88
110
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
89
111
|
super(FederatedGemsRepository.__pulumiType, name, resourceInputs, opts);
|
|
90
112
|
}
|
|
91
|
-
/**
|
|
92
|
-
* Get an existing FederatedGemsRepository resource's state with the given name, ID, and optional extra
|
|
93
|
-
* properties used to qualify the lookup.
|
|
94
|
-
*
|
|
95
|
-
* @param name The _unique_ name of the resulting resource.
|
|
96
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
97
|
-
* @param state Any extra arguments used during the lookup.
|
|
98
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
99
|
-
*/
|
|
100
|
-
static get(name, id, state, opts) {
|
|
101
|
-
return new FederatedGemsRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* Returns true if the given object is an instance of FederatedGemsRepository. This is designed to work even
|
|
105
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
106
|
-
*/
|
|
107
|
-
static isInstance(obj) {
|
|
108
|
-
if (obj === undefined || obj === null) {
|
|
109
|
-
return false;
|
|
110
|
-
}
|
|
111
|
-
return obj['__pulumiType'] === FederatedGemsRepository.__pulumiType;
|
|
112
|
-
}
|
|
113
113
|
}
|
|
114
114
|
exports.FederatedGemsRepository = FederatedGemsRepository;
|
|
115
115
|
/** @internal */
|