@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
package/virtualP2Repository.d.ts
CHANGED
|
@@ -63,8 +63,8 @@ export declare class VirtualP2Repository 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 VirtualP2Repository 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 VirtualP2Repository 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 VirtualP2Repository resource with the given unique name, arguments, and options.
|
|
107
104
|
*
|
|
@@ -135,8 +132,8 @@ export interface VirtualP2RepositoryState {
|
|
|
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 VirtualP2RepositoryState {
|
|
|
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 VirtualP2RepositoryState {
|
|
|
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 VirtualP2Repository resource.
|
|
@@ -199,8 +193,8 @@ export interface VirtualP2RepositoryArgs {
|
|
|
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 VirtualP2RepositoryArgs {
|
|
|
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 VirtualP2RepositoryArgs {
|
|
|
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/virtualP2Repository.js
CHANGED
|
@@ -34,6 +34,28 @@ const utilities = require("./utilities");
|
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
36
36
|
class VirtualP2Repository extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing VirtualP2Repository 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 VirtualP2Repository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of VirtualP2Repository. 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'] === VirtualP2Repository.__pulumiType;
|
|
58
|
+
}
|
|
37
59
|
constructor(name, argsOrState, opts) {
|
|
38
60
|
let resourceInputs = {};
|
|
39
61
|
opts = opts || {};
|
|
@@ -51,7 +73,6 @@ class VirtualP2Repository 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 VirtualP2Repository 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(VirtualP2Repository.__pulumiType, name, resourceInputs, opts);
|
|
77
97
|
}
|
|
78
|
-
/**
|
|
79
|
-
* Get an existing VirtualP2Repository 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 VirtualP2Repository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Returns true if the given object is an instance of VirtualP2Repository. 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'] === VirtualP2Repository.__pulumiType;
|
|
99
|
-
}
|
|
100
98
|
}
|
|
101
99
|
exports.VirtualP2Repository = VirtualP2Repository;
|
|
102
100
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtualP2Repository.js","sourceRoot":"","sources":["../virtualP2Repository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"virtualP2Repository.js","sourceRoot":"","sources":["../virtualP2Repository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAmED,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,+CAA+C,CAAC,GAAG,KAAK,CAAC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AAC,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,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAlIL,kDAmIC;AArHG,gBAAgB;AACO,gCAAY,GAAG,2DAA2D,CAAC"}
|
|
@@ -63,8 +63,8 @@ export declare class VirtualPubRepository 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 VirtualPubRepository 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 VirtualPubRepository 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 VirtualPubRepository resource with the given unique name, arguments, and options.
|
|
107
104
|
*
|
|
@@ -135,8 +132,8 @@ export interface VirtualPubRepositoryState {
|
|
|
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 VirtualPubRepositoryState {
|
|
|
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 VirtualPubRepositoryState {
|
|
|
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 VirtualPubRepository resource.
|
|
@@ -199,8 +193,8 @@ export interface VirtualPubRepositoryArgs {
|
|
|
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 VirtualPubRepositoryArgs {
|
|
|
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 VirtualPubRepositoryArgs {
|
|
|
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/virtualPubRepository.js
CHANGED
|
@@ -34,6 +34,28 @@ const utilities = require("./utilities");
|
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
36
36
|
class VirtualPubRepository extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing VirtualPubRepository 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 VirtualPubRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of VirtualPubRepository. 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'] === VirtualPubRepository.__pulumiType;
|
|
58
|
+
}
|
|
37
59
|
constructor(name, argsOrState, opts) {
|
|
38
60
|
let resourceInputs = {};
|
|
39
61
|
opts = opts || {};
|
|
@@ -51,7 +73,6 @@ class VirtualPubRepository 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 VirtualPubRepository 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(VirtualPubRepository.__pulumiType, name, resourceInputs, opts);
|
|
77
97
|
}
|
|
78
|
-
/**
|
|
79
|
-
* Get an existing VirtualPubRepository 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 VirtualPubRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Returns true if the given object is an instance of VirtualPubRepository. 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'] === VirtualPubRepository.__pulumiType;
|
|
99
|
-
}
|
|
100
98
|
}
|
|
101
99
|
exports.VirtualPubRepository = VirtualPubRepository;
|
|
102
100
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtualPubRepository.js","sourceRoot":"","sources":["../virtualPubRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"virt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,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAlIL,oDAmIC;AArHG,gBAAgB;AACO,iCAAY,GAAG,6DAA6D,CAAC"}
|
|
@@ -63,8 +63,8 @@ export declare class VirtualPuppetRepository 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 VirtualPuppetRepository 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 VirtualPuppetRepository 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 VirtualPuppetRepository resource with the given unique name, arguments, and options.
|
|
107
104
|
*
|
|
@@ -135,8 +132,8 @@ export interface VirtualPuppetRepositoryState {
|
|
|
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 VirtualPuppetRepositoryState {
|
|
|
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 VirtualPuppetRepositoryState {
|
|
|
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 VirtualPuppetRepository resource.
|
|
@@ -199,8 +193,8 @@ export interface VirtualPuppetRepositoryArgs {
|
|
|
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 VirtualPuppetRepositoryArgs {
|
|
|
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 VirtualPuppetRepositoryArgs {
|
|
|
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
|
}
|
|
@@ -34,6 +34,28 @@ const utilities = require("./utilities");
|
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
36
36
|
class VirtualPuppetRepository extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing VirtualPuppetRepository 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 VirtualPuppetRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of VirtualPuppetRepository. 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'] === VirtualPuppetRepository.__pulumiType;
|
|
58
|
+
}
|
|
37
59
|
constructor(name, argsOrState, opts) {
|
|
38
60
|
let resourceInputs = {};
|
|
39
61
|
opts = opts || {};
|
|
@@ -51,7 +73,6 @@ class VirtualPuppetRepository 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 VirtualPuppetRepository 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(VirtualPuppetRepository.__pulumiType, name, resourceInputs, opts);
|
|
77
97
|
}
|
|
78
|
-
/**
|
|
79
|
-
* Get an existing VirtualPuppetRepository 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 VirtualPuppetRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Returns true if the given object is an instance of VirtualPuppetRepository. 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'] === VirtualPuppetRepository.__pulumiType;
|
|
99
|
-
}
|
|
100
98
|
}
|
|
101
99
|
exports.VirtualPuppetRepository = VirtualPuppetRepository;
|
|
102
100
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtualPuppetRepository.js","sourceRoot":"","sources":["../virtualPuppetRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"virtualPuppetRepository.js","sourceRoot":"","sources":["../virtualPuppetRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,I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