@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
|
@@ -16,6 +16,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
* key: "foo-docker",
|
|
17
17
|
* notes: "Internal description",
|
|
18
18
|
* repositories: [],
|
|
19
|
+
* resolveDockerTagsByTimestamp: true,
|
|
19
20
|
* });
|
|
20
21
|
* ```
|
|
21
22
|
*
|
|
@@ -63,8 +64,8 @@ export declare class VirtualDockerRepository extends pulumi.CustomResource {
|
|
|
63
64
|
*/
|
|
64
65
|
readonly excludesPattern: pulumi.Output<string | undefined>;
|
|
65
66
|
/**
|
|
66
|
-
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
67
|
-
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
67
|
+
* List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
68
|
+
* used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
68
69
|
*/
|
|
69
70
|
readonly includesPattern: pulumi.Output<string | undefined>;
|
|
70
71
|
/**
|
|
@@ -81,11 +82,13 @@ export declare class VirtualDockerRepository extends pulumi.CustomResource {
|
|
|
81
82
|
*/
|
|
82
83
|
readonly packageType: pulumi.Output<string>;
|
|
83
84
|
/**
|
|
84
|
-
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
85
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
86
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
87
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
85
88
|
*/
|
|
86
89
|
readonly projectEnvironments: pulumi.Output<string[]>;
|
|
87
90
|
/**
|
|
88
|
-
* Project key for assigning this repository to. Must be
|
|
91
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
89
92
|
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
90
93
|
*/
|
|
91
94
|
readonly projectKey: pulumi.Output<string | undefined>;
|
|
@@ -98,10 +101,9 @@ export declare class VirtualDockerRepository extends pulumi.CustomResource {
|
|
|
98
101
|
*/
|
|
99
102
|
readonly repositories: pulumi.Output<string[] | undefined>;
|
|
100
103
|
/**
|
|
101
|
-
*
|
|
102
|
-
* repositories. A value of 0 indicates no caching.
|
|
104
|
+
* When enabled, in cases where the same Docker tag exists in two or more of the aggregated repositories, Artifactory will return the tag that has the latest timestamp. Default values is `false`.
|
|
103
105
|
*/
|
|
104
|
-
readonly
|
|
106
|
+
readonly resolveDockerTagsByTimestamp: pulumi.Output<boolean | undefined>;
|
|
105
107
|
/**
|
|
106
108
|
* Create a VirtualDockerRepository resource with the given unique name, arguments, and options.
|
|
107
109
|
*
|
|
@@ -135,8 +137,8 @@ export interface VirtualDockerRepositoryState {
|
|
|
135
137
|
*/
|
|
136
138
|
excludesPattern?: pulumi.Input<string>;
|
|
137
139
|
/**
|
|
138
|
-
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
139
|
-
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
140
|
+
* List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
141
|
+
* used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
140
142
|
*/
|
|
141
143
|
includesPattern?: pulumi.Input<string>;
|
|
142
144
|
/**
|
|
@@ -153,11 +155,13 @@ export interface VirtualDockerRepositoryState {
|
|
|
153
155
|
*/
|
|
154
156
|
packageType?: pulumi.Input<string>;
|
|
155
157
|
/**
|
|
156
|
-
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
158
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
159
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
160
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
157
161
|
*/
|
|
158
162
|
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
159
163
|
/**
|
|
160
|
-
* Project key for assigning this repository to. Must be
|
|
164
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
161
165
|
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
162
166
|
*/
|
|
163
167
|
projectKey?: pulumi.Input<string>;
|
|
@@ -170,10 +174,9 @@ export interface VirtualDockerRepositoryState {
|
|
|
170
174
|
*/
|
|
171
175
|
repositories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
172
176
|
/**
|
|
173
|
-
*
|
|
174
|
-
* repositories. A value of 0 indicates no caching.
|
|
177
|
+
* When enabled, in cases where the same Docker tag exists in two or more of the aggregated repositories, Artifactory will return the tag that has the latest timestamp. Default values is `false`.
|
|
175
178
|
*/
|
|
176
|
-
|
|
179
|
+
resolveDockerTagsByTimestamp?: pulumi.Input<boolean>;
|
|
177
180
|
}
|
|
178
181
|
/**
|
|
179
182
|
* The set of arguments for constructing a VirtualDockerRepository resource.
|
|
@@ -199,8 +202,8 @@ export interface VirtualDockerRepositoryArgs {
|
|
|
199
202
|
*/
|
|
200
203
|
excludesPattern?: pulumi.Input<string>;
|
|
201
204
|
/**
|
|
202
|
-
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
203
|
-
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
205
|
+
* List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
206
|
+
* used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
204
207
|
*/
|
|
205
208
|
includesPattern?: pulumi.Input<string>;
|
|
206
209
|
/**
|
|
@@ -213,11 +216,13 @@ export interface VirtualDockerRepositoryArgs {
|
|
|
213
216
|
*/
|
|
214
217
|
notes?: pulumi.Input<string>;
|
|
215
218
|
/**
|
|
216
|
-
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
219
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
220
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
221
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
217
222
|
*/
|
|
218
223
|
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
219
224
|
/**
|
|
220
|
-
* Project key for assigning this repository to. Must be
|
|
225
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
221
226
|
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
222
227
|
*/
|
|
223
228
|
projectKey?: pulumi.Input<string>;
|
|
@@ -230,8 +235,7 @@ export interface VirtualDockerRepositoryArgs {
|
|
|
230
235
|
*/
|
|
231
236
|
repositories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
232
237
|
/**
|
|
233
|
-
*
|
|
234
|
-
* repositories. A value of 0 indicates no caching.
|
|
238
|
+
* When enabled, in cases where the same Docker tag exists in two or more of the aggregated repositories, Artifactory will return the tag that has the latest timestamp. Default values is `false`.
|
|
235
239
|
*/
|
|
236
|
-
|
|
240
|
+
resolveDockerTagsByTimestamp?: pulumi.Input<boolean>;
|
|
237
241
|
}
|
|
@@ -22,6 +22,7 @@ const utilities = require("./utilities");
|
|
|
22
22
|
* key: "foo-docker",
|
|
23
23
|
* notes: "Internal description",
|
|
24
24
|
* repositories: [],
|
|
25
|
+
* resolveDockerTagsByTimestamp: true,
|
|
25
26
|
* });
|
|
26
27
|
* ```
|
|
27
28
|
*
|
|
@@ -34,6 +35,28 @@ const utilities = require("./utilities");
|
|
|
34
35
|
* ```
|
|
35
36
|
*/
|
|
36
37
|
class VirtualDockerRepository extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing VirtualDockerRepository resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name, id, state, opts) {
|
|
48
|
+
return new VirtualDockerRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Returns true if the given object is an instance of VirtualDockerRepository. This is designed to work even
|
|
52
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
|
+
*/
|
|
54
|
+
static isInstance(obj) {
|
|
55
|
+
if (obj === undefined || obj === null) {
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
return obj['__pulumiType'] === VirtualDockerRepository.__pulumiType;
|
|
59
|
+
}
|
|
37
60
|
constructor(name, argsOrState, opts) {
|
|
38
61
|
let resourceInputs = {};
|
|
39
62
|
opts = opts || {};
|
|
@@ -51,7 +74,7 @@ class VirtualDockerRepository extends pulumi.CustomResource {
|
|
|
51
74
|
resourceInputs["projectKey"] = state ? state.projectKey : undefined;
|
|
52
75
|
resourceInputs["repoLayoutRef"] = state ? state.repoLayoutRef : undefined;
|
|
53
76
|
resourceInputs["repositories"] = state ? state.repositories : undefined;
|
|
54
|
-
resourceInputs["
|
|
77
|
+
resourceInputs["resolveDockerTagsByTimestamp"] = state ? state.resolveDockerTagsByTimestamp : undefined;
|
|
55
78
|
}
|
|
56
79
|
else {
|
|
57
80
|
const args = argsOrState;
|
|
@@ -69,34 +92,12 @@ class VirtualDockerRepository extends pulumi.CustomResource {
|
|
|
69
92
|
resourceInputs["projectKey"] = args ? args.projectKey : undefined;
|
|
70
93
|
resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined;
|
|
71
94
|
resourceInputs["repositories"] = args ? args.repositories : undefined;
|
|
72
|
-
resourceInputs["
|
|
95
|
+
resourceInputs["resolveDockerTagsByTimestamp"] = args ? args.resolveDockerTagsByTimestamp : undefined;
|
|
73
96
|
resourceInputs["packageType"] = undefined /*out*/;
|
|
74
97
|
}
|
|
75
98
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
76
99
|
super(VirtualDockerRepository.__pulumiType, name, resourceInputs, opts);
|
|
77
100
|
}
|
|
78
|
-
/**
|
|
79
|
-
* Get an existing VirtualDockerRepository resource's state with the given name, ID, and optional extra
|
|
80
|
-
* properties used to qualify the lookup.
|
|
81
|
-
*
|
|
82
|
-
* @param name The _unique_ name of the resulting resource.
|
|
83
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
84
|
-
* @param state Any extra arguments used during the lookup.
|
|
85
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
86
|
-
*/
|
|
87
|
-
static get(name, id, state, opts) {
|
|
88
|
-
return new VirtualDockerRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Returns true if the given object is an instance of VirtualDockerRepository. This is designed to work even
|
|
92
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
93
|
-
*/
|
|
94
|
-
static isInstance(obj) {
|
|
95
|
-
if (obj === undefined || obj === null) {
|
|
96
|
-
return false;
|
|
97
|
-
}
|
|
98
|
-
return obj['__pulumiType'] === VirtualDockerRepository.__pulumiType;
|
|
99
|
-
}
|
|
100
101
|
}
|
|
101
102
|
exports.VirtualDockerRepository = VirtualDockerRepository;
|
|
102
103
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtualDockerRepository.js","sourceRoot":"","sources":["../virtualDockerRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"virtualDockerRepository.js","sourceRoot":"","sources":["../virtualDockerRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,CAAC;IAKD;;;OAGG;IACI,MAAM,C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
|
@@ -63,8 +63,8 @@ export declare class VirtualGemsRepository extends pulumi.CustomResource {
|
|
|
63
63
|
*/
|
|
64
64
|
readonly excludesPattern: pulumi.Output<string | undefined>;
|
|
65
65
|
/**
|
|
66
|
-
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
67
|
-
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
66
|
+
* List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
67
|
+
* used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
68
68
|
*/
|
|
69
69
|
readonly includesPattern: pulumi.Output<string | undefined>;
|
|
70
70
|
/**
|
|
@@ -81,11 +81,13 @@ export declare class VirtualGemsRepository extends pulumi.CustomResource {
|
|
|
81
81
|
*/
|
|
82
82
|
readonly packageType: pulumi.Output<string>;
|
|
83
83
|
/**
|
|
84
|
-
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
84
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
85
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
86
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
85
87
|
*/
|
|
86
88
|
readonly projectEnvironments: pulumi.Output<string[]>;
|
|
87
89
|
/**
|
|
88
|
-
* Project key for assigning this repository to. Must be
|
|
90
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
89
91
|
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
90
92
|
*/
|
|
91
93
|
readonly projectKey: pulumi.Output<string | undefined>;
|
|
@@ -97,11 +99,6 @@ export declare class VirtualGemsRepository extends pulumi.CustomResource {
|
|
|
97
99
|
* The effective list of actual repositories included in this virtual repository.
|
|
98
100
|
*/
|
|
99
101
|
readonly repositories: pulumi.Output<string[] | undefined>;
|
|
100
|
-
/**
|
|
101
|
-
* This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated
|
|
102
|
-
* repositories. A value of 0 indicates no caching.
|
|
103
|
-
*/
|
|
104
|
-
readonly retrievalCachePeriodSeconds: pulumi.Output<number | undefined>;
|
|
105
102
|
/**
|
|
106
103
|
* Create a VirtualGemsRepository resource with the given unique name, arguments, and options.
|
|
107
104
|
*
|
|
@@ -135,8 +132,8 @@ export interface VirtualGemsRepositoryState {
|
|
|
135
132
|
*/
|
|
136
133
|
excludesPattern?: pulumi.Input<string>;
|
|
137
134
|
/**
|
|
138
|
-
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
139
|
-
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
135
|
+
* List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
136
|
+
* used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
140
137
|
*/
|
|
141
138
|
includesPattern?: pulumi.Input<string>;
|
|
142
139
|
/**
|
|
@@ -153,11 +150,13 @@ export interface VirtualGemsRepositoryState {
|
|
|
153
150
|
*/
|
|
154
151
|
packageType?: pulumi.Input<string>;
|
|
155
152
|
/**
|
|
156
|
-
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
153
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
154
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
155
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
157
156
|
*/
|
|
158
157
|
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
159
158
|
/**
|
|
160
|
-
* Project key for assigning this repository to. Must be
|
|
159
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
161
160
|
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
162
161
|
*/
|
|
163
162
|
projectKey?: pulumi.Input<string>;
|
|
@@ -169,11 +168,6 @@ export interface VirtualGemsRepositoryState {
|
|
|
169
168
|
* The effective list of actual repositories included in this virtual repository.
|
|
170
169
|
*/
|
|
171
170
|
repositories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
172
|
-
/**
|
|
173
|
-
* This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated
|
|
174
|
-
* repositories. A value of 0 indicates no caching.
|
|
175
|
-
*/
|
|
176
|
-
retrievalCachePeriodSeconds?: pulumi.Input<number>;
|
|
177
171
|
}
|
|
178
172
|
/**
|
|
179
173
|
* The set of arguments for constructing a VirtualGemsRepository resource.
|
|
@@ -199,8 +193,8 @@ export interface VirtualGemsRepositoryArgs {
|
|
|
199
193
|
*/
|
|
200
194
|
excludesPattern?: pulumi.Input<string>;
|
|
201
195
|
/**
|
|
202
|
-
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
203
|
-
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
196
|
+
* List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
197
|
+
* used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
204
198
|
*/
|
|
205
199
|
includesPattern?: pulumi.Input<string>;
|
|
206
200
|
/**
|
|
@@ -213,11 +207,13 @@ export interface VirtualGemsRepositoryArgs {
|
|
|
213
207
|
*/
|
|
214
208
|
notes?: pulumi.Input<string>;
|
|
215
209
|
/**
|
|
216
|
-
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
210
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
211
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
212
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
217
213
|
*/
|
|
218
214
|
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
219
215
|
/**
|
|
220
|
-
* Project key for assigning this repository to. Must be
|
|
216
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
221
217
|
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
222
218
|
*/
|
|
223
219
|
projectKey?: pulumi.Input<string>;
|
|
@@ -229,9 +225,4 @@ export interface VirtualGemsRepositoryArgs {
|
|
|
229
225
|
* The effective list of actual repositories included in this virtual repository.
|
|
230
226
|
*/
|
|
231
227
|
repositories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
232
|
-
/**
|
|
233
|
-
* This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated
|
|
234
|
-
* repositories. A value of 0 indicates no caching.
|
|
235
|
-
*/
|
|
236
|
-
retrievalCachePeriodSeconds?: pulumi.Input<number>;
|
|
237
228
|
}
|
package/virtualGemsRepository.js
CHANGED
|
@@ -34,6 +34,28 @@ const utilities = require("./utilities");
|
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
36
36
|
class VirtualGemsRepository extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing VirtualGemsRepository 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, id, state, opts) {
|
|
47
|
+
return new VirtualGemsRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of VirtualGemsRepository. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === VirtualGemsRepository.__pulumiType;
|
|
58
|
+
}
|
|
37
59
|
constructor(name, argsOrState, opts) {
|
|
38
60
|
let resourceInputs = {};
|
|
39
61
|
opts = opts || {};
|
|
@@ -51,7 +73,6 @@ class VirtualGemsRepository extends pulumi.CustomResource {
|
|
|
51
73
|
resourceInputs["projectKey"] = state ? state.projectKey : undefined;
|
|
52
74
|
resourceInputs["repoLayoutRef"] = state ? state.repoLayoutRef : undefined;
|
|
53
75
|
resourceInputs["repositories"] = state ? state.repositories : undefined;
|
|
54
|
-
resourceInputs["retrievalCachePeriodSeconds"] = state ? state.retrievalCachePeriodSeconds : undefined;
|
|
55
76
|
}
|
|
56
77
|
else {
|
|
57
78
|
const args = argsOrState;
|
|
@@ -69,34 +90,11 @@ class VirtualGemsRepository extends pulumi.CustomResource {
|
|
|
69
90
|
resourceInputs["projectKey"] = args ? args.projectKey : undefined;
|
|
70
91
|
resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined;
|
|
71
92
|
resourceInputs["repositories"] = args ? args.repositories : undefined;
|
|
72
|
-
resourceInputs["retrievalCachePeriodSeconds"] = args ? args.retrievalCachePeriodSeconds : undefined;
|
|
73
93
|
resourceInputs["packageType"] = undefined /*out*/;
|
|
74
94
|
}
|
|
75
95
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
76
96
|
super(VirtualGemsRepository.__pulumiType, name, resourceInputs, opts);
|
|
77
97
|
}
|
|
78
|
-
/**
|
|
79
|
-
* Get an existing VirtualGemsRepository resource's state with the given name, ID, and optional extra
|
|
80
|
-
* properties used to qualify the lookup.
|
|
81
|
-
*
|
|
82
|
-
* @param name The _unique_ name of the resulting resource.
|
|
83
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
84
|
-
* @param state Any extra arguments used during the lookup.
|
|
85
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
86
|
-
*/
|
|
87
|
-
static get(name, id, state, opts) {
|
|
88
|
-
return new VirtualGemsRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Returns true if the given object is an instance of VirtualGemsRepository. This is designed to work even
|
|
92
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
93
|
-
*/
|
|
94
|
-
static isInstance(obj) {
|
|
95
|
-
if (obj === undefined || obj === null) {
|
|
96
|
-
return false;
|
|
97
|
-
}
|
|
98
|
-
return obj['__pulumiType'] === VirtualGemsRepository.__pulumiType;
|
|
99
|
-
}
|
|
100
98
|
}
|
|
101
99
|
exports.VirtualGemsRepository = VirtualGemsRepository;
|
|
102
100
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtualGemsRepository.js","sourceRoot":"","sources":["../virtualGemsRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"virtualGemsRepository.js","sourceRoot":"","sources":["../virtualGemsRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAA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AC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,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,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,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAlIL,sDAmIC;AArHG,gBAAgB;AACO,kCAAY,GAAG,+DAA+D,CAAC"}
|
|
@@ -64,8 +64,8 @@ export declare class VirtualGenericRepository extends pulumi.CustomResource {
|
|
|
64
64
|
*/
|
|
65
65
|
readonly excludesPattern: pulumi.Output<string | undefined>;
|
|
66
66
|
/**
|
|
67
|
-
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
68
|
-
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
67
|
+
* List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
68
|
+
* used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
69
69
|
*/
|
|
70
70
|
readonly includesPattern: pulumi.Output<string | undefined>;
|
|
71
71
|
/**
|
|
@@ -82,11 +82,13 @@ export declare class VirtualGenericRepository extends pulumi.CustomResource {
|
|
|
82
82
|
*/
|
|
83
83
|
readonly packageType: pulumi.Output<string>;
|
|
84
84
|
/**
|
|
85
|
-
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
85
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
86
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
87
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
86
88
|
*/
|
|
87
89
|
readonly projectEnvironments: pulumi.Output<string[]>;
|
|
88
90
|
/**
|
|
89
|
-
* Project key for assigning this repository to. Must be
|
|
91
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
90
92
|
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
91
93
|
*/
|
|
92
94
|
readonly projectKey: pulumi.Output<string | undefined>;
|
|
@@ -98,11 +100,6 @@ export declare class VirtualGenericRepository extends pulumi.CustomResource {
|
|
|
98
100
|
* The effective list of actual repositories included in this virtual repository.
|
|
99
101
|
*/
|
|
100
102
|
readonly repositories: pulumi.Output<string[] | undefined>;
|
|
101
|
-
/**
|
|
102
|
-
* This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated
|
|
103
|
-
* repositories. A value of 0 indicates no caching.
|
|
104
|
-
*/
|
|
105
|
-
readonly retrievalCachePeriodSeconds: pulumi.Output<number | undefined>;
|
|
106
103
|
/**
|
|
107
104
|
* Create a VirtualGenericRepository resource with the given unique name, arguments, and options.
|
|
108
105
|
*
|
|
@@ -136,8 +133,8 @@ export interface VirtualGenericRepositoryState {
|
|
|
136
133
|
*/
|
|
137
134
|
excludesPattern?: pulumi.Input<string>;
|
|
138
135
|
/**
|
|
139
|
-
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
140
|
-
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
136
|
+
* List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
137
|
+
* used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
141
138
|
*/
|
|
142
139
|
includesPattern?: pulumi.Input<string>;
|
|
143
140
|
/**
|
|
@@ -154,11 +151,13 @@ export interface VirtualGenericRepositoryState {
|
|
|
154
151
|
*/
|
|
155
152
|
packageType?: pulumi.Input<string>;
|
|
156
153
|
/**
|
|
157
|
-
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
154
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
155
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
156
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
158
157
|
*/
|
|
159
158
|
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
160
159
|
/**
|
|
161
|
-
* Project key for assigning this repository to. Must be
|
|
160
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
162
161
|
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
163
162
|
*/
|
|
164
163
|
projectKey?: pulumi.Input<string>;
|
|
@@ -170,11 +169,6 @@ export interface VirtualGenericRepositoryState {
|
|
|
170
169
|
* The effective list of actual repositories included in this virtual repository.
|
|
171
170
|
*/
|
|
172
171
|
repositories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
173
|
-
/**
|
|
174
|
-
* This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated
|
|
175
|
-
* repositories. A value of 0 indicates no caching.
|
|
176
|
-
*/
|
|
177
|
-
retrievalCachePeriodSeconds?: pulumi.Input<number>;
|
|
178
172
|
}
|
|
179
173
|
/**
|
|
180
174
|
* The set of arguments for constructing a VirtualGenericRepository resource.
|
|
@@ -200,8 +194,8 @@ export interface VirtualGenericRepositoryArgs {
|
|
|
200
194
|
*/
|
|
201
195
|
excludesPattern?: pulumi.Input<string>;
|
|
202
196
|
/**
|
|
203
|
-
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
204
|
-
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
197
|
+
* List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
198
|
+
* used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
205
199
|
*/
|
|
206
200
|
includesPattern?: pulumi.Input<string>;
|
|
207
201
|
/**
|
|
@@ -214,11 +208,13 @@ export interface VirtualGenericRepositoryArgs {
|
|
|
214
208
|
*/
|
|
215
209
|
notes?: pulumi.Input<string>;
|
|
216
210
|
/**
|
|
217
|
-
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
211
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
212
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
213
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
218
214
|
*/
|
|
219
215
|
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
220
216
|
/**
|
|
221
|
-
* Project key for assigning this repository to. Must be
|
|
217
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
222
218
|
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
223
219
|
*/
|
|
224
220
|
projectKey?: pulumi.Input<string>;
|
|
@@ -230,9 +226,4 @@ export interface VirtualGenericRepositoryArgs {
|
|
|
230
226
|
* The effective list of actual repositories included in this virtual repository.
|
|
231
227
|
*/
|
|
232
228
|
repositories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
233
|
-
/**
|
|
234
|
-
* This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated
|
|
235
|
-
* repositories. A value of 0 indicates no caching.
|
|
236
|
-
*/
|
|
237
|
-
retrievalCachePeriodSeconds?: pulumi.Input<number>;
|
|
238
229
|
}
|
|
@@ -35,6 +35,28 @@ const utilities = require("./utilities");
|
|
|
35
35
|
* ```
|
|
36
36
|
*/
|
|
37
37
|
class VirtualGenericRepository extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing VirtualGenericRepository resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name, id, state, opts) {
|
|
48
|
+
return new VirtualGenericRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Returns true if the given object is an instance of VirtualGenericRepository. This is designed to work even
|
|
52
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
|
+
*/
|
|
54
|
+
static isInstance(obj) {
|
|
55
|
+
if (obj === undefined || obj === null) {
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
return obj['__pulumiType'] === VirtualGenericRepository.__pulumiType;
|
|
59
|
+
}
|
|
38
60
|
constructor(name, argsOrState, opts) {
|
|
39
61
|
let resourceInputs = {};
|
|
40
62
|
opts = opts || {};
|
|
@@ -52,7 +74,6 @@ class VirtualGenericRepository extends pulumi.CustomResource {
|
|
|
52
74
|
resourceInputs["projectKey"] = state ? state.projectKey : undefined;
|
|
53
75
|
resourceInputs["repoLayoutRef"] = state ? state.repoLayoutRef : undefined;
|
|
54
76
|
resourceInputs["repositories"] = state ? state.repositories : undefined;
|
|
55
|
-
resourceInputs["retrievalCachePeriodSeconds"] = state ? state.retrievalCachePeriodSeconds : undefined;
|
|
56
77
|
}
|
|
57
78
|
else {
|
|
58
79
|
const args = argsOrState;
|
|
@@ -70,34 +91,11 @@ class VirtualGenericRepository extends pulumi.CustomResource {
|
|
|
70
91
|
resourceInputs["projectKey"] = args ? args.projectKey : undefined;
|
|
71
92
|
resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined;
|
|
72
93
|
resourceInputs["repositories"] = args ? args.repositories : undefined;
|
|
73
|
-
resourceInputs["retrievalCachePeriodSeconds"] = args ? args.retrievalCachePeriodSeconds : undefined;
|
|
74
94
|
resourceInputs["packageType"] = undefined /*out*/;
|
|
75
95
|
}
|
|
76
96
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
77
97
|
super(VirtualGenericRepository.__pulumiType, name, resourceInputs, opts);
|
|
78
98
|
}
|
|
79
|
-
/**
|
|
80
|
-
* Get an existing VirtualGenericRepository resource's state with the given name, ID, and optional extra
|
|
81
|
-
* properties used to qualify the lookup.
|
|
82
|
-
*
|
|
83
|
-
* @param name The _unique_ name of the resulting resource.
|
|
84
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
85
|
-
* @param state Any extra arguments used during the lookup.
|
|
86
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
87
|
-
*/
|
|
88
|
-
static get(name, id, state, opts) {
|
|
89
|
-
return new VirtualGenericRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* Returns true if the given object is an instance of VirtualGenericRepository. This is designed to work even
|
|
93
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
94
|
-
*/
|
|
95
|
-
static isInstance(obj) {
|
|
96
|
-
if (obj === undefined || obj === null) {
|
|
97
|
-
return false;
|
|
98
|
-
}
|
|
99
|
-
return obj['__pulumiType'] === VirtualGenericRepository.__pulumiType;
|
|
100
|
-
}
|
|
101
99
|
}
|
|
102
100
|
exports.VirtualGenericRepository = VirtualGenericRepository;
|
|
103
101
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtualGenericRepository.js","sourceRoot":"","sources":["../virtualGenericRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"virtualGenericRepository.js","sourceRoot":"","sources":["../virtualGenericRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;IAmED,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,cAAc,CAAC,+CAA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