@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,550 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
9
|
+
*
|
|
10
|
+
* const terraform_remote = new artifactory.RemoteTerraformRepository("terraform-remote", {
|
|
11
|
+
* key: "terraform-remote",
|
|
12
|
+
* terraformProvidersUrl: "https://releases.hashicorp.com",
|
|
13
|
+
* terraformRegistryUrl: "https://registry.terraform.io",
|
|
14
|
+
* url: "https://github.com/",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* Remote repositories can be imported using their name, e.g.
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import artifactory:index/remoteTerraformRepository:RemoteTerraformRepository terraform-remote terraform-remote
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class RemoteTerraformRepository extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing RemoteTerraformRepository resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RemoteTerraformRepositoryState, opts?: pulumi.CustomResourceOptions): RemoteTerraformRepository;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of RemoteTerraformRepository. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is RemoteTerraformRepository;
|
|
42
|
+
/**
|
|
43
|
+
* Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to
|
|
44
|
+
* any other host.
|
|
45
|
+
*/
|
|
46
|
+
readonly allowAnyHostAuth: pulumi.Output<boolean>;
|
|
47
|
+
/**
|
|
48
|
+
* The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time,
|
|
49
|
+
* an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed
|
|
50
|
+
* offline. Default to 300.
|
|
51
|
+
*/
|
|
52
|
+
readonly assumedOfflinePeriodSecs: pulumi.Output<number | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact
|
|
55
|
+
* resolution.
|
|
56
|
+
*/
|
|
57
|
+
readonly blackedOut: pulumi.Output<boolean>;
|
|
58
|
+
/**
|
|
59
|
+
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
|
|
60
|
+
* HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked,
|
|
61
|
+
* Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
|
|
62
|
+
*/
|
|
63
|
+
readonly blockMismatchingMimeTypes: pulumi.Output<boolean>;
|
|
64
|
+
/**
|
|
65
|
+
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
|
|
66
|
+
* HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked,
|
|
67
|
+
* Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
|
|
68
|
+
*/
|
|
69
|
+
readonly bypassHeadRequests: pulumi.Output<boolean>;
|
|
70
|
+
readonly clientTlsCertificate: pulumi.Output<string>;
|
|
71
|
+
readonly contentSynchronisation: pulumi.Output<outputs.RemoteTerraformRepositoryContentSynchronisation>;
|
|
72
|
+
readonly description: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Enables cookie management if the remote repository uses cookies to manage client state.
|
|
75
|
+
*/
|
|
76
|
+
readonly enableCookieManagement: pulumi.Output<boolean>;
|
|
77
|
+
/**
|
|
78
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no
|
|
79
|
+
* artifacts are excluded.
|
|
80
|
+
*/
|
|
81
|
+
readonly excludesPattern: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* @deprecated This field is not returned in a get payload but is offered on the UI. It's inserted here for inclusive and informational reasons. It does not function
|
|
84
|
+
*/
|
|
85
|
+
readonly failedRetrievalCachePeriodSecs: pulumi.Output<number>;
|
|
86
|
+
/**
|
|
87
|
+
* When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to
|
|
88
|
+
* communicate with this repository.
|
|
89
|
+
*/
|
|
90
|
+
readonly hardFail: pulumi.Output<boolean>;
|
|
91
|
+
/**
|
|
92
|
+
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
93
|
+
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
94
|
+
*/
|
|
95
|
+
readonly includesPattern: pulumi.Output<string>;
|
|
96
|
+
/**
|
|
97
|
+
* A mandatory identifier for the repository that must be unique. It cannot begin with a number or
|
|
98
|
+
* contain spaces or special characters.
|
|
99
|
+
*/
|
|
100
|
+
readonly key: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of
|
|
103
|
+
* the 'Retrieval Cache Period'. Default value is 'false'.
|
|
104
|
+
*/
|
|
105
|
+
readonly listRemoteFolderItems: pulumi.Output<boolean | undefined>;
|
|
106
|
+
/**
|
|
107
|
+
* The local address to be used when creating connections. Useful for specifying the interface to use on systems with
|
|
108
|
+
* multiple network interfaces.
|
|
109
|
+
*/
|
|
110
|
+
readonly localAddress: pulumi.Output<string | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* The set of mime types that should override the block_mismatching_mime_types setting. Eg:
|
|
113
|
+
* "application/json,application/xml". Default value is empty.
|
|
114
|
+
*/
|
|
115
|
+
readonly mismatchingMimeTypesOverrideList: pulumi.Output<string | undefined>;
|
|
116
|
+
/**
|
|
117
|
+
* The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
|
|
118
|
+
*/
|
|
119
|
+
readonly missedCachePeriodSeconds: pulumi.Output<number>;
|
|
120
|
+
readonly notes: pulumi.Output<string | undefined>;
|
|
121
|
+
/**
|
|
122
|
+
* If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
|
|
123
|
+
*/
|
|
124
|
+
readonly offline: pulumi.Output<boolean>;
|
|
125
|
+
readonly packageType: pulumi.Output<string>;
|
|
126
|
+
readonly password: pulumi.Output<string | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
129
|
+
*/
|
|
130
|
+
readonly priorityResolution: pulumi.Output<boolean>;
|
|
131
|
+
/**
|
|
132
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
133
|
+
*/
|
|
134
|
+
readonly projectEnvironments: pulumi.Output<string[] | undefined>;
|
|
135
|
+
/**
|
|
136
|
+
* Project key for assigning this repository to. Must be 3 - 10 lowercase alphanumeric characters. When assigning
|
|
137
|
+
* repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
138
|
+
*/
|
|
139
|
+
readonly projectKey: pulumi.Output<string | undefined>;
|
|
140
|
+
/**
|
|
141
|
+
* When set, if query params are included in the request to Artifactory, they will be passed on to the remote repository.
|
|
142
|
+
*/
|
|
143
|
+
readonly propagateQueryParams: pulumi.Output<boolean | undefined>;
|
|
144
|
+
/**
|
|
145
|
+
* List of property set names
|
|
146
|
+
*/
|
|
147
|
+
readonly propertySets: pulumi.Output<string[] | undefined>;
|
|
148
|
+
/**
|
|
149
|
+
* Proxy key from Artifactory Proxies settings
|
|
150
|
+
*/
|
|
151
|
+
readonly proxy: pulumi.Output<string | undefined>;
|
|
152
|
+
/**
|
|
153
|
+
* Repository layout key for the remote layout mapping
|
|
154
|
+
*/
|
|
155
|
+
readonly remoteRepoLayoutRef: pulumi.Output<string>;
|
|
156
|
+
/**
|
|
157
|
+
* Repository layout key for the local repository
|
|
158
|
+
*/
|
|
159
|
+
readonly repoLayoutRef: pulumi.Output<string | undefined>;
|
|
160
|
+
/**
|
|
161
|
+
* The metadataRetrievalTimeoutSecs field not allowed to be bigger then retrievalCachePeriodSecs field.
|
|
162
|
+
*/
|
|
163
|
+
readonly retrievalCachePeriodSeconds: pulumi.Output<number>;
|
|
164
|
+
readonly shareConfiguration: pulumi.Output<boolean>;
|
|
165
|
+
/**
|
|
166
|
+
* Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network
|
|
167
|
+
* operation is considered a retrieval failure.
|
|
168
|
+
*/
|
|
169
|
+
readonly socketTimeoutMillis: pulumi.Output<number>;
|
|
170
|
+
/**
|
|
171
|
+
* When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and
|
|
172
|
+
* direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with
|
|
173
|
+
* one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory
|
|
174
|
+
* servers.
|
|
175
|
+
*/
|
|
176
|
+
readonly storeArtifactsLocally: pulumi.Output<boolean>;
|
|
177
|
+
/**
|
|
178
|
+
* When set, remote artifacts are fetched along with their properties.
|
|
179
|
+
*/
|
|
180
|
+
readonly synchronizeProperties: pulumi.Output<boolean>;
|
|
181
|
+
/**
|
|
182
|
+
* The base URL of the Provider's storage API. When using Smart remote repositories, set the URL to
|
|
183
|
+
* <base_Artifactory_URL>/api/terraform/repokey/providers. Default value in UI is https://releases.hashicorp.com
|
|
184
|
+
*/
|
|
185
|
+
readonly terraformProvidersUrl: pulumi.Output<string | undefined>;
|
|
186
|
+
/**
|
|
187
|
+
* The base URL of the registry API. When using Smart Remote Repositories, set the URL to
|
|
188
|
+
* <base_Artifactory_URL>/api/terraform/repokey. Default value in UI is https://registry.terraform.io
|
|
189
|
+
*/
|
|
190
|
+
readonly terraformRegistryUrl: pulumi.Output<string | undefined>;
|
|
191
|
+
readonly unusedArtifactsCleanupPeriodEnabled: pulumi.Output<boolean>;
|
|
192
|
+
/**
|
|
193
|
+
* The number of hours to wait before an artifact is deemed "unused" and eligible for cleanup from the repository. A value
|
|
194
|
+
* of 0 means automatic cleanup of cached artifacts is disabled.
|
|
195
|
+
*/
|
|
196
|
+
readonly unusedArtifactsCleanupPeriodHours: pulumi.Output<number>;
|
|
197
|
+
/**
|
|
198
|
+
* The base URL of the Module storage API.
|
|
199
|
+
*/
|
|
200
|
+
readonly url: pulumi.Output<string>;
|
|
201
|
+
readonly username: pulumi.Output<string | undefined>;
|
|
202
|
+
/**
|
|
203
|
+
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
|
|
204
|
+
* Xray settings.
|
|
205
|
+
*/
|
|
206
|
+
readonly xrayIndex: pulumi.Output<boolean | undefined>;
|
|
207
|
+
/**
|
|
208
|
+
* Create a RemoteTerraformRepository resource with the given unique name, arguments, and options.
|
|
209
|
+
*
|
|
210
|
+
* @param name The _unique_ name of the resource.
|
|
211
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
212
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
213
|
+
*/
|
|
214
|
+
constructor(name: string, args: RemoteTerraformRepositoryArgs, opts?: pulumi.CustomResourceOptions);
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Input properties used for looking up and filtering RemoteTerraformRepository resources.
|
|
218
|
+
*/
|
|
219
|
+
export interface RemoteTerraformRepositoryState {
|
|
220
|
+
/**
|
|
221
|
+
* Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to
|
|
222
|
+
* any other host.
|
|
223
|
+
*/
|
|
224
|
+
allowAnyHostAuth?: pulumi.Input<boolean>;
|
|
225
|
+
/**
|
|
226
|
+
* The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time,
|
|
227
|
+
* an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed
|
|
228
|
+
* offline. Default to 300.
|
|
229
|
+
*/
|
|
230
|
+
assumedOfflinePeriodSecs?: pulumi.Input<number>;
|
|
231
|
+
/**
|
|
232
|
+
* (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact
|
|
233
|
+
* resolution.
|
|
234
|
+
*/
|
|
235
|
+
blackedOut?: pulumi.Input<boolean>;
|
|
236
|
+
/**
|
|
237
|
+
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
|
|
238
|
+
* HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked,
|
|
239
|
+
* Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
|
|
240
|
+
*/
|
|
241
|
+
blockMismatchingMimeTypes?: pulumi.Input<boolean>;
|
|
242
|
+
/**
|
|
243
|
+
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
|
|
244
|
+
* HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked,
|
|
245
|
+
* Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
|
|
246
|
+
*/
|
|
247
|
+
bypassHeadRequests?: pulumi.Input<boolean>;
|
|
248
|
+
clientTlsCertificate?: pulumi.Input<string>;
|
|
249
|
+
contentSynchronisation?: pulumi.Input<inputs.RemoteTerraformRepositoryContentSynchronisation>;
|
|
250
|
+
description?: pulumi.Input<string>;
|
|
251
|
+
/**
|
|
252
|
+
* Enables cookie management if the remote repository uses cookies to manage client state.
|
|
253
|
+
*/
|
|
254
|
+
enableCookieManagement?: pulumi.Input<boolean>;
|
|
255
|
+
/**
|
|
256
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no
|
|
257
|
+
* artifacts are excluded.
|
|
258
|
+
*/
|
|
259
|
+
excludesPattern?: pulumi.Input<string>;
|
|
260
|
+
/**
|
|
261
|
+
* @deprecated This field is not returned in a get payload but is offered on the UI. It's inserted here for inclusive and informational reasons. It does not function
|
|
262
|
+
*/
|
|
263
|
+
failedRetrievalCachePeriodSecs?: pulumi.Input<number>;
|
|
264
|
+
/**
|
|
265
|
+
* When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to
|
|
266
|
+
* communicate with this repository.
|
|
267
|
+
*/
|
|
268
|
+
hardFail?: pulumi.Input<boolean>;
|
|
269
|
+
/**
|
|
270
|
+
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
271
|
+
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
272
|
+
*/
|
|
273
|
+
includesPattern?: pulumi.Input<string>;
|
|
274
|
+
/**
|
|
275
|
+
* A mandatory identifier for the repository that must be unique. It cannot begin with a number or
|
|
276
|
+
* contain spaces or special characters.
|
|
277
|
+
*/
|
|
278
|
+
key?: pulumi.Input<string>;
|
|
279
|
+
/**
|
|
280
|
+
* Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of
|
|
281
|
+
* the 'Retrieval Cache Period'. Default value is 'false'.
|
|
282
|
+
*/
|
|
283
|
+
listRemoteFolderItems?: pulumi.Input<boolean>;
|
|
284
|
+
/**
|
|
285
|
+
* The local address to be used when creating connections. Useful for specifying the interface to use on systems with
|
|
286
|
+
* multiple network interfaces.
|
|
287
|
+
*/
|
|
288
|
+
localAddress?: pulumi.Input<string>;
|
|
289
|
+
/**
|
|
290
|
+
* The set of mime types that should override the block_mismatching_mime_types setting. Eg:
|
|
291
|
+
* "application/json,application/xml". Default value is empty.
|
|
292
|
+
*/
|
|
293
|
+
mismatchingMimeTypesOverrideList?: pulumi.Input<string>;
|
|
294
|
+
/**
|
|
295
|
+
* The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
|
|
296
|
+
*/
|
|
297
|
+
missedCachePeriodSeconds?: pulumi.Input<number>;
|
|
298
|
+
notes?: pulumi.Input<string>;
|
|
299
|
+
/**
|
|
300
|
+
* If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
|
|
301
|
+
*/
|
|
302
|
+
offline?: pulumi.Input<boolean>;
|
|
303
|
+
packageType?: pulumi.Input<string>;
|
|
304
|
+
password?: pulumi.Input<string>;
|
|
305
|
+
/**
|
|
306
|
+
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
307
|
+
*/
|
|
308
|
+
priorityResolution?: pulumi.Input<boolean>;
|
|
309
|
+
/**
|
|
310
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
311
|
+
*/
|
|
312
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
313
|
+
/**
|
|
314
|
+
* Project key for assigning this repository to. Must be 3 - 10 lowercase alphanumeric characters. When assigning
|
|
315
|
+
* repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
316
|
+
*/
|
|
317
|
+
projectKey?: pulumi.Input<string>;
|
|
318
|
+
/**
|
|
319
|
+
* When set, if query params are included in the request to Artifactory, they will be passed on to the remote repository.
|
|
320
|
+
*/
|
|
321
|
+
propagateQueryParams?: pulumi.Input<boolean>;
|
|
322
|
+
/**
|
|
323
|
+
* List of property set names
|
|
324
|
+
*/
|
|
325
|
+
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
326
|
+
/**
|
|
327
|
+
* Proxy key from Artifactory Proxies settings
|
|
328
|
+
*/
|
|
329
|
+
proxy?: pulumi.Input<string>;
|
|
330
|
+
/**
|
|
331
|
+
* Repository layout key for the remote layout mapping
|
|
332
|
+
*/
|
|
333
|
+
remoteRepoLayoutRef?: pulumi.Input<string>;
|
|
334
|
+
/**
|
|
335
|
+
* Repository layout key for the local repository
|
|
336
|
+
*/
|
|
337
|
+
repoLayoutRef?: pulumi.Input<string>;
|
|
338
|
+
/**
|
|
339
|
+
* The metadataRetrievalTimeoutSecs field not allowed to be bigger then retrievalCachePeriodSecs field.
|
|
340
|
+
*/
|
|
341
|
+
retrievalCachePeriodSeconds?: pulumi.Input<number>;
|
|
342
|
+
shareConfiguration?: pulumi.Input<boolean>;
|
|
343
|
+
/**
|
|
344
|
+
* Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network
|
|
345
|
+
* operation is considered a retrieval failure.
|
|
346
|
+
*/
|
|
347
|
+
socketTimeoutMillis?: pulumi.Input<number>;
|
|
348
|
+
/**
|
|
349
|
+
* When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and
|
|
350
|
+
* direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with
|
|
351
|
+
* one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory
|
|
352
|
+
* servers.
|
|
353
|
+
*/
|
|
354
|
+
storeArtifactsLocally?: pulumi.Input<boolean>;
|
|
355
|
+
/**
|
|
356
|
+
* When set, remote artifacts are fetched along with their properties.
|
|
357
|
+
*/
|
|
358
|
+
synchronizeProperties?: pulumi.Input<boolean>;
|
|
359
|
+
/**
|
|
360
|
+
* The base URL of the Provider's storage API. When using Smart remote repositories, set the URL to
|
|
361
|
+
* <base_Artifactory_URL>/api/terraform/repokey/providers. Default value in UI is https://releases.hashicorp.com
|
|
362
|
+
*/
|
|
363
|
+
terraformProvidersUrl?: pulumi.Input<string>;
|
|
364
|
+
/**
|
|
365
|
+
* The base URL of the registry API. When using Smart Remote Repositories, set the URL to
|
|
366
|
+
* <base_Artifactory_URL>/api/terraform/repokey. Default value in UI is https://registry.terraform.io
|
|
367
|
+
*/
|
|
368
|
+
terraformRegistryUrl?: pulumi.Input<string>;
|
|
369
|
+
unusedArtifactsCleanupPeriodEnabled?: pulumi.Input<boolean>;
|
|
370
|
+
/**
|
|
371
|
+
* The number of hours to wait before an artifact is deemed "unused" and eligible for cleanup from the repository. A value
|
|
372
|
+
* of 0 means automatic cleanup of cached artifacts is disabled.
|
|
373
|
+
*/
|
|
374
|
+
unusedArtifactsCleanupPeriodHours?: pulumi.Input<number>;
|
|
375
|
+
/**
|
|
376
|
+
* The base URL of the Module storage API.
|
|
377
|
+
*/
|
|
378
|
+
url?: pulumi.Input<string>;
|
|
379
|
+
username?: pulumi.Input<string>;
|
|
380
|
+
/**
|
|
381
|
+
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
|
|
382
|
+
* Xray settings.
|
|
383
|
+
*/
|
|
384
|
+
xrayIndex?: pulumi.Input<boolean>;
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* The set of arguments for constructing a RemoteTerraformRepository resource.
|
|
388
|
+
*/
|
|
389
|
+
export interface RemoteTerraformRepositoryArgs {
|
|
390
|
+
/**
|
|
391
|
+
* Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to
|
|
392
|
+
* any other host.
|
|
393
|
+
*/
|
|
394
|
+
allowAnyHostAuth?: pulumi.Input<boolean>;
|
|
395
|
+
/**
|
|
396
|
+
* The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time,
|
|
397
|
+
* an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed
|
|
398
|
+
* offline. Default to 300.
|
|
399
|
+
*/
|
|
400
|
+
assumedOfflinePeriodSecs?: pulumi.Input<number>;
|
|
401
|
+
/**
|
|
402
|
+
* (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact
|
|
403
|
+
* resolution.
|
|
404
|
+
*/
|
|
405
|
+
blackedOut?: pulumi.Input<boolean>;
|
|
406
|
+
/**
|
|
407
|
+
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
|
|
408
|
+
* HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked,
|
|
409
|
+
* Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
|
|
410
|
+
*/
|
|
411
|
+
blockMismatchingMimeTypes?: pulumi.Input<boolean>;
|
|
412
|
+
/**
|
|
413
|
+
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources,
|
|
414
|
+
* HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked,
|
|
415
|
+
* Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
|
|
416
|
+
*/
|
|
417
|
+
bypassHeadRequests?: pulumi.Input<boolean>;
|
|
418
|
+
clientTlsCertificate?: pulumi.Input<string>;
|
|
419
|
+
contentSynchronisation?: pulumi.Input<inputs.RemoteTerraformRepositoryContentSynchronisation>;
|
|
420
|
+
description?: pulumi.Input<string>;
|
|
421
|
+
/**
|
|
422
|
+
* Enables cookie management if the remote repository uses cookies to manage client state.
|
|
423
|
+
*/
|
|
424
|
+
enableCookieManagement?: pulumi.Input<boolean>;
|
|
425
|
+
/**
|
|
426
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no
|
|
427
|
+
* artifacts are excluded.
|
|
428
|
+
*/
|
|
429
|
+
excludesPattern?: pulumi.Input<string>;
|
|
430
|
+
/**
|
|
431
|
+
* When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to
|
|
432
|
+
* communicate with this repository.
|
|
433
|
+
*/
|
|
434
|
+
hardFail?: pulumi.Input<boolean>;
|
|
435
|
+
/**
|
|
436
|
+
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
437
|
+
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
438
|
+
*/
|
|
439
|
+
includesPattern?: pulumi.Input<string>;
|
|
440
|
+
/**
|
|
441
|
+
* A mandatory identifier for the repository that must be unique. It cannot begin with a number or
|
|
442
|
+
* contain spaces or special characters.
|
|
443
|
+
*/
|
|
444
|
+
key: pulumi.Input<string>;
|
|
445
|
+
/**
|
|
446
|
+
* Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of
|
|
447
|
+
* the 'Retrieval Cache Period'. Default value is 'false'.
|
|
448
|
+
*/
|
|
449
|
+
listRemoteFolderItems?: pulumi.Input<boolean>;
|
|
450
|
+
/**
|
|
451
|
+
* The local address to be used when creating connections. Useful for specifying the interface to use on systems with
|
|
452
|
+
* multiple network interfaces.
|
|
453
|
+
*/
|
|
454
|
+
localAddress?: pulumi.Input<string>;
|
|
455
|
+
/**
|
|
456
|
+
* The set of mime types that should override the block_mismatching_mime_types setting. Eg:
|
|
457
|
+
* "application/json,application/xml". Default value is empty.
|
|
458
|
+
*/
|
|
459
|
+
mismatchingMimeTypesOverrideList?: pulumi.Input<string>;
|
|
460
|
+
/**
|
|
461
|
+
* The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
|
|
462
|
+
*/
|
|
463
|
+
missedCachePeriodSeconds?: pulumi.Input<number>;
|
|
464
|
+
notes?: pulumi.Input<string>;
|
|
465
|
+
/**
|
|
466
|
+
* If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
|
|
467
|
+
*/
|
|
468
|
+
offline?: pulumi.Input<boolean>;
|
|
469
|
+
password?: pulumi.Input<string>;
|
|
470
|
+
/**
|
|
471
|
+
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
472
|
+
*/
|
|
473
|
+
priorityResolution?: pulumi.Input<boolean>;
|
|
474
|
+
/**
|
|
475
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
476
|
+
*/
|
|
477
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
478
|
+
/**
|
|
479
|
+
* Project key for assigning this repository to. Must be 3 - 10 lowercase alphanumeric characters. When assigning
|
|
480
|
+
* repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
481
|
+
*/
|
|
482
|
+
projectKey?: pulumi.Input<string>;
|
|
483
|
+
/**
|
|
484
|
+
* When set, if query params are included in the request to Artifactory, they will be passed on to the remote repository.
|
|
485
|
+
*/
|
|
486
|
+
propagateQueryParams?: pulumi.Input<boolean>;
|
|
487
|
+
/**
|
|
488
|
+
* List of property set names
|
|
489
|
+
*/
|
|
490
|
+
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
491
|
+
/**
|
|
492
|
+
* Proxy key from Artifactory Proxies settings
|
|
493
|
+
*/
|
|
494
|
+
proxy?: pulumi.Input<string>;
|
|
495
|
+
/**
|
|
496
|
+
* Repository layout key for the remote layout mapping
|
|
497
|
+
*/
|
|
498
|
+
remoteRepoLayoutRef?: pulumi.Input<string>;
|
|
499
|
+
/**
|
|
500
|
+
* Repository layout key for the local repository
|
|
501
|
+
*/
|
|
502
|
+
repoLayoutRef?: pulumi.Input<string>;
|
|
503
|
+
/**
|
|
504
|
+
* The metadataRetrievalTimeoutSecs field not allowed to be bigger then retrievalCachePeriodSecs field.
|
|
505
|
+
*/
|
|
506
|
+
retrievalCachePeriodSeconds?: pulumi.Input<number>;
|
|
507
|
+
shareConfiguration?: pulumi.Input<boolean>;
|
|
508
|
+
/**
|
|
509
|
+
* Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network
|
|
510
|
+
* operation is considered a retrieval failure.
|
|
511
|
+
*/
|
|
512
|
+
socketTimeoutMillis?: pulumi.Input<number>;
|
|
513
|
+
/**
|
|
514
|
+
* When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and
|
|
515
|
+
* direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with
|
|
516
|
+
* one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory
|
|
517
|
+
* servers.
|
|
518
|
+
*/
|
|
519
|
+
storeArtifactsLocally?: pulumi.Input<boolean>;
|
|
520
|
+
/**
|
|
521
|
+
* When set, remote artifacts are fetched along with their properties.
|
|
522
|
+
*/
|
|
523
|
+
synchronizeProperties?: pulumi.Input<boolean>;
|
|
524
|
+
/**
|
|
525
|
+
* The base URL of the Provider's storage API. When using Smart remote repositories, set the URL to
|
|
526
|
+
* <base_Artifactory_URL>/api/terraform/repokey/providers. Default value in UI is https://releases.hashicorp.com
|
|
527
|
+
*/
|
|
528
|
+
terraformProvidersUrl?: pulumi.Input<string>;
|
|
529
|
+
/**
|
|
530
|
+
* The base URL of the registry API. When using Smart Remote Repositories, set the URL to
|
|
531
|
+
* <base_Artifactory_URL>/api/terraform/repokey. Default value in UI is https://registry.terraform.io
|
|
532
|
+
*/
|
|
533
|
+
terraformRegistryUrl?: pulumi.Input<string>;
|
|
534
|
+
unusedArtifactsCleanupPeriodEnabled?: pulumi.Input<boolean>;
|
|
535
|
+
/**
|
|
536
|
+
* The number of hours to wait before an artifact is deemed "unused" and eligible for cleanup from the repository. A value
|
|
537
|
+
* of 0 means automatic cleanup of cached artifacts is disabled.
|
|
538
|
+
*/
|
|
539
|
+
unusedArtifactsCleanupPeriodHours?: pulumi.Input<number>;
|
|
540
|
+
/**
|
|
541
|
+
* The base URL of the Module storage API.
|
|
542
|
+
*/
|
|
543
|
+
url: pulumi.Input<string>;
|
|
544
|
+
username?: pulumi.Input<string>;
|
|
545
|
+
/**
|
|
546
|
+
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via
|
|
547
|
+
* Xray settings.
|
|
548
|
+
*/
|
|
549
|
+
xrayIndex?: pulumi.Input<boolean>;
|
|
550
|
+
}
|