@pulumi/artifactory 8.11.0-alpha.1766173037 → 8.11.0-alpha.1766207602
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/artifactoryReleaseBundleCustomWebhook.d.ts +0 -1
- package/artifactoryReleaseBundleCustomWebhook.js +0 -1
- package/artifactoryReleaseBundleCustomWebhook.js.map +1 -1
- package/artifactoryReleaseBundleWebhook.d.ts +0 -1
- package/artifactoryReleaseBundleWebhook.js +0 -1
- package/artifactoryReleaseBundleWebhook.js.map +1 -1
- package/buildCustomWebhook.d.ts +1 -1
- package/buildCustomWebhook.js +1 -1
- package/buildWebhook.d.ts +1 -2
- package/buildWebhook.js +1 -2
- package/buildWebhook.js.map +1 -1
- package/getLocalHexRepository.d.ts +78 -0
- package/getLocalHexRepository.js +50 -0
- package/getLocalHexRepository.js.map +1 -0
- package/getRemoteHexRepository.d.ts +105 -0
- package/getRemoteHexRepository.js +50 -0
- package/getRemoteHexRepository.js.map +1 -0
- package/getVirtualHexRepository.d.ts +71 -0
- package/getVirtualHexRepository.js +50 -0
- package/getVirtualHexRepository.js.map +1 -0
- package/index.d.ts +18 -0
- package/index.js +32 -7
- package/index.js.map +1 -1
- package/localHexRepository.d.ts +261 -0
- package/localHexRepository.js +124 -0
- package/localHexRepository.js.map +1 -0
- package/package.json +2 -2
- package/releaseBundleV2CleanupPolicy.d.ts +0 -41
- package/releaseBundleV2CleanupPolicy.js +0 -41
- package/releaseBundleV2CleanupPolicy.js.map +1 -1
- package/releaseBundleV2CustomWebhook.d.ts +0 -2
- package/releaseBundleV2CustomWebhook.js +0 -2
- package/releaseBundleV2CustomWebhook.js.map +1 -1
- package/releaseBundleV2Webhook.d.ts +0 -2
- package/releaseBundleV2Webhook.js +0 -2
- package/releaseBundleV2Webhook.js.map +1 -1
- package/remoteHexRepository.d.ts +590 -0
- package/remoteHexRepository.js +196 -0
- package/remoteHexRepository.js.map +1 -0
- package/types/input.d.ts +55 -29
- package/types/output.d.ts +55 -29
- package/virtualHexRepository.d.ts +232 -0
- package/virtualHexRepository.js +138 -0
- package/virtualHexRepository.js.map +1 -0
|
@@ -0,0 +1,590 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Creates a remote Hex repository for proxying Elixir/Erlang packages from a remote Hex registry.
|
|
6
|
+
*
|
|
7
|
+
* Official documentation can be found [here](https://www.jfrog.com/confluence/display/JFROG/Hex+Registry).
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
14
|
+
* import * as std from "@pulumi/std";
|
|
15
|
+
*
|
|
16
|
+
* const some_keypairRSA = new artifactory.Keypair("some-keypairRSA", {
|
|
17
|
+
* pairName: `some-keypair${randid.id}`,
|
|
18
|
+
* pairType: "RSA",
|
|
19
|
+
* alias: "foo-alias",
|
|
20
|
+
* privateKey: std.file({
|
|
21
|
+
* input: "samples/rsa.priv",
|
|
22
|
+
* }).then(invoke => invoke.result),
|
|
23
|
+
* publicKey: std.file({
|
|
24
|
+
* input: "samples/rsa.pub",
|
|
25
|
+
* }).then(invoke => invoke.result),
|
|
26
|
+
* });
|
|
27
|
+
* const my_remote_hex = new artifactory.RemoteHexRepository("my-remote-hex", {
|
|
28
|
+
* key: "my-remote-hex",
|
|
29
|
+
* url: "https://repo.hex.pm",
|
|
30
|
+
* hexPrimaryKeypairRef: some_keypairRSA.pairName,
|
|
31
|
+
* publicKey: std.file({
|
|
32
|
+
* input: "samples/rsa.pub",
|
|
33
|
+
* }).then(invoke => invoke.result),
|
|
34
|
+
* description: "Remote Hex repository for Elixir packages",
|
|
35
|
+
* notes: "Internal repository",
|
|
36
|
+
* }, {
|
|
37
|
+
* dependsOn: [some_keypairRSA],
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* ## Import
|
|
42
|
+
*
|
|
43
|
+
* Remote repositories can be imported using their name, e.g.
|
|
44
|
+
*
|
|
45
|
+
* ```sh
|
|
46
|
+
* $ pulumi import artifactory:index/remoteHexRepository:RemoteHexRepository my-remote-hex my-remote-hex
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
export declare class RemoteHexRepository extends pulumi.CustomResource {
|
|
50
|
+
/**
|
|
51
|
+
* Get an existing RemoteHexRepository resource's state with the given name, ID, and optional extra
|
|
52
|
+
* properties used to qualify the lookup.
|
|
53
|
+
*
|
|
54
|
+
* @param name The _unique_ name of the resulting resource.
|
|
55
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
56
|
+
* @param state Any extra arguments used during the lookup.
|
|
57
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
58
|
+
*/
|
|
59
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RemoteHexRepositoryState, opts?: pulumi.CustomResourceOptions): RemoteHexRepository;
|
|
60
|
+
/**
|
|
61
|
+
* Returns true if the given object is an instance of RemoteHexRepository. This is designed to work even
|
|
62
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
63
|
+
*/
|
|
64
|
+
static isInstance(obj: any): obj is RemoteHexRepository;
|
|
65
|
+
/**
|
|
66
|
+
* 'Lenient Host Authentication' in the UI. Allow credentials of this repository to be used on requests redirected to any other host.
|
|
67
|
+
*/
|
|
68
|
+
readonly allowAnyHostAuth: pulumi.Output<boolean>;
|
|
69
|
+
/**
|
|
70
|
+
* When set, you may view content such as HTML or Javadoc files directly from Artifactory.
|
|
71
|
+
* This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks).
|
|
72
|
+
*/
|
|
73
|
+
readonly archiveBrowsingEnabled: pulumi.Output<boolean>;
|
|
74
|
+
/**
|
|
75
|
+
* The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline.
|
|
76
|
+
*/
|
|
77
|
+
readonly assumedOfflinePeriodSecs: pulumi.Output<number>;
|
|
78
|
+
/**
|
|
79
|
+
* (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
|
|
80
|
+
*/
|
|
81
|
+
readonly blackedOut: pulumi.Output<boolean>;
|
|
82
|
+
/**
|
|
83
|
+
* If set, artifacts will fail to download if a mismatch is detected between requested and received mimetype, according to the list specified in the system properties file under blockedMismatchingMimeTypes. You can override by adding mimetypes to the override list 'mismatching_mime_types_override_list'.
|
|
84
|
+
*/
|
|
85
|
+
readonly blockMismatchingMimeTypes: pulumi.Output<boolean>;
|
|
86
|
+
/**
|
|
87
|
+
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
|
|
88
|
+
*/
|
|
89
|
+
readonly bypassHeadRequests: pulumi.Output<boolean>;
|
|
90
|
+
/**
|
|
91
|
+
* When set, download requests to this repository will redirect the client to download the artifact directly from AWS CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false'
|
|
92
|
+
*/
|
|
93
|
+
readonly cdnRedirect: pulumi.Output<boolean>;
|
|
94
|
+
/**
|
|
95
|
+
* Client TLS certificate name.
|
|
96
|
+
*/
|
|
97
|
+
readonly clientTlsCertificate: pulumi.Output<string>;
|
|
98
|
+
readonly contentSynchronisation: pulumi.Output<outputs.RemoteHexRepositoryContentSynchronisation | undefined>;
|
|
99
|
+
/**
|
|
100
|
+
* Public description.
|
|
101
|
+
*/
|
|
102
|
+
readonly description: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* When set to `true`, the proxy is disabled, and not returned in the API response body. If there is a default proxy set for the Artifactory instance, it will be ignored, too. Introduced since Artifactory 7.41.7.
|
|
105
|
+
*/
|
|
106
|
+
readonly disableProxy: pulumi.Output<boolean>;
|
|
107
|
+
/**
|
|
108
|
+
* Whether to disable URL normalization. Default is `false`.
|
|
109
|
+
*/
|
|
110
|
+
readonly disableUrlNormalization: pulumi.Output<boolean>;
|
|
111
|
+
/**
|
|
112
|
+
* When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. Default value is 'false'.
|
|
113
|
+
*/
|
|
114
|
+
readonly downloadDirect: pulumi.Output<boolean>;
|
|
115
|
+
/**
|
|
116
|
+
* Enables cookie management if the remote repository uses cookies to manage client state.
|
|
117
|
+
*/
|
|
118
|
+
readonly enableCookieManagement: pulumi.Output<boolean>;
|
|
119
|
+
/**
|
|
120
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded.
|
|
121
|
+
*/
|
|
122
|
+
readonly excludesPattern: pulumi.Output<string>;
|
|
123
|
+
/**
|
|
124
|
+
* When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
|
|
125
|
+
*/
|
|
126
|
+
readonly hardFail: pulumi.Output<boolean>;
|
|
127
|
+
/**
|
|
128
|
+
* Select the RSA key pair to sign and encrypt content for secure communication between Artifactory and the Mix client.
|
|
129
|
+
*/
|
|
130
|
+
readonly hexPrimaryKeypairRef: pulumi.Output<string>;
|
|
131
|
+
/**
|
|
132
|
+
* List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`).
|
|
133
|
+
*/
|
|
134
|
+
readonly includesPattern: pulumi.Output<string>;
|
|
135
|
+
/**
|
|
136
|
+
* A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
|
|
137
|
+
*/
|
|
138
|
+
readonly key: pulumi.Output<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. Default value is 'false'. This field exists in the API but not in the UI.
|
|
141
|
+
*/
|
|
142
|
+
readonly listRemoteFolderItems: pulumi.Output<boolean>;
|
|
143
|
+
/**
|
|
144
|
+
* The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
|
|
145
|
+
*/
|
|
146
|
+
readonly localAddress: pulumi.Output<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Metadata Retrieval Cache Timeout (Sec) in the UI.This value refers to the number of seconds to wait for retrieval from the remote before serving locally cached artifact or fail the request.
|
|
149
|
+
*/
|
|
150
|
+
readonly metadataRetrievalTimeoutSecs: pulumi.Output<number>;
|
|
151
|
+
/**
|
|
152
|
+
* The set of mime types that should override the blockMismatchingMimeTypes setting. Eg: 'application/json,application/xml'. Default value is empty.
|
|
153
|
+
*/
|
|
154
|
+
readonly mismatchingMimeTypesOverrideList: pulumi.Output<string>;
|
|
155
|
+
/**
|
|
156
|
+
* Missed Retrieval Cache Period (Sec) in the UI. The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
|
|
157
|
+
*/
|
|
158
|
+
readonly missedCachePeriodSeconds: pulumi.Output<number>;
|
|
159
|
+
/**
|
|
160
|
+
* Internal description.
|
|
161
|
+
*/
|
|
162
|
+
readonly notes: pulumi.Output<string>;
|
|
163
|
+
/**
|
|
164
|
+
* If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
|
|
165
|
+
*/
|
|
166
|
+
readonly offline: pulumi.Output<boolean>;
|
|
167
|
+
readonly password: pulumi.Output<string | undefined>;
|
|
168
|
+
/**
|
|
169
|
+
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
170
|
+
*/
|
|
171
|
+
readonly priorityResolution: pulumi.Output<boolean>;
|
|
172
|
+
readonly projectEnvironments: pulumi.Output<string[]>;
|
|
173
|
+
/**
|
|
174
|
+
* Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
175
|
+
*/
|
|
176
|
+
readonly projectKey: pulumi.Output<string>;
|
|
177
|
+
/**
|
|
178
|
+
* List of property set name
|
|
179
|
+
*/
|
|
180
|
+
readonly propertySets: pulumi.Output<string[] | undefined>;
|
|
181
|
+
/**
|
|
182
|
+
* Proxy key from Artifactory Proxies settings. Can't be set if `disableProxy = true`.
|
|
183
|
+
*/
|
|
184
|
+
readonly proxy: pulumi.Output<string>;
|
|
185
|
+
/**
|
|
186
|
+
* Contains the public key used when downloading packages from the Hex remote registry (public, private, or self-hosted Hex server).
|
|
187
|
+
*/
|
|
188
|
+
readonly publicKey: pulumi.Output<string>;
|
|
189
|
+
/**
|
|
190
|
+
* Custom HTTP query parameters that will be automatically included in all remote resource requests. For example: `param1=val1¶m2=val2¶m3=val3`
|
|
191
|
+
*/
|
|
192
|
+
readonly queryParams: pulumi.Output<string>;
|
|
193
|
+
/**
|
|
194
|
+
* Repository layout key for the remote layout mapping. Repository can be created without this attribute (or set to an empty string). Once it's set, it can't be removed by passing an empty string or removing the attribute, that will be ignored by the Artifactory API. UI shows an error message, if the user tries to remove the value.
|
|
195
|
+
*/
|
|
196
|
+
readonly remoteRepoLayoutRef: pulumi.Output<string>;
|
|
197
|
+
/**
|
|
198
|
+
* Sets the layout that the repository should use for storing and identifying modules. A recommended layout that corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly.
|
|
199
|
+
*/
|
|
200
|
+
readonly repoLayoutRef: pulumi.Output<string>;
|
|
201
|
+
/**
|
|
202
|
+
* Metadata Retrieval Cache Period (Sec) in the UI. This value refers to the number of seconds to cache metadata files before checking for newer versions on remote server. A value of 0 indicates no caching.
|
|
203
|
+
*/
|
|
204
|
+
readonly retrievalCachePeriodSeconds: pulumi.Output<number>;
|
|
205
|
+
/**
|
|
206
|
+
* @deprecated No longer supported
|
|
207
|
+
*/
|
|
208
|
+
readonly shareConfiguration: pulumi.Output<boolean>;
|
|
209
|
+
/**
|
|
210
|
+
* Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
|
|
211
|
+
*/
|
|
212
|
+
readonly socketTimeoutMillis: pulumi.Output<number>;
|
|
213
|
+
/**
|
|
214
|
+
* When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
|
|
215
|
+
*/
|
|
216
|
+
readonly storeArtifactsLocally: pulumi.Output<boolean>;
|
|
217
|
+
/**
|
|
218
|
+
* When set, remote artifacts are fetched along with their properties.
|
|
219
|
+
*/
|
|
220
|
+
readonly synchronizeProperties: pulumi.Output<boolean>;
|
|
221
|
+
/**
|
|
222
|
+
* Unused Artifacts Cleanup Period (Hr) in the UI. The number of hours to wait before an artifact is deemed 'unused' and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
|
|
223
|
+
*/
|
|
224
|
+
readonly unusedArtifactsCleanupPeriodHours: pulumi.Output<number>;
|
|
225
|
+
/**
|
|
226
|
+
* The remote repo URL. For the official Hex registry, use `https://repo.hex.pm`.
|
|
227
|
+
*/
|
|
228
|
+
readonly url: pulumi.Output<string>;
|
|
229
|
+
readonly username: pulumi.Output<string>;
|
|
230
|
+
/**
|
|
231
|
+
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
|
|
232
|
+
*/
|
|
233
|
+
readonly xrayIndex: pulumi.Output<boolean>;
|
|
234
|
+
/**
|
|
235
|
+
* Create a RemoteHexRepository resource with the given unique name, arguments, and options.
|
|
236
|
+
*
|
|
237
|
+
* @param name The _unique_ name of the resource.
|
|
238
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
239
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
240
|
+
*/
|
|
241
|
+
constructor(name: string, args: RemoteHexRepositoryArgs, opts?: pulumi.CustomResourceOptions);
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Input properties used for looking up and filtering RemoteHexRepository resources.
|
|
245
|
+
*/
|
|
246
|
+
export interface RemoteHexRepositoryState {
|
|
247
|
+
/**
|
|
248
|
+
* 'Lenient Host Authentication' in the UI. Allow credentials of this repository to be used on requests redirected to any other host.
|
|
249
|
+
*/
|
|
250
|
+
allowAnyHostAuth?: pulumi.Input<boolean>;
|
|
251
|
+
/**
|
|
252
|
+
* When set, you may view content such as HTML or Javadoc files directly from Artifactory.
|
|
253
|
+
* This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks).
|
|
254
|
+
*/
|
|
255
|
+
archiveBrowsingEnabled?: pulumi.Input<boolean>;
|
|
256
|
+
/**
|
|
257
|
+
* The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline.
|
|
258
|
+
*/
|
|
259
|
+
assumedOfflinePeriodSecs?: pulumi.Input<number>;
|
|
260
|
+
/**
|
|
261
|
+
* (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
|
|
262
|
+
*/
|
|
263
|
+
blackedOut?: pulumi.Input<boolean>;
|
|
264
|
+
/**
|
|
265
|
+
* If set, artifacts will fail to download if a mismatch is detected between requested and received mimetype, according to the list specified in the system properties file under blockedMismatchingMimeTypes. You can override by adding mimetypes to the override list 'mismatching_mime_types_override_list'.
|
|
266
|
+
*/
|
|
267
|
+
blockMismatchingMimeTypes?: pulumi.Input<boolean>;
|
|
268
|
+
/**
|
|
269
|
+
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
|
|
270
|
+
*/
|
|
271
|
+
bypassHeadRequests?: pulumi.Input<boolean>;
|
|
272
|
+
/**
|
|
273
|
+
* When set, download requests to this repository will redirect the client to download the artifact directly from AWS CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false'
|
|
274
|
+
*/
|
|
275
|
+
cdnRedirect?: pulumi.Input<boolean>;
|
|
276
|
+
/**
|
|
277
|
+
* Client TLS certificate name.
|
|
278
|
+
*/
|
|
279
|
+
clientTlsCertificate?: pulumi.Input<string>;
|
|
280
|
+
contentSynchronisation?: pulumi.Input<inputs.RemoteHexRepositoryContentSynchronisation>;
|
|
281
|
+
/**
|
|
282
|
+
* Public description.
|
|
283
|
+
*/
|
|
284
|
+
description?: pulumi.Input<string>;
|
|
285
|
+
/**
|
|
286
|
+
* When set to `true`, the proxy is disabled, and not returned in the API response body. If there is a default proxy set for the Artifactory instance, it will be ignored, too. Introduced since Artifactory 7.41.7.
|
|
287
|
+
*/
|
|
288
|
+
disableProxy?: pulumi.Input<boolean>;
|
|
289
|
+
/**
|
|
290
|
+
* Whether to disable URL normalization. Default is `false`.
|
|
291
|
+
*/
|
|
292
|
+
disableUrlNormalization?: pulumi.Input<boolean>;
|
|
293
|
+
/**
|
|
294
|
+
* When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. Default value is 'false'.
|
|
295
|
+
*/
|
|
296
|
+
downloadDirect?: pulumi.Input<boolean>;
|
|
297
|
+
/**
|
|
298
|
+
* Enables cookie management if the remote repository uses cookies to manage client state.
|
|
299
|
+
*/
|
|
300
|
+
enableCookieManagement?: pulumi.Input<boolean>;
|
|
301
|
+
/**
|
|
302
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded.
|
|
303
|
+
*/
|
|
304
|
+
excludesPattern?: pulumi.Input<string>;
|
|
305
|
+
/**
|
|
306
|
+
* When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
|
|
307
|
+
*/
|
|
308
|
+
hardFail?: pulumi.Input<boolean>;
|
|
309
|
+
/**
|
|
310
|
+
* Select the RSA key pair to sign and encrypt content for secure communication between Artifactory and the Mix client.
|
|
311
|
+
*/
|
|
312
|
+
hexPrimaryKeypairRef?: pulumi.Input<string>;
|
|
313
|
+
/**
|
|
314
|
+
* List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`).
|
|
315
|
+
*/
|
|
316
|
+
includesPattern?: pulumi.Input<string>;
|
|
317
|
+
/**
|
|
318
|
+
* A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
|
|
319
|
+
*/
|
|
320
|
+
key?: pulumi.Input<string>;
|
|
321
|
+
/**
|
|
322
|
+
* Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. Default value is 'false'. This field exists in the API but not in the UI.
|
|
323
|
+
*/
|
|
324
|
+
listRemoteFolderItems?: pulumi.Input<boolean>;
|
|
325
|
+
/**
|
|
326
|
+
* The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
|
|
327
|
+
*/
|
|
328
|
+
localAddress?: pulumi.Input<string>;
|
|
329
|
+
/**
|
|
330
|
+
* Metadata Retrieval Cache Timeout (Sec) in the UI.This value refers to the number of seconds to wait for retrieval from the remote before serving locally cached artifact or fail the request.
|
|
331
|
+
*/
|
|
332
|
+
metadataRetrievalTimeoutSecs?: pulumi.Input<number>;
|
|
333
|
+
/**
|
|
334
|
+
* The set of mime types that should override the blockMismatchingMimeTypes setting. Eg: 'application/json,application/xml'. Default value is empty.
|
|
335
|
+
*/
|
|
336
|
+
mismatchingMimeTypesOverrideList?: pulumi.Input<string>;
|
|
337
|
+
/**
|
|
338
|
+
* Missed Retrieval Cache Period (Sec) in the UI. The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
|
|
339
|
+
*/
|
|
340
|
+
missedCachePeriodSeconds?: pulumi.Input<number>;
|
|
341
|
+
/**
|
|
342
|
+
* Internal description.
|
|
343
|
+
*/
|
|
344
|
+
notes?: pulumi.Input<string>;
|
|
345
|
+
/**
|
|
346
|
+
* If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
|
|
347
|
+
*/
|
|
348
|
+
offline?: pulumi.Input<boolean>;
|
|
349
|
+
password?: pulumi.Input<string>;
|
|
350
|
+
/**
|
|
351
|
+
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
352
|
+
*/
|
|
353
|
+
priorityResolution?: pulumi.Input<boolean>;
|
|
354
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
355
|
+
/**
|
|
356
|
+
* Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
357
|
+
*/
|
|
358
|
+
projectKey?: pulumi.Input<string>;
|
|
359
|
+
/**
|
|
360
|
+
* List of property set name
|
|
361
|
+
*/
|
|
362
|
+
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
363
|
+
/**
|
|
364
|
+
* Proxy key from Artifactory Proxies settings. Can't be set if `disableProxy = true`.
|
|
365
|
+
*/
|
|
366
|
+
proxy?: pulumi.Input<string>;
|
|
367
|
+
/**
|
|
368
|
+
* Contains the public key used when downloading packages from the Hex remote registry (public, private, or self-hosted Hex server).
|
|
369
|
+
*/
|
|
370
|
+
publicKey?: pulumi.Input<string>;
|
|
371
|
+
/**
|
|
372
|
+
* Custom HTTP query parameters that will be automatically included in all remote resource requests. For example: `param1=val1¶m2=val2¶m3=val3`
|
|
373
|
+
*/
|
|
374
|
+
queryParams?: pulumi.Input<string>;
|
|
375
|
+
/**
|
|
376
|
+
* Repository layout key for the remote layout mapping. Repository can be created without this attribute (or set to an empty string). Once it's set, it can't be removed by passing an empty string or removing the attribute, that will be ignored by the Artifactory API. UI shows an error message, if the user tries to remove the value.
|
|
377
|
+
*/
|
|
378
|
+
remoteRepoLayoutRef?: pulumi.Input<string>;
|
|
379
|
+
/**
|
|
380
|
+
* Sets the layout that the repository should use for storing and identifying modules. A recommended layout that corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly.
|
|
381
|
+
*/
|
|
382
|
+
repoLayoutRef?: pulumi.Input<string>;
|
|
383
|
+
/**
|
|
384
|
+
* Metadata Retrieval Cache Period (Sec) in the UI. This value refers to the number of seconds to cache metadata files before checking for newer versions on remote server. A value of 0 indicates no caching.
|
|
385
|
+
*/
|
|
386
|
+
retrievalCachePeriodSeconds?: pulumi.Input<number>;
|
|
387
|
+
/**
|
|
388
|
+
* @deprecated No longer supported
|
|
389
|
+
*/
|
|
390
|
+
shareConfiguration?: pulumi.Input<boolean>;
|
|
391
|
+
/**
|
|
392
|
+
* Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
|
|
393
|
+
*/
|
|
394
|
+
socketTimeoutMillis?: pulumi.Input<number>;
|
|
395
|
+
/**
|
|
396
|
+
* When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
|
|
397
|
+
*/
|
|
398
|
+
storeArtifactsLocally?: pulumi.Input<boolean>;
|
|
399
|
+
/**
|
|
400
|
+
* When set, remote artifacts are fetched along with their properties.
|
|
401
|
+
*/
|
|
402
|
+
synchronizeProperties?: pulumi.Input<boolean>;
|
|
403
|
+
/**
|
|
404
|
+
* Unused Artifacts Cleanup Period (Hr) in the UI. The number of hours to wait before an artifact is deemed 'unused' and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
|
|
405
|
+
*/
|
|
406
|
+
unusedArtifactsCleanupPeriodHours?: pulumi.Input<number>;
|
|
407
|
+
/**
|
|
408
|
+
* The remote repo URL. For the official Hex registry, use `https://repo.hex.pm`.
|
|
409
|
+
*/
|
|
410
|
+
url?: pulumi.Input<string>;
|
|
411
|
+
username?: pulumi.Input<string>;
|
|
412
|
+
/**
|
|
413
|
+
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
|
|
414
|
+
*/
|
|
415
|
+
xrayIndex?: pulumi.Input<boolean>;
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* The set of arguments for constructing a RemoteHexRepository resource.
|
|
419
|
+
*/
|
|
420
|
+
export interface RemoteHexRepositoryArgs {
|
|
421
|
+
/**
|
|
422
|
+
* 'Lenient Host Authentication' in the UI. Allow credentials of this repository to be used on requests redirected to any other host.
|
|
423
|
+
*/
|
|
424
|
+
allowAnyHostAuth?: pulumi.Input<boolean>;
|
|
425
|
+
/**
|
|
426
|
+
* When set, you may view content such as HTML or Javadoc files directly from Artifactory.
|
|
427
|
+
* This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks).
|
|
428
|
+
*/
|
|
429
|
+
archiveBrowsingEnabled?: pulumi.Input<boolean>;
|
|
430
|
+
/**
|
|
431
|
+
* The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline.
|
|
432
|
+
*/
|
|
433
|
+
assumedOfflinePeriodSecs?: pulumi.Input<number>;
|
|
434
|
+
/**
|
|
435
|
+
* (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
|
|
436
|
+
*/
|
|
437
|
+
blackedOut?: pulumi.Input<boolean>;
|
|
438
|
+
/**
|
|
439
|
+
* If set, artifacts will fail to download if a mismatch is detected between requested and received mimetype, according to the list specified in the system properties file under blockedMismatchingMimeTypes. You can override by adding mimetypes to the override list 'mismatching_mime_types_override_list'.
|
|
440
|
+
*/
|
|
441
|
+
blockMismatchingMimeTypes?: pulumi.Input<boolean>;
|
|
442
|
+
/**
|
|
443
|
+
* Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
|
|
444
|
+
*/
|
|
445
|
+
bypassHeadRequests?: pulumi.Input<boolean>;
|
|
446
|
+
/**
|
|
447
|
+
* When set, download requests to this repository will redirect the client to download the artifact directly from AWS CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false'
|
|
448
|
+
*/
|
|
449
|
+
cdnRedirect?: pulumi.Input<boolean>;
|
|
450
|
+
/**
|
|
451
|
+
* Client TLS certificate name.
|
|
452
|
+
*/
|
|
453
|
+
clientTlsCertificate?: pulumi.Input<string>;
|
|
454
|
+
contentSynchronisation?: pulumi.Input<inputs.RemoteHexRepositoryContentSynchronisation>;
|
|
455
|
+
/**
|
|
456
|
+
* Public description.
|
|
457
|
+
*/
|
|
458
|
+
description?: pulumi.Input<string>;
|
|
459
|
+
/**
|
|
460
|
+
* When set to `true`, the proxy is disabled, and not returned in the API response body. If there is a default proxy set for the Artifactory instance, it will be ignored, too. Introduced since Artifactory 7.41.7.
|
|
461
|
+
*/
|
|
462
|
+
disableProxy?: pulumi.Input<boolean>;
|
|
463
|
+
/**
|
|
464
|
+
* Whether to disable URL normalization. Default is `false`.
|
|
465
|
+
*/
|
|
466
|
+
disableUrlNormalization?: pulumi.Input<boolean>;
|
|
467
|
+
/**
|
|
468
|
+
* When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. Default value is 'false'.
|
|
469
|
+
*/
|
|
470
|
+
downloadDirect?: pulumi.Input<boolean>;
|
|
471
|
+
/**
|
|
472
|
+
* Enables cookie management if the remote repository uses cookies to manage client state.
|
|
473
|
+
*/
|
|
474
|
+
enableCookieManagement?: pulumi.Input<boolean>;
|
|
475
|
+
/**
|
|
476
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded.
|
|
477
|
+
*/
|
|
478
|
+
excludesPattern?: pulumi.Input<string>;
|
|
479
|
+
/**
|
|
480
|
+
* When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
|
|
481
|
+
*/
|
|
482
|
+
hardFail?: pulumi.Input<boolean>;
|
|
483
|
+
/**
|
|
484
|
+
* Select the RSA key pair to sign and encrypt content for secure communication between Artifactory and the Mix client.
|
|
485
|
+
*/
|
|
486
|
+
hexPrimaryKeypairRef: pulumi.Input<string>;
|
|
487
|
+
/**
|
|
488
|
+
* List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`).
|
|
489
|
+
*/
|
|
490
|
+
includesPattern?: pulumi.Input<string>;
|
|
491
|
+
/**
|
|
492
|
+
* A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
|
|
493
|
+
*/
|
|
494
|
+
key: pulumi.Input<string>;
|
|
495
|
+
/**
|
|
496
|
+
* Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. Default value is 'false'. This field exists in the API but not in the UI.
|
|
497
|
+
*/
|
|
498
|
+
listRemoteFolderItems?: pulumi.Input<boolean>;
|
|
499
|
+
/**
|
|
500
|
+
* The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
|
|
501
|
+
*/
|
|
502
|
+
localAddress?: pulumi.Input<string>;
|
|
503
|
+
/**
|
|
504
|
+
* Metadata Retrieval Cache Timeout (Sec) in the UI.This value refers to the number of seconds to wait for retrieval from the remote before serving locally cached artifact or fail the request.
|
|
505
|
+
*/
|
|
506
|
+
metadataRetrievalTimeoutSecs?: pulumi.Input<number>;
|
|
507
|
+
/**
|
|
508
|
+
* The set of mime types that should override the blockMismatchingMimeTypes setting. Eg: 'application/json,application/xml'. Default value is empty.
|
|
509
|
+
*/
|
|
510
|
+
mismatchingMimeTypesOverrideList?: pulumi.Input<string>;
|
|
511
|
+
/**
|
|
512
|
+
* Missed Retrieval Cache Period (Sec) in the UI. The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
|
|
513
|
+
*/
|
|
514
|
+
missedCachePeriodSeconds?: pulumi.Input<number>;
|
|
515
|
+
/**
|
|
516
|
+
* Internal description.
|
|
517
|
+
*/
|
|
518
|
+
notes?: pulumi.Input<string>;
|
|
519
|
+
/**
|
|
520
|
+
* If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
|
|
521
|
+
*/
|
|
522
|
+
offline?: pulumi.Input<boolean>;
|
|
523
|
+
password?: pulumi.Input<string>;
|
|
524
|
+
/**
|
|
525
|
+
* Setting repositories with priority will cause metadata to be merged only from repositories set with this field
|
|
526
|
+
*/
|
|
527
|
+
priorityResolution?: pulumi.Input<boolean>;
|
|
528
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
529
|
+
/**
|
|
530
|
+
* Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
531
|
+
*/
|
|
532
|
+
projectKey?: pulumi.Input<string>;
|
|
533
|
+
/**
|
|
534
|
+
* List of property set name
|
|
535
|
+
*/
|
|
536
|
+
propertySets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
537
|
+
/**
|
|
538
|
+
* Proxy key from Artifactory Proxies settings. Can't be set if `disableProxy = true`.
|
|
539
|
+
*/
|
|
540
|
+
proxy?: pulumi.Input<string>;
|
|
541
|
+
/**
|
|
542
|
+
* Contains the public key used when downloading packages from the Hex remote registry (public, private, or self-hosted Hex server).
|
|
543
|
+
*/
|
|
544
|
+
publicKey: pulumi.Input<string>;
|
|
545
|
+
/**
|
|
546
|
+
* Custom HTTP query parameters that will be automatically included in all remote resource requests. For example: `param1=val1¶m2=val2¶m3=val3`
|
|
547
|
+
*/
|
|
548
|
+
queryParams?: pulumi.Input<string>;
|
|
549
|
+
/**
|
|
550
|
+
* Repository layout key for the remote layout mapping. Repository can be created without this attribute (or set to an empty string). Once it's set, it can't be removed by passing an empty string or removing the attribute, that will be ignored by the Artifactory API. UI shows an error message, if the user tries to remove the value.
|
|
551
|
+
*/
|
|
552
|
+
remoteRepoLayoutRef?: pulumi.Input<string>;
|
|
553
|
+
/**
|
|
554
|
+
* Sets the layout that the repository should use for storing and identifying modules. A recommended layout that corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly.
|
|
555
|
+
*/
|
|
556
|
+
repoLayoutRef?: pulumi.Input<string>;
|
|
557
|
+
/**
|
|
558
|
+
* Metadata Retrieval Cache Period (Sec) in the UI. This value refers to the number of seconds to cache metadata files before checking for newer versions on remote server. A value of 0 indicates no caching.
|
|
559
|
+
*/
|
|
560
|
+
retrievalCachePeriodSeconds?: pulumi.Input<number>;
|
|
561
|
+
/**
|
|
562
|
+
* @deprecated No longer supported
|
|
563
|
+
*/
|
|
564
|
+
shareConfiguration?: pulumi.Input<boolean>;
|
|
565
|
+
/**
|
|
566
|
+
* Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
|
|
567
|
+
*/
|
|
568
|
+
socketTimeoutMillis?: pulumi.Input<number>;
|
|
569
|
+
/**
|
|
570
|
+
* When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
|
|
571
|
+
*/
|
|
572
|
+
storeArtifactsLocally?: pulumi.Input<boolean>;
|
|
573
|
+
/**
|
|
574
|
+
* When set, remote artifacts are fetched along with their properties.
|
|
575
|
+
*/
|
|
576
|
+
synchronizeProperties?: pulumi.Input<boolean>;
|
|
577
|
+
/**
|
|
578
|
+
* Unused Artifacts Cleanup Period (Hr) in the UI. The number of hours to wait before an artifact is deemed 'unused' and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
|
|
579
|
+
*/
|
|
580
|
+
unusedArtifactsCleanupPeriodHours?: pulumi.Input<number>;
|
|
581
|
+
/**
|
|
582
|
+
* The remote repo URL. For the official Hex registry, use `https://repo.hex.pm`.
|
|
583
|
+
*/
|
|
584
|
+
url: pulumi.Input<string>;
|
|
585
|
+
username?: pulumi.Input<string>;
|
|
586
|
+
/**
|
|
587
|
+
* Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
|
|
588
|
+
*/
|
|
589
|
+
xrayIndex?: pulumi.Input<boolean>;
|
|
590
|
+
}
|