@pulumi/harness 0.14.5 → 0.14.6
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/package.json +2 -2
- package/platform/gitOpsApplications.d.ts +12 -0
- package/platform/gitOpsApplications.d.ts.map +1 -1
- package/platform/gitOpsApplications.js +2 -0
- package/platform/gitOpsApplications.js.map +1 -1
- package/platform/harLifecycleRule.d.ts +332 -0
- package/platform/harLifecycleRule.d.ts.map +1 -0
- package/platform/harLifecycleRule.js +231 -0
- package/platform/harLifecycleRule.js.map +1 -0
- package/platform/iacmWorkspaceTemplate.d.ts +139 -0
- package/platform/iacmWorkspaceTemplate.d.ts.map +1 -0
- package/platform/iacmWorkspaceTemplate.js +125 -0
- package/platform/iacmWorkspaceTemplate.js.map +1 -0
- package/platform/index.d.ts +6 -0
- package/platform/index.d.ts.map +1 -1
- package/platform/index.js +13 -3
- package/platform/index.js.map +1 -1
- package/platform/workspace.d.ts +22 -6
- package/platform/workspace.d.ts.map +1 -1
- package/platform/workspace.js +6 -0
- package/platform/workspace.js.map +1 -1
- package/types/input.d.ts +84 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +84 -0
- package/types/output.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/harness",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.6",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Harness resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "harness",
|
|
26
|
-
"version": "0.14.
|
|
26
|
+
"version": "0.14.6",
|
|
27
27
|
"server": "github://api.github.com/pulumi"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -99,6 +99,10 @@ export declare class GitOpsApplications extends pulumi.CustomResource {
|
|
|
99
99
|
* Cluster identifier of the GitOps application.
|
|
100
100
|
*/
|
|
101
101
|
readonly clusterId: pulumi.Output<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Indicates if the GitOps application should be force deleted from harness.
|
|
104
|
+
*/
|
|
105
|
+
readonly forceDelete: pulumi.Output<boolean | undefined>;
|
|
102
106
|
/**
|
|
103
107
|
* Identifier of the GitOps application.
|
|
104
108
|
*
|
|
@@ -188,6 +192,10 @@ export interface GitOpsApplicationsState {
|
|
|
188
192
|
* Cluster identifier of the GitOps application.
|
|
189
193
|
*/
|
|
190
194
|
clusterId?: pulumi.Input<string | undefined>;
|
|
195
|
+
/**
|
|
196
|
+
* Indicates if the GitOps application should be force deleted from harness.
|
|
197
|
+
*/
|
|
198
|
+
forceDelete?: pulumi.Input<boolean | undefined>;
|
|
191
199
|
/**
|
|
192
200
|
* Identifier of the GitOps application.
|
|
193
201
|
*
|
|
@@ -269,6 +277,10 @@ export interface GitOpsApplicationsArgs {
|
|
|
269
277
|
* Cluster identifier of the GitOps application.
|
|
270
278
|
*/
|
|
271
279
|
clusterId: pulumi.Input<string>;
|
|
280
|
+
/**
|
|
281
|
+
* Indicates if the GitOps application should be force deleted from harness.
|
|
282
|
+
*/
|
|
283
|
+
forceDelete?: pulumi.Input<boolean | undefined>;
|
|
272
284
|
/**
|
|
273
285
|
* Identifier of the GitOps application.
|
|
274
286
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gitOpsApplications.d.ts","sourceRoot":"","sources":["../../platform/gitOpsApplications.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,qBAAa,kBAAmB,SAAQ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MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC3D;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5D;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACvD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CAChD"}
|
|
@@ -126,6 +126,7 @@ class GitOpsApplications extends pulumi.CustomResource {
|
|
|
126
126
|
resourceInputs["agentId"] = state?.agentId;
|
|
127
127
|
resourceInputs["applications"] = state?.applications;
|
|
128
128
|
resourceInputs["clusterId"] = state?.clusterId;
|
|
129
|
+
resourceInputs["forceDelete"] = state?.forceDelete;
|
|
129
130
|
resourceInputs["identifier"] = state?.identifier;
|
|
130
131
|
resourceInputs["kind"] = state?.kind;
|
|
131
132
|
resourceInputs["name"] = state?.name;
|
|
@@ -162,6 +163,7 @@ class GitOpsApplications extends pulumi.CustomResource {
|
|
|
162
163
|
resourceInputs["agentId"] = args?.agentId;
|
|
163
164
|
resourceInputs["applications"] = args?.applications;
|
|
164
165
|
resourceInputs["clusterId"] = args?.clusterId;
|
|
166
|
+
resourceInputs["forceDelete"] = args?.forceDelete;
|
|
165
167
|
resourceInputs["identifier"] = args?.identifier;
|
|
166
168
|
resourceInputs["kind"] = args?.kind;
|
|
167
169
|
resourceInputs["name"] = args?.name;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gitOpsApplications.js","sourceRoot":"","sources":["../../platform/gitOpsApplications.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,wDAAwD,CAAC;IAE/F;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;
|
|
1
|
+
{"version":3,"file":"gitOpsApplications.js","sourceRoot":"","sources":["../../platform/gitOpsApplications.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;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C5E,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AApLL,gDAqLC"}
|
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Resource for creating and managing Harness Artifact Registry Lifecycle Rules.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as harness from "@pulumi/harness";
|
|
12
|
+
*
|
|
13
|
+
* // Account-scoped DELETE rule — keep last 10 versions, runs nightly
|
|
14
|
+
* const nightlyCleanup = new harness.platform.HarLifecycleRule("nightly_cleanup", {
|
|
15
|
+
* accountId: "your-account-id",
|
|
16
|
+
* name: "nightly-cleanup",
|
|
17
|
+
* action: "DELETE",
|
|
18
|
+
* description: "Keep last 10 versions of all artifacts",
|
|
19
|
+
* applyTo: {
|
|
20
|
+
* mode: "ALL_IN_SCOPE",
|
|
21
|
+
* },
|
|
22
|
+
* criteria: {
|
|
23
|
+
* match: "ALL",
|
|
24
|
+
* rules: [{
|
|
25
|
+
* type: "KEEP_LAST_N",
|
|
26
|
+
* value: 10,
|
|
27
|
+
* }],
|
|
28
|
+
* },
|
|
29
|
+
* schedule: {
|
|
30
|
+
* expression: "0 2 * * *",
|
|
31
|
+
* timezone: "UTC",
|
|
32
|
+
* },
|
|
33
|
+
* });
|
|
34
|
+
* // Project-scoped DELETE rule — delete artifacts older than 30 days
|
|
35
|
+
* const ageBasedCleanup = new harness.platform.HarLifecycleRule("age_based_cleanup", {
|
|
36
|
+
* accountId: "your-account-id",
|
|
37
|
+
* orgId: "your-org-id",
|
|
38
|
+
* projectId: "your-project-id",
|
|
39
|
+
* name: "age-based-cleanup",
|
|
40
|
+
* action: "DELETE",
|
|
41
|
+
* applyTo: {
|
|
42
|
+
* mode: "ALL_IN_SCOPE",
|
|
43
|
+
* },
|
|
44
|
+
* criteria: {
|
|
45
|
+
* match: "ALL",
|
|
46
|
+
* rules: [{
|
|
47
|
+
* type: "AGE_BASED",
|
|
48
|
+
* value: 30,
|
|
49
|
+
* unit: "DAYS",
|
|
50
|
+
* }],
|
|
51
|
+
* },
|
|
52
|
+
* });
|
|
53
|
+
* // Org-scoped PROTECT rule — protect images in specific registries matching a tag pattern
|
|
54
|
+
* const protectProd = new harness.platform.HarLifecycleRule("protect_prod", {
|
|
55
|
+
* accountId: "your-account-id",
|
|
56
|
+
* orgId: "your-org-id",
|
|
57
|
+
* name: "protect-prod-images",
|
|
58
|
+
* action: "PROTECT",
|
|
59
|
+
* packageType: "DOCKER",
|
|
60
|
+
* applyTo: {
|
|
61
|
+
* mode: "EXPLICIT",
|
|
62
|
+
* registries: [
|
|
63
|
+
* "prod-registry",
|
|
64
|
+
* "release-registry",
|
|
65
|
+
* ],
|
|
66
|
+
* },
|
|
67
|
+
* filterConfig: {
|
|
68
|
+
* packageType: "DOCKER",
|
|
69
|
+
* tagNameAllowedPatterns: [
|
|
70
|
+
* "v*",
|
|
71
|
+
* "release-*",
|
|
72
|
+
* ],
|
|
73
|
+
* },
|
|
74
|
+
* });
|
|
75
|
+
* // Account-scoped DELETE rule with multiple criteria (ANY match)
|
|
76
|
+
* const multiCriteriaCleanup = new harness.platform.HarLifecycleRule("multi_criteria_cleanup", {
|
|
77
|
+
* accountId: "your-account-id",
|
|
78
|
+
* name: "multi-criteria-cleanup",
|
|
79
|
+
* action: "DELETE",
|
|
80
|
+
* applyTo: {
|
|
81
|
+
* mode: "ALL_IN_SCOPE",
|
|
82
|
+
* },
|
|
83
|
+
* criteria: {
|
|
84
|
+
* match: "ANY",
|
|
85
|
+
* rules: [
|
|
86
|
+
* {
|
|
87
|
+
* type: "KEEP_LAST_N",
|
|
88
|
+
* value: 5,
|
|
89
|
+
* },
|
|
90
|
+
* {
|
|
91
|
+
* type: "AGE_BASED",
|
|
92
|
+
* value: 90,
|
|
93
|
+
* unit: "DAYS",
|
|
94
|
+
* },
|
|
95
|
+
* ],
|
|
96
|
+
* },
|
|
97
|
+
* });
|
|
98
|
+
* ```
|
|
99
|
+
*
|
|
100
|
+
* ## Import
|
|
101
|
+
*
|
|
102
|
+
* The `pulumi import` command can be used, for example:
|
|
103
|
+
*
|
|
104
|
+
* Account level: <account_id>/<rule_id>
|
|
105
|
+
*
|
|
106
|
+
* ```sh
|
|
107
|
+
* $ pulumi import harness:platform/harLifecycleRule:HarLifecycleRule example <account_id>/<rule_id>
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
110
|
+
* Org level: <account_id>/<org_id>/<rule_id>
|
|
111
|
+
*
|
|
112
|
+
* ```sh
|
|
113
|
+
* $ pulumi import harness:platform/harLifecycleRule:HarLifecycleRule example <account_id>/<org_id>/<rule_id>
|
|
114
|
+
* ```
|
|
115
|
+
*
|
|
116
|
+
* Project level: <account_id>/<org_id>/<project_id>/<rule_id>
|
|
117
|
+
*
|
|
118
|
+
* ```sh
|
|
119
|
+
* $ pulumi import harness:platform/harLifecycleRule:HarLifecycleRule example <account_id>/<org_id>/<project_id>/<rule_id>
|
|
120
|
+
* ```
|
|
121
|
+
*/
|
|
122
|
+
export declare class HarLifecycleRule extends pulumi.CustomResource {
|
|
123
|
+
/**
|
|
124
|
+
* Get an existing HarLifecycleRule resource's state with the given name, ID, and optional extra
|
|
125
|
+
* properties used to qualify the lookup.
|
|
126
|
+
*
|
|
127
|
+
* @param name The _unique_ name of the resulting resource.
|
|
128
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
129
|
+
* @param state Any extra arguments used during the lookup.
|
|
130
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
131
|
+
*/
|
|
132
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HarLifecycleRuleState, opts?: pulumi.CustomResourceOptions): HarLifecycleRule;
|
|
133
|
+
/**
|
|
134
|
+
* Returns true if the given object is an instance of HarLifecycleRule. This is designed to work even
|
|
135
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
136
|
+
*/
|
|
137
|
+
static isInstance(obj: any): obj is HarLifecycleRule;
|
|
138
|
+
/**
|
|
139
|
+
* Account identifier for the lifecycle rule.
|
|
140
|
+
*/
|
|
141
|
+
readonly accountId: pulumi.Output<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Action to perform: DELETE or PROTECT.
|
|
144
|
+
*/
|
|
145
|
+
readonly action: pulumi.Output<string>;
|
|
146
|
+
/**
|
|
147
|
+
* Defines which registries this rule applies to.
|
|
148
|
+
*/
|
|
149
|
+
readonly applyTo: pulumi.Output<outputs.platform.HarLifecycleRuleApplyTo>;
|
|
150
|
+
/**
|
|
151
|
+
* Timestamp when the rule was created (milliseconds since epoch).
|
|
152
|
+
*/
|
|
153
|
+
readonly createdAt: pulumi.Output<number>;
|
|
154
|
+
/**
|
|
155
|
+
* Cleanup criteria for the lifecycle rule.
|
|
156
|
+
*/
|
|
157
|
+
readonly criteria: pulumi.Output<outputs.platform.HarLifecycleRuleCriteria | undefined>;
|
|
158
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
159
|
+
/**
|
|
160
|
+
* Whether the rule is enabled.
|
|
161
|
+
*/
|
|
162
|
+
readonly enabled: pulumi.Output<boolean>;
|
|
163
|
+
/**
|
|
164
|
+
* Package-type-specific filter configuration.
|
|
165
|
+
*/
|
|
166
|
+
readonly filterConfig: pulumi.Output<outputs.platform.HarLifecycleRuleFilterConfig | undefined>;
|
|
167
|
+
/**
|
|
168
|
+
* Timestamp of the last execution (milliseconds since epoch).
|
|
169
|
+
*/
|
|
170
|
+
readonly lastRunAt: pulumi.Output<number>;
|
|
171
|
+
/**
|
|
172
|
+
* Name of the lifecycle rule.
|
|
173
|
+
*/
|
|
174
|
+
readonly name: pulumi.Output<string>;
|
|
175
|
+
/**
|
|
176
|
+
* Timestamp of the next scheduled execution (milliseconds since epoch).
|
|
177
|
+
*/
|
|
178
|
+
readonly nextRunAt: pulumi.Output<number>;
|
|
179
|
+
/**
|
|
180
|
+
* Organization identifier. Required for org-scoped rules.
|
|
181
|
+
*/
|
|
182
|
+
readonly orgId: pulumi.Output<string | undefined>;
|
|
183
|
+
/**
|
|
184
|
+
* Package type the rule applies to (e.g. DOCKER, MAVEN, HELM).
|
|
185
|
+
*/
|
|
186
|
+
readonly packageType: pulumi.Output<string | undefined>;
|
|
187
|
+
/**
|
|
188
|
+
* Project identifier. Required for project-scoped rules.
|
|
189
|
+
*/
|
|
190
|
+
readonly projectId: pulumi.Output<string | undefined>;
|
|
191
|
+
/**
|
|
192
|
+
* Unique ID of the lifecycle rule (returned by the API).
|
|
193
|
+
*/
|
|
194
|
+
readonly ruleId: pulumi.Output<string>;
|
|
195
|
+
/**
|
|
196
|
+
* Cron schedule for automatic execution of the rule.
|
|
197
|
+
*/
|
|
198
|
+
readonly schedule: pulumi.Output<outputs.platform.HarLifecycleRuleSchedule | undefined>;
|
|
199
|
+
/**
|
|
200
|
+
* Timestamp when the rule was last updated (milliseconds since epoch).
|
|
201
|
+
*/
|
|
202
|
+
readonly updatedAt: pulumi.Output<number>;
|
|
203
|
+
/**
|
|
204
|
+
* Create a HarLifecycleRule resource with the given unique name, arguments, and options.
|
|
205
|
+
*
|
|
206
|
+
* @param name The _unique_ name of the resource.
|
|
207
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
208
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
209
|
+
*/
|
|
210
|
+
constructor(name: string, args: HarLifecycleRuleArgs, opts?: pulumi.CustomResourceOptions);
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Input properties used for looking up and filtering HarLifecycleRule resources.
|
|
214
|
+
*/
|
|
215
|
+
export interface HarLifecycleRuleState {
|
|
216
|
+
/**
|
|
217
|
+
* Account identifier for the lifecycle rule.
|
|
218
|
+
*/
|
|
219
|
+
accountId?: pulumi.Input<string | undefined>;
|
|
220
|
+
/**
|
|
221
|
+
* Action to perform: DELETE or PROTECT.
|
|
222
|
+
*/
|
|
223
|
+
action?: pulumi.Input<string | undefined>;
|
|
224
|
+
/**
|
|
225
|
+
* Defines which registries this rule applies to.
|
|
226
|
+
*/
|
|
227
|
+
applyTo?: pulumi.Input<inputs.platform.HarLifecycleRuleApplyTo | undefined>;
|
|
228
|
+
/**
|
|
229
|
+
* Timestamp when the rule was created (milliseconds since epoch).
|
|
230
|
+
*/
|
|
231
|
+
createdAt?: pulumi.Input<number | undefined>;
|
|
232
|
+
/**
|
|
233
|
+
* Cleanup criteria for the lifecycle rule.
|
|
234
|
+
*/
|
|
235
|
+
criteria?: pulumi.Input<inputs.platform.HarLifecycleRuleCriteria | undefined>;
|
|
236
|
+
description?: pulumi.Input<string | undefined>;
|
|
237
|
+
/**
|
|
238
|
+
* Whether the rule is enabled.
|
|
239
|
+
*/
|
|
240
|
+
enabled?: pulumi.Input<boolean | undefined>;
|
|
241
|
+
/**
|
|
242
|
+
* Package-type-specific filter configuration.
|
|
243
|
+
*/
|
|
244
|
+
filterConfig?: pulumi.Input<inputs.platform.HarLifecycleRuleFilterConfig | undefined>;
|
|
245
|
+
/**
|
|
246
|
+
* Timestamp of the last execution (milliseconds since epoch).
|
|
247
|
+
*/
|
|
248
|
+
lastRunAt?: pulumi.Input<number | undefined>;
|
|
249
|
+
/**
|
|
250
|
+
* Name of the lifecycle rule.
|
|
251
|
+
*/
|
|
252
|
+
name?: pulumi.Input<string | undefined>;
|
|
253
|
+
/**
|
|
254
|
+
* Timestamp of the next scheduled execution (milliseconds since epoch).
|
|
255
|
+
*/
|
|
256
|
+
nextRunAt?: pulumi.Input<number | undefined>;
|
|
257
|
+
/**
|
|
258
|
+
* Organization identifier. Required for org-scoped rules.
|
|
259
|
+
*/
|
|
260
|
+
orgId?: pulumi.Input<string | undefined>;
|
|
261
|
+
/**
|
|
262
|
+
* Package type the rule applies to (e.g. DOCKER, MAVEN, HELM).
|
|
263
|
+
*/
|
|
264
|
+
packageType?: pulumi.Input<string | undefined>;
|
|
265
|
+
/**
|
|
266
|
+
* Project identifier. Required for project-scoped rules.
|
|
267
|
+
*/
|
|
268
|
+
projectId?: pulumi.Input<string | undefined>;
|
|
269
|
+
/**
|
|
270
|
+
* Unique ID of the lifecycle rule (returned by the API).
|
|
271
|
+
*/
|
|
272
|
+
ruleId?: pulumi.Input<string | undefined>;
|
|
273
|
+
/**
|
|
274
|
+
* Cron schedule for automatic execution of the rule.
|
|
275
|
+
*/
|
|
276
|
+
schedule?: pulumi.Input<inputs.platform.HarLifecycleRuleSchedule | undefined>;
|
|
277
|
+
/**
|
|
278
|
+
* Timestamp when the rule was last updated (milliseconds since epoch).
|
|
279
|
+
*/
|
|
280
|
+
updatedAt?: pulumi.Input<number | undefined>;
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* The set of arguments for constructing a HarLifecycleRule resource.
|
|
284
|
+
*/
|
|
285
|
+
export interface HarLifecycleRuleArgs {
|
|
286
|
+
/**
|
|
287
|
+
* Account identifier for the lifecycle rule.
|
|
288
|
+
*/
|
|
289
|
+
accountId: pulumi.Input<string>;
|
|
290
|
+
/**
|
|
291
|
+
* Action to perform: DELETE or PROTECT.
|
|
292
|
+
*/
|
|
293
|
+
action: pulumi.Input<string>;
|
|
294
|
+
/**
|
|
295
|
+
* Defines which registries this rule applies to.
|
|
296
|
+
*/
|
|
297
|
+
applyTo: pulumi.Input<inputs.platform.HarLifecycleRuleApplyTo>;
|
|
298
|
+
/**
|
|
299
|
+
* Cleanup criteria for the lifecycle rule.
|
|
300
|
+
*/
|
|
301
|
+
criteria?: pulumi.Input<inputs.platform.HarLifecycleRuleCriteria | undefined>;
|
|
302
|
+
description?: pulumi.Input<string | undefined>;
|
|
303
|
+
/**
|
|
304
|
+
* Whether the rule is enabled.
|
|
305
|
+
*/
|
|
306
|
+
enabled?: pulumi.Input<boolean | undefined>;
|
|
307
|
+
/**
|
|
308
|
+
* Package-type-specific filter configuration.
|
|
309
|
+
*/
|
|
310
|
+
filterConfig?: pulumi.Input<inputs.platform.HarLifecycleRuleFilterConfig | undefined>;
|
|
311
|
+
/**
|
|
312
|
+
* Name of the lifecycle rule.
|
|
313
|
+
*/
|
|
314
|
+
name?: pulumi.Input<string | undefined>;
|
|
315
|
+
/**
|
|
316
|
+
* Organization identifier. Required for org-scoped rules.
|
|
317
|
+
*/
|
|
318
|
+
orgId?: pulumi.Input<string | undefined>;
|
|
319
|
+
/**
|
|
320
|
+
* Package type the rule applies to (e.g. DOCKER, MAVEN, HELM).
|
|
321
|
+
*/
|
|
322
|
+
packageType?: pulumi.Input<string | undefined>;
|
|
323
|
+
/**
|
|
324
|
+
* Project identifier. Required for project-scoped rules.
|
|
325
|
+
*/
|
|
326
|
+
projectId?: pulumi.Input<string | undefined>;
|
|
327
|
+
/**
|
|
328
|
+
* Cron schedule for automatic execution of the rule.
|
|
329
|
+
*/
|
|
330
|
+
schedule?: pulumi.Input<inputs.platform.HarLifecycleRuleSchedule | undefined>;
|
|
331
|
+
}
|
|
332
|
+
//# sourceMappingURL=harLifecycleRule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"harLifecycleRule.d.ts","sourceRoot":"","sources":["../../platform/harLifecycleRule.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAA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