@pulumi/artifactory 2.0.0 → 2.2.0-alpha.1654079683
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 -2
- package/alpineRepository.d.ts +15 -9
- package/alpineRepository.js +9 -3
- package/alpineRepository.js.map +1 -1
- package/anonymousUser.d.ts +3 -6
- package/anonymousUser.js.map +1 -1
- package/artifactPropertyWebhook.d.ts +27 -69
- package/artifactPropertyWebhook.js +14 -20
- package/artifactPropertyWebhook.js.map +1 -1
- package/artifactWebhook.d.ts +27 -69
- package/artifactWebhook.js +14 -20
- package/artifactWebhook.js.map +1 -1
- package/artifactoryReleaseBundleWebhook.d.ts +30 -71
- package/artifactoryReleaseBundleWebhook.js +20 -25
- package/artifactoryReleaseBundleWebhook.js.map +1 -1
- package/backup.d.ts +5 -6
- package/backup.js +2 -3
- package/backup.js.map +1 -1
- package/buildWebhook.d.ts +27 -69
- package/buildWebhook.js +14 -20
- package/buildWebhook.js.map +1 -1
- package/certificate.d.ts +0 -2
- package/certificate.js +0 -2
- package/certificate.js.map +1 -1
- package/config/vars.d.ts +2 -1
- package/config/vars.js.map +1 -1
- package/debianRepository.d.ts +27 -18
- package/debianRepository.js +9 -3
- package/debianRepository.js.map +1 -1
- package/distributionWebhook.d.ts +24 -66
- package/distributionWebhook.js +14 -20
- package/distributionWebhook.js.map +1 -1
- package/dockerV1Repository.d.ts +13 -7
- package/dockerV1Repository.js +10 -4
- package/dockerV1Repository.js.map +1 -1
- package/dockerV2Repository.d.ts +33 -15
- package/dockerV2Repository.js +9 -3
- package/dockerV2Repository.js.map +1 -1
- package/dockerWebhook.d.ts +27 -69
- package/dockerWebhook.js +14 -20
- package/dockerWebhook.js.map +1 -1
- package/federatedAlpineRepository.d.ts +109 -10
- package/federatedAlpineRepository.js +13 -3
- package/federatedAlpineRepository.js.map +1 -1
- package/federatedBowerRepository.d.ts +91 -10
- package/federatedBowerRepository.js +9 -3
- package/federatedBowerRepository.js.map +1 -1
- package/federatedCargoRepository.d.ts +112 -10
- package/federatedCargoRepository.js +13 -3
- package/federatedCargoRepository.js.map +1 -1
- package/federatedChefRepository.d.ts +91 -10
- package/federatedChefRepository.js +9 -3
- package/federatedChefRepository.js.map +1 -1
- package/federatedCocoapodsRepository.d.ts +91 -10
- package/federatedCocoapodsRepository.js +9 -3
- package/federatedCocoapodsRepository.js.map +1 -1
- package/federatedComposerRepository.d.ts +91 -10
- package/federatedComposerRepository.js +9 -3
- package/federatedComposerRepository.js.map +1 -1
- package/federatedConanRepository.d.ts +93 -10
- package/federatedConanRepository.js +11 -3
- package/federatedConanRepository.js.map +1 -1
- package/federatedCondaRepository.d.ts +91 -10
- package/federatedCondaRepository.js +9 -3
- package/federatedCondaRepository.js.map +1 -1
- package/federatedCranRepository.d.ts +91 -10
- package/federatedCranRepository.js +9 -3
- package/federatedCranRepository.js.map +1 -1
- package/federatedDebianRepository.d.ts +136 -10
- package/federatedDebianRepository.js +17 -3
- package/federatedDebianRepository.js.map +1 -1
- package/federatedDockerRepository.d.ts +144 -10
- package/federatedDockerRepository.js +17 -3
- package/federatedDockerRepository.js.map +1 -1
- package/federatedGemsRepository.d.ts +91 -10
- package/federatedGemsRepository.js +9 -3
- package/federatedGemsRepository.js.map +1 -1
- package/federatedGenericRepository.d.ts +91 -16
- package/federatedGenericRepository.js +9 -3
- package/federatedGenericRepository.js.map +1 -1
- package/federatedGitltfsRepository.d.ts +91 -10
- package/federatedGitltfsRepository.js +9 -3
- package/federatedGitltfsRepository.js.map +1 -1
- package/federatedGoRepository.d.ts +91 -10
- package/federatedGoRepository.js +9 -3
- package/federatedGoRepository.js.map +1 -1
- package/federatedGradleRepository.d.ts +187 -10
- package/federatedGradleRepository.js +21 -3
- package/federatedGradleRepository.js.map +1 -1
- package/federatedHelmRepository.d.ts +91 -10
- package/federatedHelmRepository.js +9 -3
- package/federatedHelmRepository.js.map +1 -1
- package/federatedIvyRepository.d.ts +187 -10
- package/federatedIvyRepository.js +21 -3
- package/federatedIvyRepository.js.map +1 -1
- package/federatedMavenRepository.d.ts +187 -10
- package/federatedMavenRepository.js +21 -3
- package/federatedMavenRepository.js.map +1 -1
- package/federatedNpmRepository.d.ts +91 -10
- package/federatedNpmRepository.js +9 -3
- package/federatedNpmRepository.js.map +1 -1
- package/federatedNugetRepository.d.ts +118 -10
- package/federatedNugetRepository.js +13 -3
- package/federatedNugetRepository.js.map +1 -1
- package/federatedOpkgRepository.d.ts +91 -10
- package/federatedOpkgRepository.js +9 -3
- package/federatedOpkgRepository.js.map +1 -1
- package/federatedPuppetRepository.d.ts +91 -10
- package/federatedPuppetRepository.js +9 -3
- package/federatedPuppetRepository.js.map +1 -1
- package/federatedPypiRepository.d.ts +91 -10
- package/federatedPypiRepository.js +9 -3
- package/federatedPypiRepository.js.map +1 -1
- package/federatedRpmRepository.d.ts +157 -10
- package/federatedRpmRepository.js +21 -3
- package/federatedRpmRepository.js.map +1 -1
- package/federatedSbtRepository.d.ts +187 -10
- package/federatedSbtRepository.js +21 -3
- package/federatedSbtRepository.js.map +1 -1
- package/federatedVagrantRepository.d.ts +91 -10
- package/federatedVagrantRepository.js +9 -3
- package/federatedVagrantRepository.js.map +1 -1
- package/generalSecurity.d.ts +0 -2
- package/generalSecurity.js +0 -2
- package/generalSecurity.js.map +1 -1
- package/goRepository.d.ts +15 -16
- package/goRepository.js +3 -4
- package/goRepository.js.map +1 -1
- package/group.d.ts +12 -0
- package/group.js +2 -0
- package/group.js.map +1 -1
- package/index.d.ts +3 -0
- package/index.js +15 -0
- package/index.js.map +1 -1
- package/keypair.d.ts +8 -10
- package/keypair.js +0 -2
- package/keypair.js.map +1 -1
- package/ldapGroupSetting.d.ts +8 -9
- package/ldapGroupSetting.js +2 -3
- package/ldapGroupSetting.js.map +1 -1
- package/ldapSetting.d.ts +2 -3
- package/ldapSetting.js +2 -3
- package/ldapSetting.js.map +1 -1
- package/localBowerRepository.d.ts +12 -6
- package/localBowerRepository.js +9 -3
- package/localBowerRepository.js.map +1 -1
- package/localCargoRepository.d.ts +21 -9
- package/localCargoRepository.js +9 -3
- package/localCargoRepository.js.map +1 -1
- package/localChefRepository.d.ts +12 -6
- package/localChefRepository.js +9 -3
- package/localChefRepository.js.map +1 -1
- package/localCocoapodsRepository.d.ts +12 -6
- package/localCocoapodsRepository.js +9 -3
- package/localCocoapodsRepository.js.map +1 -1
- package/localComposerRepository.d.ts +12 -6
- package/localComposerRepository.js +9 -3
- package/localComposerRepository.js.map +1 -1
- package/localConanRepository.d.ts +12 -6
- package/localConanRepository.js +9 -3
- package/localConanRepository.js.map +1 -1
- package/localCondaRepository.d.ts +12 -6
- package/localCondaRepository.js +9 -3
- package/localCondaRepository.js.map +1 -1
- package/localCranRepository.d.ts +12 -6
- package/localCranRepository.js +9 -3
- package/localCranRepository.js.map +1 -1
- package/localGemsRepository.d.ts +12 -6
- package/localGemsRepository.js +9 -3
- package/localGemsRepository.js.map +1 -1
- package/localGenericRepository.d.ts +54 -24
- package/localGenericRepository.js +9 -3
- package/localGenericRepository.js.map +1 -1
- package/localGitltfsRepository.d.ts +12 -6
- package/localGitltfsRepository.js +9 -3
- package/localGitltfsRepository.js.map +1 -1
- package/localGoRepository.d.ts +12 -6
- package/localGoRepository.js +9 -3
- package/localGoRepository.js.map +1 -1
- package/localGradleRepository.d.ts +42 -33
- package/localGradleRepository.js +9 -3
- package/localGradleRepository.js.map +1 -1
- package/localHelmRepository.d.ts +12 -6
- package/localHelmRepository.js +9 -3
- package/localHelmRepository.js.map +1 -1
- package/localIvyRepository.d.ts +12 -6
- package/localIvyRepository.js +9 -3
- package/localIvyRepository.js.map +1 -1
- package/localMavenRepository.d.ts +45 -36
- package/localMavenRepository.js +9 -3
- package/localMavenRepository.js.map +1 -1
- package/localNpmRepository.d.ts +12 -6
- package/localNpmRepository.js +9 -3
- package/localNpmRepository.js.map +1 -1
- package/localNugetRepository.d.ts +24 -15
- package/localNugetRepository.js +9 -3
- package/localNugetRepository.js.map +1 -1
- package/localOpkgRepository.d.ts +12 -6
- package/localOpkgRepository.js +9 -3
- package/localOpkgRepository.js.map +1 -1
- package/localPubRepository.d.ts +231 -0
- package/localPubRepository.js +102 -0
- package/localPubRepository.js.map +1 -0
- package/localPuppetRepository.d.ts +12 -6
- package/localPuppetRepository.js +9 -3
- package/localPuppetRepository.js.map +1 -1
- package/localPypiRepository.d.ts +12 -6
- package/localPypiRepository.js +9 -3
- package/localPypiRepository.js.map +1 -1
- package/localRpmRepository.d.ts +60 -18
- package/localRpmRepository.js +9 -3
- package/localRpmRepository.js.map +1 -1
- package/localSbtRepository.d.ts +12 -6
- package/localSbtRepository.js +9 -3
- package/localSbtRepository.js.map +1 -1
- package/localVagrantRepository.d.ts +12 -6
- package/localVagrantRepository.js +9 -3
- package/localVagrantRepository.js.map +1 -1
- package/managedUser.d.ts +0 -2
- package/managedUser.js +0 -2
- package/managedUser.js.map +1 -1
- package/mavenRepository.d.ts +16 -20
- package/mavenRepository.js +4 -5
- package/mavenRepository.js.map +1 -1
- package/oauthSettings.d.ts +0 -2
- package/oauthSettings.js +0 -2
- package/oauthSettings.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/permissionTarget.d.ts +25 -10
- package/permissionTarget.js +10 -4
- package/permissionTarget.js.map +1 -1
- package/permissionTargets.d.ts +25 -10
- package/permissionTargets.js +10 -4
- package/permissionTargets.js.map +1 -1
- package/provider.d.ts +4 -2
- package/provider.js.map +1 -1
- package/pullReplication.d.ts +78 -3
- package/pullReplication.js +5 -3
- package/pullReplication.js.map +1 -1
- package/pushReplication.d.ts +12 -2
- package/pushReplication.js +3 -2
- package/pushReplication.js.map +1 -1
- package/releaseBundleWebhook.d.ts +27 -69
- package/releaseBundleWebhook.js +14 -20
- package/releaseBundleWebhook.js.map +1 -1
- package/remoteAlpineRepository.d.ts +33 -26
- package/remoteAlpineRepository.js +9 -5
- package/remoteAlpineRepository.js.map +1 -1
- package/remoteBowerRepository.d.ts +39 -29
- package/remoteBowerRepository.js +9 -5
- package/remoteBowerRepository.js.map +1 -1
- package/remoteCargoRepository.d.ts +143 -90
- package/remoteCargoRepository.js +11 -8
- package/remoteCargoRepository.js.map +1 -1
- package/remoteChefRepository.d.ts +33 -26
- package/remoteChefRepository.js +9 -5
- package/remoteChefRepository.js.map +1 -1
- package/remoteCocoapodsRepository.d.ts +40 -29
- package/remoteCocoapodsRepository.js +10 -5
- package/remoteCocoapodsRepository.js.map +1 -1
- package/remoteComposerRepository.d.ts +39 -29
- package/remoteComposerRepository.js +9 -5
- package/remoteComposerRepository.js.map +1 -1
- package/remoteConanRepository.d.ts +34 -27
- package/remoteConanRepository.js +10 -6
- package/remoteConanRepository.js.map +1 -1
- package/remoteCondaRepository.d.ts +33 -26
- package/remoteCondaRepository.js +9 -5
- package/remoteCondaRepository.js.map +1 -1
- package/remoteCranRepository.d.ts +33 -26
- package/remoteCranRepository.js +9 -5
- package/remoteCranRepository.js.map +1 -1
- package/remoteDebianRepository.d.ts +33 -26
- package/remoteDebianRepository.js +9 -5
- package/remoteDebianRepository.js.map +1 -1
- package/remoteDockerRepository.d.ts +143 -92
- package/remoteDockerRepository.js +11 -10
- package/remoteDockerRepository.js.map +1 -1
- package/remoteGemsRepository.d.ts +33 -26
- package/remoteGemsRepository.js +9 -5
- package/remoteGemsRepository.js.map +1 -1
- package/remoteGenericRepository.d.ts +137 -80
- package/remoteGenericRepository.js +8 -4
- package/remoteGenericRepository.js.map +1 -1
- package/remoteGitlfsRepository.d.ts +33 -26
- package/remoteGitlfsRepository.js +9 -5
- package/remoteGitlfsRepository.js.map +1 -1
- package/remoteGoRepository.d.ts +33 -26
- package/remoteGoRepository.js +9 -5
- package/remoteGoRepository.js.map +1 -1
- package/remoteGradleRepository.d.ts +154 -99
- package/remoteGradleRepository.js +10 -5
- package/remoteGradleRepository.js.map +1 -1
- package/remoteHelmRepository.d.ts +139 -85
- package/remoteHelmRepository.js +10 -6
- package/remoteHelmRepository.js.map +1 -1
- package/remoteIvyRepository.d.ts +154 -99
- package/remoteIvyRepository.js +10 -5
- package/remoteIvyRepository.js.map +1 -1
- package/remoteMavenRepository.d.ts +157 -102
- package/remoteMavenRepository.js +10 -5
- package/remoteMavenRepository.js.map +1 -1
- package/remoteNpmRepository.d.ts +142 -86
- package/remoteNpmRepository.js +13 -10
- package/remoteNpmRepository.js.map +1 -1
- package/remoteNugetRepository.d.ts +42 -29
- package/remoteNugetRepository.js +9 -5
- package/remoteNugetRepository.js.map +1 -1
- package/remoteOpkgRepository.d.ts +33 -26
- package/remoteOpkgRepository.js +9 -5
- package/remoteOpkgRepository.js.map +1 -1
- package/remoteP2Repository.d.ts +33 -26
- package/remoteP2Repository.js +9 -5
- package/remoteP2Repository.js.map +1 -1
- package/remotePubRepository.d.ts +521 -0
- package/remotePubRepository.js +157 -0
- package/remotePubRepository.js.map +1 -0
- package/remotePuppetRepository.d.ts +33 -26
- package/remotePuppetRepository.js +9 -5
- package/remotePuppetRepository.js.map +1 -1
- package/remotePypiRepository.d.ts +136 -82
- package/remotePypiRepository.js +10 -6
- package/remotePypiRepository.js.map +1 -1
- package/remoteRpmRepository.d.ts +33 -26
- package/remoteRpmRepository.js +9 -5
- package/remoteRpmRepository.js.map +1 -1
- package/remoteSbtRepository.d.ts +155 -104
- package/remoteSbtRepository.js +11 -1
- package/remoteSbtRepository.js.map +1 -1
- package/remoteVcsRepository.d.ts +36 -29
- package/remoteVcsRepository.js +9 -5
- package/remoteVcsRepository.js.map +1 -1
- package/replicationConfig.d.ts +4 -0
- package/replicationConfig.js +4 -0
- package/replicationConfig.js.map +1 -1
- package/samlSettings.d.ts +0 -2
- package/samlSettings.js +0 -2
- package/samlSettings.js.map +1 -1
- package/singleReplicationConfig.d.ts +13 -5
- package/singleReplicationConfig.js +8 -0
- package/singleReplicationConfig.js.map +1 -1
- package/types/input.d.ts +321 -235
- package/types/output.d.ts +321 -235
- package/unmanagedUser.d.ts +0 -2
- package/unmanagedUser.js +0 -2
- package/unmanagedUser.js.map +1 -1
- package/user.d.ts +0 -2
- package/user.js +0 -2
- package/user.js.map +1 -1
- package/virtualAlpineRepository.d.ts +15 -16
- package/virtualAlpineRepository.js +3 -4
- package/virtualAlpineRepository.js.map +1 -1
- package/virtualBowerRepository.d.ts +9 -14
- package/virtualBowerRepository.js +3 -5
- package/virtualBowerRepository.js.map +1 -1
- package/virtualChefRepository.d.ts +15 -16
- package/virtualChefRepository.js +3 -4
- package/virtualChefRepository.js.map +1 -1
- package/virtualComposerRepository.d.ts +9 -13
- package/virtualComposerRepository.js +3 -4
- package/virtualComposerRepository.js.map +1 -1
- package/virtualConanRepository.d.ts +15 -16
- package/virtualConanRepository.js +3 -4
- package/virtualConanRepository.js.map +1 -1
- package/virtualCondaRepository.d.ts +15 -16
- package/virtualCondaRepository.js +3 -4
- package/virtualCondaRepository.js.map +1 -1
- package/virtualCranRepository.d.ts +15 -16
- package/virtualCranRepository.js +3 -4
- package/virtualCranRepository.js.map +1 -1
- package/virtualDebianRepository.d.ts +9 -13
- package/virtualDebianRepository.js +3 -4
- package/virtualDebianRepository.js.map +1 -1
- package/virtualDockerRepository.d.ts +9 -13
- package/virtualDockerRepository.js +3 -4
- package/virtualDockerRepository.js.map +1 -1
- package/virtualGemsRepository.d.ts +9 -13
- package/virtualGemsRepository.js +3 -4
- package/virtualGemsRepository.js.map +1 -1
- package/virtualGenericRepository.d.ts +42 -31
- package/virtualGenericRepository.js +3 -4
- package/virtualGenericRepository.js.map +1 -1
- package/virtualGitlfsRepository.d.ts +9 -13
- package/virtualGitlfsRepository.js +3 -4
- package/virtualGitlfsRepository.js.map +1 -1
- package/virtualGradleRepository.d.ts +9 -13
- package/virtualGradleRepository.js +3 -4
- package/virtualGradleRepository.js.map +1 -1
- package/virtualHelmRepository.d.ts +12 -16
- package/virtualHelmRepository.js +3 -4
- package/virtualHelmRepository.js.map +1 -1
- package/virtualIvyRepository.d.ts +9 -13
- package/virtualIvyRepository.js +3 -4
- package/virtualIvyRepository.js.map +1 -1
- package/virtualNpmRepository.d.ts +15 -16
- package/virtualNpmRepository.js +3 -4
- package/virtualNpmRepository.js.map +1 -1
- package/virtualNugetRepository.d.ts +12 -16
- package/virtualNugetRepository.js +3 -4
- package/virtualNugetRepository.js.map +1 -1
- package/virtualP2Repository.d.ts +9 -13
- package/virtualP2Repository.js +3 -4
- package/virtualP2Repository.js.map +1 -1
- package/virtualPubRepository.d.ts +237 -0
- package/virtualPubRepository.js +104 -0
- package/virtualPubRepository.js.map +1 -0
- package/virtualPuppetRepository.d.ts +9 -13
- package/virtualPuppetRepository.js +3 -4
- package/virtualPuppetRepository.js.map +1 -1
- package/virtualPypiRepository.d.ts +9 -13
- package/virtualPypiRepository.js +3 -4
- package/virtualPypiRepository.js.map +1 -1
- package/virtualRpmRepository.d.ts +15 -19
- package/virtualRpmRepository.js +3 -4
- package/virtualRpmRepository.js.map +1 -1
- package/virtualSbtRepository.d.ts +9 -13
- package/virtualSbtRepository.js +3 -4
- package/virtualSbtRepository.js.map +1 -1
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* Provides an Artifactory remote `cargo` repository resource. This provides cargo specific fields and is the only way to get them
|
|
7
|
-
* Official documentation can be found [here](https://www.jfrog.com/confluence/display/JFROG/Cargo+Registry)
|
|
4
|
+
* Creates a remote Cargo repository.
|
|
5
|
+
* Official documentation can be found [here](https://www.jfrog.com/confluence/display/JFROG/Cargo+Registry).
|
|
8
6
|
*
|
|
9
7
|
* ## Example Usage
|
|
10
8
|
*
|
|
11
|
-
* Create a new Artifactory remote cargo repository called my-remote-cargo
|
|
12
|
-
* for brevity sake, only cargo specific fields are included; for other fields see documentation for
|
|
13
|
-
* generic repo.
|
|
14
9
|
* ```typescript
|
|
15
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
11
|
* import * as artifactory from "@pulumi/artifactory";
|
|
@@ -19,13 +14,21 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
19
14
|
* anonymousAccess: true,
|
|
20
15
|
* gitRegistryUrl: "https://github.com/rust-lang/foo.index",
|
|
21
16
|
* key: "my-remote-cargo",
|
|
22
|
-
* url: "https://github.com/",
|
|
17
|
+
* url: "https://github.com/rust-lang/crates.io-index",
|
|
23
18
|
* });
|
|
24
19
|
* ```
|
|
25
20
|
* ## Note
|
|
26
21
|
*
|
|
27
22
|
* If you get a 400 error: `"Custom Base URL should be defined prior to creating a Cargo repository"`,
|
|
28
23
|
* you must set the base url at: `http://${host}/ui/admin/configuration/general`
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* Remote repositories can be imported using their name, e.g.
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import artifactory:index/remoteCargoRepository:RemoteCargoRepository my-remote-cargo my-remote-cargo
|
|
31
|
+
* ```
|
|
29
32
|
*/
|
|
30
33
|
export declare class RemoteCargoRepository extends pulumi.CustomResource {
|
|
31
34
|
/**
|
|
@@ -44,33 +47,38 @@ export declare class RemoteCargoRepository extends pulumi.CustomResource {
|
|
|
44
47
|
*/
|
|
45
48
|
static isInstance(obj: any): obj is RemoteCargoRepository;
|
|
46
49
|
/**
|
|
47
|
-
* Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to
|
|
50
|
+
* Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to
|
|
51
|
+
* any other host.
|
|
48
52
|
*/
|
|
49
53
|
readonly allowAnyHostAuth: pulumi.Output<boolean>;
|
|
50
54
|
/**
|
|
51
|
-
*
|
|
55
|
+
* Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option.
|
|
52
56
|
*/
|
|
53
57
|
readonly anonymousAccess: pulumi.Output<boolean | undefined>;
|
|
54
58
|
/**
|
|
55
|
-
* The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time,
|
|
59
|
+
* The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time,
|
|
60
|
+
* an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed
|
|
61
|
+
* offline. Default to 300.
|
|
56
62
|
*/
|
|
57
63
|
readonly assumedOfflinePeriodSecs: pulumi.Output<number | undefined>;
|
|
58
64
|
/**
|
|
59
|
-
* (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact
|
|
65
|
+
* (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact
|
|
66
|
+
* resolution.
|
|
60
67
|
*/
|
|
61
68
|
readonly blackedOut: pulumi.Output<boolean>;
|
|
62
69
|
/**
|
|
63
|
-
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
|
|
70
|
+
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
|
|
71
|
+
* HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked,
|
|
72
|
+
* Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
|
|
64
73
|
*/
|
|
65
74
|
readonly blockMismatchingMimeTypes: pulumi.Output<boolean>;
|
|
66
75
|
/**
|
|
67
|
-
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
|
|
76
|
+
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
|
|
77
|
+
* HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked,
|
|
78
|
+
* Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
|
|
68
79
|
*/
|
|
69
80
|
readonly bypassHeadRequests: pulumi.Output<boolean>;
|
|
70
81
|
readonly clientTlsCertificate: pulumi.Output<string>;
|
|
71
|
-
/**
|
|
72
|
-
* Reference [JFROG Smart Remote Repositories](https://www.jfrog.com/confluence/display/JFROG/Smart+Remote+Repositories)
|
|
73
|
-
*/
|
|
74
82
|
readonly contentSynchronisation: pulumi.Output<outputs.RemoteCargoRepositoryContentSynchronisation>;
|
|
75
83
|
readonly description: pulumi.Output<string>;
|
|
76
84
|
/**
|
|
@@ -78,41 +86,45 @@ export declare class RemoteCargoRepository extends pulumi.CustomResource {
|
|
|
78
86
|
*/
|
|
79
87
|
readonly enableCookieManagement: pulumi.Output<boolean>;
|
|
80
88
|
/**
|
|
81
|
-
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no
|
|
89
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no
|
|
90
|
+
* artifacts are excluded.
|
|
82
91
|
*/
|
|
83
92
|
readonly excludesPattern: pulumi.Output<string>;
|
|
84
93
|
/**
|
|
85
|
-
* This field is not returned in a get payload but is offered on the UI. It's inserted here for inclusive and informational reasons. It does not function
|
|
86
|
-
*
|
|
87
94
|
* @deprecated This field is not returned in a get payload but is offered on the UI. It's inserted here for inclusive and informational reasons. It does not function
|
|
88
95
|
*/
|
|
89
96
|
readonly failedRetrievalCachePeriodSecs: pulumi.Output<number>;
|
|
90
97
|
/**
|
|
91
|
-
*
|
|
98
|
+
* This is the index url, expected to be a git repository. Default value is "https://github.com/rust-lang/crates.io-index".
|
|
92
99
|
*/
|
|
93
100
|
readonly gitRegistryUrl: pulumi.Output<string>;
|
|
94
101
|
/**
|
|
95
|
-
* When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to
|
|
102
|
+
* When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to
|
|
103
|
+
* communicate with this repository.
|
|
96
104
|
*/
|
|
97
105
|
readonly hardFail: pulumi.Output<boolean>;
|
|
98
106
|
/**
|
|
99
|
-
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
107
|
+
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
108
|
+
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
100
109
|
*/
|
|
101
110
|
readonly includesPattern: pulumi.Output<string>;
|
|
102
111
|
/**
|
|
103
|
-
*
|
|
112
|
+
* A mandatory identifier for the repository that must be unique. It cannot begin with a number or
|
|
113
|
+
* contain spaces or special characters.
|
|
104
114
|
*/
|
|
105
115
|
readonly key: pulumi.Output<string>;
|
|
106
116
|
/**
|
|
107
|
-
*
|
|
117
|
+
* Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of
|
|
118
|
+
* the 'Retrieval Cache Period'. Default value is 'false'.
|
|
108
119
|
*/
|
|
109
120
|
readonly listRemoteFolderItems: pulumi.Output<boolean | undefined>;
|
|
110
121
|
/**
|
|
111
|
-
* The local address to be used when creating connections. Useful for specifying the interface to use on systems with
|
|
122
|
+
* The local address to be used when creating connections. Useful for specifying the interface to use on systems with
|
|
123
|
+
* multiple network interfaces.
|
|
112
124
|
*/
|
|
113
125
|
readonly localAddress: pulumi.Output<string | undefined>;
|
|
114
126
|
/**
|
|
115
|
-
*
|
|
127
|
+
* The set of mime types that should override the block_mismatching_mime_types setting. Eg:
|
|
116
128
|
* "application/json,application/xml". Default value is empty.
|
|
117
129
|
*/
|
|
118
130
|
readonly mismatchingMimeTypesOverrideList: pulumi.Output<string | undefined>;
|
|
@@ -136,7 +148,8 @@ export declare class RemoteCargoRepository extends pulumi.CustomResource {
|
|
|
136
148
|
*/
|
|
137
149
|
readonly projectEnvironments: pulumi.Output<string[] | undefined>;
|
|
138
150
|
/**
|
|
139
|
-
* Project key for assigning this repository to.
|
|
151
|
+
* Project key for assigning this repository to. Must be 3 - 10 lowercase alphanumeric characters. When assigning
|
|
152
|
+
* repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
140
153
|
*/
|
|
141
154
|
readonly projectKey: pulumi.Output<string | undefined>;
|
|
142
155
|
/**
|
|
@@ -144,11 +157,11 @@ export declare class RemoteCargoRepository extends pulumi.CustomResource {
|
|
|
144
157
|
*/
|
|
145
158
|
readonly propagateQueryParams: pulumi.Output<boolean | undefined>;
|
|
146
159
|
/**
|
|
147
|
-
* List of property set
|
|
160
|
+
* List of property set names
|
|
148
161
|
*/
|
|
149
162
|
readonly propertySets: pulumi.Output<string[] | undefined>;
|
|
150
163
|
/**
|
|
151
|
-
* Proxy key from Artifactory Proxies
|
|
164
|
+
* Proxy key from Artifactory Proxies settings
|
|
152
165
|
*/
|
|
153
166
|
readonly proxy: pulumi.Output<string | undefined>;
|
|
154
167
|
/**
|
|
@@ -156,7 +169,7 @@ export declare class RemoteCargoRepository extends pulumi.CustomResource {
|
|
|
156
169
|
*/
|
|
157
170
|
readonly remoteRepoLayoutRef: pulumi.Output<string>;
|
|
158
171
|
/**
|
|
159
|
-
* Repository layout key for the
|
|
172
|
+
* Repository layout key for the local repository
|
|
160
173
|
*/
|
|
161
174
|
readonly repoLayoutRef: pulumi.Output<string | undefined>;
|
|
162
175
|
/**
|
|
@@ -165,11 +178,15 @@ export declare class RemoteCargoRepository extends pulumi.CustomResource {
|
|
|
165
178
|
readonly retrievalCachePeriodSeconds: pulumi.Output<number>;
|
|
166
179
|
readonly shareConfiguration: pulumi.Output<boolean>;
|
|
167
180
|
/**
|
|
168
|
-
* Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network
|
|
181
|
+
* Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network
|
|
182
|
+
* operation is considered a retrieval failure.
|
|
169
183
|
*/
|
|
170
184
|
readonly socketTimeoutMillis: pulumi.Output<number>;
|
|
171
185
|
/**
|
|
172
|
-
* When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and
|
|
186
|
+
* When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and
|
|
187
|
+
* direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with
|
|
188
|
+
* one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory
|
|
189
|
+
* servers.
|
|
173
190
|
*/
|
|
174
191
|
readonly storeArtifactsLocally: pulumi.Output<boolean>;
|
|
175
192
|
/**
|
|
@@ -178,16 +195,18 @@ export declare class RemoteCargoRepository extends pulumi.CustomResource {
|
|
|
178
195
|
readonly synchronizeProperties: pulumi.Output<boolean>;
|
|
179
196
|
readonly unusedArtifactsCleanupPeriodEnabled: pulumi.Output<boolean>;
|
|
180
197
|
/**
|
|
181
|
-
* The number of hours to wait before an artifact is deemed "unused" and eligible for cleanup from the repository. A value
|
|
198
|
+
* The number of hours to wait before an artifact is deemed "unused" and eligible for cleanup from the repository. A value
|
|
199
|
+
* of 0 means automatic cleanup of cached artifacts is disabled.
|
|
182
200
|
*/
|
|
183
201
|
readonly unusedArtifactsCleanupPeriodHours: pulumi.Output<number>;
|
|
184
202
|
/**
|
|
185
|
-
*
|
|
203
|
+
* The remote repo URL.
|
|
186
204
|
*/
|
|
187
205
|
readonly url: pulumi.Output<string>;
|
|
188
206
|
readonly username: pulumi.Output<string | undefined>;
|
|
189
207
|
/**
|
|
190
|
-
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
|
|
208
|
+
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
|
|
209
|
+
* Xray settings.
|
|
191
210
|
*/
|
|
192
211
|
readonly xrayIndex: pulumi.Output<boolean | undefined>;
|
|
193
212
|
/**
|
|
@@ -204,33 +223,38 @@ export declare class RemoteCargoRepository extends pulumi.CustomResource {
|
|
|
204
223
|
*/
|
|
205
224
|
export interface RemoteCargoRepositoryState {
|
|
206
225
|
/**
|
|
207
|
-
* Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to
|
|
226
|
+
* Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to
|
|
227
|
+
* any other host.
|
|
208
228
|
*/
|
|
209
229
|
allowAnyHostAuth?: pulumi.Input<boolean>;
|
|
210
230
|
/**
|
|
211
|
-
*
|
|
231
|
+
* Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option.
|
|
212
232
|
*/
|
|
213
233
|
anonymousAccess?: pulumi.Input<boolean>;
|
|
214
234
|
/**
|
|
215
|
-
* The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time,
|
|
235
|
+
* The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time,
|
|
236
|
+
* an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed
|
|
237
|
+
* offline. Default to 300.
|
|
216
238
|
*/
|
|
217
239
|
assumedOfflinePeriodSecs?: pulumi.Input<number>;
|
|
218
240
|
/**
|
|
219
|
-
* (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact
|
|
241
|
+
* (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact
|
|
242
|
+
* resolution.
|
|
220
243
|
*/
|
|
221
244
|
blackedOut?: pulumi.Input<boolean>;
|
|
222
245
|
/**
|
|
223
|
-
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
|
|
246
|
+
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
|
|
247
|
+
* HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked,
|
|
248
|
+
* Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
|
|
224
249
|
*/
|
|
225
250
|
blockMismatchingMimeTypes?: pulumi.Input<boolean>;
|
|
226
251
|
/**
|
|
227
|
-
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
|
|
252
|
+
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
|
|
253
|
+
* HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked,
|
|
254
|
+
* Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
|
|
228
255
|
*/
|
|
229
256
|
bypassHeadRequests?: pulumi.Input<boolean>;
|
|
230
257
|
clientTlsCertificate?: pulumi.Input<string>;
|
|
231
|
-
/**
|
|
232
|
-
* Reference [JFROG Smart Remote Repositories](https://www.jfrog.com/confluence/display/JFROG/Smart+Remote+Repositories)
|
|
233
|
-
*/
|
|
234
258
|
contentSynchronisation?: pulumi.Input<inputs.RemoteCargoRepositoryContentSynchronisation>;
|
|
235
259
|
description?: pulumi.Input<string>;
|
|
236
260
|
/**
|
|
@@ -238,41 +262,45 @@ export interface RemoteCargoRepositoryState {
|
|
|
238
262
|
*/
|
|
239
263
|
enableCookieManagement?: pulumi.Input<boolean>;
|
|
240
264
|
/**
|
|
241
|
-
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no
|
|
265
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no
|
|
266
|
+
* artifacts are excluded.
|
|
242
267
|
*/
|
|
243
268
|
excludesPattern?: pulumi.Input<string>;
|
|
244
269
|
/**
|
|
245
|
-
* This field is not returned in a get payload but is offered on the UI. It's inserted here for inclusive and informational reasons. It does not function
|
|
246
|
-
*
|
|
247
270
|
* @deprecated This field is not returned in a get payload but is offered on the UI. It's inserted here for inclusive and informational reasons. It does not function
|
|
248
271
|
*/
|
|
249
272
|
failedRetrievalCachePeriodSecs?: pulumi.Input<number>;
|
|
250
273
|
/**
|
|
251
|
-
*
|
|
274
|
+
* This is the index url, expected to be a git repository. Default value is "https://github.com/rust-lang/crates.io-index".
|
|
252
275
|
*/
|
|
253
276
|
gitRegistryUrl?: pulumi.Input<string>;
|
|
254
277
|
/**
|
|
255
|
-
* When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to
|
|
278
|
+
* When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to
|
|
279
|
+
* communicate with this repository.
|
|
256
280
|
*/
|
|
257
281
|
hardFail?: pulumi.Input<boolean>;
|
|
258
282
|
/**
|
|
259
|
-
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
283
|
+
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
284
|
+
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
260
285
|
*/
|
|
261
286
|
includesPattern?: pulumi.Input<string>;
|
|
262
287
|
/**
|
|
263
|
-
*
|
|
288
|
+
* A mandatory identifier for the repository that must be unique. It cannot begin with a number or
|
|
289
|
+
* contain spaces or special characters.
|
|
264
290
|
*/
|
|
265
291
|
key?: pulumi.Input<string>;
|
|
266
292
|
/**
|
|
267
|
-
*
|
|
293
|
+
* Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of
|
|
294
|
+
* the 'Retrieval Cache Period'. Default value is 'false'.
|
|
268
295
|
*/
|
|
269
296
|
listRemoteFolderItems?: pulumi.Input<boolean>;
|
|
270
297
|
/**
|
|
271
|
-
* The local address to be used when creating connections. Useful for specifying the interface to use on systems with
|
|
298
|
+
* The local address to be used when creating connections. Useful for specifying the interface to use on systems with
|
|
299
|
+
* multiple network interfaces.
|
|
272
300
|
*/
|
|
273
301
|
localAddress?: pulumi.Input<string>;
|
|
274
302
|
/**
|
|
275
|
-
*
|
|
303
|
+
* The set of mime types that should override the block_mismatching_mime_types setting. Eg:
|
|
276
304
|
* "application/json,application/xml". Default value is empty.
|
|
277
305
|
*/
|
|
278
306
|
mismatchingMimeTypesOverrideList?: pulumi.Input<string>;
|
|
@@ -296,7 +324,8 @@ export interface RemoteCargoRepositoryState {
|
|
|
296
324
|
*/
|
|
297
325
|
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
298
326
|
/**
|
|
299
|
-
* Project key for assigning this repository to.
|
|
327
|
+
* Project key for assigning this repository to. Must be 3 - 10 lowercase alphanumeric characters. When assigning
|
|
328
|
+
* repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
300
329
|
*/
|
|
301
330
|
projectKey?: pulumi.Input<string>;
|
|
302
331
|
/**
|
|
@@ -304,11 +333,11 @@ export interface RemoteCargoRepositoryState {
|
|
|
304
333
|
*/
|
|
305
334
|
propagateQueryParams?: pulumi.Input<boolean>;
|
|
306
335
|
/**
|
|
307
|
-
* List of property set
|
|
336
|
+
* List of property set names
|
|
308
337
|
*/
|
|
309
338
|
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
310
339
|
/**
|
|
311
|
-
* Proxy key from Artifactory Proxies
|
|
340
|
+
* Proxy key from Artifactory Proxies settings
|
|
312
341
|
*/
|
|
313
342
|
proxy?: pulumi.Input<string>;
|
|
314
343
|
/**
|
|
@@ -316,7 +345,7 @@ export interface RemoteCargoRepositoryState {
|
|
|
316
345
|
*/
|
|
317
346
|
remoteRepoLayoutRef?: pulumi.Input<string>;
|
|
318
347
|
/**
|
|
319
|
-
* Repository layout key for the
|
|
348
|
+
* Repository layout key for the local repository
|
|
320
349
|
*/
|
|
321
350
|
repoLayoutRef?: pulumi.Input<string>;
|
|
322
351
|
/**
|
|
@@ -325,11 +354,15 @@ export interface RemoteCargoRepositoryState {
|
|
|
325
354
|
retrievalCachePeriodSeconds?: pulumi.Input<number>;
|
|
326
355
|
shareConfiguration?: pulumi.Input<boolean>;
|
|
327
356
|
/**
|
|
328
|
-
* Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network
|
|
357
|
+
* Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network
|
|
358
|
+
* operation is considered a retrieval failure.
|
|
329
359
|
*/
|
|
330
360
|
socketTimeoutMillis?: pulumi.Input<number>;
|
|
331
361
|
/**
|
|
332
|
-
* When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and
|
|
362
|
+
* When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and
|
|
363
|
+
* direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with
|
|
364
|
+
* one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory
|
|
365
|
+
* servers.
|
|
333
366
|
*/
|
|
334
367
|
storeArtifactsLocally?: pulumi.Input<boolean>;
|
|
335
368
|
/**
|
|
@@ -338,16 +371,18 @@ export interface RemoteCargoRepositoryState {
|
|
|
338
371
|
synchronizeProperties?: pulumi.Input<boolean>;
|
|
339
372
|
unusedArtifactsCleanupPeriodEnabled?: pulumi.Input<boolean>;
|
|
340
373
|
/**
|
|
341
|
-
* The number of hours to wait before an artifact is deemed "unused" and eligible for cleanup from the repository. A value
|
|
374
|
+
* The number of hours to wait before an artifact is deemed "unused" and eligible for cleanup from the repository. A value
|
|
375
|
+
* of 0 means automatic cleanup of cached artifacts is disabled.
|
|
342
376
|
*/
|
|
343
377
|
unusedArtifactsCleanupPeriodHours?: pulumi.Input<number>;
|
|
344
378
|
/**
|
|
345
|
-
*
|
|
379
|
+
* The remote repo URL.
|
|
346
380
|
*/
|
|
347
381
|
url?: pulumi.Input<string>;
|
|
348
382
|
username?: pulumi.Input<string>;
|
|
349
383
|
/**
|
|
350
|
-
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
|
|
384
|
+
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
|
|
385
|
+
* Xray settings.
|
|
351
386
|
*/
|
|
352
387
|
xrayIndex?: pulumi.Input<boolean>;
|
|
353
388
|
}
|
|
@@ -356,33 +391,38 @@ export interface RemoteCargoRepositoryState {
|
|
|
356
391
|
*/
|
|
357
392
|
export interface RemoteCargoRepositoryArgs {
|
|
358
393
|
/**
|
|
359
|
-
* Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to
|
|
394
|
+
* Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to
|
|
395
|
+
* any other host.
|
|
360
396
|
*/
|
|
361
397
|
allowAnyHostAuth?: pulumi.Input<boolean>;
|
|
362
398
|
/**
|
|
363
|
-
*
|
|
399
|
+
* Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option.
|
|
364
400
|
*/
|
|
365
401
|
anonymousAccess?: pulumi.Input<boolean>;
|
|
366
402
|
/**
|
|
367
|
-
* The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time,
|
|
403
|
+
* The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time,
|
|
404
|
+
* an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed
|
|
405
|
+
* offline. Default to 300.
|
|
368
406
|
*/
|
|
369
407
|
assumedOfflinePeriodSecs?: pulumi.Input<number>;
|
|
370
408
|
/**
|
|
371
|
-
* (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact
|
|
409
|
+
* (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact
|
|
410
|
+
* resolution.
|
|
372
411
|
*/
|
|
373
412
|
blackedOut?: pulumi.Input<boolean>;
|
|
374
413
|
/**
|
|
375
|
-
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
|
|
414
|
+
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
|
|
415
|
+
* HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked,
|
|
416
|
+
* Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
|
|
376
417
|
*/
|
|
377
418
|
blockMismatchingMimeTypes?: pulumi.Input<boolean>;
|
|
378
419
|
/**
|
|
379
|
-
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
|
|
420
|
+
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
|
|
421
|
+
* HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked,
|
|
422
|
+
* Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
|
|
380
423
|
*/
|
|
381
424
|
bypassHeadRequests?: pulumi.Input<boolean>;
|
|
382
425
|
clientTlsCertificate?: pulumi.Input<string>;
|
|
383
|
-
/**
|
|
384
|
-
* Reference [JFROG Smart Remote Repositories](https://www.jfrog.com/confluence/display/JFROG/Smart+Remote+Repositories)
|
|
385
|
-
*/
|
|
386
426
|
contentSynchronisation?: pulumi.Input<inputs.RemoteCargoRepositoryContentSynchronisation>;
|
|
387
427
|
description?: pulumi.Input<string>;
|
|
388
428
|
/**
|
|
@@ -390,35 +430,41 @@ export interface RemoteCargoRepositoryArgs {
|
|
|
390
430
|
*/
|
|
391
431
|
enableCookieManagement?: pulumi.Input<boolean>;
|
|
392
432
|
/**
|
|
393
|
-
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no
|
|
433
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no
|
|
434
|
+
* artifacts are excluded.
|
|
394
435
|
*/
|
|
395
436
|
excludesPattern?: pulumi.Input<string>;
|
|
396
437
|
/**
|
|
397
|
-
*
|
|
438
|
+
* This is the index url, expected to be a git repository. Default value is "https://github.com/rust-lang/crates.io-index".
|
|
398
439
|
*/
|
|
399
440
|
gitRegistryUrl: pulumi.Input<string>;
|
|
400
441
|
/**
|
|
401
|
-
* When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to
|
|
442
|
+
* When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to
|
|
443
|
+
* communicate with this repository.
|
|
402
444
|
*/
|
|
403
445
|
hardFail?: pulumi.Input<boolean>;
|
|
404
446
|
/**
|
|
405
|
-
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
447
|
+
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
448
|
+
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
406
449
|
*/
|
|
407
450
|
includesPattern?: pulumi.Input<string>;
|
|
408
451
|
/**
|
|
409
|
-
*
|
|
452
|
+
* A mandatory identifier for the repository that must be unique. It cannot begin with a number or
|
|
453
|
+
* contain spaces or special characters.
|
|
410
454
|
*/
|
|
411
455
|
key: pulumi.Input<string>;
|
|
412
456
|
/**
|
|
413
|
-
*
|
|
457
|
+
* Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of
|
|
458
|
+
* the 'Retrieval Cache Period'. Default value is 'false'.
|
|
414
459
|
*/
|
|
415
460
|
listRemoteFolderItems?: pulumi.Input<boolean>;
|
|
416
461
|
/**
|
|
417
|
-
* The local address to be used when creating connections. Useful for specifying the interface to use on systems with
|
|
462
|
+
* The local address to be used when creating connections. Useful for specifying the interface to use on systems with
|
|
463
|
+
* multiple network interfaces.
|
|
418
464
|
*/
|
|
419
465
|
localAddress?: pulumi.Input<string>;
|
|
420
466
|
/**
|
|
421
|
-
*
|
|
467
|
+
* The set of mime types that should override the block_mismatching_mime_types setting. Eg:
|
|
422
468
|
* "application/json,application/xml". Default value is empty.
|
|
423
469
|
*/
|
|
424
470
|
mismatchingMimeTypesOverrideList?: pulumi.Input<string>;
|
|
@@ -441,7 +487,8 @@ export interface RemoteCargoRepositoryArgs {
|
|
|
441
487
|
*/
|
|
442
488
|
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
443
489
|
/**
|
|
444
|
-
* Project key for assigning this repository to.
|
|
490
|
+
* Project key for assigning this repository to. Must be 3 - 10 lowercase alphanumeric characters. When assigning
|
|
491
|
+
* repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
445
492
|
*/
|
|
446
493
|
projectKey?: pulumi.Input<string>;
|
|
447
494
|
/**
|
|
@@ -449,11 +496,11 @@ export interface RemoteCargoRepositoryArgs {
|
|
|
449
496
|
*/
|
|
450
497
|
propagateQueryParams?: pulumi.Input<boolean>;
|
|
451
498
|
/**
|
|
452
|
-
* List of property set
|
|
499
|
+
* List of property set names
|
|
453
500
|
*/
|
|
454
501
|
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
455
502
|
/**
|
|
456
|
-
* Proxy key from Artifactory Proxies
|
|
503
|
+
* Proxy key from Artifactory Proxies settings
|
|
457
504
|
*/
|
|
458
505
|
proxy?: pulumi.Input<string>;
|
|
459
506
|
/**
|
|
@@ -461,7 +508,7 @@ export interface RemoteCargoRepositoryArgs {
|
|
|
461
508
|
*/
|
|
462
509
|
remoteRepoLayoutRef?: pulumi.Input<string>;
|
|
463
510
|
/**
|
|
464
|
-
* Repository layout key for the
|
|
511
|
+
* Repository layout key for the local repository
|
|
465
512
|
*/
|
|
466
513
|
repoLayoutRef?: pulumi.Input<string>;
|
|
467
514
|
/**
|
|
@@ -470,11 +517,15 @@ export interface RemoteCargoRepositoryArgs {
|
|
|
470
517
|
retrievalCachePeriodSeconds?: pulumi.Input<number>;
|
|
471
518
|
shareConfiguration?: pulumi.Input<boolean>;
|
|
472
519
|
/**
|
|
473
|
-
* Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network
|
|
520
|
+
* Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network
|
|
521
|
+
* operation is considered a retrieval failure.
|
|
474
522
|
*/
|
|
475
523
|
socketTimeoutMillis?: pulumi.Input<number>;
|
|
476
524
|
/**
|
|
477
|
-
* When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and
|
|
525
|
+
* When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and
|
|
526
|
+
* direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with
|
|
527
|
+
* one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory
|
|
528
|
+
* servers.
|
|
478
529
|
*/
|
|
479
530
|
storeArtifactsLocally?: pulumi.Input<boolean>;
|
|
480
531
|
/**
|
|
@@ -483,16 +534,18 @@ export interface RemoteCargoRepositoryArgs {
|
|
|
483
534
|
synchronizeProperties?: pulumi.Input<boolean>;
|
|
484
535
|
unusedArtifactsCleanupPeriodEnabled?: pulumi.Input<boolean>;
|
|
485
536
|
/**
|
|
486
|
-
* The number of hours to wait before an artifact is deemed "unused" and eligible for cleanup from the repository. A value
|
|
537
|
+
* The number of hours to wait before an artifact is deemed "unused" and eligible for cleanup from the repository. A value
|
|
538
|
+
* of 0 means automatic cleanup of cached artifacts is disabled.
|
|
487
539
|
*/
|
|
488
540
|
unusedArtifactsCleanupPeriodHours?: pulumi.Input<number>;
|
|
489
541
|
/**
|
|
490
|
-
*
|
|
542
|
+
* The remote repo URL.
|
|
491
543
|
*/
|
|
492
544
|
url: pulumi.Input<string>;
|
|
493
545
|
username?: pulumi.Input<string>;
|
|
494
546
|
/**
|
|
495
|
-
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
|
|
547
|
+
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
|
|
548
|
+
* Xray settings.
|
|
496
549
|
*/
|
|
497
550
|
xrayIndex?: pulumi.Input<boolean>;
|
|
498
551
|
}
|
package/remoteCargoRepository.js
CHANGED
|
@@ -6,16 +6,11 @@ exports.RemoteCargoRepository = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* Provides an Artifactory remote `cargo` repository resource. This provides cargo specific fields and is the only way to get them
|
|
12
|
-
* Official documentation can be found [here](https://www.jfrog.com/confluence/display/JFROG/Cargo+Registry)
|
|
9
|
+
* Creates a remote Cargo repository.
|
|
10
|
+
* Official documentation can be found [here](https://www.jfrog.com/confluence/display/JFROG/Cargo+Registry).
|
|
13
11
|
*
|
|
14
12
|
* ## Example Usage
|
|
15
13
|
*
|
|
16
|
-
* Create a new Artifactory remote cargo repository called my-remote-cargo
|
|
17
|
-
* for brevity sake, only cargo specific fields are included; for other fields see documentation for
|
|
18
|
-
* generic repo.
|
|
19
14
|
* ```typescript
|
|
20
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
21
16
|
* import * as artifactory from "@pulumi/artifactory";
|
|
@@ -24,13 +19,21 @@ const utilities = require("./utilities");
|
|
|
24
19
|
* anonymousAccess: true,
|
|
25
20
|
* gitRegistryUrl: "https://github.com/rust-lang/foo.index",
|
|
26
21
|
* key: "my-remote-cargo",
|
|
27
|
-
* url: "https://github.com/",
|
|
22
|
+
* url: "https://github.com/rust-lang/crates.io-index",
|
|
28
23
|
* });
|
|
29
24
|
* ```
|
|
30
25
|
* ## Note
|
|
31
26
|
*
|
|
32
27
|
* If you get a 400 error: `"Custom Base URL should be defined prior to creating a Cargo repository"`,
|
|
33
28
|
* you must set the base url at: `http://${host}/ui/admin/configuration/general`
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* Remote repositories can be imported using their name, e.g.
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import artifactory:index/remoteCargoRepository:RemoteCargoRepository my-remote-cargo my-remote-cargo
|
|
36
|
+
* ```
|
|
34
37
|
*/
|
|
35
38
|
class RemoteCargoRepository extends pulumi.CustomResource {
|
|
36
39
|
constructor(name, argsOrState, opts) {
|