@pulumi/artifactory 2.2.0 → 2.3.1

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.
@@ -0,0 +1,160 @@
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.RemoteTerraformRepository = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as artifactory from "@pulumi/artifactory";
14
+ *
15
+ * const terraform_remote = new artifactory.RemoteTerraformRepository("terraform-remote", {
16
+ * key: "terraform-remote",
17
+ * terraformProvidersUrl: "https://releases.hashicorp.com",
18
+ * terraformRegistryUrl: "https://registry.terraform.io",
19
+ * url: "https://github.com/",
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * Remote repositories can be imported using their name, e.g.
26
+ *
27
+ * ```sh
28
+ * $ pulumi import artifactory:index/remoteTerraformRepository:RemoteTerraformRepository terraform-remote terraform-remote
29
+ * ```
30
+ */
31
+ class RemoteTerraformRepository extends pulumi.CustomResource {
32
+ constructor(name, argsOrState, opts) {
33
+ let resourceInputs = {};
34
+ opts = opts || {};
35
+ if (opts.id) {
36
+ const state = argsOrState;
37
+ resourceInputs["allowAnyHostAuth"] = state ? state.allowAnyHostAuth : undefined;
38
+ resourceInputs["assumedOfflinePeriodSecs"] = state ? state.assumedOfflinePeriodSecs : undefined;
39
+ resourceInputs["blackedOut"] = state ? state.blackedOut : undefined;
40
+ resourceInputs["blockMismatchingMimeTypes"] = state ? state.blockMismatchingMimeTypes : undefined;
41
+ resourceInputs["bypassHeadRequests"] = state ? state.bypassHeadRequests : undefined;
42
+ resourceInputs["clientTlsCertificate"] = state ? state.clientTlsCertificate : undefined;
43
+ resourceInputs["contentSynchronisation"] = state ? state.contentSynchronisation : undefined;
44
+ resourceInputs["description"] = state ? state.description : undefined;
45
+ resourceInputs["enableCookieManagement"] = state ? state.enableCookieManagement : undefined;
46
+ resourceInputs["excludesPattern"] = state ? state.excludesPattern : undefined;
47
+ resourceInputs["failedRetrievalCachePeriodSecs"] = state ? state.failedRetrievalCachePeriodSecs : undefined;
48
+ resourceInputs["hardFail"] = state ? state.hardFail : undefined;
49
+ resourceInputs["includesPattern"] = state ? state.includesPattern : undefined;
50
+ resourceInputs["key"] = state ? state.key : undefined;
51
+ resourceInputs["listRemoteFolderItems"] = state ? state.listRemoteFolderItems : undefined;
52
+ resourceInputs["localAddress"] = state ? state.localAddress : undefined;
53
+ resourceInputs["mismatchingMimeTypesOverrideList"] = state ? state.mismatchingMimeTypesOverrideList : undefined;
54
+ resourceInputs["missedCachePeriodSeconds"] = state ? state.missedCachePeriodSeconds : undefined;
55
+ resourceInputs["notes"] = state ? state.notes : undefined;
56
+ resourceInputs["offline"] = state ? state.offline : undefined;
57
+ resourceInputs["packageType"] = state ? state.packageType : undefined;
58
+ resourceInputs["password"] = state ? state.password : undefined;
59
+ resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined;
60
+ resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined;
61
+ resourceInputs["projectKey"] = state ? state.projectKey : undefined;
62
+ resourceInputs["propagateQueryParams"] = state ? state.propagateQueryParams : undefined;
63
+ resourceInputs["propertySets"] = state ? state.propertySets : undefined;
64
+ resourceInputs["proxy"] = state ? state.proxy : undefined;
65
+ resourceInputs["remoteRepoLayoutRef"] = state ? state.remoteRepoLayoutRef : undefined;
66
+ resourceInputs["repoLayoutRef"] = state ? state.repoLayoutRef : undefined;
67
+ resourceInputs["retrievalCachePeriodSeconds"] = state ? state.retrievalCachePeriodSeconds : undefined;
68
+ resourceInputs["shareConfiguration"] = state ? state.shareConfiguration : undefined;
69
+ resourceInputs["socketTimeoutMillis"] = state ? state.socketTimeoutMillis : undefined;
70
+ resourceInputs["storeArtifactsLocally"] = state ? state.storeArtifactsLocally : undefined;
71
+ resourceInputs["synchronizeProperties"] = state ? state.synchronizeProperties : undefined;
72
+ resourceInputs["terraformProvidersUrl"] = state ? state.terraformProvidersUrl : undefined;
73
+ resourceInputs["terraformRegistryUrl"] = state ? state.terraformRegistryUrl : undefined;
74
+ resourceInputs["unusedArtifactsCleanupPeriodEnabled"] = state ? state.unusedArtifactsCleanupPeriodEnabled : undefined;
75
+ resourceInputs["unusedArtifactsCleanupPeriodHours"] = state ? state.unusedArtifactsCleanupPeriodHours : undefined;
76
+ resourceInputs["url"] = state ? state.url : undefined;
77
+ resourceInputs["username"] = state ? state.username : undefined;
78
+ resourceInputs["xrayIndex"] = state ? state.xrayIndex : undefined;
79
+ }
80
+ else {
81
+ const args = argsOrState;
82
+ if ((!args || args.key === undefined) && !opts.urn) {
83
+ throw new Error("Missing required property 'key'");
84
+ }
85
+ if ((!args || args.url === undefined) && !opts.urn) {
86
+ throw new Error("Missing required property 'url'");
87
+ }
88
+ resourceInputs["allowAnyHostAuth"] = args ? args.allowAnyHostAuth : undefined;
89
+ resourceInputs["assumedOfflinePeriodSecs"] = args ? args.assumedOfflinePeriodSecs : undefined;
90
+ resourceInputs["blackedOut"] = args ? args.blackedOut : undefined;
91
+ resourceInputs["blockMismatchingMimeTypes"] = args ? args.blockMismatchingMimeTypes : undefined;
92
+ resourceInputs["bypassHeadRequests"] = args ? args.bypassHeadRequests : undefined;
93
+ resourceInputs["clientTlsCertificate"] = args ? args.clientTlsCertificate : undefined;
94
+ resourceInputs["contentSynchronisation"] = args ? args.contentSynchronisation : undefined;
95
+ resourceInputs["description"] = args ? args.description : undefined;
96
+ resourceInputs["enableCookieManagement"] = args ? args.enableCookieManagement : undefined;
97
+ resourceInputs["excludesPattern"] = args ? args.excludesPattern : undefined;
98
+ resourceInputs["hardFail"] = args ? args.hardFail : undefined;
99
+ resourceInputs["includesPattern"] = args ? args.includesPattern : undefined;
100
+ resourceInputs["key"] = args ? args.key : undefined;
101
+ resourceInputs["listRemoteFolderItems"] = args ? args.listRemoteFolderItems : undefined;
102
+ resourceInputs["localAddress"] = args ? args.localAddress : undefined;
103
+ resourceInputs["mismatchingMimeTypesOverrideList"] = args ? args.mismatchingMimeTypesOverrideList : undefined;
104
+ resourceInputs["missedCachePeriodSeconds"] = args ? args.missedCachePeriodSeconds : undefined;
105
+ resourceInputs["notes"] = args ? args.notes : undefined;
106
+ resourceInputs["offline"] = args ? args.offline : undefined;
107
+ resourceInputs["password"] = args ? args.password : undefined;
108
+ resourceInputs["priorityResolution"] = args ? args.priorityResolution : undefined;
109
+ resourceInputs["projectEnvironments"] = args ? args.projectEnvironments : undefined;
110
+ resourceInputs["projectKey"] = args ? args.projectKey : undefined;
111
+ resourceInputs["propagateQueryParams"] = args ? args.propagateQueryParams : undefined;
112
+ resourceInputs["propertySets"] = args ? args.propertySets : undefined;
113
+ resourceInputs["proxy"] = args ? args.proxy : undefined;
114
+ resourceInputs["remoteRepoLayoutRef"] = args ? args.remoteRepoLayoutRef : undefined;
115
+ resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined;
116
+ resourceInputs["retrievalCachePeriodSeconds"] = args ? args.retrievalCachePeriodSeconds : undefined;
117
+ resourceInputs["shareConfiguration"] = args ? args.shareConfiguration : undefined;
118
+ resourceInputs["socketTimeoutMillis"] = args ? args.socketTimeoutMillis : undefined;
119
+ resourceInputs["storeArtifactsLocally"] = args ? args.storeArtifactsLocally : undefined;
120
+ resourceInputs["synchronizeProperties"] = args ? args.synchronizeProperties : undefined;
121
+ resourceInputs["terraformProvidersUrl"] = args ? args.terraformProvidersUrl : undefined;
122
+ resourceInputs["terraformRegistryUrl"] = args ? args.terraformRegistryUrl : undefined;
123
+ resourceInputs["unusedArtifactsCleanupPeriodEnabled"] = args ? args.unusedArtifactsCleanupPeriodEnabled : undefined;
124
+ resourceInputs["unusedArtifactsCleanupPeriodHours"] = args ? args.unusedArtifactsCleanupPeriodHours : undefined;
125
+ resourceInputs["url"] = args ? args.url : undefined;
126
+ resourceInputs["username"] = args ? args.username : undefined;
127
+ resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined;
128
+ resourceInputs["failedRetrievalCachePeriodSecs"] = undefined /*out*/;
129
+ resourceInputs["packageType"] = undefined /*out*/;
130
+ }
131
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
132
+ super(RemoteTerraformRepository.__pulumiType, name, resourceInputs, opts);
133
+ }
134
+ /**
135
+ * Get an existing RemoteTerraformRepository resource's state with the given name, ID, and optional extra
136
+ * properties used to qualify the lookup.
137
+ *
138
+ * @param name The _unique_ name of the resulting resource.
139
+ * @param id The _unique_ provider ID of the resource to lookup.
140
+ * @param state Any extra arguments used during the lookup.
141
+ * @param opts Optional settings to control the behavior of the CustomResource.
142
+ */
143
+ static get(name, id, state, opts) {
144
+ return new RemoteTerraformRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
145
+ }
146
+ /**
147
+ * Returns true if the given object is an instance of RemoteTerraformRepository. This is designed to work even
148
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
149
+ */
150
+ static isInstance(obj) {
151
+ if (obj === undefined || obj === null) {
152
+ return false;
153
+ }
154
+ return obj['__pulumiType'] === RemoteTerraformRepository.__pulumiType;
155
+ }
156
+ }
157
+ exports.RemoteTerraformRepository = RemoteTerraformRepository;
158
+ /** @internal */
159
+ RemoteTerraformRepository.__pulumiType = 'artifactory:index/remoteTerraformRepository:RemoteTerraformRepository';
160
+ //# sourceMappingURL=remoteTerraformRepository.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remoteTerraformRepository.js","sourceRoot":"","sources":["../remoteTerraformRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,yBAA0B,S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,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;IA7SD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;;AA1BL,8DA+SC;AAjSG,gBAAgB;AACO,sCAAY,GAAG,uEAAuE,CAAC"}
package/types/input.d.ts CHANGED
@@ -529,6 +529,28 @@ export interface FederatedSbtRepositoryMember {
529
529
  */
530
530
  url: pulumi.Input<string>;
531
531
  }
532
+ export interface FederatedTerraformModuleRepositoryMember {
533
+ /**
534
+ * Represents the active state of the federated member. It is supported to change the enabled
535
+ * status of my own member. The config will be updated on the other federated members automatically.
536
+ */
537
+ enabled: pulumi.Input<boolean>;
538
+ /**
539
+ * Full URL to ending with the repository name.
540
+ */
541
+ url: pulumi.Input<string>;
542
+ }
543
+ export interface FederatedTerraformProviderRepositoryMember {
544
+ /**
545
+ * Represents the active state of the federated member. It is supported to change the enabled
546
+ * status of my own member. The config will be updated on the other federated members automatically.
547
+ */
548
+ enabled: pulumi.Input<boolean>;
549
+ /**
550
+ * Full URL to ending with the repository name.
551
+ */
552
+ url: pulumi.Input<string>;
553
+ }
532
554
  export interface FederatedVagrantRepositoryMember {
533
555
  /**
534
556
  * Represents the active state of the federated member. It is supported to change the enabled
@@ -1080,6 +1102,12 @@ export interface RemoteSbtRepositoryContentSynchronisation {
1080
1102
  sourceOriginAbsenceDetection?: pulumi.Input<boolean>;
1081
1103
  statisticsEnabled?: pulumi.Input<boolean>;
1082
1104
  }
1105
+ export interface RemoteTerraformRepositoryContentSynchronisation {
1106
+ enabled?: pulumi.Input<boolean>;
1107
+ propertiesEnabled?: pulumi.Input<boolean>;
1108
+ sourceOriginAbsenceDetection?: pulumi.Input<boolean>;
1109
+ statisticsEnabled?: pulumi.Input<boolean>;
1110
+ }
1083
1111
  export interface RemoteVcsRepositoryContentSynchronisation {
1084
1112
  enabled?: pulumi.Input<boolean>;
1085
1113
  propertiesEnabled?: pulumi.Input<boolean>;
package/types/output.d.ts CHANGED
@@ -528,6 +528,28 @@ export interface FederatedSbtRepositoryMember {
528
528
  */
529
529
  url: string;
530
530
  }
531
+ export interface FederatedTerraformModuleRepositoryMember {
532
+ /**
533
+ * Represents the active state of the federated member. It is supported to change the enabled
534
+ * status of my own member. The config will be updated on the other federated members automatically.
535
+ */
536
+ enabled: boolean;
537
+ /**
538
+ * Full URL to ending with the repository name.
539
+ */
540
+ url: string;
541
+ }
542
+ export interface FederatedTerraformProviderRepositoryMember {
543
+ /**
544
+ * Represents the active state of the federated member. It is supported to change the enabled
545
+ * status of my own member. The config will be updated on the other federated members automatically.
546
+ */
547
+ enabled: boolean;
548
+ /**
549
+ * Full URL to ending with the repository name.
550
+ */
551
+ url: string;
552
+ }
531
553
  export interface FederatedVagrantRepositoryMember {
532
554
  /**
533
555
  * Represents the active state of the federated member. It is supported to change the enabled
@@ -1079,6 +1101,12 @@ export interface RemoteSbtRepositoryContentSynchronisation {
1079
1101
  sourceOriginAbsenceDetection?: boolean;
1080
1102
  statisticsEnabled?: boolean;
1081
1103
  }
1104
+ export interface RemoteTerraformRepositoryContentSynchronisation {
1105
+ enabled?: boolean;
1106
+ propertiesEnabled?: boolean;
1107
+ sourceOriginAbsenceDetection?: boolean;
1108
+ statisticsEnabled?: boolean;
1109
+ }
1082
1110
  export interface RemoteVcsRepositoryContentSynchronisation {
1083
1111
  enabled?: boolean;
1084
1112
  propertiesEnabled?: boolean;
@@ -62,6 +62,19 @@ export declare class VirtualNpmRepository extends pulumi.CustomResource {
62
62
  * artifacts are excluded.
63
63
  */
64
64
  readonly excludesPattern: pulumi.Output<string | undefined>;
65
+ /**
66
+ * When set, external dependencies are rewritten. Default value is false.
67
+ */
68
+ readonly externalDependenciesEnabled: pulumi.Output<boolean | undefined>;
69
+ /**
70
+ * An Allow List of Ant-style path expressions that specify where external dependencies may be downloaded from. By default,
71
+ * this is set to ** which means that dependencies may be downloaded from any external source.
72
+ */
73
+ readonly externalDependenciesPatterns: pulumi.Output<string[] | undefined>;
74
+ /**
75
+ * The remote repository aggregated by this virtual repository in which the external dependency will be cached.
76
+ */
77
+ readonly externalDependenciesRemoteRepo: pulumi.Output<string | undefined>;
65
78
  /**
66
79
  * List of artifact patterns to include when evaluating artifact requests in the form of x/y/**&#47;z/*. When used, only
67
80
  * artifacts matching one of the include patterns are served. By default, all artifacts are included (**&#47;*).
@@ -134,6 +147,19 @@ export interface VirtualNpmRepositoryState {
134
147
  * artifacts are excluded.
135
148
  */
136
149
  excludesPattern?: pulumi.Input<string>;
150
+ /**
151
+ * When set, external dependencies are rewritten. Default value is false.
152
+ */
153
+ externalDependenciesEnabled?: pulumi.Input<boolean>;
154
+ /**
155
+ * An Allow List of Ant-style path expressions that specify where external dependencies may be downloaded from. By default,
156
+ * this is set to ** which means that dependencies may be downloaded from any external source.
157
+ */
158
+ externalDependenciesPatterns?: pulumi.Input<pulumi.Input<string>[]>;
159
+ /**
160
+ * The remote repository aggregated by this virtual repository in which the external dependency will be cached.
161
+ */
162
+ externalDependenciesRemoteRepo?: pulumi.Input<string>;
137
163
  /**
138
164
  * List of artifact patterns to include when evaluating artifact requests in the form of x/y/**&#47;z/*. When used, only
139
165
  * artifacts matching one of the include patterns are served. By default, all artifacts are included (**&#47;*).
@@ -198,6 +224,19 @@ export interface VirtualNpmRepositoryArgs {
198
224
  * artifacts are excluded.
199
225
  */
200
226
  excludesPattern?: pulumi.Input<string>;
227
+ /**
228
+ * When set, external dependencies are rewritten. Default value is false.
229
+ */
230
+ externalDependenciesEnabled?: pulumi.Input<boolean>;
231
+ /**
232
+ * An Allow List of Ant-style path expressions that specify where external dependencies may be downloaded from. By default,
233
+ * this is set to ** which means that dependencies may be downloaded from any external source.
234
+ */
235
+ externalDependenciesPatterns?: pulumi.Input<pulumi.Input<string>[]>;
236
+ /**
237
+ * The remote repository aggregated by this virtual repository in which the external dependency will be cached.
238
+ */
239
+ externalDependenciesRemoteRepo?: pulumi.Input<string>;
201
240
  /**
202
241
  * List of artifact patterns to include when evaluating artifact requests in the form of x/y/**&#47;z/*. When used, only
203
242
  * artifacts matching one of the include patterns are served. By default, all artifacts are included (**&#47;*).
@@ -43,6 +43,9 @@ class VirtualNpmRepository extends pulumi.CustomResource {
43
43
  resourceInputs["defaultDeploymentRepo"] = state ? state.defaultDeploymentRepo : undefined;
44
44
  resourceInputs["description"] = state ? state.description : undefined;
45
45
  resourceInputs["excludesPattern"] = state ? state.excludesPattern : undefined;
46
+ resourceInputs["externalDependenciesEnabled"] = state ? state.externalDependenciesEnabled : undefined;
47
+ resourceInputs["externalDependenciesPatterns"] = state ? state.externalDependenciesPatterns : undefined;
48
+ resourceInputs["externalDependenciesRemoteRepo"] = state ? state.externalDependenciesRemoteRepo : undefined;
46
49
  resourceInputs["includesPattern"] = state ? state.includesPattern : undefined;
47
50
  resourceInputs["key"] = state ? state.key : undefined;
48
51
  resourceInputs["notes"] = state ? state.notes : undefined;
@@ -62,6 +65,9 @@ class VirtualNpmRepository extends pulumi.CustomResource {
62
65
  resourceInputs["defaultDeploymentRepo"] = args ? args.defaultDeploymentRepo : undefined;
63
66
  resourceInputs["description"] = args ? args.description : undefined;
64
67
  resourceInputs["excludesPattern"] = args ? args.excludesPattern : undefined;
68
+ resourceInputs["externalDependenciesEnabled"] = args ? args.externalDependenciesEnabled : undefined;
69
+ resourceInputs["externalDependenciesPatterns"] = args ? args.externalDependenciesPatterns : undefined;
70
+ resourceInputs["externalDependenciesRemoteRepo"] = args ? args.externalDependenciesRemoteRepo : undefined;
65
71
  resourceInputs["includesPattern"] = args ? args.includesPattern : undefined;
66
72
  resourceInputs["key"] = args ? args.key : undefined;
67
73
  resourceInputs["notes"] = args ? args.notes : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"virtualNpmRepository.js","sourceRoot":"","sources":["../virtualNpmRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAgG3D,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,cAAc,CAAC,+CAA+C,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,6CAA6C,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1I,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,C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G,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;IAzJD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;;AA1BL,oDA2JC;AA7IG,gBAAgB;AACO,iCAAY,GAAG,6DAA6D,CAAC"}
@@ -0,0 +1,234 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * ```typescript
6
+ * import * as pulumi from "@pulumi/pulumi";
7
+ * import * as artifactory from "@pulumi/artifactory";
8
+ *
9
+ * const terraform_virtual = new artifactory.VirtualTerraformRepository("terraform-virtual", {
10
+ * description: "A test virtual repo",
11
+ * excludesPattern: "com/google/**",
12
+ * includesPattern: "com/jfrog/**,cloud/jfrog/**",
13
+ * key: "terraform-remote",
14
+ * notes: "Internal description",
15
+ * repositories: [],
16
+ * });
17
+ * ```
18
+ *
19
+ * ## Import
20
+ *
21
+ * Virtual repositories can be imported using their name, e.g.
22
+ *
23
+ * ```sh
24
+ * $ pulumi import artifactory:index/virtualTerraformRepository:VirtualTerraformRepository terraform-virtual terraform-remote
25
+ * ```
26
+ */
27
+ export declare class VirtualTerraformRepository extends pulumi.CustomResource {
28
+ /**
29
+ * Get an existing VirtualTerraformRepository resource's state with the given name, ID, and optional extra
30
+ * properties used to qualify the lookup.
31
+ *
32
+ * @param name The _unique_ name of the resulting resource.
33
+ * @param id The _unique_ provider ID of the resource to lookup.
34
+ * @param state Any extra arguments used during the lookup.
35
+ * @param opts Optional settings to control the behavior of the CustomResource.
36
+ */
37
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VirtualTerraformRepositoryState, opts?: pulumi.CustomResourceOptions): VirtualTerraformRepository;
38
+ /**
39
+ * Returns true if the given object is an instance of VirtualTerraformRepository. This is designed to work even
40
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
41
+ */
42
+ static isInstance(obj: any): obj is VirtualTerraformRepository;
43
+ /**
44
+ * Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by
45
+ * another Artifactory instance.
46
+ */
47
+ readonly artifactoryRequestsCanRetrieveRemoteArtifacts: pulumi.Output<boolean | undefined>;
48
+ /**
49
+ * Default repository to deploy artifacts.
50
+ */
51
+ readonly defaultDeploymentRepo: pulumi.Output<string | undefined>;
52
+ /**
53
+ * A free text field that describes the content and purpose of the repository. If you choose to insert a link into this
54
+ * field, clicking the link will prompt the user to confirm that they might be redirected to a new domain.
55
+ */
56
+ readonly description: pulumi.Output<string | undefined>;
57
+ /**
58
+ * List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**&#47;z/*.By default no
59
+ * artifacts are excluded.
60
+ */
61
+ readonly excludesPattern: pulumi.Output<string | undefined>;
62
+ /**
63
+ * List of artifact patterns to include when evaluating artifact requests in the form of x/y/**&#47;z/*. When used, only
64
+ * artifacts matching one of the include patterns are served. By default, all artifacts are included (**&#47;*).
65
+ */
66
+ readonly includesPattern: pulumi.Output<string | undefined>;
67
+ /**
68
+ * A mandatory identifier for the repository that must be unique. It cannot begin with a number or
69
+ * contain spaces or special characters.
70
+ */
71
+ readonly key: pulumi.Output<string>;
72
+ /**
73
+ * A free text field to add additional notes about the repository. These are only visible to the administrator.
74
+ */
75
+ readonly notes: pulumi.Output<string | undefined>;
76
+ /**
77
+ * The Package Type. This must be specified when the repository is created, and once set, cannot be changed.
78
+ */
79
+ readonly packageType: pulumi.Output<string>;
80
+ /**
81
+ * Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
82
+ */
83
+ readonly projectEnvironments: pulumi.Output<string[] | undefined>;
84
+ /**
85
+ * Project key for assigning this repository to. Must be 3 - 10 lowercase alphanumeric characters. When assigning
86
+ * repository to a project, repository key must be prefixed with project key, separated by a dash.
87
+ */
88
+ readonly projectKey: pulumi.Output<string | undefined>;
89
+ /**
90
+ * Repository layout key for the local repository
91
+ */
92
+ readonly repoLayoutRef: pulumi.Output<string | undefined>;
93
+ /**
94
+ * The effective list of actual repositories included in this virtual repository.
95
+ */
96
+ readonly repositories: pulumi.Output<string[] | undefined>;
97
+ /**
98
+ * This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated
99
+ * repositories. A value of 0 indicates no caching.
100
+ */
101
+ readonly retrievalCachePeriodSeconds: pulumi.Output<number | undefined>;
102
+ /**
103
+ * Create a VirtualTerraformRepository resource with the given unique name, arguments, and options.
104
+ *
105
+ * @param name The _unique_ name of the resource.
106
+ * @param args The arguments to use to populate this resource's properties.
107
+ * @param opts A bag of options that control this resource's behavior.
108
+ */
109
+ constructor(name: string, args: VirtualTerraformRepositoryArgs, opts?: pulumi.CustomResourceOptions);
110
+ }
111
+ /**
112
+ * Input properties used for looking up and filtering VirtualTerraformRepository resources.
113
+ */
114
+ export interface VirtualTerraformRepositoryState {
115
+ /**
116
+ * Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by
117
+ * another Artifactory instance.
118
+ */
119
+ artifactoryRequestsCanRetrieveRemoteArtifacts?: pulumi.Input<boolean>;
120
+ /**
121
+ * Default repository to deploy artifacts.
122
+ */
123
+ defaultDeploymentRepo?: pulumi.Input<string>;
124
+ /**
125
+ * A free text field that describes the content and purpose of the repository. If you choose to insert a link into this
126
+ * field, clicking the link will prompt the user to confirm that they might be redirected to a new domain.
127
+ */
128
+ description?: pulumi.Input<string>;
129
+ /**
130
+ * List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**&#47;z/*.By default no
131
+ * artifacts are excluded.
132
+ */
133
+ excludesPattern?: pulumi.Input<string>;
134
+ /**
135
+ * List of artifact patterns to include when evaluating artifact requests in the form of x/y/**&#47;z/*. When used, only
136
+ * artifacts matching one of the include patterns are served. By default, all artifacts are included (**&#47;*).
137
+ */
138
+ includesPattern?: pulumi.Input<string>;
139
+ /**
140
+ * A mandatory identifier for the repository that must be unique. It cannot begin with a number or
141
+ * contain spaces or special characters.
142
+ */
143
+ key?: pulumi.Input<string>;
144
+ /**
145
+ * A free text field to add additional notes about the repository. These are only visible to the administrator.
146
+ */
147
+ notes?: pulumi.Input<string>;
148
+ /**
149
+ * The Package Type. This must be specified when the repository is created, and once set, cannot be changed.
150
+ */
151
+ packageType?: pulumi.Input<string>;
152
+ /**
153
+ * Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
154
+ */
155
+ projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
156
+ /**
157
+ * Project key for assigning this repository to. Must be 3 - 10 lowercase alphanumeric characters. When assigning
158
+ * repository to a project, repository key must be prefixed with project key, separated by a dash.
159
+ */
160
+ projectKey?: pulumi.Input<string>;
161
+ /**
162
+ * Repository layout key for the local repository
163
+ */
164
+ repoLayoutRef?: pulumi.Input<string>;
165
+ /**
166
+ * The effective list of actual repositories included in this virtual repository.
167
+ */
168
+ repositories?: pulumi.Input<pulumi.Input<string>[]>;
169
+ /**
170
+ * This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated
171
+ * repositories. A value of 0 indicates no caching.
172
+ */
173
+ retrievalCachePeriodSeconds?: pulumi.Input<number>;
174
+ }
175
+ /**
176
+ * The set of arguments for constructing a VirtualTerraformRepository resource.
177
+ */
178
+ export interface VirtualTerraformRepositoryArgs {
179
+ /**
180
+ * Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by
181
+ * another Artifactory instance.
182
+ */
183
+ artifactoryRequestsCanRetrieveRemoteArtifacts?: pulumi.Input<boolean>;
184
+ /**
185
+ * Default repository to deploy artifacts.
186
+ */
187
+ defaultDeploymentRepo?: pulumi.Input<string>;
188
+ /**
189
+ * A free text field that describes the content and purpose of the repository. If you choose to insert a link into this
190
+ * field, clicking the link will prompt the user to confirm that they might be redirected to a new domain.
191
+ */
192
+ description?: pulumi.Input<string>;
193
+ /**
194
+ * List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**&#47;z/*.By default no
195
+ * artifacts are excluded.
196
+ */
197
+ excludesPattern?: pulumi.Input<string>;
198
+ /**
199
+ * List of artifact patterns to include when evaluating artifact requests in the form of x/y/**&#47;z/*. When used, only
200
+ * artifacts matching one of the include patterns are served. By default, all artifacts are included (**&#47;*).
201
+ */
202
+ includesPattern?: pulumi.Input<string>;
203
+ /**
204
+ * A mandatory identifier for the repository that must be unique. It cannot begin with a number or
205
+ * contain spaces or special characters.
206
+ */
207
+ key: pulumi.Input<string>;
208
+ /**
209
+ * A free text field to add additional notes about the repository. These are only visible to the administrator.
210
+ */
211
+ notes?: pulumi.Input<string>;
212
+ /**
213
+ * Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
214
+ */
215
+ projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
216
+ /**
217
+ * Project key for assigning this repository to. Must be 3 - 10 lowercase alphanumeric characters. When assigning
218
+ * repository to a project, repository key must be prefixed with project key, separated by a dash.
219
+ */
220
+ projectKey?: pulumi.Input<string>;
221
+ /**
222
+ * Repository layout key for the local repository
223
+ */
224
+ repoLayoutRef?: pulumi.Input<string>;
225
+ /**
226
+ * The effective list of actual repositories included in this virtual repository.
227
+ */
228
+ repositories?: pulumi.Input<pulumi.Input<string>[]>;
229
+ /**
230
+ * This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated
231
+ * repositories. A value of 0 indicates no caching.
232
+ */
233
+ retrievalCachePeriodSeconds?: pulumi.Input<number>;
234
+ }