@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/generalSecurity.js
CHANGED
|
@@ -10,6 +10,8 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* Only a single `artifactory.GeneralSecurity` resource is meant to be defined.
|
|
12
12
|
*
|
|
13
|
+
* ~>The `artifactory.GeneralSecurity` resource utilizes endpoints which are blocked/removed in SaaS environments (i.e. in Artifactory online), rendering this resource incompatible with Artifactory SaaS environments.
|
|
14
|
+
*
|
|
13
15
|
* ## Example Usage
|
|
14
16
|
*
|
|
15
17
|
* ```typescript
|
|
@@ -17,9 +19,7 @@ const utilities = require("./utilities");
|
|
|
17
19
|
* import * as artifactory from "@pulumi/artifactory";
|
|
18
20
|
*
|
|
19
21
|
* // Configure Artifactory general security settings
|
|
20
|
-
* const security = new artifactory.GeneralSecurity("security", {
|
|
21
|
-
* enableAnonymousAccess: true,
|
|
22
|
-
* });
|
|
22
|
+
* const security = new artifactory.GeneralSecurity("security", {enableAnonymousAccess: true});
|
|
23
23
|
* ```
|
|
24
24
|
*
|
|
25
25
|
* ## Import
|
|
@@ -30,23 +30,9 @@ const utilities = require("./utilities");
|
|
|
30
30
|
* $ pulumi import artifactory:index/generalSecurity:GeneralSecurity security security
|
|
31
31
|
* ```
|
|
32
32
|
*
|
|
33
|
-
* environments, or may change without notice.
|
|
33
|
+
* ~>The `artifactory_general_security` resource uses endpoints that are undocumented and may not work with SaaS environments, or may change without notice.
|
|
34
34
|
*/
|
|
35
35
|
class GeneralSecurity extends pulumi.CustomResource {
|
|
36
|
-
constructor(name, argsOrState, opts) {
|
|
37
|
-
let resourceInputs = {};
|
|
38
|
-
opts = opts || {};
|
|
39
|
-
if (opts.id) {
|
|
40
|
-
const state = argsOrState;
|
|
41
|
-
resourceInputs["enableAnonymousAccess"] = state ? state.enableAnonymousAccess : undefined;
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
const args = argsOrState;
|
|
45
|
-
resourceInputs["enableAnonymousAccess"] = args ? args.enableAnonymousAccess : undefined;
|
|
46
|
-
}
|
|
47
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
48
|
-
super(GeneralSecurity.__pulumiType, name, resourceInputs, opts);
|
|
49
|
-
}
|
|
50
36
|
/**
|
|
51
37
|
* Get an existing GeneralSecurity resource's state with the given name, ID, and optional extra
|
|
52
38
|
* properties used to qualify the lookup.
|
|
@@ -69,6 +55,20 @@ class GeneralSecurity extends pulumi.CustomResource {
|
|
|
69
55
|
}
|
|
70
56
|
return obj['__pulumiType'] === GeneralSecurity.__pulumiType;
|
|
71
57
|
}
|
|
58
|
+
constructor(name, argsOrState, opts) {
|
|
59
|
+
let resourceInputs = {};
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
if (opts.id) {
|
|
62
|
+
const state = argsOrState;
|
|
63
|
+
resourceInputs["enableAnonymousAccess"] = state ? state.enableAnonymousAccess : undefined;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
const args = argsOrState;
|
|
67
|
+
resourceInputs["enableAnonymousAccess"] = args ? args.enableAnonymousAccess : undefined;
|
|
68
|
+
}
|
|
69
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
70
|
+
super(GeneralSecurity.__pulumiType, name, resourceInputs, opts);
|
|
71
|
+
}
|
|
72
72
|
}
|
|
73
73
|
exports.GeneralSecurity = GeneralSecurity;
|
|
74
74
|
/** @internal */
|
package/generalSecurity.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generalSecurity.js","sourceRoot":"","sources":["../generalSecurity.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"generalSecurity.js","sourceRoot":"","sources":["../generalSecurity.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAYD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7F;aAAM;YACH,MAAM,IAAI,GAAG,WAA8C,CAAC;YAC5D,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3F;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAlDL,0CAmDC;AArCG,gBAAgB;AACO,4BAAY,GAAG,mDAAmD,CAAC"}
|
package/getFile.d.ts
CHANGED
|
@@ -10,12 +10,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as artifactory from "@pulumi/artifactory";
|
|
12
12
|
*
|
|
13
|
-
*
|
|
14
|
-
* const my_file = pulumi.output(artifactory.getFile({
|
|
13
|
+
* const my-file = artifactory.getFile({
|
|
15
14
|
* outputPath: "tmp/artifact.zip",
|
|
16
15
|
* path: "/path/to/the/artifact.zip",
|
|
17
16
|
* repository: "repo-key",
|
|
18
|
-
* })
|
|
17
|
+
* });
|
|
19
18
|
* ```
|
|
20
19
|
*/
|
|
21
20
|
export declare function getFile(args: GetFileArgs, opts?: pulumi.InvokeOptions): Promise<GetFileResult>;
|
|
@@ -103,6 +102,24 @@ export interface GetFileResult {
|
|
|
103
102
|
*/
|
|
104
103
|
readonly size: number;
|
|
105
104
|
}
|
|
105
|
+
/**
|
|
106
|
+
* ## # Artifactory File Data Source
|
|
107
|
+
*
|
|
108
|
+
* Provides an Artifactory file datasource. This can be used to download a file from a given Artifactory repository.
|
|
109
|
+
*
|
|
110
|
+
* ## Example Usage
|
|
111
|
+
*
|
|
112
|
+
* ```typescript
|
|
113
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
114
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
115
|
+
*
|
|
116
|
+
* const my-file = artifactory.getFile({
|
|
117
|
+
* outputPath: "tmp/artifact.zip",
|
|
118
|
+
* path: "/path/to/the/artifact.zip",
|
|
119
|
+
* repository: "repo-key",
|
|
120
|
+
* });
|
|
121
|
+
* ```
|
|
122
|
+
*/
|
|
106
123
|
export declare function getFileOutput(args: GetFileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFileResult>;
|
|
107
124
|
/**
|
|
108
125
|
* A collection of arguments for invoking getFile.
|
package/getFile.js
CHANGED
|
@@ -16,19 +16,15 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as artifactory from "@pulumi/artifactory";
|
|
18
18
|
*
|
|
19
|
-
*
|
|
20
|
-
* const my_file = pulumi.output(artifactory.getFile({
|
|
19
|
+
* const my-file = artifactory.getFile({
|
|
21
20
|
* outputPath: "tmp/artifact.zip",
|
|
22
21
|
* path: "/path/to/the/artifact.zip",
|
|
23
22
|
* repository: "repo-key",
|
|
24
|
-
* })
|
|
23
|
+
* });
|
|
25
24
|
* ```
|
|
26
25
|
*/
|
|
27
26
|
function getFile(args, opts) {
|
|
28
|
-
|
|
29
|
-
opts = {};
|
|
30
|
-
}
|
|
31
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
27
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
32
28
|
return pulumi.runtime.invoke("artifactory:index/getFile:getFile", {
|
|
33
29
|
"forceOverwrite": args.forceOverwrite,
|
|
34
30
|
"outputPath": args.outputPath,
|
|
@@ -38,8 +34,26 @@ function getFile(args, opts) {
|
|
|
38
34
|
}, opts);
|
|
39
35
|
}
|
|
40
36
|
exports.getFile = getFile;
|
|
37
|
+
/**
|
|
38
|
+
* ## # Artifactory File Data Source
|
|
39
|
+
*
|
|
40
|
+
* Provides an Artifactory file datasource. This can be used to download a file from a given Artifactory repository.
|
|
41
|
+
*
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
47
|
+
*
|
|
48
|
+
* const my-file = artifactory.getFile({
|
|
49
|
+
* outputPath: "tmp/artifact.zip",
|
|
50
|
+
* path: "/path/to/the/artifact.zip",
|
|
51
|
+
* repository: "repo-key",
|
|
52
|
+
* });
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
41
55
|
function getFileOutput(args, opts) {
|
|
42
|
-
return pulumi.output(args).apply(a => getFile(a, opts));
|
|
56
|
+
return pulumi.output(args).apply((a) => getFile(a, opts));
|
|
43
57
|
}
|
|
44
58
|
exports.getFileOutput = getFileOutput;
|
|
45
59
|
//# sourceMappingURL=getFile.js.map
|
package/getFile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFile.js","sourceRoot":"","sources":["../getFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getFile.js","sourceRoot":"","sources":["../getFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0BAUC;AAuFD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
|
package/getFileinfo.d.ts
CHANGED
|
@@ -10,11 +10,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as artifactory from "@pulumi/artifactory";
|
|
12
12
|
*
|
|
13
|
-
*
|
|
14
|
-
* const my_file = pulumi.output(artifactory.getFileinfo({
|
|
13
|
+
* const my-file = artifactory.getFileinfo({
|
|
15
14
|
* path: "/path/to/the/artifact.zip",
|
|
16
15
|
* repository: "repo-key",
|
|
17
|
-
* })
|
|
16
|
+
* });
|
|
18
17
|
* ```
|
|
19
18
|
*/
|
|
20
19
|
export declare function getFileinfo(args: GetFileinfoArgs, opts?: pulumi.InvokeOptions): Promise<GetFileinfoResult>;
|
|
@@ -86,6 +85,23 @@ export interface GetFileinfoResult {
|
|
|
86
85
|
*/
|
|
87
86
|
readonly size: number;
|
|
88
87
|
}
|
|
88
|
+
/**
|
|
89
|
+
* ## # Artifactory File Info Data Source
|
|
90
|
+
*
|
|
91
|
+
* Provides an Artifactory fileinfo datasource. This can be used to read metadata of files stored in Artifactory repositories.
|
|
92
|
+
*
|
|
93
|
+
* ## Example Usage
|
|
94
|
+
*
|
|
95
|
+
* ```typescript
|
|
96
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
97
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
98
|
+
*
|
|
99
|
+
* const my-file = artifactory.getFileinfo({
|
|
100
|
+
* path: "/path/to/the/artifact.zip",
|
|
101
|
+
* repository: "repo-key",
|
|
102
|
+
* });
|
|
103
|
+
* ```
|
|
104
|
+
*/
|
|
89
105
|
export declare function getFileinfoOutput(args: GetFileinfoOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFileinfoResult>;
|
|
90
106
|
/**
|
|
91
107
|
* A collection of arguments for invoking getFileinfo.
|
package/getFileinfo.js
CHANGED
|
@@ -16,26 +16,39 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as artifactory from "@pulumi/artifactory";
|
|
18
18
|
*
|
|
19
|
-
*
|
|
20
|
-
* const my_file = pulumi.output(artifactory.getFileinfo({
|
|
19
|
+
* const my-file = artifactory.getFileinfo({
|
|
21
20
|
* path: "/path/to/the/artifact.zip",
|
|
22
21
|
* repository: "repo-key",
|
|
23
|
-
* })
|
|
22
|
+
* });
|
|
24
23
|
* ```
|
|
25
24
|
*/
|
|
26
25
|
function getFileinfo(args, opts) {
|
|
27
|
-
|
|
28
|
-
opts = {};
|
|
29
|
-
}
|
|
30
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
26
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
31
27
|
return pulumi.runtime.invoke("artifactory:index/getFileinfo:getFileinfo", {
|
|
32
28
|
"path": args.path,
|
|
33
29
|
"repository": args.repository,
|
|
34
30
|
}, opts);
|
|
35
31
|
}
|
|
36
32
|
exports.getFileinfo = getFileinfo;
|
|
33
|
+
/**
|
|
34
|
+
* ## # Artifactory File Info Data Source
|
|
35
|
+
*
|
|
36
|
+
* Provides an Artifactory fileinfo datasource. This can be used to read metadata of files stored in Artifactory repositories.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
43
|
+
*
|
|
44
|
+
* const my-file = artifactory.getFileinfo({
|
|
45
|
+
* path: "/path/to/the/artifact.zip",
|
|
46
|
+
* repository: "repo-key",
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
37
50
|
function getFileinfoOutput(args, opts) {
|
|
38
|
-
return pulumi.output(args).apply(a => getFileinfo(a, opts));
|
|
51
|
+
return pulumi.output(args).apply((a) => getFileinfo(a, opts));
|
|
39
52
|
}
|
|
40
53
|
exports.getFileinfoOutput = getFileinfoOutput;
|
|
41
54
|
//# sourceMappingURL=getFileinfo.js.map
|
package/getFileinfo.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFileinfo.js","sourceRoot":"","sources":["../getFileinfo.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getFileinfo.js","sourceRoot":"","sources":["../getFileinfo.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kCAOC;AAuED;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
|
package/goRepository.d.ts
CHANGED
|
@@ -78,8 +78,8 @@ export declare class GoRepository extends pulumi.CustomResource {
|
|
|
78
78
|
*/
|
|
79
79
|
readonly externalDependenciesPatterns: pulumi.Output<string[] | undefined>;
|
|
80
80
|
/**
|
|
81
|
-
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
82
|
-
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
81
|
+
* List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
82
|
+
* used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
83
83
|
*/
|
|
84
84
|
readonly includesPattern: pulumi.Output<string | undefined>;
|
|
85
85
|
/**
|
|
@@ -96,11 +96,13 @@ export declare class GoRepository extends pulumi.CustomResource {
|
|
|
96
96
|
*/
|
|
97
97
|
readonly packageType: pulumi.Output<string>;
|
|
98
98
|
/**
|
|
99
|
-
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
99
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
100
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
101
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
100
102
|
*/
|
|
101
103
|
readonly projectEnvironments: pulumi.Output<string[]>;
|
|
102
104
|
/**
|
|
103
|
-
* Project key for assigning this repository to. Must be
|
|
105
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
104
106
|
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
105
107
|
*/
|
|
106
108
|
readonly projectKey: pulumi.Output<string | undefined>;
|
|
@@ -112,11 +114,6 @@ export declare class GoRepository extends pulumi.CustomResource {
|
|
|
112
114
|
* The effective list of actual repositories included in this virtual repository.
|
|
113
115
|
*/
|
|
114
116
|
readonly repositories: pulumi.Output<string[] | undefined>;
|
|
115
|
-
/**
|
|
116
|
-
* This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated
|
|
117
|
-
* repositories. A value of 0 indicates no caching.
|
|
118
|
-
*/
|
|
119
|
-
readonly retrievalCachePeriodSeconds: pulumi.Output<number | undefined>;
|
|
120
117
|
/**
|
|
121
118
|
* Create a GoRepository resource with the given unique name, arguments, and options.
|
|
122
119
|
*
|
|
@@ -159,8 +156,8 @@ export interface GoRepositoryState {
|
|
|
159
156
|
*/
|
|
160
157
|
externalDependenciesPatterns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
161
158
|
/**
|
|
162
|
-
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
163
|
-
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
159
|
+
* List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
160
|
+
* used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
164
161
|
*/
|
|
165
162
|
includesPattern?: pulumi.Input<string>;
|
|
166
163
|
/**
|
|
@@ -177,11 +174,13 @@ export interface GoRepositoryState {
|
|
|
177
174
|
*/
|
|
178
175
|
packageType?: pulumi.Input<string>;
|
|
179
176
|
/**
|
|
180
|
-
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
177
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
178
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
179
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
181
180
|
*/
|
|
182
181
|
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
183
182
|
/**
|
|
184
|
-
* Project key for assigning this repository to. Must be
|
|
183
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
185
184
|
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
186
185
|
*/
|
|
187
186
|
projectKey?: pulumi.Input<string>;
|
|
@@ -193,11 +192,6 @@ export interface GoRepositoryState {
|
|
|
193
192
|
* The effective list of actual repositories included in this virtual repository.
|
|
194
193
|
*/
|
|
195
194
|
repositories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
196
|
-
/**
|
|
197
|
-
* This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated
|
|
198
|
-
* repositories. A value of 0 indicates no caching.
|
|
199
|
-
*/
|
|
200
|
-
retrievalCachePeriodSeconds?: pulumi.Input<number>;
|
|
201
195
|
}
|
|
202
196
|
/**
|
|
203
197
|
* The set of arguments for constructing a GoRepository resource.
|
|
@@ -232,8 +226,8 @@ export interface GoRepositoryArgs {
|
|
|
232
226
|
*/
|
|
233
227
|
externalDependenciesPatterns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
234
228
|
/**
|
|
235
|
-
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
236
|
-
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
229
|
+
* List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
230
|
+
* used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
237
231
|
*/
|
|
238
232
|
includesPattern?: pulumi.Input<string>;
|
|
239
233
|
/**
|
|
@@ -246,11 +240,13 @@ export interface GoRepositoryArgs {
|
|
|
246
240
|
*/
|
|
247
241
|
notes?: pulumi.Input<string>;
|
|
248
242
|
/**
|
|
249
|
-
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
243
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
244
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
245
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
250
246
|
*/
|
|
251
247
|
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
252
248
|
/**
|
|
253
|
-
* Project key for assigning this repository to. Must be
|
|
249
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
254
250
|
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
255
251
|
*/
|
|
256
252
|
projectKey?: pulumi.Input<string>;
|
|
@@ -262,9 +258,4 @@ export interface GoRepositoryArgs {
|
|
|
262
258
|
* The effective list of actual repositories included in this virtual repository.
|
|
263
259
|
*/
|
|
264
260
|
repositories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
265
|
-
/**
|
|
266
|
-
* This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated
|
|
267
|
-
* repositories. A value of 0 indicates no caching.
|
|
268
|
-
*/
|
|
269
|
-
retrievalCachePeriodSeconds?: pulumi.Input<number>;
|
|
270
261
|
}
|
package/goRepository.js
CHANGED
|
@@ -40,6 +40,28 @@ const utilities = require("./utilities");
|
|
|
40
40
|
* ```
|
|
41
41
|
*/
|
|
42
42
|
class GoRepository extends pulumi.CustomResource {
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing GoRepository resource's state with the given name, ID, and optional extra
|
|
45
|
+
* properties used to qualify the lookup.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resulting resource.
|
|
48
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
49
|
+
* @param state Any extra arguments used during the lookup.
|
|
50
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
+
*/
|
|
52
|
+
static get(name, id, state, opts) {
|
|
53
|
+
return new GoRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Returns true if the given object is an instance of GoRepository. This is designed to work even
|
|
57
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
58
|
+
*/
|
|
59
|
+
static isInstance(obj) {
|
|
60
|
+
if (obj === undefined || obj === null) {
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
return obj['__pulumiType'] === GoRepository.__pulumiType;
|
|
64
|
+
}
|
|
43
65
|
constructor(name, argsOrState, opts) {
|
|
44
66
|
let resourceInputs = {};
|
|
45
67
|
opts = opts || {};
|
|
@@ -59,7 +81,6 @@ class GoRepository extends pulumi.CustomResource {
|
|
|
59
81
|
resourceInputs["projectKey"] = state ? state.projectKey : undefined;
|
|
60
82
|
resourceInputs["repoLayoutRef"] = state ? state.repoLayoutRef : undefined;
|
|
61
83
|
resourceInputs["repositories"] = state ? state.repositories : undefined;
|
|
62
|
-
resourceInputs["retrievalCachePeriodSeconds"] = state ? state.retrievalCachePeriodSeconds : undefined;
|
|
63
84
|
}
|
|
64
85
|
else {
|
|
65
86
|
const args = argsOrState;
|
|
@@ -79,34 +100,11 @@ class GoRepository extends pulumi.CustomResource {
|
|
|
79
100
|
resourceInputs["projectKey"] = args ? args.projectKey : undefined;
|
|
80
101
|
resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined;
|
|
81
102
|
resourceInputs["repositories"] = args ? args.repositories : undefined;
|
|
82
|
-
resourceInputs["retrievalCachePeriodSeconds"] = args ? args.retrievalCachePeriodSeconds : undefined;
|
|
83
103
|
resourceInputs["packageType"] = undefined /*out*/;
|
|
84
104
|
}
|
|
85
105
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
86
106
|
super(GoRepository.__pulumiType, name, resourceInputs, opts);
|
|
87
107
|
}
|
|
88
|
-
/**
|
|
89
|
-
* Get an existing GoRepository resource's state with the given name, ID, and optional extra
|
|
90
|
-
* properties used to qualify the lookup.
|
|
91
|
-
*
|
|
92
|
-
* @param name The _unique_ name of the resulting resource.
|
|
93
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
94
|
-
* @param state Any extra arguments used during the lookup.
|
|
95
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
96
|
-
*/
|
|
97
|
-
static get(name, id, state, opts) {
|
|
98
|
-
return new GoRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* Returns true if the given object is an instance of GoRepository. This is designed to work even
|
|
102
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
103
|
-
*/
|
|
104
|
-
static isInstance(obj) {
|
|
105
|
-
if (obj === undefined || obj === null) {
|
|
106
|
-
return false;
|
|
107
|
-
}
|
|
108
|
-
return obj['__pulumiType'] === GoRepository.__pulumiType;
|
|
109
|
-
}
|
|
110
108
|
}
|
|
111
109
|
exports.GoRepository = GoRepository;
|
|
112
110
|
/** @internal */
|
package/goRepository.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goRepository.js","sourceRoot":"","sources":["../goRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,YAA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AAC,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,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA/IL,oCAgJC;AAlIG,gBAAgB;AACO,yBAAY,GAAG,6CAA6C,CAAC"}
|
package/group.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export declare class Group extends pulumi.CustomResource {
|
|
|
37
37
|
*/
|
|
38
38
|
readonly description: pulumi.Output<string | undefined>;
|
|
39
39
|
/**
|
|
40
|
-
* When this
|
|
40
|
+
* When this is set to `true`, an empty or missing usernames array will detach all users from the group
|
|
41
41
|
*/
|
|
42
42
|
readonly detachAllUsers: pulumi.Output<boolean | undefined>;
|
|
43
43
|
/**
|
|
@@ -49,7 +49,7 @@ export declare class Group extends pulumi.CustomResource {
|
|
|
49
49
|
*/
|
|
50
50
|
readonly name: pulumi.Output<string>;
|
|
51
51
|
/**
|
|
52
|
-
* When this override is set, User in the group can set Xray security and compliance policies. Default value is
|
|
52
|
+
* When this override is set, User in the group can set Xray security and compliance policies. Default value is `false`.
|
|
53
53
|
*/
|
|
54
54
|
readonly policyManager: pulumi.Output<boolean | undefined>;
|
|
55
55
|
/**
|
|
@@ -61,15 +61,12 @@ export declare class Group extends pulumi.CustomResource {
|
|
|
61
61
|
*/
|
|
62
62
|
readonly realmAttributes: pulumi.Output<string | undefined>;
|
|
63
63
|
/**
|
|
64
|
-
* When this override is set, User in the group can manage Xray Reports on any resource type. Default value is
|
|
64
|
+
* When this override is set, User in the group can manage Xray Reports on any resource type. Default value is `false`.
|
|
65
65
|
*/
|
|
66
66
|
readonly reportsManager: pulumi.Output<boolean | undefined>;
|
|
67
|
-
/**
|
|
68
|
-
* List of users assigned to the group. If missing or empty, tf will not manage group membership
|
|
69
|
-
*/
|
|
70
67
|
readonly usersNames: pulumi.Output<string[] | undefined>;
|
|
71
68
|
/**
|
|
72
|
-
* When this override is set, User in the group can manage Xray Watches on any resource type. Default value is
|
|
69
|
+
* When this override is set, User in the group can manage Xray Watches on any resource type. Default value is `false`.
|
|
73
70
|
*/
|
|
74
71
|
readonly watchManager: pulumi.Output<boolean | undefined>;
|
|
75
72
|
/**
|
|
@@ -98,7 +95,7 @@ export interface GroupState {
|
|
|
98
95
|
*/
|
|
99
96
|
description?: pulumi.Input<string>;
|
|
100
97
|
/**
|
|
101
|
-
* When this
|
|
98
|
+
* When this is set to `true`, an empty or missing usernames array will detach all users from the group
|
|
102
99
|
*/
|
|
103
100
|
detachAllUsers?: pulumi.Input<boolean>;
|
|
104
101
|
/**
|
|
@@ -110,7 +107,7 @@ export interface GroupState {
|
|
|
110
107
|
*/
|
|
111
108
|
name?: pulumi.Input<string>;
|
|
112
109
|
/**
|
|
113
|
-
* When this override is set, User in the group can set Xray security and compliance policies. Default value is
|
|
110
|
+
* When this override is set, User in the group can set Xray security and compliance policies. Default value is `false`.
|
|
114
111
|
*/
|
|
115
112
|
policyManager?: pulumi.Input<boolean>;
|
|
116
113
|
/**
|
|
@@ -122,15 +119,12 @@ export interface GroupState {
|
|
|
122
119
|
*/
|
|
123
120
|
realmAttributes?: pulumi.Input<string>;
|
|
124
121
|
/**
|
|
125
|
-
* When this override is set, User in the group can manage Xray Reports on any resource type. Default value is
|
|
122
|
+
* When this override is set, User in the group can manage Xray Reports on any resource type. Default value is `false`.
|
|
126
123
|
*/
|
|
127
124
|
reportsManager?: pulumi.Input<boolean>;
|
|
128
|
-
/**
|
|
129
|
-
* List of users assigned to the group. If missing or empty, tf will not manage group membership
|
|
130
|
-
*/
|
|
131
125
|
usersNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
132
126
|
/**
|
|
133
|
-
* When this override is set, User in the group can manage Xray Watches on any resource type. Default value is
|
|
127
|
+
* When this override is set, User in the group can manage Xray Watches on any resource type. Default value is `false`.
|
|
134
128
|
*/
|
|
135
129
|
watchManager?: pulumi.Input<boolean>;
|
|
136
130
|
}
|
|
@@ -151,7 +145,7 @@ export interface GroupArgs {
|
|
|
151
145
|
*/
|
|
152
146
|
description?: pulumi.Input<string>;
|
|
153
147
|
/**
|
|
154
|
-
* When this
|
|
148
|
+
* When this is set to `true`, an empty or missing usernames array will detach all users from the group
|
|
155
149
|
*/
|
|
156
150
|
detachAllUsers?: pulumi.Input<boolean>;
|
|
157
151
|
/**
|
|
@@ -163,7 +157,7 @@ export interface GroupArgs {
|
|
|
163
157
|
*/
|
|
164
158
|
name?: pulumi.Input<string>;
|
|
165
159
|
/**
|
|
166
|
-
* When this override is set, User in the group can set Xray security and compliance policies. Default value is
|
|
160
|
+
* When this override is set, User in the group can set Xray security and compliance policies. Default value is `false`.
|
|
167
161
|
*/
|
|
168
162
|
policyManager?: pulumi.Input<boolean>;
|
|
169
163
|
/**
|
|
@@ -175,15 +169,12 @@ export interface GroupArgs {
|
|
|
175
169
|
*/
|
|
176
170
|
realmAttributes?: pulumi.Input<string>;
|
|
177
171
|
/**
|
|
178
|
-
* When this override is set, User in the group can manage Xray Reports on any resource type. Default value is
|
|
172
|
+
* When this override is set, User in the group can manage Xray Reports on any resource type. Default value is `false`.
|
|
179
173
|
*/
|
|
180
174
|
reportsManager?: pulumi.Input<boolean>;
|
|
181
|
-
/**
|
|
182
|
-
* List of users assigned to the group. If missing or empty, tf will not manage group membership
|
|
183
|
-
*/
|
|
184
175
|
usersNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
185
176
|
/**
|
|
186
|
-
* When this override is set, User in the group can manage Xray Watches on any resource type. Default value is
|
|
177
|
+
* When this override is set, User in the group can manage Xray Watches on any resource type. Default value is `false`.
|
|
187
178
|
*/
|
|
188
179
|
watchManager?: pulumi.Input<boolean>;
|
|
189
180
|
}
|
package/group.js
CHANGED
|
@@ -15,6 +15,28 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
17
|
class Group extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing Group resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new Group(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of Group. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === Group.__pulumiType;
|
|
39
|
+
}
|
|
18
40
|
constructor(name, argsOrState, opts) {
|
|
19
41
|
let resourceInputs = {};
|
|
20
42
|
opts = opts || {};
|
|
@@ -51,28 +73,6 @@ class Group extends pulumi.CustomResource {
|
|
|
51
73
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
52
74
|
super(Group.__pulumiType, name, resourceInputs, opts);
|
|
53
75
|
}
|
|
54
|
-
/**
|
|
55
|
-
* Get an existing Group resource's state with the given name, ID, and optional extra
|
|
56
|
-
* properties used to qualify the lookup.
|
|
57
|
-
*
|
|
58
|
-
* @param name The _unique_ name of the resulting resource.
|
|
59
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
60
|
-
* @param state Any extra arguments used during the lookup.
|
|
61
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
62
|
-
*/
|
|
63
|
-
static get(name, id, state, opts) {
|
|
64
|
-
return new Group(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Returns true if the given object is an instance of Group. This is designed to work even
|
|
68
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
69
|
-
*/
|
|
70
|
-
static isInstance(obj) {
|
|
71
|
-
if (obj === undefined || obj === null) {
|
|
72
|
-
return false;
|
|
73
|
-
}
|
|
74
|
-
return obj['__pulumiType'] === Group.__pulumiType;
|
|
75
|
-
}
|
|
76
76
|
}
|
|
77
77
|
exports.Group = Group;
|
|
78
78
|
/** @internal */
|
package/group.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group.js","sourceRoot":"","sources":["../group.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"group.js","sourceRoot":"","sources":["../group.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,C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