@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/user.d.ts
CHANGED
|
@@ -20,6 +20,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
20
|
* password: "my super secret password",
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
23
|
+
* ## Managing groups relationship
|
|
24
|
+
*
|
|
25
|
+
* See our recommendation on how to manage user-group relationship.
|
|
23
26
|
*
|
|
24
27
|
* ## Import
|
|
25
28
|
*
|
|
@@ -58,8 +61,7 @@ export declare class User extends pulumi.CustomResource {
|
|
|
58
61
|
*/
|
|
59
62
|
readonly email: pulumi.Output<string>;
|
|
60
63
|
/**
|
|
61
|
-
* List of groups this user is a part of.
|
|
62
|
-
* - Note: If "groups" attribute is not specified then user's group membership set to empty. User will not be part of default "readers" group automatically.
|
|
64
|
+
* List of groups this user is a part of. **Notes:** If this attribute is not specified then user's group membership set to empty. User will not be part of default "readers" group automatically.
|
|
63
65
|
*/
|
|
64
66
|
readonly groups: pulumi.Output<string[] | undefined>;
|
|
65
67
|
/**
|
|
@@ -71,7 +73,7 @@ export declare class User extends pulumi.CustomResource {
|
|
|
71
73
|
*/
|
|
72
74
|
readonly name: pulumi.Output<string>;
|
|
73
75
|
/**
|
|
74
|
-
* Password for the user. When omitted, a random password is generated using the following password policy:
|
|
76
|
+
* Password for the user. When omitted, a random password is generated using the following password policy: 12 characters with 1 digit, 1 symbol, with upper and lower case letters.
|
|
75
77
|
*/
|
|
76
78
|
readonly password: pulumi.Output<string | undefined>;
|
|
77
79
|
/**
|
|
@@ -104,8 +106,7 @@ export interface UserState {
|
|
|
104
106
|
*/
|
|
105
107
|
email?: pulumi.Input<string>;
|
|
106
108
|
/**
|
|
107
|
-
* List of groups this user is a part of.
|
|
108
|
-
* - Note: If "groups" attribute is not specified then user's group membership set to empty. User will not be part of default "readers" group automatically.
|
|
109
|
+
* List of groups this user is a part of. **Notes:** If this attribute is not specified then user's group membership set to empty. User will not be part of default "readers" group automatically.
|
|
109
110
|
*/
|
|
110
111
|
groups?: pulumi.Input<pulumi.Input<string>[]>;
|
|
111
112
|
/**
|
|
@@ -117,7 +118,7 @@ export interface UserState {
|
|
|
117
118
|
*/
|
|
118
119
|
name?: pulumi.Input<string>;
|
|
119
120
|
/**
|
|
120
|
-
* Password for the user. When omitted, a random password is generated using the following password policy:
|
|
121
|
+
* Password for the user. When omitted, a random password is generated using the following password policy: 12 characters with 1 digit, 1 symbol, with upper and lower case letters.
|
|
121
122
|
*/
|
|
122
123
|
password?: pulumi.Input<string>;
|
|
123
124
|
/**
|
|
@@ -142,8 +143,7 @@ export interface UserArgs {
|
|
|
142
143
|
*/
|
|
143
144
|
email: pulumi.Input<string>;
|
|
144
145
|
/**
|
|
145
|
-
* List of groups this user is a part of.
|
|
146
|
-
* - Note: If "groups" attribute is not specified then user's group membership set to empty. User will not be part of default "readers" group automatically.
|
|
146
|
+
* List of groups this user is a part of. **Notes:** If this attribute is not specified then user's group membership set to empty. User will not be part of default "readers" group automatically.
|
|
147
147
|
*/
|
|
148
148
|
groups?: pulumi.Input<pulumi.Input<string>[]>;
|
|
149
149
|
/**
|
|
@@ -155,7 +155,7 @@ export interface UserArgs {
|
|
|
155
155
|
*/
|
|
156
156
|
name?: pulumi.Input<string>;
|
|
157
157
|
/**
|
|
158
|
-
* Password for the user. When omitted, a random password is generated using the following password policy:
|
|
158
|
+
* Password for the user. When omitted, a random password is generated using the following password policy: 12 characters with 1 digit, 1 symbol, with upper and lower case letters.
|
|
159
159
|
*/
|
|
160
160
|
password?: pulumi.Input<string>;
|
|
161
161
|
/**
|
package/user.js
CHANGED
|
@@ -26,6 +26,9 @@ const utilities = require("./utilities");
|
|
|
26
26
|
* password: "my super secret password",
|
|
27
27
|
* });
|
|
28
28
|
* ```
|
|
29
|
+
* ## Managing groups relationship
|
|
30
|
+
*
|
|
31
|
+
* See our recommendation on how to manage user-group relationship.
|
|
29
32
|
*
|
|
30
33
|
* ## Import
|
|
31
34
|
*
|
|
@@ -36,6 +39,28 @@ const utilities = require("./utilities");
|
|
|
36
39
|
* ```
|
|
37
40
|
*/
|
|
38
41
|
class User extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing User resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name, id, state, opts) {
|
|
52
|
+
return new User(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of User. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj) {
|
|
59
|
+
if (obj === undefined || obj === null) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
return obj['__pulumiType'] === User.__pulumiType;
|
|
63
|
+
}
|
|
39
64
|
constructor(name, argsOrState, opts) {
|
|
40
65
|
let resourceInputs = {};
|
|
41
66
|
opts = opts || {};
|
|
@@ -61,34 +86,14 @@ class User extends pulumi.CustomResource {
|
|
|
61
86
|
resourceInputs["groups"] = args ? args.groups : undefined;
|
|
62
87
|
resourceInputs["internalPasswordDisabled"] = args ? args.internalPasswordDisabled : undefined;
|
|
63
88
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
64
|
-
resourceInputs["password"] = args ? args.password : undefined;
|
|
89
|
+
resourceInputs["password"] = (args === null || args === void 0 ? void 0 : args.password) ? pulumi.secret(args.password) : undefined;
|
|
65
90
|
resourceInputs["profileUpdatable"] = args ? args.profileUpdatable : undefined;
|
|
66
91
|
}
|
|
67
92
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
93
|
+
const secretOpts = { additionalSecretOutputs: ["password"] };
|
|
94
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
68
95
|
super(User.__pulumiType, name, resourceInputs, opts);
|
|
69
96
|
}
|
|
70
|
-
/**
|
|
71
|
-
* Get an existing User resource's state with the given name, ID, and optional extra
|
|
72
|
-
* properties used to qualify the lookup.
|
|
73
|
-
*
|
|
74
|
-
* @param name The _unique_ name of the resulting resource.
|
|
75
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
76
|
-
* @param state Any extra arguments used during the lookup.
|
|
77
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
78
|
-
*/
|
|
79
|
-
static get(name, id, state, opts) {
|
|
80
|
-
return new User(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* Returns true if the given object is an instance of User. This is designed to work even
|
|
84
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
85
|
-
*/
|
|
86
|
-
static isInstance(obj) {
|
|
87
|
-
if (obj === undefined || obj === null) {
|
|
88
|
-
return false;
|
|
89
|
-
}
|
|
90
|
-
return obj['__pulumiType'] === User.__pulumiType;
|
|
91
|
-
}
|
|
92
97
|
}
|
|
93
98
|
exports.User = User;
|
|
94
99
|
/** @internal */
|
package/user.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../user.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../user.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,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,IAAI,CAAC,YAAY,CAAC;IAC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,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AApGL,oBAqGC;AAvFG,gBAAgB;AACO,iBAAY,GAAG,6BAA6B,CAAC"}
|
package/utilities.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
5
|
+
exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
6
6
|
function getEnv(...vars) {
|
|
7
7
|
for (const v of vars) {
|
|
8
8
|
const value = process.env[v];
|
|
@@ -54,4 +54,16 @@ function resourceOptsDefaults() {
|
|
|
54
54
|
return { version: getVersion() };
|
|
55
55
|
}
|
|
56
56
|
exports.resourceOptsDefaults = resourceOptsDefaults;
|
|
57
|
+
/** @internal */
|
|
58
|
+
function lazyLoad(exports, props, loadModule) {
|
|
59
|
+
for (let property of props) {
|
|
60
|
+
Object.defineProperty(exports, property, {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () {
|
|
63
|
+
return loadModule()[property];
|
|
64
|
+
},
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.lazyLoad = lazyLoad;
|
|
57
69
|
//# sourceMappingURL=utilities.js.map
|
package/utilities.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAGjF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{
|
|
|
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
|
/**
|
|
@@ -85,11 +85,13 @@ export declare class VirtualAlpineRepository extends pulumi.CustomResource {
|
|
|
85
85
|
*/
|
|
86
86
|
readonly primaryKeypairRef: pulumi.Output<string | undefined>;
|
|
87
87
|
/**
|
|
88
|
-
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
88
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
89
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
90
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
89
91
|
*/
|
|
90
92
|
readonly projectEnvironments: pulumi.Output<string[]>;
|
|
91
93
|
/**
|
|
92
|
-
* Project key for assigning this repository to. Must be
|
|
94
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
93
95
|
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
94
96
|
*/
|
|
95
97
|
readonly projectKey: pulumi.Output<string | undefined>;
|
|
@@ -102,8 +104,7 @@ export declare class VirtualAlpineRepository extends pulumi.CustomResource {
|
|
|
102
104
|
*/
|
|
103
105
|
readonly repositories: pulumi.Output<string[] | undefined>;
|
|
104
106
|
/**
|
|
105
|
-
* This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated
|
|
106
|
-
* repositories. A value of 0 indicates no caching.
|
|
107
|
+
* This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated repositories. A value of 0 indicates no caching.
|
|
107
108
|
*/
|
|
108
109
|
readonly retrievalCachePeriodSeconds: pulumi.Output<number | undefined>;
|
|
109
110
|
/**
|
|
@@ -139,8 +140,8 @@ export interface VirtualAlpineRepositoryState {
|
|
|
139
140
|
*/
|
|
140
141
|
excludesPattern?: pulumi.Input<string>;
|
|
141
142
|
/**
|
|
142
|
-
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
143
|
-
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
143
|
+
* List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
144
|
+
* used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
144
145
|
*/
|
|
145
146
|
includesPattern?: pulumi.Input<string>;
|
|
146
147
|
/**
|
|
@@ -161,11 +162,13 @@ export interface VirtualAlpineRepositoryState {
|
|
|
161
162
|
*/
|
|
162
163
|
primaryKeypairRef?: pulumi.Input<string>;
|
|
163
164
|
/**
|
|
164
|
-
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
165
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
166
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
167
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
165
168
|
*/
|
|
166
169
|
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
167
170
|
/**
|
|
168
|
-
* Project key for assigning this repository to. Must be
|
|
171
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
169
172
|
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
170
173
|
*/
|
|
171
174
|
projectKey?: pulumi.Input<string>;
|
|
@@ -178,8 +181,7 @@ export interface VirtualAlpineRepositoryState {
|
|
|
178
181
|
*/
|
|
179
182
|
repositories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
180
183
|
/**
|
|
181
|
-
* This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated
|
|
182
|
-
* repositories. A value of 0 indicates no caching.
|
|
184
|
+
* This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated repositories. A value of 0 indicates no caching.
|
|
183
185
|
*/
|
|
184
186
|
retrievalCachePeriodSeconds?: pulumi.Input<number>;
|
|
185
187
|
}
|
|
@@ -207,8 +209,8 @@ export interface VirtualAlpineRepositoryArgs {
|
|
|
207
209
|
*/
|
|
208
210
|
excludesPattern?: pulumi.Input<string>;
|
|
209
211
|
/**
|
|
210
|
-
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
211
|
-
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
212
|
+
* List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
213
|
+
* used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
212
214
|
*/
|
|
213
215
|
includesPattern?: pulumi.Input<string>;
|
|
214
216
|
/**
|
|
@@ -225,11 +227,13 @@ export interface VirtualAlpineRepositoryArgs {
|
|
|
225
227
|
*/
|
|
226
228
|
primaryKeypairRef?: pulumi.Input<string>;
|
|
227
229
|
/**
|
|
228
|
-
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
230
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
231
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
232
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
229
233
|
*/
|
|
230
234
|
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
231
235
|
/**
|
|
232
|
-
* Project key for assigning this repository to. Must be
|
|
236
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
233
237
|
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
234
238
|
*/
|
|
235
239
|
projectKey?: pulumi.Input<string>;
|
|
@@ -242,8 +246,7 @@ export interface VirtualAlpineRepositoryArgs {
|
|
|
242
246
|
*/
|
|
243
247
|
repositories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
244
248
|
/**
|
|
245
|
-
* This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated
|
|
246
|
-
* repositories. A value of 0 indicates no caching.
|
|
249
|
+
* This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated repositories. A value of 0 indicates no caching.
|
|
247
250
|
*/
|
|
248
251
|
retrievalCachePeriodSeconds?: pulumi.Input<number>;
|
|
249
252
|
}
|
|
@@ -34,6 +34,28 @@ const utilities = require("./utilities");
|
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
36
36
|
class VirtualAlpineRepository extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing VirtualAlpineRepository 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 VirtualAlpineRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of VirtualAlpineRepository. 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'] === VirtualAlpineRepository.__pulumiType;
|
|
58
|
+
}
|
|
37
59
|
constructor(name, argsOrState, opts) {
|
|
38
60
|
let resourceInputs = {};
|
|
39
61
|
opts = opts || {};
|
|
@@ -77,28 +99,6 @@ class VirtualAlpineRepository extends pulumi.CustomResource {
|
|
|
77
99
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
78
100
|
super(VirtualAlpineRepository.__pulumiType, name, resourceInputs, opts);
|
|
79
101
|
}
|
|
80
|
-
/**
|
|
81
|
-
* Get an existing VirtualAlpineRepository resource's state with the given name, ID, and optional extra
|
|
82
|
-
* properties used to qualify the lookup.
|
|
83
|
-
*
|
|
84
|
-
* @param name The _unique_ name of the resulting resource.
|
|
85
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
86
|
-
* @param state Any extra arguments used during the lookup.
|
|
87
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
88
|
-
*/
|
|
89
|
-
static get(name, id, state, opts) {
|
|
90
|
-
return new VirtualAlpineRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* Returns true if the given object is an instance of VirtualAlpineRepository. This is designed to work even
|
|
94
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
95
|
-
*/
|
|
96
|
-
static isInstance(obj) {
|
|
97
|
-
if (obj === undefined || obj === null) {
|
|
98
|
-
return false;
|
|
99
|
-
}
|
|
100
|
-
return obj['__pulumiType'] === VirtualAlpineRepository.__pulumiType;
|
|
101
|
-
}
|
|
102
102
|
}
|
|
103
103
|
exports.VirtualAlpineRepository = VirtualAlpineRepository;
|
|
104
104
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtualAlpineRepository.js","sourceRoot":"","sources":["../virtualAlpineRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,uB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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,6BAA6B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC,CAAC,SAAS,CAAC;YACpG,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,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AA9IL,0DA+IC;AAjIG,gBAAgB;AACO,oCAAY,GAAG,mEAAmE,CAAC"}
|
|
@@ -75,8 +75,8 @@ export declare class VirtualBowerRepository extends pulumi.CustomResource {
|
|
|
75
75
|
*/
|
|
76
76
|
readonly externalDependenciesRemoteRepo: pulumi.Output<string | undefined>;
|
|
77
77
|
/**
|
|
78
|
-
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
79
|
-
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
78
|
+
* List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
79
|
+
* used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
80
80
|
*/
|
|
81
81
|
readonly includesPattern: pulumi.Output<string | undefined>;
|
|
82
82
|
/**
|
|
@@ -93,11 +93,13 @@ export declare class VirtualBowerRepository extends pulumi.CustomResource {
|
|
|
93
93
|
*/
|
|
94
94
|
readonly packageType: pulumi.Output<string>;
|
|
95
95
|
/**
|
|
96
|
-
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
96
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
97
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
98
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
97
99
|
*/
|
|
98
100
|
readonly projectEnvironments: pulumi.Output<string[]>;
|
|
99
101
|
/**
|
|
100
|
-
* Project key for assigning this repository to. Must be
|
|
102
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
101
103
|
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
102
104
|
*/
|
|
103
105
|
readonly projectKey: pulumi.Output<string | undefined>;
|
|
@@ -109,11 +111,6 @@ export declare class VirtualBowerRepository extends pulumi.CustomResource {
|
|
|
109
111
|
* The effective list of actual repositories included in this virtual repository.
|
|
110
112
|
*/
|
|
111
113
|
readonly repositories: pulumi.Output<string[] | undefined>;
|
|
112
|
-
/**
|
|
113
|
-
* This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated
|
|
114
|
-
* repositories. A value of 0 indicates no caching.
|
|
115
|
-
*/
|
|
116
|
-
readonly retrievalCachePeriodSeconds: pulumi.Output<number | undefined>;
|
|
117
114
|
/**
|
|
118
115
|
* Create a VirtualBowerRepository resource with the given unique name, arguments, and options.
|
|
119
116
|
*
|
|
@@ -159,8 +156,8 @@ export interface VirtualBowerRepositoryState {
|
|
|
159
156
|
*/
|
|
160
157
|
externalDependenciesRemoteRepo?: 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 VirtualBowerRepositoryState {
|
|
|
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 VirtualBowerRepositoryState {
|
|
|
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 VirtualBowerRepository resource.
|
|
@@ -235,8 +229,8 @@ export interface VirtualBowerRepositoryArgs {
|
|
|
235
229
|
*/
|
|
236
230
|
externalDependenciesRemoteRepo?: pulumi.Input<string>;
|
|
237
231
|
/**
|
|
238
|
-
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
239
|
-
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
232
|
+
* List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When
|
|
233
|
+
* used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
240
234
|
*/
|
|
241
235
|
includesPattern?: pulumi.Input<string>;
|
|
242
236
|
/**
|
|
@@ -249,11 +243,13 @@ export interface VirtualBowerRepositoryArgs {
|
|
|
249
243
|
*/
|
|
250
244
|
notes?: pulumi.Input<string>;
|
|
251
245
|
/**
|
|
252
|
-
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
246
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD". The attribute should only be used
|
|
247
|
+
* if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but
|
|
248
|
+
* will remain in the Terraform state, which will create state drift during the update.
|
|
253
249
|
*/
|
|
254
250
|
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
255
251
|
/**
|
|
256
|
-
* Project key for assigning this repository to. Must be
|
|
252
|
+
* Project key for assigning this repository to. Must be 2 - 10 lowercase alphanumeric and hyphen characters. When
|
|
257
253
|
* assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
258
254
|
*/
|
|
259
255
|
projectKey?: pulumi.Input<string>;
|
|
@@ -265,9 +261,4 @@ export interface VirtualBowerRepositoryArgs {
|
|
|
265
261
|
* The effective list of actual repositories included in this virtual repository.
|
|
266
262
|
*/
|
|
267
263
|
repositories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
268
|
-
/**
|
|
269
|
-
* This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated
|
|
270
|
-
* repositories. A value of 0 indicates no caching.
|
|
271
|
-
*/
|
|
272
|
-
retrievalCachePeriodSeconds?: pulumi.Input<number>;
|
|
273
264
|
}
|
|
@@ -34,6 +34,28 @@ const utilities = require("./utilities");
|
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
36
36
|
class VirtualBowerRepository extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing VirtualBowerRepository 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 VirtualBowerRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of VirtualBowerRepository. 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'] === VirtualBowerRepository.__pulumiType;
|
|
58
|
+
}
|
|
37
59
|
constructor(name, argsOrState, opts) {
|
|
38
60
|
let resourceInputs = {};
|
|
39
61
|
opts = opts || {};
|
|
@@ -54,7 +76,6 @@ class VirtualBowerRepository extends pulumi.CustomResource {
|
|
|
54
76
|
resourceInputs["projectKey"] = state ? state.projectKey : undefined;
|
|
55
77
|
resourceInputs["repoLayoutRef"] = state ? state.repoLayoutRef : undefined;
|
|
56
78
|
resourceInputs["repositories"] = state ? state.repositories : undefined;
|
|
57
|
-
resourceInputs["retrievalCachePeriodSeconds"] = state ? state.retrievalCachePeriodSeconds : undefined;
|
|
58
79
|
}
|
|
59
80
|
else {
|
|
60
81
|
const args = argsOrState;
|
|
@@ -75,34 +96,11 @@ class VirtualBowerRepository extends pulumi.CustomResource {
|
|
|
75
96
|
resourceInputs["projectKey"] = args ? args.projectKey : undefined;
|
|
76
97
|
resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined;
|
|
77
98
|
resourceInputs["repositories"] = args ? args.repositories : undefined;
|
|
78
|
-
resourceInputs["retrievalCachePeriodSeconds"] = args ? args.retrievalCachePeriodSeconds : undefined;
|
|
79
99
|
resourceInputs["packageType"] = undefined /*out*/;
|
|
80
100
|
}
|
|
81
101
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
82
102
|
super(VirtualBowerRepository.__pulumiType, name, resourceInputs, opts);
|
|
83
103
|
}
|
|
84
|
-
/**
|
|
85
|
-
* Get an existing VirtualBowerRepository resource's state with the given name, ID, and optional extra
|
|
86
|
-
* properties used to qualify the lookup.
|
|
87
|
-
*
|
|
88
|
-
* @param name The _unique_ name of the resulting resource.
|
|
89
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
90
|
-
* @param state Any extra arguments used during the lookup.
|
|
91
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
92
|
-
*/
|
|
93
|
-
static get(name, id, state, opts) {
|
|
94
|
-
return new VirtualBowerRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* Returns true if the given object is an instance of VirtualBowerRepository. This is designed to work even
|
|
98
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
99
|
-
*/
|
|
100
|
-
static isInstance(obj) {
|
|
101
|
-
if (obj === undefined || obj === null) {
|
|
102
|
-
return false;
|
|
103
|
-
}
|
|
104
|
-
return obj['__pulumiType'] === VirtualBowerRepository.__pulumiType;
|
|
105
|
-
}
|
|
106
104
|
}
|
|
107
105
|
exports.VirtualBowerRepository = VirtualBowerRepository;
|
|
108
106
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtualBowerRepository.js","sourceRoot":"","sources":["../virtualBowerRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"virtualBowerRepository.js","sourceRoot":"","sources":["../virtualBowerRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,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,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IA+ED,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC,+CAA+C,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,6CAA6C,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1I,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,C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