@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/buildWebhook.js
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
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.BuildWebhook = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## # Artifactory Build 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 build_webhook = new artifactory.BuildWebhook("build-webhook", {
|
|
21
|
+
* criteria: {
|
|
22
|
+
* anyBuild: true,
|
|
23
|
+
* excludePatterns: ["bar/**"],
|
|
24
|
+
* includePatterns: ["foo/**"],
|
|
25
|
+
* selectedBuilds: ["build-id"],
|
|
26
|
+
* },
|
|
27
|
+
* customHttpHeaders: {
|
|
28
|
+
* "header-1": "value-1",
|
|
29
|
+
* "header-2": "value-2",
|
|
30
|
+
* },
|
|
31
|
+
* eventTypes: [
|
|
32
|
+
* "uploaded",
|
|
33
|
+
* "deleted",
|
|
34
|
+
* "promoted",
|
|
35
|
+
* ],
|
|
36
|
+
* key: "build-webhook",
|
|
37
|
+
* proxy: "proxy-key",
|
|
38
|
+
* secret: "some-secret",
|
|
39
|
+
* url: "http://tempurl.org/webhook",
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
class BuildWebhook extends pulumi.CustomResource {
|
|
44
|
+
constructor(name, argsOrState, opts) {
|
|
45
|
+
let resourceInputs = {};
|
|
46
|
+
opts = opts || {};
|
|
47
|
+
if (opts.id) {
|
|
48
|
+
const state = argsOrState;
|
|
49
|
+
resourceInputs["criteria"] = state ? state.criteria : undefined;
|
|
50
|
+
resourceInputs["customHttpHeaders"] = state ? state.customHttpHeaders : undefined;
|
|
51
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
52
|
+
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
53
|
+
resourceInputs["eventTypes"] = state ? state.eventTypes : undefined;
|
|
54
|
+
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
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
const args = argsOrState;
|
|
61
|
+
if ((!args || args.criteria === undefined) && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'criteria'");
|
|
63
|
+
}
|
|
64
|
+
if ((!args || args.eventTypes === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'eventTypes'");
|
|
66
|
+
}
|
|
67
|
+
if ((!args || args.key === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'key'");
|
|
69
|
+
}
|
|
70
|
+
if ((!args || args.url === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'url'");
|
|
72
|
+
}
|
|
73
|
+
resourceInputs["criteria"] = args ? args.criteria : undefined;
|
|
74
|
+
resourceInputs["customHttpHeaders"] = args ? args.customHttpHeaders : undefined;
|
|
75
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
76
|
+
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
77
|
+
resourceInputs["eventTypes"] = args ? args.eventTypes : undefined;
|
|
78
|
+
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
|
+
}
|
|
83
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
84
|
+
super(BuildWebhook.__pulumiType, name, resourceInputs, opts);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Get an existing BuildWebhook resource's state with the given name, ID, and optional extra
|
|
88
|
+
* properties used to qualify the lookup.
|
|
89
|
+
*
|
|
90
|
+
* @param name The _unique_ name of the resulting resource.
|
|
91
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
92
|
+
* @param state Any extra arguments used during the lookup.
|
|
93
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
94
|
+
*/
|
|
95
|
+
static get(name, id, state, opts) {
|
|
96
|
+
return new BuildWebhook(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Returns true if the given object is an instance of BuildWebhook. This is designed to work even
|
|
100
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
101
|
+
*/
|
|
102
|
+
static isInstance(obj) {
|
|
103
|
+
if (obj === undefined || obj === null) {
|
|
104
|
+
return false;
|
|
105
|
+
}
|
|
106
|
+
return obj['__pulumiType'] === BuildWebhook.__pulumiType;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.BuildWebhook = BuildWebhook;
|
|
110
|
+
/** @internal */
|
|
111
|
+
BuildWebhook.__pulumiType = 'artifactory:index/buildWebhook:BuildWebhook';
|
|
112
|
+
//# sourceMappingURL=buildWebhook.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildWebhook.js","sourceRoot":"","sources":["../buildWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IAyEnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,aAAa,CAAC,GAAG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,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;IAhHD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAkHC;AApGG,gBAAgB;AACO,yBAAY,GAAG,6CAA6C,CAAC"}
|
package/debianRepository.d.ts
CHANGED
|
@@ -88,6 +88,15 @@ export declare class DebianRepository extends pulumi.CustomResource {
|
|
|
88
88
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
89
89
|
*/
|
|
90
90
|
readonly priorityResolution: pulumi.Output<boolean | undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
93
|
+
*/
|
|
94
|
+
readonly projectEnvironments: pulumi.Output<string[] | undefined>;
|
|
95
|
+
/**
|
|
96
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
97
|
+
* with project key, separated by a dash.
|
|
98
|
+
*/
|
|
99
|
+
readonly projectKey: pulumi.Output<string | undefined>;
|
|
91
100
|
readonly propertySets: pulumi.Output<string[] | undefined>;
|
|
92
101
|
readonly repoLayoutRef: pulumi.Output<string>;
|
|
93
102
|
/**
|
|
@@ -143,6 +152,15 @@ export interface DebianRepositoryState {
|
|
|
143
152
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
144
153
|
*/
|
|
145
154
|
priorityResolution?: pulumi.Input<boolean>;
|
|
155
|
+
/**
|
|
156
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
157
|
+
*/
|
|
158
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
159
|
+
/**
|
|
160
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
161
|
+
* with project key, separated by a dash.
|
|
162
|
+
*/
|
|
163
|
+
projectKey?: pulumi.Input<string>;
|
|
146
164
|
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
147
165
|
repoLayoutRef?: pulumi.Input<string>;
|
|
148
166
|
/**
|
|
@@ -189,6 +207,15 @@ export interface DebianRepositoryArgs {
|
|
|
189
207
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
190
208
|
*/
|
|
191
209
|
priorityResolution?: pulumi.Input<boolean>;
|
|
210
|
+
/**
|
|
211
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
212
|
+
*/
|
|
213
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
214
|
+
/**
|
|
215
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
216
|
+
* with project key, separated by a dash.
|
|
217
|
+
*/
|
|
218
|
+
projectKey?: pulumi.Input<string>;
|
|
192
219
|
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
193
220
|
repoLayoutRef?: pulumi.Input<string>;
|
|
194
221
|
/**
|
package/debianRepository.js
CHANGED
|
@@ -67,6 +67,8 @@ class DebianRepository extends pulumi.CustomResource {
|
|
|
67
67
|
resourceInputs["packageType"] = state ? state.packageType : undefined;
|
|
68
68
|
resourceInputs["primaryKeypairRef"] = state ? state.primaryKeypairRef : undefined;
|
|
69
69
|
resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined;
|
|
70
|
+
resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined;
|
|
71
|
+
resourceInputs["projectKey"] = state ? state.projectKey : undefined;
|
|
70
72
|
resourceInputs["propertySets"] = state ? state.propertySets : undefined;
|
|
71
73
|
resourceInputs["repoLayoutRef"] = state ? state.repoLayoutRef : undefined;
|
|
72
74
|
resourceInputs["secondaryKeypairRef"] = state ? state.secondaryKeypairRef : undefined;
|
|
@@ -89,6 +91,8 @@ class DebianRepository extends pulumi.CustomResource {
|
|
|
89
91
|
resourceInputs["notes"] = args ? args.notes : undefined;
|
|
90
92
|
resourceInputs["primaryKeypairRef"] = args ? args.primaryKeypairRef : undefined;
|
|
91
93
|
resourceInputs["priorityResolution"] = args ? args.priorityResolution : undefined;
|
|
94
|
+
resourceInputs["projectEnvironments"] = args ? args.projectEnvironments : undefined;
|
|
95
|
+
resourceInputs["projectKey"] = args ? args.projectKey : undefined;
|
|
92
96
|
resourceInputs["propertySets"] = args ? args.propertySets : undefined;
|
|
93
97
|
resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined;
|
|
94
98
|
resourceInputs["secondaryKeypairRef"] = args ? args.secondaryKeypairRef : undefined;
|
package/debianRepository.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debianRepository.js","sourceRoot":"","sources":["../debianRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"debianRepository.js","sourceRoot":"","sources":["../debianRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CA4IC;AA9HG,gBAAgB;AACO,6BAAY,GAAG,qDAAqD,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 Distribution 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 distribution_webhook = new artifactory.DistributionWebhook("distribution-webhook", {
|
|
16
|
+
* criteria: {
|
|
17
|
+
* anyReleaseBundle: false,
|
|
18
|
+
* excludePatterns: ["bar/**"],
|
|
19
|
+
* includePatterns: ["foo/**"],
|
|
20
|
+
* registeredReleaseBundleNames: ["bundle-name"],
|
|
21
|
+
* },
|
|
22
|
+
* customHttpHeaders: {
|
|
23
|
+
* "header-1": "value-1",
|
|
24
|
+
* "header-2": "value-2",
|
|
25
|
+
* },
|
|
26
|
+
* eventTypes: [
|
|
27
|
+
* "distribute_started",
|
|
28
|
+
* "distribute_completed",
|
|
29
|
+
* "distribute_aborted",
|
|
30
|
+
* "distribute_failed",
|
|
31
|
+
* "delete_started",
|
|
32
|
+
* "delete_completed",
|
|
33
|
+
* "delete_failed",
|
|
34
|
+
* ],
|
|
35
|
+
* key: "distribution-webhook",
|
|
36
|
+
* proxy: "proxy-key",
|
|
37
|
+
* secret: "some-secret",
|
|
38
|
+
* url: "http://tempurl.org/webhook",
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export declare class DistributionWebhook extends pulumi.CustomResource {
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing DistributionWebhook 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?: DistributionWebhookState, opts?: pulumi.CustomResourceOptions): DistributionWebhook;
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of DistributionWebhook. 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 DistributionWebhook;
|
|
58
|
+
/**
|
|
59
|
+
* Specifies where the webhook will be applied on which repositories.
|
|
60
|
+
*/
|
|
61
|
+
readonly criteria: pulumi.Output<outputs.DistributionWebhookCriteria>;
|
|
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: "distributeStarted", "distributeCompleted", "distributeAborted", "distributeFailed", "deleteStarted", "deleteCompleted", "deleteFailed"
|
|
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 DistributionWebhook 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: DistributionWebhookArgs, opts?: pulumi.CustomResourceOptions);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Input properties used for looking up and filtering DistributionWebhook resources.
|
|
107
|
+
*/
|
|
108
|
+
export interface DistributionWebhookState {
|
|
109
|
+
/**
|
|
110
|
+
* Specifies where the webhook will be applied on which repositories.
|
|
111
|
+
*/
|
|
112
|
+
criteria?: pulumi.Input<inputs.DistributionWebhookCriteria>;
|
|
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: "distributeStarted", "distributeCompleted", "distributeAborted", "distributeFailed", "deleteStarted", "deleteCompleted", "deleteFailed"
|
|
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 DistributionWebhook resource.
|
|
150
|
+
*/
|
|
151
|
+
export interface DistributionWebhookArgs {
|
|
152
|
+
/**
|
|
153
|
+
* Specifies where the webhook will be applied on which repositories.
|
|
154
|
+
*/
|
|
155
|
+
criteria: pulumi.Input<inputs.DistributionWebhookCriteria>;
|
|
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: "distributeStarted", "distributeCompleted", "distributeAborted", "distributeFailed", "deleteStarted", "deleteCompleted", "deleteFailed"
|
|
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
|
+
}
|
|
@@ -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.DistributionWebhook = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## # Artifactory Distribution 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 distribution_webhook = new artifactory.DistributionWebhook("distribution-webhook", {
|
|
21
|
+
* criteria: {
|
|
22
|
+
* anyReleaseBundle: false,
|
|
23
|
+
* excludePatterns: ["bar/**"],
|
|
24
|
+
* includePatterns: ["foo/**"],
|
|
25
|
+
* registeredReleaseBundleNames: ["bundle-name"],
|
|
26
|
+
* },
|
|
27
|
+
* customHttpHeaders: {
|
|
28
|
+
* "header-1": "value-1",
|
|
29
|
+
* "header-2": "value-2",
|
|
30
|
+
* },
|
|
31
|
+
* eventTypes: [
|
|
32
|
+
* "distribute_started",
|
|
33
|
+
* "distribute_completed",
|
|
34
|
+
* "distribute_aborted",
|
|
35
|
+
* "distribute_failed",
|
|
36
|
+
* "delete_started",
|
|
37
|
+
* "delete_completed",
|
|
38
|
+
* "delete_failed",
|
|
39
|
+
* ],
|
|
40
|
+
* key: "distribution-webhook",
|
|
41
|
+
* proxy: "proxy-key",
|
|
42
|
+
* secret: "some-secret",
|
|
43
|
+
* url: "http://tempurl.org/webhook",
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
class DistributionWebhook 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(DistributionWebhook.__pulumiType, name, resourceInputs, opts);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Get an existing DistributionWebhook 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 DistributionWebhook(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Returns true if the given object is an instance of DistributionWebhook. 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'] === DistributionWebhook.__pulumiType;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
exports.DistributionWebhook = DistributionWebhook;
|
|
114
|
+
/** @internal */
|
|
115
|
+
DistributionWebhook.__pulumiType = 'artifactory:index/distributionWebhook:DistributionWebhook';
|
|
116
|
+
//# sourceMappingURL=distributionWebhook.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"distributionWebhook.js","sourceRoot":"","sources":["../distributionWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCA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"}
|
package/dockerV1Repository.d.ts
CHANGED
|
@@ -66,6 +66,15 @@ export declare class DockerV1Repository extends pulumi.CustomResource {
|
|
|
66
66
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
67
67
|
*/
|
|
68
68
|
readonly priorityResolution: pulumi.Output<boolean | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
71
|
+
*/
|
|
72
|
+
readonly projectEnvironments: pulumi.Output<string[] | undefined>;
|
|
73
|
+
/**
|
|
74
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
75
|
+
* with project key, separated by a dash.
|
|
76
|
+
*/
|
|
77
|
+
readonly projectKey: pulumi.Output<string | undefined>;
|
|
69
78
|
readonly propertySets: pulumi.Output<string[] | undefined>;
|
|
70
79
|
readonly repoLayoutRef: pulumi.Output<string>;
|
|
71
80
|
/**
|
|
@@ -122,6 +131,15 @@ export interface DockerV1RepositoryState {
|
|
|
122
131
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
123
132
|
*/
|
|
124
133
|
priorityResolution?: pulumi.Input<boolean>;
|
|
134
|
+
/**
|
|
135
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
136
|
+
*/
|
|
137
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
138
|
+
/**
|
|
139
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
140
|
+
* with project key, separated by a dash.
|
|
141
|
+
*/
|
|
142
|
+
projectKey?: pulumi.Input<string>;
|
|
125
143
|
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
126
144
|
repoLayoutRef?: pulumi.Input<string>;
|
|
127
145
|
/**
|
|
@@ -161,6 +179,15 @@ export interface DockerV1RepositoryArgs {
|
|
|
161
179
|
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
162
180
|
*/
|
|
163
181
|
priorityResolution?: pulumi.Input<boolean>;
|
|
182
|
+
/**
|
|
183
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
184
|
+
*/
|
|
185
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
186
|
+
/**
|
|
187
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
188
|
+
* with project key, separated by a dash.
|
|
189
|
+
*/
|
|
190
|
+
projectKey?: pulumi.Input<string>;
|
|
164
191
|
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
165
192
|
repoLayoutRef?: pulumi.Input<string>;
|
|
166
193
|
xrayIndex?: pulumi.Input<boolean>;
|
package/dockerV1Repository.js
CHANGED
|
@@ -40,6 +40,8 @@ class DockerV1Repository extends pulumi.CustomResource {
|
|
|
40
40
|
resourceInputs["notes"] = state ? state.notes : undefined;
|
|
41
41
|
resourceInputs["packageType"] = state ? state.packageType : undefined;
|
|
42
42
|
resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined;
|
|
43
|
+
resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined;
|
|
44
|
+
resourceInputs["projectKey"] = state ? state.projectKey : undefined;
|
|
43
45
|
resourceInputs["propertySets"] = state ? state.propertySets : undefined;
|
|
44
46
|
resourceInputs["repoLayoutRef"] = state ? state.repoLayoutRef : undefined;
|
|
45
47
|
resourceInputs["tagRetention"] = state ? state.tagRetention : undefined;
|
|
@@ -60,6 +62,8 @@ class DockerV1Repository extends pulumi.CustomResource {
|
|
|
60
62
|
resourceInputs["maxUniqueTags"] = args ? args.maxUniqueTags : undefined;
|
|
61
63
|
resourceInputs["notes"] = args ? args.notes : undefined;
|
|
62
64
|
resourceInputs["priorityResolution"] = args ? args.priorityResolution : undefined;
|
|
65
|
+
resourceInputs["projectEnvironments"] = args ? args.projectEnvironments : undefined;
|
|
66
|
+
resourceInputs["projectKey"] = args ? args.projectKey : undefined;
|
|
63
67
|
resourceInputs["propertySets"] = args ? args.propertySets : undefined;
|
|
64
68
|
resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined;
|
|
65
69
|
resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dockerV1Repository.js","sourceRoot":"","sources":["../dockerV1Repository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"dockerV1Repository.js","sourceRoot":"","sources":["../dockerV1Repository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IAyFzD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,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,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,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