@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
package/artifactWebhook.js
CHANGED
|
@@ -6,8 +6,6 @@ exports.ArtifactWebhook = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Artifactory Artifact Webhook Resource
|
|
10
|
-
*
|
|
11
9
|
* Provides an Artifactory webhook resource. This can be used to register and manage Artifactory webhook subscription which enables you to be notified or notify other users when such events take place in Artifactory.
|
|
12
10
|
*
|
|
13
11
|
* ## Example Usage
|
|
@@ -33,13 +31,15 @@ const utilities = require("./utilities");
|
|
|
33
31
|
* includePatterns: ["foo/**"],
|
|
34
32
|
* excludePatterns: ["bar/**"],
|
|
35
33
|
* },
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
34
|
+
* handlers: [{
|
|
35
|
+
* url: "http://tempurl.org/webhook",
|
|
36
|
+
* secret: "some-secret",
|
|
37
|
+
* proxy: "proxy-key",
|
|
38
|
+
* customHttpHeaders: {
|
|
39
|
+
* "header-1": "value-1",
|
|
40
|
+
* "header-2": "value-2",
|
|
41
|
+
* },
|
|
42
|
+
* }],
|
|
43
43
|
* }, {
|
|
44
44
|
* dependsOn: [my_generic_local],
|
|
45
45
|
* });
|
|
@@ -52,14 +52,11 @@ class ArtifactWebhook extends pulumi.CustomResource {
|
|
|
52
52
|
if (opts.id) {
|
|
53
53
|
const state = argsOrState;
|
|
54
54
|
resourceInputs["criteria"] = state ? state.criteria : undefined;
|
|
55
|
-
resourceInputs["customHttpHeaders"] = state ? state.customHttpHeaders : undefined;
|
|
56
55
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
57
56
|
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
58
57
|
resourceInputs["eventTypes"] = state ? state.eventTypes : undefined;
|
|
58
|
+
resourceInputs["handlers"] = state ? state.handlers : undefined;
|
|
59
59
|
resourceInputs["key"] = state ? state.key : undefined;
|
|
60
|
-
resourceInputs["proxy"] = state ? state.proxy : undefined;
|
|
61
|
-
resourceInputs["secret"] = state ? state.secret : undefined;
|
|
62
|
-
resourceInputs["url"] = state ? state.url : undefined;
|
|
63
60
|
}
|
|
64
61
|
else {
|
|
65
62
|
const args = argsOrState;
|
|
@@ -69,21 +66,18 @@ class ArtifactWebhook extends pulumi.CustomResource {
|
|
|
69
66
|
if ((!args || args.eventTypes === undefined) && !opts.urn) {
|
|
70
67
|
throw new Error("Missing required property 'eventTypes'");
|
|
71
68
|
}
|
|
69
|
+
if ((!args || args.handlers === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'handlers'");
|
|
71
|
+
}
|
|
72
72
|
if ((!args || args.key === undefined) && !opts.urn) {
|
|
73
73
|
throw new Error("Missing required property 'key'");
|
|
74
74
|
}
|
|
75
|
-
if ((!args || args.url === undefined) && !opts.urn) {
|
|
76
|
-
throw new Error("Missing required property 'url'");
|
|
77
|
-
}
|
|
78
75
|
resourceInputs["criteria"] = args ? args.criteria : undefined;
|
|
79
|
-
resourceInputs["customHttpHeaders"] = args ? args.customHttpHeaders : undefined;
|
|
80
76
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
81
77
|
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
82
78
|
resourceInputs["eventTypes"] = args ? args.eventTypes : undefined;
|
|
79
|
+
resourceInputs["handlers"] = args ? args.handlers : undefined;
|
|
83
80
|
resourceInputs["key"] = args ? args.key : undefined;
|
|
84
|
-
resourceInputs["proxy"] = args ? args.proxy : undefined;
|
|
85
|
-
resourceInputs["secret"] = args ? args.secret : undefined;
|
|
86
|
-
resourceInputs["url"] = args ? args.url : undefined;
|
|
87
81
|
}
|
|
88
82
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
89
83
|
super(ArtifactWebhook.__pulumiType, name, resourceInputs, opts);
|
package/artifactWebhook.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifactWebhook.js","sourceRoot":"","sources":["../artifactWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"artifactWebhook.js","sourceRoot":"","sources":["../artifactWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IA6DtD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE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AAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CAgGC;AAlFG,gBAAgB;AACO,4BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
* ## # Artifactory Release Bundle Webhook Resource
|
|
5
|
-
*
|
|
6
4
|
* Provides an Artifactory webhook resource. This can be used to register and manage Artifactory webhook subscription which enables you to be notified or notify other users when such events take place in Artifactory.
|
|
7
5
|
*
|
|
8
6
|
* ## Example Usage
|
|
@@ -12,26 +10,29 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
12
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
11
|
* import * as artifactory from "@pulumi/artifactory";
|
|
14
12
|
*
|
|
15
|
-
* const
|
|
13
|
+
* const artifactory_release_bundle_webhook = new artifactory.ArtifactoryReleaseBundleWebhook("artifactory-release-bundle-webhook", {
|
|
16
14
|
* criteria: {
|
|
17
15
|
* anyReleaseBundle: false,
|
|
18
16
|
* excludePatterns: ["bar/**"],
|
|
19
17
|
* includePatterns: ["foo/**"],
|
|
20
18
|
* registeredReleaseBundleNames: ["bundle-name"],
|
|
21
19
|
* },
|
|
22
|
-
* customHttpHeaders: {
|
|
23
|
-
* "header-1": "value-1",
|
|
24
|
-
* "header-2": "value-2",
|
|
25
|
-
* },
|
|
26
20
|
* eventTypes: [
|
|
27
|
-
* "
|
|
28
|
-
* "
|
|
29
|
-
* "
|
|
21
|
+
* "received",
|
|
22
|
+
* "delete_started",
|
|
23
|
+
* "delete_completed",
|
|
24
|
+
* "delete_failed",
|
|
30
25
|
* ],
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
26
|
+
* handlers: [{
|
|
27
|
+
* customHttpHeaders: {
|
|
28
|
+
* "header-1": "value-1",
|
|
29
|
+
* "header-2": "value-2",
|
|
30
|
+
* },
|
|
31
|
+
* proxy: "proxy-key",
|
|
32
|
+
* secret: "some-secret",
|
|
33
|
+
* url: "http://tempurl.org/webhook",
|
|
34
|
+
* }],
|
|
35
|
+
* key: "artifactory-release-bundle-webhook",
|
|
35
36
|
* });
|
|
36
37
|
* ```
|
|
37
38
|
*/
|
|
@@ -55,12 +56,6 @@ export declare class ArtifactoryReleaseBundleWebhook extends pulumi.CustomResour
|
|
|
55
56
|
* Specifies where the webhook will be applied on which repositories.
|
|
56
57
|
*/
|
|
57
58
|
readonly criteria: pulumi.Output<outputs.ArtifactoryReleaseBundleWebhookCriteria>;
|
|
58
|
-
/**
|
|
59
|
-
* Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
|
|
60
|
-
*/
|
|
61
|
-
readonly customHttpHeaders: pulumi.Output<{
|
|
62
|
-
[key: string]: string;
|
|
63
|
-
} | undefined>;
|
|
64
59
|
/**
|
|
65
60
|
* Webhook description. Max length 1000 characters.
|
|
66
61
|
*/
|
|
@@ -70,25 +65,17 @@ export declare class ArtifactoryReleaseBundleWebhook extends pulumi.CustomResour
|
|
|
70
65
|
*/
|
|
71
66
|
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
72
67
|
/**
|
|
73
|
-
* List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "
|
|
68
|
+
* List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "received", "deleteStarted", "deleteCompleted", "deleteFailed"
|
|
74
69
|
*/
|
|
75
70
|
readonly eventTypes: pulumi.Output<string[]>;
|
|
76
71
|
/**
|
|
77
|
-
*
|
|
78
|
-
*/
|
|
79
|
-
readonly key: pulumi.Output<string>;
|
|
80
|
-
/**
|
|
81
|
-
* Proxy key from Artifactory Proxies setting
|
|
72
|
+
* At least one is required.
|
|
82
73
|
*/
|
|
83
|
-
readonly
|
|
74
|
+
readonly handlers: pulumi.Output<outputs.ArtifactoryReleaseBundleWebhookHandler[]>;
|
|
84
75
|
/**
|
|
85
|
-
*
|
|
86
|
-
*/
|
|
87
|
-
readonly secret: pulumi.Output<string | undefined>;
|
|
88
|
-
/**
|
|
89
|
-
* Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
|
|
76
|
+
* The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
|
|
90
77
|
*/
|
|
91
|
-
readonly
|
|
78
|
+
readonly key: pulumi.Output<string>;
|
|
92
79
|
/**
|
|
93
80
|
* Create a ArtifactoryReleaseBundleWebhook resource with the given unique name, arguments, and options.
|
|
94
81
|
*
|
|
@@ -106,12 +93,6 @@ export interface ArtifactoryReleaseBundleWebhookState {
|
|
|
106
93
|
* Specifies where the webhook will be applied on which repositories.
|
|
107
94
|
*/
|
|
108
95
|
criteria?: pulumi.Input<inputs.ArtifactoryReleaseBundleWebhookCriteria>;
|
|
109
|
-
/**
|
|
110
|
-
* Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
|
|
111
|
-
*/
|
|
112
|
-
customHttpHeaders?: pulumi.Input<{
|
|
113
|
-
[key: string]: pulumi.Input<string>;
|
|
114
|
-
}>;
|
|
115
96
|
/**
|
|
116
97
|
* Webhook description. Max length 1000 characters.
|
|
117
98
|
*/
|
|
@@ -121,25 +102,17 @@ export interface ArtifactoryReleaseBundleWebhookState {
|
|
|
121
102
|
*/
|
|
122
103
|
enabled?: pulumi.Input<boolean>;
|
|
123
104
|
/**
|
|
124
|
-
* List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "
|
|
105
|
+
* List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "received", "deleteStarted", "deleteCompleted", "deleteFailed"
|
|
125
106
|
*/
|
|
126
107
|
eventTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
127
108
|
/**
|
|
128
|
-
*
|
|
129
|
-
*/
|
|
130
|
-
key?: pulumi.Input<string>;
|
|
131
|
-
/**
|
|
132
|
-
* Proxy key from Artifactory Proxies setting
|
|
133
|
-
*/
|
|
134
|
-
proxy?: pulumi.Input<string>;
|
|
135
|
-
/**
|
|
136
|
-
* Secret authentication token that will be sent to the configured URL
|
|
109
|
+
* At least one is required.
|
|
137
110
|
*/
|
|
138
|
-
|
|
111
|
+
handlers?: pulumi.Input<pulumi.Input<inputs.ArtifactoryReleaseBundleWebhookHandler>[]>;
|
|
139
112
|
/**
|
|
140
|
-
*
|
|
113
|
+
* The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
|
|
141
114
|
*/
|
|
142
|
-
|
|
115
|
+
key?: pulumi.Input<string>;
|
|
143
116
|
}
|
|
144
117
|
/**
|
|
145
118
|
* The set of arguments for constructing a ArtifactoryReleaseBundleWebhook resource.
|
|
@@ -149,12 +122,6 @@ export interface ArtifactoryReleaseBundleWebhookArgs {
|
|
|
149
122
|
* Specifies where the webhook will be applied on which repositories.
|
|
150
123
|
*/
|
|
151
124
|
criteria: pulumi.Input<inputs.ArtifactoryReleaseBundleWebhookCriteria>;
|
|
152
|
-
/**
|
|
153
|
-
* Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
|
|
154
|
-
*/
|
|
155
|
-
customHttpHeaders?: pulumi.Input<{
|
|
156
|
-
[key: string]: pulumi.Input<string>;
|
|
157
|
-
}>;
|
|
158
125
|
/**
|
|
159
126
|
* Webhook description. Max length 1000 characters.
|
|
160
127
|
*/
|
|
@@ -164,23 +131,15 @@ export interface ArtifactoryReleaseBundleWebhookArgs {
|
|
|
164
131
|
*/
|
|
165
132
|
enabled?: pulumi.Input<boolean>;
|
|
166
133
|
/**
|
|
167
|
-
* List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "
|
|
134
|
+
* List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "received", "deleteStarted", "deleteCompleted", "deleteFailed"
|
|
168
135
|
*/
|
|
169
136
|
eventTypes: pulumi.Input<pulumi.Input<string>[]>;
|
|
170
137
|
/**
|
|
171
|
-
*
|
|
172
|
-
*/
|
|
173
|
-
key: pulumi.Input<string>;
|
|
174
|
-
/**
|
|
175
|
-
* Proxy key from Artifactory Proxies setting
|
|
138
|
+
* At least one is required.
|
|
176
139
|
*/
|
|
177
|
-
|
|
140
|
+
handlers: pulumi.Input<pulumi.Input<inputs.ArtifactoryReleaseBundleWebhookHandler>[]>;
|
|
178
141
|
/**
|
|
179
|
-
*
|
|
180
|
-
*/
|
|
181
|
-
secret?: pulumi.Input<string>;
|
|
182
|
-
/**
|
|
183
|
-
* Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
|
|
142
|
+
* The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
|
|
184
143
|
*/
|
|
185
|
-
|
|
144
|
+
key: pulumi.Input<string>;
|
|
186
145
|
}
|
|
@@ -6,8 +6,6 @@ exports.ArtifactoryReleaseBundleWebhook = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Artifactory Release Bundle Webhook Resource
|
|
10
|
-
*
|
|
11
9
|
* Provides an Artifactory webhook resource. This can be used to register and manage Artifactory webhook subscription which enables you to be notified or notify other users when such events take place in Artifactory.
|
|
12
10
|
*
|
|
13
11
|
* ## Example Usage
|
|
@@ -17,26 +15,29 @@ const utilities = require("./utilities");
|
|
|
17
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
16
|
* import * as artifactory from "@pulumi/artifactory";
|
|
19
17
|
*
|
|
20
|
-
* const
|
|
18
|
+
* const artifactory_release_bundle_webhook = new artifactory.ArtifactoryReleaseBundleWebhook("artifactory-release-bundle-webhook", {
|
|
21
19
|
* criteria: {
|
|
22
20
|
* anyReleaseBundle: false,
|
|
23
21
|
* excludePatterns: ["bar/**"],
|
|
24
22
|
* includePatterns: ["foo/**"],
|
|
25
23
|
* registeredReleaseBundleNames: ["bundle-name"],
|
|
26
24
|
* },
|
|
27
|
-
* customHttpHeaders: {
|
|
28
|
-
* "header-1": "value-1",
|
|
29
|
-
* "header-2": "value-2",
|
|
30
|
-
* },
|
|
31
25
|
* eventTypes: [
|
|
32
|
-
* "
|
|
33
|
-
* "
|
|
34
|
-
* "
|
|
26
|
+
* "received",
|
|
27
|
+
* "delete_started",
|
|
28
|
+
* "delete_completed",
|
|
29
|
+
* "delete_failed",
|
|
35
30
|
* ],
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
31
|
+
* handlers: [{
|
|
32
|
+
* customHttpHeaders: {
|
|
33
|
+
* "header-1": "value-1",
|
|
34
|
+
* "header-2": "value-2",
|
|
35
|
+
* },
|
|
36
|
+
* proxy: "proxy-key",
|
|
37
|
+
* secret: "some-secret",
|
|
38
|
+
* url: "http://tempurl.org/webhook",
|
|
39
|
+
* }],
|
|
40
|
+
* key: "artifactory-release-bundle-webhook",
|
|
40
41
|
* });
|
|
41
42
|
* ```
|
|
42
43
|
*/
|
|
@@ -47,14 +48,11 @@ class ArtifactoryReleaseBundleWebhook extends pulumi.CustomResource {
|
|
|
47
48
|
if (opts.id) {
|
|
48
49
|
const state = argsOrState;
|
|
49
50
|
resourceInputs["criteria"] = state ? state.criteria : undefined;
|
|
50
|
-
resourceInputs["customHttpHeaders"] = state ? state.customHttpHeaders : undefined;
|
|
51
51
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
52
52
|
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
53
53
|
resourceInputs["eventTypes"] = state ? state.eventTypes : undefined;
|
|
54
|
+
resourceInputs["handlers"] = state ? state.handlers : undefined;
|
|
54
55
|
resourceInputs["key"] = state ? state.key : undefined;
|
|
55
|
-
resourceInputs["proxy"] = state ? state.proxy : undefined;
|
|
56
|
-
resourceInputs["secret"] = state ? state.secret : undefined;
|
|
57
|
-
resourceInputs["url"] = state ? state.url : undefined;
|
|
58
56
|
}
|
|
59
57
|
else {
|
|
60
58
|
const args = argsOrState;
|
|
@@ -64,21 +62,18 @@ class ArtifactoryReleaseBundleWebhook extends pulumi.CustomResource {
|
|
|
64
62
|
if ((!args || args.eventTypes === undefined) && !opts.urn) {
|
|
65
63
|
throw new Error("Missing required property 'eventTypes'");
|
|
66
64
|
}
|
|
65
|
+
if ((!args || args.handlers === undefined) && !opts.urn) {
|
|
66
|
+
throw new Error("Missing required property 'handlers'");
|
|
67
|
+
}
|
|
67
68
|
if ((!args || args.key === undefined) && !opts.urn) {
|
|
68
69
|
throw new Error("Missing required property 'key'");
|
|
69
70
|
}
|
|
70
|
-
if ((!args || args.url === undefined) && !opts.urn) {
|
|
71
|
-
throw new Error("Missing required property 'url'");
|
|
72
|
-
}
|
|
73
71
|
resourceInputs["criteria"] = args ? args.criteria : undefined;
|
|
74
|
-
resourceInputs["customHttpHeaders"] = args ? args.customHttpHeaders : undefined;
|
|
75
72
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
76
73
|
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
77
74
|
resourceInputs["eventTypes"] = args ? args.eventTypes : undefined;
|
|
75
|
+
resourceInputs["handlers"] = args ? args.handlers : undefined;
|
|
78
76
|
resourceInputs["key"] = args ? args.key : undefined;
|
|
79
|
-
resourceInputs["proxy"] = args ? args.proxy : undefined;
|
|
80
|
-
resourceInputs["secret"] = args ? args.secret : undefined;
|
|
81
|
-
resourceInputs["url"] = args ? args.url : undefined;
|
|
82
77
|
}
|
|
83
78
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
84
79
|
super(ArtifactoryReleaseBundleWebhook.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifactoryReleaseBundleWebhook.js","sourceRoot":"","sources":["../artifactoryReleaseBundleWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"artifactoryReleaseBundleWebhook.js","sourceRoot":"","sources":["../artifactoryReleaseBundleWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IA6DtE,YAAY,IAAY,EAAE,WAAwF,EAAE,IAAmC;QACnJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+D,CAAC;YAC9E,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAA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UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,+BAA+B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpF,CAAC;IA9FD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4C,EAAE,IAAmC;QAC1I,OAAO,IAAI,+BAA+B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtF,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,+BAA+B,CAAC,YAAY,CAAC;IAChF,CAAC;;AA1BL,0EAgGC;AAlFG,gBAAgB;AACO,4CAAY,GAAG,mFAAmF,CAAC"}
|
package/backup.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* ## # Artifactory Backup Resource
|
|
4
|
-
*
|
|
5
3
|
* This resource can be used to manage the automatic and periodic backups of the entire Artifactory instance.
|
|
6
4
|
*
|
|
7
|
-
* When
|
|
5
|
+
* When an `artifactory.Backup` resource is configured and enabled to true, backup of the entire Artifactory system will be done automatically and periodically.
|
|
6
|
+
* The backup process creates a time-stamped directory in the target backup directory.
|
|
8
7
|
*
|
|
9
8
|
* ## Example Usage
|
|
10
9
|
*
|
|
@@ -56,7 +55,7 @@ export declare class Backup extends pulumi.CustomResource {
|
|
|
56
55
|
*/
|
|
57
56
|
readonly createArchive: pulumi.Output<boolean | undefined>;
|
|
58
57
|
/**
|
|
59
|
-
* A valid CRON expression that you can use to control backup frequency. Eg: "0 0 12 * * ? "
|
|
58
|
+
* A valid CRON expression that you can use to control backup frequency. Eg: "0 0 12 * * ? ".
|
|
60
59
|
*/
|
|
61
60
|
readonly cronExp: pulumi.Output<string>;
|
|
62
61
|
/**
|
|
@@ -101,7 +100,7 @@ export interface BackupState {
|
|
|
101
100
|
*/
|
|
102
101
|
createArchive?: pulumi.Input<boolean>;
|
|
103
102
|
/**
|
|
104
|
-
* A valid CRON expression that you can use to control backup frequency. Eg: "0 0 12 * * ? "
|
|
103
|
+
* A valid CRON expression that you can use to control backup frequency. Eg: "0 0 12 * * ? ".
|
|
105
104
|
*/
|
|
106
105
|
cronExp?: pulumi.Input<string>;
|
|
107
106
|
/**
|
|
@@ -138,7 +137,7 @@ export interface BackupArgs {
|
|
|
138
137
|
*/
|
|
139
138
|
createArchive?: pulumi.Input<boolean>;
|
|
140
139
|
/**
|
|
141
|
-
* A valid CRON expression that you can use to control backup frequency. Eg: "0 0 12 * * ? "
|
|
140
|
+
* A valid CRON expression that you can use to control backup frequency. Eg: "0 0 12 * * ? ".
|
|
142
141
|
*/
|
|
143
142
|
cronExp: pulumi.Input<string>;
|
|
144
143
|
/**
|
package/backup.js
CHANGED
|
@@ -6,11 +6,10 @@ exports.Backup = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Artifactory Backup Resource
|
|
10
|
-
*
|
|
11
9
|
* This resource can be used to manage the automatic and periodic backups of the entire Artifactory instance.
|
|
12
10
|
*
|
|
13
|
-
* When
|
|
11
|
+
* When an `artifactory.Backup` resource is configured and enabled to true, backup of the entire Artifactory system will be done automatically and periodically.
|
|
12
|
+
* The backup process creates a time-stamped directory in the target backup directory.
|
|
14
13
|
*
|
|
15
14
|
* ## Example Usage
|
|
16
15
|
*
|
package/backup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backup.js","sourceRoot":"","sources":["../backup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"backup.js","sourceRoot":"","sources":["../backup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAqE7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,wBAAwB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YA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pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
* ## # Artifactory Build Webhook Resource
|
|
5
|
-
*
|
|
6
4
|
* Provides an Artifactory webhook resource. This can be used to register and manage Artifactory webhook subscription which enables you to be notified or notify other users when such events take place in Artifactory.
|
|
7
5
|
*
|
|
8
6
|
* ## Example Usage
|
|
@@ -19,19 +17,21 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
19
17
|
* includePatterns: ["foo/**"],
|
|
20
18
|
* selectedBuilds: ["build-id"],
|
|
21
19
|
* },
|
|
22
|
-
* customHttpHeaders: {
|
|
23
|
-
* "header-1": "value-1",
|
|
24
|
-
* "header-2": "value-2",
|
|
25
|
-
* },
|
|
26
20
|
* eventTypes: [
|
|
27
21
|
* "uploaded",
|
|
28
22
|
* "deleted",
|
|
29
23
|
* "promoted",
|
|
30
24
|
* ],
|
|
25
|
+
* handlers: [{
|
|
26
|
+
* customHttpHeaders: {
|
|
27
|
+
* "header-1": "value-1",
|
|
28
|
+
* "header-2": "value-2",
|
|
29
|
+
* },
|
|
30
|
+
* proxy: "proxy-key",
|
|
31
|
+
* secret: "some-secret",
|
|
32
|
+
* url: "http://tempurl.org/webhook",
|
|
33
|
+
* }],
|
|
31
34
|
* key: "build-webhook",
|
|
32
|
-
* proxy: "proxy-key",
|
|
33
|
-
* secret: "some-secret",
|
|
34
|
-
* url: "http://tempurl.org/webhook",
|
|
35
35
|
* });
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
@@ -55,40 +55,26 @@ export declare class BuildWebhook extends pulumi.CustomResource {
|
|
|
55
55
|
* Specifies where the webhook will be applied on which repositories.
|
|
56
56
|
*/
|
|
57
57
|
readonly criteria: pulumi.Output<outputs.BuildWebhookCriteria>;
|
|
58
|
-
/**
|
|
59
|
-
* Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
|
|
60
|
-
*/
|
|
61
|
-
readonly customHttpHeaders: pulumi.Output<{
|
|
62
|
-
[key: string]: string;
|
|
63
|
-
} | undefined>;
|
|
64
58
|
/**
|
|
65
59
|
* Webhook description. Max length 1000 characters.
|
|
66
60
|
*/
|
|
67
61
|
readonly description: pulumi.Output<string | undefined>;
|
|
68
62
|
/**
|
|
69
|
-
* Status of webhook. Default to 'true'
|
|
63
|
+
* Status of webhook. Default to 'true'.
|
|
70
64
|
*/
|
|
71
65
|
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
72
66
|
/**
|
|
73
|
-
* List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "uploaded", "deleted", "promoted"
|
|
67
|
+
* List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "uploaded", "deleted", "promoted".
|
|
74
68
|
*/
|
|
75
69
|
readonly eventTypes: pulumi.Output<string[]>;
|
|
76
70
|
/**
|
|
77
|
-
*
|
|
78
|
-
*/
|
|
79
|
-
readonly key: pulumi.Output<string>;
|
|
80
|
-
/**
|
|
81
|
-
* Proxy key from Artifactory Proxies setting
|
|
71
|
+
* At least one is required.
|
|
82
72
|
*/
|
|
83
|
-
readonly
|
|
73
|
+
readonly handlers: pulumi.Output<outputs.BuildWebhookHandler[]>;
|
|
84
74
|
/**
|
|
85
|
-
*
|
|
86
|
-
*/
|
|
87
|
-
readonly secret: pulumi.Output<string | undefined>;
|
|
88
|
-
/**
|
|
89
|
-
* Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
|
|
75
|
+
* The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
|
|
90
76
|
*/
|
|
91
|
-
readonly
|
|
77
|
+
readonly key: pulumi.Output<string>;
|
|
92
78
|
/**
|
|
93
79
|
* Create a BuildWebhook resource with the given unique name, arguments, and options.
|
|
94
80
|
*
|
|
@@ -106,40 +92,26 @@ export interface BuildWebhookState {
|
|
|
106
92
|
* Specifies where the webhook will be applied on which repositories.
|
|
107
93
|
*/
|
|
108
94
|
criteria?: pulumi.Input<inputs.BuildWebhookCriteria>;
|
|
109
|
-
/**
|
|
110
|
-
* Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
|
|
111
|
-
*/
|
|
112
|
-
customHttpHeaders?: pulumi.Input<{
|
|
113
|
-
[key: string]: pulumi.Input<string>;
|
|
114
|
-
}>;
|
|
115
95
|
/**
|
|
116
96
|
* Webhook description. Max length 1000 characters.
|
|
117
97
|
*/
|
|
118
98
|
description?: pulumi.Input<string>;
|
|
119
99
|
/**
|
|
120
|
-
* Status of webhook. Default to 'true'
|
|
100
|
+
* Status of webhook. Default to 'true'.
|
|
121
101
|
*/
|
|
122
102
|
enabled?: pulumi.Input<boolean>;
|
|
123
103
|
/**
|
|
124
|
-
* List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "uploaded", "deleted", "promoted"
|
|
104
|
+
* List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "uploaded", "deleted", "promoted".
|
|
125
105
|
*/
|
|
126
106
|
eventTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
127
107
|
/**
|
|
128
|
-
*
|
|
129
|
-
*/
|
|
130
|
-
key?: pulumi.Input<string>;
|
|
131
|
-
/**
|
|
132
|
-
* Proxy key from Artifactory Proxies setting
|
|
133
|
-
*/
|
|
134
|
-
proxy?: pulumi.Input<string>;
|
|
135
|
-
/**
|
|
136
|
-
* Secret authentication token that will be sent to the configured URL
|
|
108
|
+
* At least one is required.
|
|
137
109
|
*/
|
|
138
|
-
|
|
110
|
+
handlers?: pulumi.Input<pulumi.Input<inputs.BuildWebhookHandler>[]>;
|
|
139
111
|
/**
|
|
140
|
-
*
|
|
112
|
+
* The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
|
|
141
113
|
*/
|
|
142
|
-
|
|
114
|
+
key?: pulumi.Input<string>;
|
|
143
115
|
}
|
|
144
116
|
/**
|
|
145
117
|
* The set of arguments for constructing a BuildWebhook resource.
|
|
@@ -149,38 +121,24 @@ export interface BuildWebhookArgs {
|
|
|
149
121
|
* Specifies where the webhook will be applied on which repositories.
|
|
150
122
|
*/
|
|
151
123
|
criteria: pulumi.Input<inputs.BuildWebhookCriteria>;
|
|
152
|
-
/**
|
|
153
|
-
* Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
|
|
154
|
-
*/
|
|
155
|
-
customHttpHeaders?: pulumi.Input<{
|
|
156
|
-
[key: string]: pulumi.Input<string>;
|
|
157
|
-
}>;
|
|
158
124
|
/**
|
|
159
125
|
* Webhook description. Max length 1000 characters.
|
|
160
126
|
*/
|
|
161
127
|
description?: pulumi.Input<string>;
|
|
162
128
|
/**
|
|
163
|
-
* Status of webhook. Default to 'true'
|
|
129
|
+
* Status of webhook. Default to 'true'.
|
|
164
130
|
*/
|
|
165
131
|
enabled?: pulumi.Input<boolean>;
|
|
166
132
|
/**
|
|
167
|
-
* List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "uploaded", "deleted", "promoted"
|
|
133
|
+
* List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "uploaded", "deleted", "promoted".
|
|
168
134
|
*/
|
|
169
135
|
eventTypes: pulumi.Input<pulumi.Input<string>[]>;
|
|
170
136
|
/**
|
|
171
|
-
*
|
|
172
|
-
*/
|
|
173
|
-
key: pulumi.Input<string>;
|
|
174
|
-
/**
|
|
175
|
-
* Proxy key from Artifactory Proxies setting
|
|
137
|
+
* At least one is required.
|
|
176
138
|
*/
|
|
177
|
-
|
|
139
|
+
handlers: pulumi.Input<pulumi.Input<inputs.BuildWebhookHandler>[]>;
|
|
178
140
|
/**
|
|
179
|
-
*
|
|
180
|
-
*/
|
|
181
|
-
secret?: pulumi.Input<string>;
|
|
182
|
-
/**
|
|
183
|
-
* Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
|
|
141
|
+
* The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
|
|
184
142
|
*/
|
|
185
|
-
|
|
143
|
+
key: pulumi.Input<string>;
|
|
186
144
|
}
|