@pulumi/artifactory 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alpineRepository.d.ts +27 -0
- package/alpineRepository.js +4 -0
- package/alpineRepository.js.map +1 -1
- package/artifactPropertyWebhook.d.ts +189 -0
- package/artifactPropertyWebhook.js +115 -0
- package/artifactPropertyWebhook.js.map +1 -0
- package/artifactWebhook.d.ts +191 -0
- package/artifactWebhook.js +117 -0
- package/artifactWebhook.js.map +1 -0
- package/artifactoryReleaseBundleWebhook.d.ts +186 -0
- package/artifactoryReleaseBundleWebhook.js +112 -0
- package/artifactoryReleaseBundleWebhook.js.map +1 -0
- package/buildWebhook.d.ts +186 -0
- package/buildWebhook.js +112 -0
- package/buildWebhook.js.map +1 -0
- package/debianRepository.d.ts +27 -0
- package/debianRepository.js +4 -0
- package/debianRepository.js.map +1 -1
- package/distributionWebhook.d.ts +190 -0
- package/distributionWebhook.js +116 -0
- package/distributionWebhook.js.map +1 -0
- package/dockerV1Repository.d.ts +27 -0
- package/dockerV1Repository.js +4 -0
- package/dockerV1Repository.js.map +1 -1
- package/dockerV2Repository.d.ts +27 -0
- package/dockerV2Repository.js +4 -0
- package/dockerV2Repository.js.map +1 -1
- package/dockerWebhook.d.ts +190 -0
- package/dockerWebhook.js +116 -0
- package/dockerWebhook.js.map +1 -0
- package/federatedAlpineRepository.d.ts +27 -0
- package/federatedAlpineRepository.js +4 -0
- package/federatedAlpineRepository.js.map +1 -1
- package/federatedBowerRepository.d.ts +27 -0
- package/federatedBowerRepository.js +4 -0
- package/federatedBowerRepository.js.map +1 -1
- package/federatedCargoRepository.d.ts +27 -0
- package/federatedCargoRepository.js +4 -0
- package/federatedCargoRepository.js.map +1 -1
- package/federatedChefRepository.d.ts +27 -0
- package/federatedChefRepository.js +4 -0
- package/federatedChefRepository.js.map +1 -1
- package/federatedCocoapodsRepository.d.ts +27 -0
- package/federatedCocoapodsRepository.js +4 -0
- package/federatedCocoapodsRepository.js.map +1 -1
- package/federatedComposerRepository.d.ts +27 -0
- package/federatedComposerRepository.js +4 -0
- package/federatedComposerRepository.js.map +1 -1
- package/federatedConanRepository.d.ts +27 -0
- package/federatedConanRepository.js +4 -0
- package/federatedConanRepository.js.map +1 -1
- package/federatedCondaRepository.d.ts +27 -0
- package/federatedCondaRepository.js +4 -0
- package/federatedCondaRepository.js.map +1 -1
- package/federatedCranRepository.d.ts +27 -0
- package/federatedCranRepository.js +4 -0
- package/federatedCranRepository.js.map +1 -1
- package/federatedDebianRepository.d.ts +27 -0
- package/federatedDebianRepository.js +4 -0
- package/federatedDebianRepository.js.map +1 -1
- package/federatedDockerRepository.d.ts +27 -0
- package/federatedDockerRepository.js +4 -0
- package/federatedDockerRepository.js.map +1 -1
- package/federatedGemsRepository.d.ts +27 -0
- package/federatedGemsRepository.js +4 -0
- package/federatedGemsRepository.js.map +1 -1
- package/federatedGenericRepository.d.ts +24 -0
- package/federatedGenericRepository.js +4 -0
- package/federatedGenericRepository.js.map +1 -1
- package/federatedGitltfsRepository.d.ts +27 -0
- package/federatedGitltfsRepository.js +4 -0
- package/federatedGitltfsRepository.js.map +1 -1
- package/federatedGoRepository.d.ts +27 -0
- package/federatedGoRepository.js +4 -0
- package/federatedGoRepository.js.map +1 -1
- package/federatedGradleRepository.d.ts +27 -0
- package/federatedGradleRepository.js +4 -0
- package/federatedGradleRepository.js.map +1 -1
- package/federatedHelmRepository.d.ts +27 -0
- package/federatedHelmRepository.js +4 -0
- package/federatedHelmRepository.js.map +1 -1
- package/federatedIvyRepository.d.ts +27 -0
- package/federatedIvyRepository.js +4 -0
- package/federatedIvyRepository.js.map +1 -1
- package/federatedMavenRepository.d.ts +27 -0
- package/federatedMavenRepository.js +4 -0
- package/federatedMavenRepository.js.map +1 -1
- package/federatedNpmRepository.d.ts +27 -0
- package/federatedNpmRepository.js +4 -0
- package/federatedNpmRepository.js.map +1 -1
- package/federatedNugetRepository.d.ts +27 -0
- package/federatedNugetRepository.js +4 -0
- package/federatedNugetRepository.js.map +1 -1
- package/federatedOpkgRepository.d.ts +27 -0
- package/federatedOpkgRepository.js +4 -0
- package/federatedOpkgRepository.js.map +1 -1
- package/federatedPuppetRepository.d.ts +27 -0
- package/federatedPuppetRepository.js +4 -0
- package/federatedPuppetRepository.js.map +1 -1
- package/federatedPypiRepository.d.ts +27 -0
- package/federatedPypiRepository.js +4 -0
- package/federatedPypiRepository.js.map +1 -1
- package/federatedRpmRepository.d.ts +27 -0
- package/federatedRpmRepository.js +4 -0
- package/federatedRpmRepository.js.map +1 -1
- package/federatedSbtRepository.d.ts +27 -0
- package/federatedSbtRepository.js +4 -0
- package/federatedSbtRepository.js.map +1 -1
- package/federatedVagrantRepository.d.ts +27 -0
- package/federatedVagrantRepository.js +4 -0
- package/federatedVagrantRepository.js.map +1 -1
- package/goRepository.d.ts +27 -0
- package/goRepository.js +4 -0
- package/goRepository.js.map +1 -1
- package/index.d.ts +8 -0
- package/index.js +40 -0
- package/index.js.map +1 -1
- package/localBowerRepository.d.ts +27 -0
- package/localBowerRepository.js +4 -0
- package/localBowerRepository.js.map +1 -1
- package/localChefRepository.d.ts +27 -0
- package/localChefRepository.js +4 -0
- package/localChefRepository.js.map +1 -1
- package/localCocoapodsRepository.d.ts +27 -0
- package/localCocoapodsRepository.js +4 -0
- package/localCocoapodsRepository.js.map +1 -1
- package/localComposerRepository.d.ts +27 -0
- package/localComposerRepository.js +4 -0
- package/localComposerRepository.js.map +1 -1
- package/localConanRepository.d.ts +27 -0
- package/localConanRepository.js +4 -0
- package/localConanRepository.js.map +1 -1
- package/localCranRepository.d.ts +27 -0
- package/localCranRepository.js +4 -0
- package/localCranRepository.js.map +1 -1
- package/localGemsRepository.d.ts +27 -0
- package/localGemsRepository.js +4 -0
- package/localGemsRepository.js.map +1 -1
- package/localGenericRepository.d.ts +24 -0
- package/localGenericRepository.js +4 -0
- package/localGenericRepository.js.map +1 -1
- package/localGitltfsRepository.d.ts +27 -0
- package/localGitltfsRepository.js +4 -0
- package/localGitltfsRepository.js.map +1 -1
- package/localGoRepository.d.ts +27 -0
- package/localGoRepository.js +4 -0
- package/localGoRepository.js.map +1 -1
- package/localGradleRepository.d.ts +27 -0
- package/localGradleRepository.js +4 -0
- package/localGradleRepository.js.map +1 -1
- package/localHelmRepository.d.ts +27 -0
- package/localHelmRepository.js +4 -0
- package/localHelmRepository.js.map +1 -1
- package/localIvyRepository.d.ts +27 -0
- package/localIvyRepository.js +4 -0
- package/localIvyRepository.js.map +1 -1
- package/localMavenRepository.d.ts +27 -0
- package/localMavenRepository.js +4 -0
- package/localMavenRepository.js.map +1 -1
- package/localNpmRepository.d.ts +27 -0
- package/localNpmRepository.js +4 -0
- package/localNpmRepository.js.map +1 -1
- package/localNugetRepository.d.ts +27 -0
- package/localNugetRepository.js +4 -0
- package/localNugetRepository.js.map +1 -1
- package/localOpkgRepository.d.ts +27 -0
- package/localOpkgRepository.js +4 -0
- package/localOpkgRepository.js.map +1 -1
- package/localPuppetRepository.d.ts +27 -0
- package/localPuppetRepository.js +4 -0
- package/localPuppetRepository.js.map +1 -1
- package/localPypiRepository.d.ts +27 -0
- package/localPypiRepository.js +4 -0
- package/localPypiRepository.js.map +1 -1
- package/localRpmRepository.d.ts +27 -0
- package/localRpmRepository.js +4 -0
- package/localRpmRepository.js.map +1 -1
- package/localSbtRepository.d.ts +27 -0
- package/localSbtRepository.js +4 -0
- package/localSbtRepository.js.map +1 -1
- package/localVagrantRepository.d.ts +27 -0
- package/localVagrantRepository.js +4 -0
- package/localVagrantRepository.js.map +1 -1
- package/mavenRepository.d.ts +27 -0
- package/mavenRepository.js +4 -0
- package/mavenRepository.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/releaseBundleWebhook.d.ts +186 -0
- package/releaseBundleWebhook.js +112 -0
- package/releaseBundleWebhook.js.map +1 -0
- package/remoteCargoRepository.d.ts +24 -0
- package/remoteCargoRepository.js +4 -0
- package/remoteCargoRepository.js.map +1 -1
- package/remoteDockerRepository.d.ts +24 -0
- package/remoteDockerRepository.js +4 -0
- package/remoteDockerRepository.js.map +1 -1
- package/remoteHelmRepository.d.ts +24 -0
- package/remoteHelmRepository.js +4 -0
- package/remoteHelmRepository.js.map +1 -1
- package/remoteNpmRepository.d.ts +24 -0
- package/remoteNpmRepository.js +4 -0
- package/remoteNpmRepository.js.map +1 -1
- package/remotePypiRepository.d.ts +24 -0
- package/remotePypiRepository.js +4 -0
- package/remotePypiRepository.js.map +1 -1
- package/types/input.d.ts +138 -0
- package/types/output.d.ts +138 -0
- package/virtualConanRepository.d.ts +27 -0
- package/virtualConanRepository.js +4 -0
- package/virtualConanRepository.js.map +1 -1
- package/virtualGenericRepository.d.ts +24 -0
- package/virtualGenericRepository.js +4 -0
- package/virtualGenericRepository.js.map +1 -1
- package/virtualHelmRepository.d.ts +252 -0
- package/virtualHelmRepository.js +103 -0
- package/virtualHelmRepository.js.map +1 -0
- package/virtualRpmRepository.d.ts +27 -0
- package/virtualRpmRepository.js +4 -0
- package/virtualRpmRepository.js.map +1 -1
package/dockerV2Repository.d.ts
CHANGED
|
@@ -68,6 +68,15 @@ export declare class DockerV2Repository extends pulumi.CustomResource {
|
|
|
68
68
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
69
69
|
*/
|
|
70
70
|
readonly priorityResolution: pulumi.Output<boolean | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
73
|
+
*/
|
|
74
|
+
readonly projectEnvironments: pulumi.Output<string[] | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
77
|
+
* with project key, separated by a dash.
|
|
78
|
+
*/
|
|
79
|
+
readonly projectKey: pulumi.Output<string | undefined>;
|
|
71
80
|
readonly propertySets: pulumi.Output<string[] | undefined>;
|
|
72
81
|
readonly repoLayoutRef: pulumi.Output<string>;
|
|
73
82
|
/**
|
|
@@ -123,6 +132,15 @@ export interface DockerV2RepositoryState {
|
|
|
123
132
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
124
133
|
*/
|
|
125
134
|
priorityResolution?: pulumi.Input<boolean>;
|
|
135
|
+
/**
|
|
136
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
137
|
+
*/
|
|
138
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
139
|
+
/**
|
|
140
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
141
|
+
* with project key, separated by a dash.
|
|
142
|
+
*/
|
|
143
|
+
projectKey?: pulumi.Input<string>;
|
|
126
144
|
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
127
145
|
repoLayoutRef?: pulumi.Input<string>;
|
|
128
146
|
/**
|
|
@@ -165,6 +183,15 @@ export interface DockerV2RepositoryArgs {
|
|
|
165
183
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
166
184
|
*/
|
|
167
185
|
priorityResolution?: pulumi.Input<boolean>;
|
|
186
|
+
/**
|
|
187
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
188
|
+
*/
|
|
189
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
190
|
+
/**
|
|
191
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
192
|
+
* with project key, separated by a dash.
|
|
193
|
+
*/
|
|
194
|
+
projectKey?: pulumi.Input<string>;
|
|
168
195
|
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
169
196
|
repoLayoutRef?: pulumi.Input<string>;
|
|
170
197
|
/**
|
package/dockerV2Repository.js
CHANGED
|
@@ -42,6 +42,8 @@ class DockerV2Repository extends pulumi.CustomResource {
|
|
|
42
42
|
resourceInputs["notes"] = state ? state.notes : undefined;
|
|
43
43
|
resourceInputs["packageType"] = state ? state.packageType : undefined;
|
|
44
44
|
resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined;
|
|
45
|
+
resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined;
|
|
46
|
+
resourceInputs["projectKey"] = state ? state.projectKey : undefined;
|
|
45
47
|
resourceInputs["propertySets"] = state ? state.propertySets : undefined;
|
|
46
48
|
resourceInputs["repoLayoutRef"] = state ? state.repoLayoutRef : undefined;
|
|
47
49
|
resourceInputs["tagRetention"] = state ? state.tagRetention : undefined;
|
|
@@ -63,6 +65,8 @@ class DockerV2Repository extends pulumi.CustomResource {
|
|
|
63
65
|
resourceInputs["maxUniqueTags"] = args ? args.maxUniqueTags : undefined;
|
|
64
66
|
resourceInputs["notes"] = args ? args.notes : undefined;
|
|
65
67
|
resourceInputs["priorityResolution"] = args ? args.priorityResolution : undefined;
|
|
68
|
+
resourceInputs["projectEnvironments"] = args ? args.projectEnvironments : undefined;
|
|
69
|
+
resourceInputs["projectKey"] = args ? args.projectKey : undefined;
|
|
66
70
|
resourceInputs["propertySets"] = args ? args.propertySets : undefined;
|
|
67
71
|
resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined;
|
|
68
72
|
resourceInputs["tagRetention"] = args ? args.tagRetention : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dockerV2Repository.js","sourceRoot":"","sources":["../dockerV2Repository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"dockerV2Repository.js","sourceRoot":"","sources":["../dockerV2Repository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IAwFzD,Y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U,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;;AA1BL,gDA4IC;AA9HG,gBAAgB;AACO,+BAAY,GAAG,yDAAyD,CAAC"}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* ## # Artifactory Docker Webhook Resource
|
|
5
|
+
*
|
|
6
|
+
* 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
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* .
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
14
|
+
*
|
|
15
|
+
* const my_docker_local = new artifactory.DockerV2Repository("my-docker-local", {key: "my-docker-local"});
|
|
16
|
+
* const docker_webhook = new artifactory.DockerWebhook("docker-webhook", {
|
|
17
|
+
* key: "docker-webhook",
|
|
18
|
+
* eventTypes: [
|
|
19
|
+
* "pushed",
|
|
20
|
+
* "deleted",
|
|
21
|
+
* "promoted",
|
|
22
|
+
* ],
|
|
23
|
+
* criteria: {
|
|
24
|
+
* anyLocal: true,
|
|
25
|
+
* anyRemote: false,
|
|
26
|
+
* repoKeys: [my_docker_local.key],
|
|
27
|
+
* includePatterns: ["foo/**"],
|
|
28
|
+
* excludePatterns: ["bar/**"],
|
|
29
|
+
* },
|
|
30
|
+
* url: "http://tempurl.org/webhook",
|
|
31
|
+
* secret: "some-secret",
|
|
32
|
+
* proxy: "proxy-key",
|
|
33
|
+
* customHttpHeaders: {
|
|
34
|
+
* "header-1": "value-1",
|
|
35
|
+
* "header-2": "value-2",
|
|
36
|
+
* },
|
|
37
|
+
* }, {
|
|
38
|
+
* dependsOn: [my_docker_local],
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export declare class DockerWebhook extends pulumi.CustomResource {
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing DockerWebhook resource's state with the given name, ID, and optional extra
|
|
45
|
+
* properties used to qualify the lookup.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resulting resource.
|
|
48
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
49
|
+
* @param state Any extra arguments used during the lookup.
|
|
50
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
+
*/
|
|
52
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DockerWebhookState, opts?: pulumi.CustomResourceOptions): DockerWebhook;
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of DockerWebhook. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj: any): obj is DockerWebhook;
|
|
58
|
+
/**
|
|
59
|
+
* Specifies where the webhook will be applied on which repositories.
|
|
60
|
+
*/
|
|
61
|
+
readonly criteria: pulumi.Output<outputs.DockerWebhookCriteria>;
|
|
62
|
+
/**
|
|
63
|
+
* Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
|
|
64
|
+
*/
|
|
65
|
+
readonly customHttpHeaders: pulumi.Output<{
|
|
66
|
+
[key: string]: string;
|
|
67
|
+
} | undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* Webhook description. Max length 1000 characters.
|
|
70
|
+
*/
|
|
71
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* Status of webhook. Default to 'true'
|
|
74
|
+
*/
|
|
75
|
+
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "pushed", "deleted", "promoted"
|
|
78
|
+
*/
|
|
79
|
+
readonly eventTypes: pulumi.Output<string[]>;
|
|
80
|
+
/**
|
|
81
|
+
* The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
|
|
82
|
+
*/
|
|
83
|
+
readonly key: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Proxy key from Artifactory Proxies setting
|
|
86
|
+
*/
|
|
87
|
+
readonly proxy: pulumi.Output<string | undefined>;
|
|
88
|
+
/**
|
|
89
|
+
* Secret authentication token that will be sent to the configured URL
|
|
90
|
+
*/
|
|
91
|
+
readonly secret: pulumi.Output<string | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
|
|
94
|
+
*/
|
|
95
|
+
readonly url: pulumi.Output<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Create a DockerWebhook resource with the given unique name, arguments, and options.
|
|
98
|
+
*
|
|
99
|
+
* @param name The _unique_ name of the resource.
|
|
100
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
101
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
102
|
+
*/
|
|
103
|
+
constructor(name: string, args: DockerWebhookArgs, opts?: pulumi.CustomResourceOptions);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Input properties used for looking up and filtering DockerWebhook resources.
|
|
107
|
+
*/
|
|
108
|
+
export interface DockerWebhookState {
|
|
109
|
+
/**
|
|
110
|
+
* Specifies where the webhook will be applied on which repositories.
|
|
111
|
+
*/
|
|
112
|
+
criteria?: pulumi.Input<inputs.DockerWebhookCriteria>;
|
|
113
|
+
/**
|
|
114
|
+
* Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
|
|
115
|
+
*/
|
|
116
|
+
customHttpHeaders?: pulumi.Input<{
|
|
117
|
+
[key: string]: pulumi.Input<string>;
|
|
118
|
+
}>;
|
|
119
|
+
/**
|
|
120
|
+
* Webhook description. Max length 1000 characters.
|
|
121
|
+
*/
|
|
122
|
+
description?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* Status of webhook. Default to 'true'
|
|
125
|
+
*/
|
|
126
|
+
enabled?: pulumi.Input<boolean>;
|
|
127
|
+
/**
|
|
128
|
+
* List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "pushed", "deleted", "promoted"
|
|
129
|
+
*/
|
|
130
|
+
eventTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
131
|
+
/**
|
|
132
|
+
* The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
|
|
133
|
+
*/
|
|
134
|
+
key?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Proxy key from Artifactory Proxies setting
|
|
137
|
+
*/
|
|
138
|
+
proxy?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Secret authentication token that will be sent to the configured URL
|
|
141
|
+
*/
|
|
142
|
+
secret?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
|
|
145
|
+
*/
|
|
146
|
+
url?: pulumi.Input<string>;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* The set of arguments for constructing a DockerWebhook resource.
|
|
150
|
+
*/
|
|
151
|
+
export interface DockerWebhookArgs {
|
|
152
|
+
/**
|
|
153
|
+
* Specifies where the webhook will be applied on which repositories.
|
|
154
|
+
*/
|
|
155
|
+
criteria: pulumi.Input<inputs.DockerWebhookCriteria>;
|
|
156
|
+
/**
|
|
157
|
+
* Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
|
|
158
|
+
*/
|
|
159
|
+
customHttpHeaders?: pulumi.Input<{
|
|
160
|
+
[key: string]: pulumi.Input<string>;
|
|
161
|
+
}>;
|
|
162
|
+
/**
|
|
163
|
+
* Webhook description. Max length 1000 characters.
|
|
164
|
+
*/
|
|
165
|
+
description?: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* Status of webhook. Default to 'true'
|
|
168
|
+
*/
|
|
169
|
+
enabled?: pulumi.Input<boolean>;
|
|
170
|
+
/**
|
|
171
|
+
* List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "pushed", "deleted", "promoted"
|
|
172
|
+
*/
|
|
173
|
+
eventTypes: pulumi.Input<pulumi.Input<string>[]>;
|
|
174
|
+
/**
|
|
175
|
+
* The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
|
|
176
|
+
*/
|
|
177
|
+
key: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* Proxy key from Artifactory Proxies setting
|
|
180
|
+
*/
|
|
181
|
+
proxy?: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* Secret authentication token that will be sent to the configured URL
|
|
184
|
+
*/
|
|
185
|
+
secret?: pulumi.Input<string>;
|
|
186
|
+
/**
|
|
187
|
+
* Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
|
|
188
|
+
*/
|
|
189
|
+
url: pulumi.Input<string>;
|
|
190
|
+
}
|
package/dockerWebhook.js
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.DockerWebhook = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## # Artifactory Docker Webhook Resource
|
|
10
|
+
*
|
|
11
|
+
* 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
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* .
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
19
|
+
*
|
|
20
|
+
* const my_docker_local = new artifactory.DockerV2Repository("my-docker-local", {key: "my-docker-local"});
|
|
21
|
+
* const docker_webhook = new artifactory.DockerWebhook("docker-webhook", {
|
|
22
|
+
* key: "docker-webhook",
|
|
23
|
+
* eventTypes: [
|
|
24
|
+
* "pushed",
|
|
25
|
+
* "deleted",
|
|
26
|
+
* "promoted",
|
|
27
|
+
* ],
|
|
28
|
+
* criteria: {
|
|
29
|
+
* anyLocal: true,
|
|
30
|
+
* anyRemote: false,
|
|
31
|
+
* repoKeys: [my_docker_local.key],
|
|
32
|
+
* includePatterns: ["foo/**"],
|
|
33
|
+
* excludePatterns: ["bar/**"],
|
|
34
|
+
* },
|
|
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
|
+
* dependsOn: [my_docker_local],
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
class DockerWebhook extends pulumi.CustomResource {
|
|
48
|
+
constructor(name, argsOrState, opts) {
|
|
49
|
+
let resourceInputs = {};
|
|
50
|
+
opts = opts || {};
|
|
51
|
+
if (opts.id) {
|
|
52
|
+
const state = argsOrState;
|
|
53
|
+
resourceInputs["criteria"] = state ? state.criteria : undefined;
|
|
54
|
+
resourceInputs["customHttpHeaders"] = state ? state.customHttpHeaders : undefined;
|
|
55
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
56
|
+
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
57
|
+
resourceInputs["eventTypes"] = state ? state.eventTypes : undefined;
|
|
58
|
+
resourceInputs["key"] = state ? state.key : undefined;
|
|
59
|
+
resourceInputs["proxy"] = state ? state.proxy : undefined;
|
|
60
|
+
resourceInputs["secret"] = state ? state.secret : undefined;
|
|
61
|
+
resourceInputs["url"] = state ? state.url : undefined;
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
const args = argsOrState;
|
|
65
|
+
if ((!args || args.criteria === undefined) && !opts.urn) {
|
|
66
|
+
throw new Error("Missing required property 'criteria'");
|
|
67
|
+
}
|
|
68
|
+
if ((!args || args.eventTypes === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'eventTypes'");
|
|
70
|
+
}
|
|
71
|
+
if ((!args || args.key === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'key'");
|
|
73
|
+
}
|
|
74
|
+
if ((!args || args.url === undefined) && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'url'");
|
|
76
|
+
}
|
|
77
|
+
resourceInputs["criteria"] = args ? args.criteria : undefined;
|
|
78
|
+
resourceInputs["customHttpHeaders"] = args ? args.customHttpHeaders : undefined;
|
|
79
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
80
|
+
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
81
|
+
resourceInputs["eventTypes"] = args ? args.eventTypes : undefined;
|
|
82
|
+
resourceInputs["key"] = args ? args.key : undefined;
|
|
83
|
+
resourceInputs["proxy"] = args ? args.proxy : undefined;
|
|
84
|
+
resourceInputs["secret"] = args ? args.secret : undefined;
|
|
85
|
+
resourceInputs["url"] = args ? args.url : undefined;
|
|
86
|
+
}
|
|
87
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
88
|
+
super(DockerWebhook.__pulumiType, name, resourceInputs, opts);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Get an existing DockerWebhook resource's state with the given name, ID, and optional extra
|
|
92
|
+
* properties used to qualify the lookup.
|
|
93
|
+
*
|
|
94
|
+
* @param name The _unique_ name of the resulting resource.
|
|
95
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
96
|
+
* @param state Any extra arguments used during the lookup.
|
|
97
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
98
|
+
*/
|
|
99
|
+
static get(name, id, state, opts) {
|
|
100
|
+
return new DockerWebhook(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Returns true if the given object is an instance of DockerWebhook. This is designed to work even
|
|
104
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
105
|
+
*/
|
|
106
|
+
static isInstance(obj) {
|
|
107
|
+
if (obj === undefined || obj === null) {
|
|
108
|
+
return false;
|
|
109
|
+
}
|
|
110
|
+
return obj['__pulumiType'] === DockerWebhook.__pulumiType;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
exports.DockerWebhook = DockerWebhook;
|
|
114
|
+
/** @internal */
|
|
115
|
+
DockerWebhook.__pulumiType = 'artifactory:index/dockerWebhook:DockerWebhook';
|
|
116
|
+
//# sourceMappingURL=dockerWebhook.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dockerWebhook.js","sourceRoot":"","sources":["../dockerWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IAyEpD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,E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IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,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,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;IAhHD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;;AA1BL,sCAkHC;AApGG,gBAAgB;AACO,0BAAY,GAAG,+CAA+C,CAAC"}
|
|
@@ -67,6 +67,15 @@ export declare class FederatedAlpineRepository extends pulumi.CustomResource {
|
|
|
67
67
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
68
68
|
*/
|
|
69
69
|
readonly priorityResolution: pulumi.Output<boolean | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
72
|
+
*/
|
|
73
|
+
readonly projectEnvironments: pulumi.Output<string[] | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
76
|
+
* with project key, separated by a dash.
|
|
77
|
+
*/
|
|
78
|
+
readonly projectKey: pulumi.Output<string | undefined>;
|
|
70
79
|
readonly propertySets: pulumi.Output<string[] | undefined>;
|
|
71
80
|
readonly repoLayoutRef: pulumi.Output<string>;
|
|
72
81
|
readonly xrayIndex: pulumi.Output<boolean>;
|
|
@@ -108,6 +117,15 @@ export interface FederatedAlpineRepositoryState {
|
|
|
108
117
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
109
118
|
*/
|
|
110
119
|
priorityResolution?: pulumi.Input<boolean>;
|
|
120
|
+
/**
|
|
121
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
122
|
+
*/
|
|
123
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
124
|
+
/**
|
|
125
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
126
|
+
* with project key, separated by a dash.
|
|
127
|
+
*/
|
|
128
|
+
projectKey?: pulumi.Input<string>;
|
|
111
129
|
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
112
130
|
repoLayoutRef?: pulumi.Input<string>;
|
|
113
131
|
xrayIndex?: pulumi.Input<boolean>;
|
|
@@ -140,6 +158,15 @@ export interface FederatedAlpineRepositoryArgs {
|
|
|
140
158
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
141
159
|
*/
|
|
142
160
|
priorityResolution?: pulumi.Input<boolean>;
|
|
161
|
+
/**
|
|
162
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
163
|
+
*/
|
|
164
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
165
|
+
/**
|
|
166
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
167
|
+
* with project key, separated by a dash.
|
|
168
|
+
*/
|
|
169
|
+
projectKey?: pulumi.Input<string>;
|
|
143
170
|
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
144
171
|
repoLayoutRef?: pulumi.Input<string>;
|
|
145
172
|
xrayIndex?: pulumi.Input<boolean>;
|
|
@@ -48,6 +48,8 @@ class FederatedAlpineRepository extends pulumi.CustomResource {
|
|
|
48
48
|
resourceInputs["notes"] = state ? state.notes : undefined;
|
|
49
49
|
resourceInputs["packageType"] = state ? state.packageType : undefined;
|
|
50
50
|
resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined;
|
|
51
|
+
resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined;
|
|
52
|
+
resourceInputs["projectKey"] = state ? state.projectKey : undefined;
|
|
51
53
|
resourceInputs["propertySets"] = state ? state.propertySets : undefined;
|
|
52
54
|
resourceInputs["repoLayoutRef"] = state ? state.repoLayoutRef : undefined;
|
|
53
55
|
resourceInputs["xrayIndex"] = state ? state.xrayIndex : undefined;
|
|
@@ -70,6 +72,8 @@ class FederatedAlpineRepository extends pulumi.CustomResource {
|
|
|
70
72
|
resourceInputs["members"] = args ? args.members : undefined;
|
|
71
73
|
resourceInputs["notes"] = args ? args.notes : undefined;
|
|
72
74
|
resourceInputs["priorityResolution"] = args ? args.priorityResolution : undefined;
|
|
75
|
+
resourceInputs["projectEnvironments"] = args ? args.projectEnvironments : undefined;
|
|
76
|
+
resourceInputs["projectKey"] = args ? args.projectKey : undefined;
|
|
73
77
|
resourceInputs["propertySets"] = args ? args.propertySets : undefined;
|
|
74
78
|
resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined;
|
|
75
79
|
resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"federatedAlpineRepository.js","sourceRoot":"","sources":["../federatedAlpineRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,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;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;;AA1BL,8DA2HC;AA7GG,gBAAgB;AACO,sCAAY,GAAG,uEAAuE,CAAC"}
|
|
@@ -67,6 +67,15 @@ export declare class FederatedBowerRepository extends pulumi.CustomResource {
|
|
|
67
67
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
68
68
|
*/
|
|
69
69
|
readonly priorityResolution: pulumi.Output<boolean | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
72
|
+
*/
|
|
73
|
+
readonly projectEnvironments: pulumi.Output<string[] | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
76
|
+
* with project key, separated by a dash.
|
|
77
|
+
*/
|
|
78
|
+
readonly projectKey: pulumi.Output<string | undefined>;
|
|
70
79
|
readonly propertySets: pulumi.Output<string[] | undefined>;
|
|
71
80
|
readonly repoLayoutRef: pulumi.Output<string>;
|
|
72
81
|
readonly xrayIndex: pulumi.Output<boolean>;
|
|
@@ -108,6 +117,15 @@ export interface FederatedBowerRepositoryState {
|
|
|
108
117
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
109
118
|
*/
|
|
110
119
|
priorityResolution?: pulumi.Input<boolean>;
|
|
120
|
+
/**
|
|
121
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
122
|
+
*/
|
|
123
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
124
|
+
/**
|
|
125
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
126
|
+
* with project key, separated by a dash.
|
|
127
|
+
*/
|
|
128
|
+
projectKey?: pulumi.Input<string>;
|
|
111
129
|
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
112
130
|
repoLayoutRef?: pulumi.Input<string>;
|
|
113
131
|
xrayIndex?: pulumi.Input<boolean>;
|
|
@@ -140,6 +158,15 @@ export interface FederatedBowerRepositoryArgs {
|
|
|
140
158
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
141
159
|
*/
|
|
142
160
|
priorityResolution?: pulumi.Input<boolean>;
|
|
161
|
+
/**
|
|
162
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
163
|
+
*/
|
|
164
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
165
|
+
/**
|
|
166
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
167
|
+
* with project key, separated by a dash.
|
|
168
|
+
*/
|
|
169
|
+
projectKey?: pulumi.Input<string>;
|
|
143
170
|
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
144
171
|
repoLayoutRef?: pulumi.Input<string>;
|
|
145
172
|
xrayIndex?: pulumi.Input<boolean>;
|
|
@@ -48,6 +48,8 @@ class FederatedBowerRepository extends pulumi.CustomResource {
|
|
|
48
48
|
resourceInputs["notes"] = state ? state.notes : undefined;
|
|
49
49
|
resourceInputs["packageType"] = state ? state.packageType : undefined;
|
|
50
50
|
resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined;
|
|
51
|
+
resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined;
|
|
52
|
+
resourceInputs["projectKey"] = state ? state.projectKey : undefined;
|
|
51
53
|
resourceInputs["propertySets"] = state ? state.propertySets : undefined;
|
|
52
54
|
resourceInputs["repoLayoutRef"] = state ? state.repoLayoutRef : undefined;
|
|
53
55
|
resourceInputs["xrayIndex"] = state ? state.xrayIndex : undefined;
|
|
@@ -70,6 +72,8 @@ class FederatedBowerRepository extends pulumi.CustomResource {
|
|
|
70
72
|
resourceInputs["members"] = args ? args.members : undefined;
|
|
71
73
|
resourceInputs["notes"] = args ? args.notes : undefined;
|
|
72
74
|
resourceInputs["priorityResolution"] = args ? args.priorityResolution : undefined;
|
|
75
|
+
resourceInputs["projectEnvironments"] = args ? args.projectEnvironments : undefined;
|
|
76
|
+
resourceInputs["projectKey"] = args ? args.projectKey : undefined;
|
|
73
77
|
resourceInputs["propertySets"] = args ? args.propertySets : undefined;
|
|
74
78
|
resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined;
|
|
75
79
|
resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"federatedBowerRepository.js","sourceRoot":"","sources":["../federatedBowerRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"federatedBowerRepository.js","sourceRoot":"","sources":["../federatedBowerRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IA0E/D,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,cAAc,CAAC,wBAAwB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAA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BAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;IAzHD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;;AA1BL,4DA2HC;AA7GG,gBAAgB;AACO,qCAAY,GAAG,qEAAqE,CAAC"}
|
|
@@ -67,6 +67,15 @@ export declare class FederatedCargoRepository extends pulumi.CustomResource {
|
|
|
67
67
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
68
68
|
*/
|
|
69
69
|
readonly priorityResolution: pulumi.Output<boolean | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
72
|
+
*/
|
|
73
|
+
readonly projectEnvironments: pulumi.Output<string[] | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
76
|
+
* with project key, separated by a dash.
|
|
77
|
+
*/
|
|
78
|
+
readonly projectKey: pulumi.Output<string | undefined>;
|
|
70
79
|
readonly propertySets: pulumi.Output<string[] | undefined>;
|
|
71
80
|
readonly repoLayoutRef: pulumi.Output<string>;
|
|
72
81
|
readonly xrayIndex: pulumi.Output<boolean>;
|
|
@@ -108,6 +117,15 @@ export interface FederatedCargoRepositoryState {
|
|
|
108
117
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
109
118
|
*/
|
|
110
119
|
priorityResolution?: pulumi.Input<boolean>;
|
|
120
|
+
/**
|
|
121
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
122
|
+
*/
|
|
123
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
124
|
+
/**
|
|
125
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
126
|
+
* with project key, separated by a dash.
|
|
127
|
+
*/
|
|
128
|
+
projectKey?: pulumi.Input<string>;
|
|
111
129
|
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
112
130
|
repoLayoutRef?: pulumi.Input<string>;
|
|
113
131
|
xrayIndex?: pulumi.Input<boolean>;
|
|
@@ -140,6 +158,15 @@ export interface FederatedCargoRepositoryArgs {
|
|
|
140
158
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
141
159
|
*/
|
|
142
160
|
priorityResolution?: pulumi.Input<boolean>;
|
|
161
|
+
/**
|
|
162
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
163
|
+
*/
|
|
164
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
165
|
+
/**
|
|
166
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
167
|
+
* with project key, separated by a dash.
|
|
168
|
+
*/
|
|
169
|
+
projectKey?: pulumi.Input<string>;
|
|
143
170
|
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
144
171
|
repoLayoutRef?: pulumi.Input<string>;
|
|
145
172
|
xrayIndex?: pulumi.Input<boolean>;
|
|
@@ -48,6 +48,8 @@ class FederatedCargoRepository extends pulumi.CustomResource {
|
|
|
48
48
|
resourceInputs["notes"] = state ? state.notes : undefined;
|
|
49
49
|
resourceInputs["packageType"] = state ? state.packageType : undefined;
|
|
50
50
|
resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined;
|
|
51
|
+
resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined;
|
|
52
|
+
resourceInputs["projectKey"] = state ? state.projectKey : undefined;
|
|
51
53
|
resourceInputs["propertySets"] = state ? state.propertySets : undefined;
|
|
52
54
|
resourceInputs["repoLayoutRef"] = state ? state.repoLayoutRef : undefined;
|
|
53
55
|
resourceInputs["xrayIndex"] = state ? state.xrayIndex : undefined;
|
|
@@ -70,6 +72,8 @@ class FederatedCargoRepository extends pulumi.CustomResource {
|
|
|
70
72
|
resourceInputs["members"] = args ? args.members : undefined;
|
|
71
73
|
resourceInputs["notes"] = args ? args.notes : undefined;
|
|
72
74
|
resourceInputs["priorityResolution"] = args ? args.priorityResolution : undefined;
|
|
75
|
+
resourceInputs["projectEnvironments"] = args ? args.projectEnvironments : undefined;
|
|
76
|
+
resourceInputs["projectKey"] = args ? args.projectKey : undefined;
|
|
73
77
|
resourceInputs["propertySets"] = args ? args.propertySets : undefined;
|
|
74
78
|
resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined;
|
|
75
79
|
resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined;
|