@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.
- package/federatedTerraformModuleRepository.d.ts +263 -0
- package/federatedTerraformModuleRepository.js +117 -0
- package/federatedTerraformModuleRepository.js.map +1 -0
- package/federatedTerraformProviderRepository.d.ts +263 -0
- package/federatedTerraformProviderRepository.js +117 -0
- package/federatedTerraformProviderRepository.js.map +1 -0
- package/index.d.ts +7 -0
- package/index.js +35 -0
- package/index.js.map +1 -1
- package/localTerraformBackendRepository.d.ts +229 -0
- package/localTerraformBackendRepository.js +100 -0
- package/localTerraformBackendRepository.js.map +1 -0
- package/localTerraformModuleRepository.d.ts +229 -0
- package/localTerraformModuleRepository.js +100 -0
- package/localTerraformModuleRepository.js.map +1 -0
- package/localTerraformProviderRepository.d.ts +229 -0
- package/localTerraformProviderRepository.js +100 -0
- package/localTerraformProviderRepository.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/remoteTerraformRepository.d.ts +550 -0
- package/remoteTerraformRepository.js +160 -0
- package/remoteTerraformRepository.js.map +1 -0
- package/types/input.d.ts +28 -0
- package/types/output.d.ts +28 -0
- package/virtualNpmRepository.d.ts +39 -0
- package/virtualNpmRepository.js +6 -0
- package/virtualNpmRepository.js.map +1 -1
- package/virtualTerraformRepository.d.ts +234 -0
- package/virtualTerraformRepository.js +101 -0
- package/virtualTerraformRepository.js.map +1 -0
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* Creates a federated Generic repository.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
11
|
+
*
|
|
12
|
+
* const terraform_federated_test_terraform_module_repo = new artifactory.FederatedTerraformModuleRepository("terraform-federated-test-terraform_module-repo", {
|
|
13
|
+
* key: "terraform-federated-test-terraform-module-repo",
|
|
14
|
+
* members: [
|
|
15
|
+
* {
|
|
16
|
+
* enabled: true,
|
|
17
|
+
* url: "http://tempurl.org/artifactory/terraform-federated-test-terraform_module-repo",
|
|
18
|
+
* },
|
|
19
|
+
* {
|
|
20
|
+
* enabled: true,
|
|
21
|
+
* url: "http://tempurl2.org/artifactory/terraform-federated-test-terraform_module-repo-2",
|
|
22
|
+
* },
|
|
23
|
+
* ],
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* Federated repositories can be imported using their name, e.g.
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import artifactory:index/federatedTerraformModuleRepository:FederatedTerraformModuleRepository terraform-federated-test-terraform_module-repo terraform-federated-test-terraform-module-repo
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export declare class FederatedTerraformModuleRepository extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing FederatedTerraformModuleRepository resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param state Any extra arguments used during the lookup.
|
|
43
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
|
+
*/
|
|
45
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FederatedTerraformModuleRepositoryState, opts?: pulumi.CustomResourceOptions): FederatedTerraformModuleRepository;
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of FederatedTerraformModuleRepository. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj: any): obj is FederatedTerraformModuleRepository;
|
|
51
|
+
/**
|
|
52
|
+
* When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and
|
|
53
|
+
* therefore requires strict content moderation to prevent malicious users from uploading content that may compromise
|
|
54
|
+
* security (e.g., cross-site scripting attacks).
|
|
55
|
+
*/
|
|
56
|
+
readonly archiveBrowsingEnabled: pulumi.Output<boolean | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed.
|
|
59
|
+
*/
|
|
60
|
+
readonly blackedOut: pulumi.Output<boolean | undefined>;
|
|
61
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* When set, download requests to this repository will redirect the client to download the artifact directly from the cloud
|
|
64
|
+
* storage provider. Available in Enterprise+ and Edge licenses only.
|
|
65
|
+
*/
|
|
66
|
+
readonly downloadDirect: pulumi.Output<boolean | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no
|
|
69
|
+
* artifacts are excluded.
|
|
70
|
+
*/
|
|
71
|
+
readonly excludesPattern: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
74
|
+
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
75
|
+
*/
|
|
76
|
+
readonly includesPattern: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* the identity key of the repo.
|
|
79
|
+
*/
|
|
80
|
+
readonly key: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The list of Federated members and must contain this repository URL (configured base URL
|
|
83
|
+
* `/artifactory/` + repo `key`). Note that each of the federated members will need to have a base URL set.
|
|
84
|
+
* Please follow the [instruction](https://www.jfrog.com/confluence/display/JFROG/Working+with+Federated+Repositories#WorkingwithFederatedRepositories-SettingUpaFederatedRepository)
|
|
85
|
+
* to set up Federated repositories correctly.
|
|
86
|
+
*/
|
|
87
|
+
readonly members: pulumi.Output<outputs.FederatedTerraformModuleRepositoryMember[]>;
|
|
88
|
+
readonly notes: pulumi.Output<string | undefined>;
|
|
89
|
+
readonly packageType: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
92
|
+
*/
|
|
93
|
+
readonly priorityResolution: pulumi.Output<boolean | undefined>;
|
|
94
|
+
/**
|
|
95
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
96
|
+
*/
|
|
97
|
+
readonly projectEnvironments: pulumi.Output<string[] | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
100
|
+
* with project key, separated by a dash.
|
|
101
|
+
*/
|
|
102
|
+
readonly projectKey: pulumi.Output<string | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* List of property set name
|
|
105
|
+
*/
|
|
106
|
+
readonly propertySets: pulumi.Output<string[] | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* Repository layout key for the local repository
|
|
109
|
+
*/
|
|
110
|
+
readonly repoLayoutRef: pulumi.Output<string | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
|
|
113
|
+
* Xray settings.
|
|
114
|
+
*/
|
|
115
|
+
readonly xrayIndex: pulumi.Output<boolean | undefined>;
|
|
116
|
+
/**
|
|
117
|
+
* Create a FederatedTerraformModuleRepository resource with the given unique name, arguments, and options.
|
|
118
|
+
*
|
|
119
|
+
* @param name The _unique_ name of the resource.
|
|
120
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
121
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
122
|
+
*/
|
|
123
|
+
constructor(name: string, args: FederatedTerraformModuleRepositoryArgs, opts?: pulumi.CustomResourceOptions);
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Input properties used for looking up and filtering FederatedTerraformModuleRepository resources.
|
|
127
|
+
*/
|
|
128
|
+
export interface FederatedTerraformModuleRepositoryState {
|
|
129
|
+
/**
|
|
130
|
+
* When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and
|
|
131
|
+
* therefore requires strict content moderation to prevent malicious users from uploading content that may compromise
|
|
132
|
+
* security (e.g., cross-site scripting attacks).
|
|
133
|
+
*/
|
|
134
|
+
archiveBrowsingEnabled?: pulumi.Input<boolean>;
|
|
135
|
+
/**
|
|
136
|
+
* When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed.
|
|
137
|
+
*/
|
|
138
|
+
blackedOut?: pulumi.Input<boolean>;
|
|
139
|
+
description?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* When set, download requests to this repository will redirect the client to download the artifact directly from the cloud
|
|
142
|
+
* storage provider. Available in Enterprise+ and Edge licenses only.
|
|
143
|
+
*/
|
|
144
|
+
downloadDirect?: pulumi.Input<boolean>;
|
|
145
|
+
/**
|
|
146
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no
|
|
147
|
+
* artifacts are excluded.
|
|
148
|
+
*/
|
|
149
|
+
excludesPattern?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
152
|
+
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
153
|
+
*/
|
|
154
|
+
includesPattern?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* the identity key of the repo.
|
|
157
|
+
*/
|
|
158
|
+
key?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* The list of Federated members and must contain this repository URL (configured base URL
|
|
161
|
+
* `/artifactory/` + repo `key`). Note that each of the federated members will need to have a base URL set.
|
|
162
|
+
* Please follow the [instruction](https://www.jfrog.com/confluence/display/JFROG/Working+with+Federated+Repositories#WorkingwithFederatedRepositories-SettingUpaFederatedRepository)
|
|
163
|
+
* to set up Federated repositories correctly.
|
|
164
|
+
*/
|
|
165
|
+
members?: pulumi.Input<pulumi.Input<inputs.FederatedTerraformModuleRepositoryMember>[]>;
|
|
166
|
+
notes?: pulumi.Input<string>;
|
|
167
|
+
packageType?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
170
|
+
*/
|
|
171
|
+
priorityResolution?: pulumi.Input<boolean>;
|
|
172
|
+
/**
|
|
173
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
174
|
+
*/
|
|
175
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
176
|
+
/**
|
|
177
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
178
|
+
* with project key, separated by a dash.
|
|
179
|
+
*/
|
|
180
|
+
projectKey?: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* List of property set name
|
|
183
|
+
*/
|
|
184
|
+
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
185
|
+
/**
|
|
186
|
+
* Repository layout key for the local repository
|
|
187
|
+
*/
|
|
188
|
+
repoLayoutRef?: pulumi.Input<string>;
|
|
189
|
+
/**
|
|
190
|
+
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
|
|
191
|
+
* Xray settings.
|
|
192
|
+
*/
|
|
193
|
+
xrayIndex?: pulumi.Input<boolean>;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* The set of arguments for constructing a FederatedTerraformModuleRepository resource.
|
|
197
|
+
*/
|
|
198
|
+
export interface FederatedTerraformModuleRepositoryArgs {
|
|
199
|
+
/**
|
|
200
|
+
* When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and
|
|
201
|
+
* therefore requires strict content moderation to prevent malicious users from uploading content that may compromise
|
|
202
|
+
* security (e.g., cross-site scripting attacks).
|
|
203
|
+
*/
|
|
204
|
+
archiveBrowsingEnabled?: pulumi.Input<boolean>;
|
|
205
|
+
/**
|
|
206
|
+
* When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed.
|
|
207
|
+
*/
|
|
208
|
+
blackedOut?: pulumi.Input<boolean>;
|
|
209
|
+
description?: pulumi.Input<string>;
|
|
210
|
+
/**
|
|
211
|
+
* When set, download requests to this repository will redirect the client to download the artifact directly from the cloud
|
|
212
|
+
* storage provider. Available in Enterprise+ and Edge licenses only.
|
|
213
|
+
*/
|
|
214
|
+
downloadDirect?: pulumi.Input<boolean>;
|
|
215
|
+
/**
|
|
216
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no
|
|
217
|
+
* artifacts are excluded.
|
|
218
|
+
*/
|
|
219
|
+
excludesPattern?: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
222
|
+
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
223
|
+
*/
|
|
224
|
+
includesPattern?: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* the identity key of the repo.
|
|
227
|
+
*/
|
|
228
|
+
key: pulumi.Input<string>;
|
|
229
|
+
/**
|
|
230
|
+
* The list of Federated members and must contain this repository URL (configured base URL
|
|
231
|
+
* `/artifactory/` + repo `key`). Note that each of the federated members will need to have a base URL set.
|
|
232
|
+
* Please follow the [instruction](https://www.jfrog.com/confluence/display/JFROG/Working+with+Federated+Repositories#WorkingwithFederatedRepositories-SettingUpaFederatedRepository)
|
|
233
|
+
* to set up Federated repositories correctly.
|
|
234
|
+
*/
|
|
235
|
+
members: pulumi.Input<pulumi.Input<inputs.FederatedTerraformModuleRepositoryMember>[]>;
|
|
236
|
+
notes?: pulumi.Input<string>;
|
|
237
|
+
/**
|
|
238
|
+
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
239
|
+
*/
|
|
240
|
+
priorityResolution?: pulumi.Input<boolean>;
|
|
241
|
+
/**
|
|
242
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
243
|
+
*/
|
|
244
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
245
|
+
/**
|
|
246
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
247
|
+
* with project key, separated by a dash.
|
|
248
|
+
*/
|
|
249
|
+
projectKey?: pulumi.Input<string>;
|
|
250
|
+
/**
|
|
251
|
+
* List of property set name
|
|
252
|
+
*/
|
|
253
|
+
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
254
|
+
/**
|
|
255
|
+
* Repository layout key for the local repository
|
|
256
|
+
*/
|
|
257
|
+
repoLayoutRef?: pulumi.Input<string>;
|
|
258
|
+
/**
|
|
259
|
+
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
|
|
260
|
+
* Xray settings.
|
|
261
|
+
*/
|
|
262
|
+
xrayIndex?: pulumi.Input<boolean>;
|
|
263
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
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.FederatedTerraformModuleRepository = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Creates a federated Generic repository.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
16
|
+
*
|
|
17
|
+
* const terraform_federated_test_terraform_module_repo = new artifactory.FederatedTerraformModuleRepository("terraform-federated-test-terraform_module-repo", {
|
|
18
|
+
* key: "terraform-federated-test-terraform-module-repo",
|
|
19
|
+
* members: [
|
|
20
|
+
* {
|
|
21
|
+
* enabled: true,
|
|
22
|
+
* url: "http://tempurl.org/artifactory/terraform-federated-test-terraform_module-repo",
|
|
23
|
+
* },
|
|
24
|
+
* {
|
|
25
|
+
* enabled: true,
|
|
26
|
+
* url: "http://tempurl2.org/artifactory/terraform-federated-test-terraform_module-repo-2",
|
|
27
|
+
* },
|
|
28
|
+
* ],
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* Federated repositories can be imported using their name, e.g.
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import artifactory:index/federatedTerraformModuleRepository:FederatedTerraformModuleRepository terraform-federated-test-terraform_module-repo terraform-federated-test-terraform-module-repo
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
class FederatedTerraformModuleRepository extends pulumi.CustomResource {
|
|
41
|
+
constructor(name, argsOrState, opts) {
|
|
42
|
+
let resourceInputs = {};
|
|
43
|
+
opts = opts || {};
|
|
44
|
+
if (opts.id) {
|
|
45
|
+
const state = argsOrState;
|
|
46
|
+
resourceInputs["archiveBrowsingEnabled"] = state ? state.archiveBrowsingEnabled : undefined;
|
|
47
|
+
resourceInputs["blackedOut"] = state ? state.blackedOut : undefined;
|
|
48
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
49
|
+
resourceInputs["downloadDirect"] = state ? state.downloadDirect : undefined;
|
|
50
|
+
resourceInputs["excludesPattern"] = state ? state.excludesPattern : undefined;
|
|
51
|
+
resourceInputs["includesPattern"] = state ? state.includesPattern : undefined;
|
|
52
|
+
resourceInputs["key"] = state ? state.key : undefined;
|
|
53
|
+
resourceInputs["members"] = state ? state.members : undefined;
|
|
54
|
+
resourceInputs["notes"] = state ? state.notes : undefined;
|
|
55
|
+
resourceInputs["packageType"] = state ? state.packageType : undefined;
|
|
56
|
+
resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined;
|
|
57
|
+
resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined;
|
|
58
|
+
resourceInputs["projectKey"] = state ? state.projectKey : undefined;
|
|
59
|
+
resourceInputs["propertySets"] = state ? state.propertySets : undefined;
|
|
60
|
+
resourceInputs["repoLayoutRef"] = state ? state.repoLayoutRef : undefined;
|
|
61
|
+
resourceInputs["xrayIndex"] = state ? state.xrayIndex : undefined;
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
const args = argsOrState;
|
|
65
|
+
if ((!args || args.key === undefined) && !opts.urn) {
|
|
66
|
+
throw new Error("Missing required property 'key'");
|
|
67
|
+
}
|
|
68
|
+
if ((!args || args.members === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'members'");
|
|
70
|
+
}
|
|
71
|
+
resourceInputs["archiveBrowsingEnabled"] = args ? args.archiveBrowsingEnabled : undefined;
|
|
72
|
+
resourceInputs["blackedOut"] = args ? args.blackedOut : undefined;
|
|
73
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
74
|
+
resourceInputs["downloadDirect"] = args ? args.downloadDirect : undefined;
|
|
75
|
+
resourceInputs["excludesPattern"] = args ? args.excludesPattern : undefined;
|
|
76
|
+
resourceInputs["includesPattern"] = args ? args.includesPattern : undefined;
|
|
77
|
+
resourceInputs["key"] = args ? args.key : undefined;
|
|
78
|
+
resourceInputs["members"] = args ? args.members : undefined;
|
|
79
|
+
resourceInputs["notes"] = args ? args.notes : undefined;
|
|
80
|
+
resourceInputs["priorityResolution"] = args ? args.priorityResolution : undefined;
|
|
81
|
+
resourceInputs["projectEnvironments"] = args ? args.projectEnvironments : undefined;
|
|
82
|
+
resourceInputs["projectKey"] = args ? args.projectKey : undefined;
|
|
83
|
+
resourceInputs["propertySets"] = args ? args.propertySets : undefined;
|
|
84
|
+
resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined;
|
|
85
|
+
resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined;
|
|
86
|
+
resourceInputs["packageType"] = undefined /*out*/;
|
|
87
|
+
}
|
|
88
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
89
|
+
super(FederatedTerraformModuleRepository.__pulumiType, name, resourceInputs, opts);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Get an existing FederatedTerraformModuleRepository resource's state with the given name, ID, and optional extra
|
|
93
|
+
* properties used to qualify the lookup.
|
|
94
|
+
*
|
|
95
|
+
* @param name The _unique_ name of the resulting resource.
|
|
96
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
97
|
+
* @param state Any extra arguments used during the lookup.
|
|
98
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
99
|
+
*/
|
|
100
|
+
static get(name, id, state, opts) {
|
|
101
|
+
return new FederatedTerraformModuleRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Returns true if the given object is an instance of FederatedTerraformModuleRepository. This is designed to work even
|
|
105
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
106
|
+
*/
|
|
107
|
+
static isInstance(obj) {
|
|
108
|
+
if (obj === undefined || obj === null) {
|
|
109
|
+
return false;
|
|
110
|
+
}
|
|
111
|
+
return obj['__pulumiType'] === FederatedTerraformModuleRepository.__pulumiType;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
exports.FederatedTerraformModuleRepository = FederatedTerraformModuleRepository;
|
|
115
|
+
/** @internal */
|
|
116
|
+
FederatedTerraformModuleRepository.__pulumiType = 'artifactory:index/federatedTerraformModuleRepository:FederatedTerraformModuleRepository';
|
|
117
|
+
//# sourceMappingURL=federatedTerraformModuleRepository.js.map
|
|
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YAAY,CAAC;IACnF,CAAC;;AA1BL,gFAuJC;AAzIG,gBAAgB;AACO,+CAAY,GAAG,yFAAyF,CAAC"}
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* Creates a federated Generic repository.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
11
|
+
*
|
|
12
|
+
* const terraform_federated_test_terraform_provider_repo = new artifactory.FederatedTerraformProviderRepository("terraform-federated-test-terraform_provider-repo", {
|
|
13
|
+
* key: "terraform-federated-test-terraform-provider-repo",
|
|
14
|
+
* members: [
|
|
15
|
+
* {
|
|
16
|
+
* enabled: true,
|
|
17
|
+
* url: "http://tempurl.org/artifactory/terraform-federated-test-terraform_provider-repo",
|
|
18
|
+
* },
|
|
19
|
+
* {
|
|
20
|
+
* enabled: true,
|
|
21
|
+
* url: "http://tempurl2.org/artifactory/terraform-federated-test-terraform_provider-repo-2",
|
|
22
|
+
* },
|
|
23
|
+
* ],
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* Federated repositories can be imported using their name, e.g.
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import artifactory:index/federatedTerraformProviderRepository:FederatedTerraformProviderRepository terraform-federated-test-terraform_provider-repo terraform-federated-test-terraform-provider-repo
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export declare class FederatedTerraformProviderRepository extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing FederatedTerraformProviderRepository resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param state Any extra arguments used during the lookup.
|
|
43
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
|
+
*/
|
|
45
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FederatedTerraformProviderRepositoryState, opts?: pulumi.CustomResourceOptions): FederatedTerraformProviderRepository;
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of FederatedTerraformProviderRepository. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj: any): obj is FederatedTerraformProviderRepository;
|
|
51
|
+
/**
|
|
52
|
+
* When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and
|
|
53
|
+
* therefore requires strict content moderation to prevent malicious users from uploading content that may compromise
|
|
54
|
+
* security (e.g., cross-site scripting attacks).
|
|
55
|
+
*/
|
|
56
|
+
readonly archiveBrowsingEnabled: pulumi.Output<boolean | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed.
|
|
59
|
+
*/
|
|
60
|
+
readonly blackedOut: pulumi.Output<boolean | undefined>;
|
|
61
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* When set, download requests to this repository will redirect the client to download the artifact directly from the cloud
|
|
64
|
+
* storage provider. Available in Enterprise+ and Edge licenses only.
|
|
65
|
+
*/
|
|
66
|
+
readonly downloadDirect: pulumi.Output<boolean | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no
|
|
69
|
+
* artifacts are excluded.
|
|
70
|
+
*/
|
|
71
|
+
readonly excludesPattern: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
74
|
+
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
75
|
+
*/
|
|
76
|
+
readonly includesPattern: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* the identity key of the repo.
|
|
79
|
+
*/
|
|
80
|
+
readonly key: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The list of Federated members and must contain this repository URL (configured base URL
|
|
83
|
+
* `/artifactory/` + repo `key`). Note that each of the federated members will need to have a base URL set.
|
|
84
|
+
* Please follow the [instruction](https://www.jfrog.com/confluence/display/JFROG/Working+with+Federated+Repositories#WorkingwithFederatedRepositories-SettingUpaFederatedRepository)
|
|
85
|
+
* to set up Federated repositories correctly.
|
|
86
|
+
*/
|
|
87
|
+
readonly members: pulumi.Output<outputs.FederatedTerraformProviderRepositoryMember[]>;
|
|
88
|
+
readonly notes: pulumi.Output<string | undefined>;
|
|
89
|
+
readonly packageType: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
92
|
+
*/
|
|
93
|
+
readonly priorityResolution: pulumi.Output<boolean | undefined>;
|
|
94
|
+
/**
|
|
95
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
96
|
+
*/
|
|
97
|
+
readonly projectEnvironments: pulumi.Output<string[] | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
100
|
+
* with project key, separated by a dash.
|
|
101
|
+
*/
|
|
102
|
+
readonly projectKey: pulumi.Output<string | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* List of property set name
|
|
105
|
+
*/
|
|
106
|
+
readonly propertySets: pulumi.Output<string[] | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* Repository layout key for the local repository
|
|
109
|
+
*/
|
|
110
|
+
readonly repoLayoutRef: pulumi.Output<string | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
|
|
113
|
+
* Xray settings.
|
|
114
|
+
*/
|
|
115
|
+
readonly xrayIndex: pulumi.Output<boolean | undefined>;
|
|
116
|
+
/**
|
|
117
|
+
* Create a FederatedTerraformProviderRepository resource with the given unique name, arguments, and options.
|
|
118
|
+
*
|
|
119
|
+
* @param name The _unique_ name of the resource.
|
|
120
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
121
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
122
|
+
*/
|
|
123
|
+
constructor(name: string, args: FederatedTerraformProviderRepositoryArgs, opts?: pulumi.CustomResourceOptions);
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Input properties used for looking up and filtering FederatedTerraformProviderRepository resources.
|
|
127
|
+
*/
|
|
128
|
+
export interface FederatedTerraformProviderRepositoryState {
|
|
129
|
+
/**
|
|
130
|
+
* When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and
|
|
131
|
+
* therefore requires strict content moderation to prevent malicious users from uploading content that may compromise
|
|
132
|
+
* security (e.g., cross-site scripting attacks).
|
|
133
|
+
*/
|
|
134
|
+
archiveBrowsingEnabled?: pulumi.Input<boolean>;
|
|
135
|
+
/**
|
|
136
|
+
* When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed.
|
|
137
|
+
*/
|
|
138
|
+
blackedOut?: pulumi.Input<boolean>;
|
|
139
|
+
description?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* When set, download requests to this repository will redirect the client to download the artifact directly from the cloud
|
|
142
|
+
* storage provider. Available in Enterprise+ and Edge licenses only.
|
|
143
|
+
*/
|
|
144
|
+
downloadDirect?: pulumi.Input<boolean>;
|
|
145
|
+
/**
|
|
146
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no
|
|
147
|
+
* artifacts are excluded.
|
|
148
|
+
*/
|
|
149
|
+
excludesPattern?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
152
|
+
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
153
|
+
*/
|
|
154
|
+
includesPattern?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* the identity key of the repo.
|
|
157
|
+
*/
|
|
158
|
+
key?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* The list of Federated members and must contain this repository URL (configured base URL
|
|
161
|
+
* `/artifactory/` + repo `key`). Note that each of the federated members will need to have a base URL set.
|
|
162
|
+
* Please follow the [instruction](https://www.jfrog.com/confluence/display/JFROG/Working+with+Federated+Repositories#WorkingwithFederatedRepositories-SettingUpaFederatedRepository)
|
|
163
|
+
* to set up Federated repositories correctly.
|
|
164
|
+
*/
|
|
165
|
+
members?: pulumi.Input<pulumi.Input<inputs.FederatedTerraformProviderRepositoryMember>[]>;
|
|
166
|
+
notes?: pulumi.Input<string>;
|
|
167
|
+
packageType?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
170
|
+
*/
|
|
171
|
+
priorityResolution?: pulumi.Input<boolean>;
|
|
172
|
+
/**
|
|
173
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
174
|
+
*/
|
|
175
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
176
|
+
/**
|
|
177
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
178
|
+
* with project key, separated by a dash.
|
|
179
|
+
*/
|
|
180
|
+
projectKey?: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* List of property set name
|
|
183
|
+
*/
|
|
184
|
+
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
185
|
+
/**
|
|
186
|
+
* Repository layout key for the local repository
|
|
187
|
+
*/
|
|
188
|
+
repoLayoutRef?: pulumi.Input<string>;
|
|
189
|
+
/**
|
|
190
|
+
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
|
|
191
|
+
* Xray settings.
|
|
192
|
+
*/
|
|
193
|
+
xrayIndex?: pulumi.Input<boolean>;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* The set of arguments for constructing a FederatedTerraformProviderRepository resource.
|
|
197
|
+
*/
|
|
198
|
+
export interface FederatedTerraformProviderRepositoryArgs {
|
|
199
|
+
/**
|
|
200
|
+
* When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and
|
|
201
|
+
* therefore requires strict content moderation to prevent malicious users from uploading content that may compromise
|
|
202
|
+
* security (e.g., cross-site scripting attacks).
|
|
203
|
+
*/
|
|
204
|
+
archiveBrowsingEnabled?: pulumi.Input<boolean>;
|
|
205
|
+
/**
|
|
206
|
+
* When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed.
|
|
207
|
+
*/
|
|
208
|
+
blackedOut?: pulumi.Input<boolean>;
|
|
209
|
+
description?: pulumi.Input<string>;
|
|
210
|
+
/**
|
|
211
|
+
* When set, download requests to this repository will redirect the client to download the artifact directly from the cloud
|
|
212
|
+
* storage provider. Available in Enterprise+ and Edge licenses only.
|
|
213
|
+
*/
|
|
214
|
+
downloadDirect?: pulumi.Input<boolean>;
|
|
215
|
+
/**
|
|
216
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no
|
|
217
|
+
* artifacts are excluded.
|
|
218
|
+
*/
|
|
219
|
+
excludesPattern?: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
222
|
+
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
223
|
+
*/
|
|
224
|
+
includesPattern?: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* the identity key of the repo.
|
|
227
|
+
*/
|
|
228
|
+
key: pulumi.Input<string>;
|
|
229
|
+
/**
|
|
230
|
+
* The list of Federated members and must contain this repository URL (configured base URL
|
|
231
|
+
* `/artifactory/` + repo `key`). Note that each of the federated members will need to have a base URL set.
|
|
232
|
+
* Please follow the [instruction](https://www.jfrog.com/confluence/display/JFROG/Working+with+Federated+Repositories#WorkingwithFederatedRepositories-SettingUpaFederatedRepository)
|
|
233
|
+
* to set up Federated repositories correctly.
|
|
234
|
+
*/
|
|
235
|
+
members: pulumi.Input<pulumi.Input<inputs.FederatedTerraformProviderRepositoryMember>[]>;
|
|
236
|
+
notes?: pulumi.Input<string>;
|
|
237
|
+
/**
|
|
238
|
+
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
239
|
+
*/
|
|
240
|
+
priorityResolution?: pulumi.Input<boolean>;
|
|
241
|
+
/**
|
|
242
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
243
|
+
*/
|
|
244
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
245
|
+
/**
|
|
246
|
+
* Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
|
|
247
|
+
* with project key, separated by a dash.
|
|
248
|
+
*/
|
|
249
|
+
projectKey?: pulumi.Input<string>;
|
|
250
|
+
/**
|
|
251
|
+
* List of property set name
|
|
252
|
+
*/
|
|
253
|
+
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
254
|
+
/**
|
|
255
|
+
* Repository layout key for the local repository
|
|
256
|
+
*/
|
|
257
|
+
repoLayoutRef?: pulumi.Input<string>;
|
|
258
|
+
/**
|
|
259
|
+
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
|
|
260
|
+
* Xray settings.
|
|
261
|
+
*/
|
|
262
|
+
xrayIndex?: pulumi.Input<boolean>;
|
|
263
|
+
}
|