@pulumi/harness 0.5.2 → 0.5.3

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.
@@ -33,6 +33,10 @@ export declare class RuleEcs extends pulumi.CustomResource {
33
33
  * Dependent rules
34
34
  */
35
35
  readonly depends: pulumi.Output<outputs.autostopping.RuleEcsDepend[] | undefined>;
36
+ /**
37
+ * Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
38
+ */
39
+ readonly dryRun: pulumi.Output<boolean | undefined>;
36
40
  /**
37
41
  * Http routing configuration
38
42
  */
@@ -75,6 +79,10 @@ export interface RuleEcsState {
75
79
  * Dependent rules
76
80
  */
77
81
  depends?: pulumi.Input<pulumi.Input<inputs.autostopping.RuleEcsDepend>[]>;
82
+ /**
83
+ * Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
84
+ */
85
+ dryRun?: pulumi.Input<boolean>;
78
86
  /**
79
87
  * Http routing configuration
80
88
  */
@@ -109,6 +117,10 @@ export interface RuleEcsArgs {
109
117
  * Dependent rules
110
118
  */
111
119
  depends?: pulumi.Input<pulumi.Input<inputs.autostopping.RuleEcsDepend>[]>;
120
+ /**
121
+ * Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
122
+ */
123
+ dryRun?: pulumi.Input<boolean>;
112
124
  /**
113
125
  * Http routing configuration
114
126
  */
@@ -40,6 +40,7 @@ class RuleEcs extends pulumi.CustomResource {
40
40
  resourceInputs["container"] = state ? state.container : undefined;
41
41
  resourceInputs["customDomains"] = state ? state.customDomains : undefined;
42
42
  resourceInputs["depends"] = state ? state.depends : undefined;
43
+ resourceInputs["dryRun"] = state ? state.dryRun : undefined;
43
44
  resourceInputs["https"] = state ? state.https : undefined;
44
45
  resourceInputs["identifier"] = state ? state.identifier : undefined;
45
46
  resourceInputs["idleTimeMins"] = state ? state.idleTimeMins : undefined;
@@ -54,6 +55,7 @@ class RuleEcs extends pulumi.CustomResource {
54
55
  resourceInputs["container"] = args ? args.container : undefined;
55
56
  resourceInputs["customDomains"] = args ? args.customDomains : undefined;
56
57
  resourceInputs["depends"] = args ? args.depends : undefined;
58
+ resourceInputs["dryRun"] = args ? args.dryRun : undefined;
57
59
  resourceInputs["https"] = args ? args.https : undefined;
58
60
  resourceInputs["idleTimeMins"] = args ? args.idleTimeMins : undefined;
59
61
  resourceInputs["name"] = args ? args.name : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"ruleEcs.js","sourceRoot":"","sources":["../../autostopping/ruleEcs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAwCD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CA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,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AArGL,0BAsGC;AAxFG,gBAAgB;AACO,oBAAY,GAAG,sCAAsC,CAAC"}
@@ -14,6 +14,7 @@ import * as outputs from "../types/output";
14
14
  * name: "name",
15
15
  * cloudConnectorId: "cloud_connector_id",
16
16
  * idleTimeMins: 10,
17
+ * dryRun: true,
17
18
  * database: {
18
19
  * id: "database_id",
19
20
  * region: "region",
@@ -52,6 +53,10 @@ export declare class RuleRds extends pulumi.CustomResource {
52
53
  * Dependent rules
53
54
  */
54
55
  readonly depends: pulumi.Output<outputs.autostopping.RuleRdsDepend[] | undefined>;
56
+ /**
57
+ * Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
58
+ */
59
+ readonly dryRun: pulumi.Output<boolean | undefined>;
55
60
  /**
56
61
  * Unique identifier of the resource
57
62
  */
@@ -90,6 +95,10 @@ export interface RuleRdsState {
90
95
  * Dependent rules
91
96
  */
92
97
  depends?: pulumi.Input<pulumi.Input<inputs.autostopping.RuleRdsDepend>[]>;
98
+ /**
99
+ * Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
100
+ */
101
+ dryRun?: pulumi.Input<boolean>;
93
102
  /**
94
103
  * Unique identifier of the resource
95
104
  */
@@ -120,6 +129,10 @@ export interface RuleRdsArgs {
120
129
  * Dependent rules
121
130
  */
122
131
  depends?: pulumi.Input<pulumi.Input<inputs.autostopping.RuleRdsDepend>[]>;
132
+ /**
133
+ * Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
134
+ */
135
+ dryRun?: pulumi.Input<boolean>;
123
136
  /**
124
137
  * Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
125
138
  */
@@ -18,6 +18,7 @@ const utilities = require("../utilities");
18
18
  * name: "name",
19
19
  * cloudConnectorId: "cloud_connector_id",
20
20
  * idleTimeMins: 10,
21
+ * dryRun: true,
21
22
  * database: {
22
23
  * id: "database_id",
23
24
  * region: "region",
@@ -62,6 +63,7 @@ class RuleRds extends pulumi.CustomResource {
62
63
  resourceInputs["cloudConnectorId"] = state ? state.cloudConnectorId : undefined;
63
64
  resourceInputs["database"] = state ? state.database : undefined;
64
65
  resourceInputs["depends"] = state ? state.depends : undefined;
66
+ resourceInputs["dryRun"] = state ? state.dryRun : undefined;
65
67
  resourceInputs["identifier"] = state ? state.identifier : undefined;
66
68
  resourceInputs["idleTimeMins"] = state ? state.idleTimeMins : undefined;
67
69
  resourceInputs["name"] = state ? state.name : undefined;
@@ -78,6 +80,7 @@ class RuleRds extends pulumi.CustomResource {
78
80
  resourceInputs["cloudConnectorId"] = args ? args.cloudConnectorId : undefined;
79
81
  resourceInputs["database"] = args ? args.database : undefined;
80
82
  resourceInputs["depends"] = args ? args.depends : undefined;
83
+ resourceInputs["dryRun"] = args ? args.dryRun : undefined;
81
84
  resourceInputs["idleTimeMins"] = args ? args.idleTimeMins : undefined;
82
85
  resourceInputs["name"] = args ? args.name : undefined;
83
86
  resourceInputs["tcps"] = args ? args.tcps : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"ruleRds.js","sourceRoot":"","sources":["../../autostopping/ruleRds.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,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C9D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAlGL,0BAmGC;AArFG,gBAAgB;AACO,oBAAY,GAAG,sCAAsC,CAAC"}
@@ -14,6 +14,7 @@ import * as outputs from "../types/output";
14
14
  * name: "name",
15
15
  * cloudConnectorId: "cloud_connector_id",
16
16
  * idleTimeMins: 10,
17
+ * dryRun: true,
17
18
  * filter: {
18
19
  * vmIds: ["/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Compute/virtualMachines/virtual_machine"],
19
20
  * regions: ["useast2"],
@@ -92,6 +93,10 @@ export declare class RuleVm extends pulumi.CustomResource {
92
93
  * Dependent rules
93
94
  */
94
95
  readonly depends: pulumi.Output<outputs.autostopping.RuleVmDepend[] | undefined>;
96
+ /**
97
+ * Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
98
+ */
99
+ readonly dryRun: pulumi.Output<boolean | undefined>;
95
100
  readonly filter: pulumi.Output<outputs.autostopping.RuleVmFilter>;
96
101
  /**
97
102
  * Http routing configuration
@@ -142,6 +147,10 @@ export interface RuleVmState {
142
147
  * Dependent rules
143
148
  */
144
149
  depends?: pulumi.Input<pulumi.Input<inputs.autostopping.RuleVmDepend>[]>;
150
+ /**
151
+ * Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
152
+ */
153
+ dryRun?: pulumi.Input<boolean>;
145
154
  filter?: pulumi.Input<inputs.autostopping.RuleVmFilter>;
146
155
  /**
147
156
  * Http routing configuration
@@ -184,6 +193,10 @@ export interface RuleVmArgs {
184
193
  * Dependent rules
185
194
  */
186
195
  depends?: pulumi.Input<pulumi.Input<inputs.autostopping.RuleVmDepend>[]>;
196
+ /**
197
+ * Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
198
+ */
199
+ dryRun?: pulumi.Input<boolean>;
187
200
  filter: pulumi.Input<inputs.autostopping.RuleVmFilter>;
188
201
  /**
189
202
  * Http routing configuration
@@ -18,6 +18,7 @@ const utilities = require("../utilities");
18
18
  * name: "name",
19
19
  * cloudConnectorId: "cloud_connector_id",
20
20
  * idleTimeMins: 10,
21
+ * dryRun: true,
21
22
  * filter: {
22
23
  * vmIds: ["/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Compute/virtualMachines/virtual_machine"],
23
24
  * regions: ["useast2"],
@@ -99,6 +100,7 @@ class RuleVm extends pulumi.CustomResource {
99
100
  resourceInputs["cloudConnectorId"] = state ? state.cloudConnectorId : undefined;
100
101
  resourceInputs["customDomains"] = state ? state.customDomains : undefined;
101
102
  resourceInputs["depends"] = state ? state.depends : undefined;
103
+ resourceInputs["dryRun"] = state ? state.dryRun : undefined;
102
104
  resourceInputs["filter"] = state ? state.filter : undefined;
103
105
  resourceInputs["https"] = state ? state.https : undefined;
104
106
  resourceInputs["identifier"] = state ? state.identifier : undefined;
@@ -118,6 +120,7 @@ class RuleVm extends pulumi.CustomResource {
118
120
  resourceInputs["cloudConnectorId"] = args ? args.cloudConnectorId : undefined;
119
121
  resourceInputs["customDomains"] = args ? args.customDomains : undefined;
120
122
  resourceInputs["depends"] = args ? args.depends : undefined;
123
+ resourceInputs["dryRun"] = args ? args.dryRun : undefined;
121
124
  resourceInputs["filter"] = args ? args.filter : undefined;
122
125
  resourceInputs["https"] = args ? args.https : undefined;
123
126
  resourceInputs["idleTimeMins"] = args ? args.idleTimeMins : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"ruleVm.js","sourceRoot":"","sources":["../../autostopping/ruleVm.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IAgDD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,K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AC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AApHL,wBAqHC;AAvGG,gBAAgB;AACO,mBAAY,GAAG,oCAAoC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/harness",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
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.5.2",
26
+ "version": "0.5.3",
27
27
  "server": "github://api.github.com/pulumi"
28
28
  }
29
29
  }
@@ -9,8 +9,6 @@ export declare function getGitopsApplications(args: GetGitopsApplicationsArgs, o
9
9
  */
10
10
  export interface GetGitopsApplicationsArgs {
11
11
  /**
12
- * Account identifier of the GitOps application.
13
- *
14
12
  * @deprecated This field is deprecated and will be removed in a future release.
15
13
  */
16
14
  accountId?: string;
@@ -42,8 +40,6 @@ export interface GetGitopsApplicationsArgs {
42
40
  */
43
41
  export interface GetGitopsApplicationsResult {
44
42
  /**
45
- * Account identifier of the GitOps application.
46
- *
47
43
  * @deprecated This field is deprecated and will be removed in a future release.
48
44
  */
49
45
  readonly accountId: string;
@@ -127,8 +123,6 @@ export declare function getGitopsApplicationsOutput(args: GetGitopsApplicationsO
127
123
  */
128
124
  export interface GetGitopsApplicationsOutputArgs {
129
125
  /**
130
- * Account identifier of the GitOps application.
131
- *
132
126
  * @deprecated This field is deprecated and will be removed in a future release.
133
127
  */
134
128
  accountId?: pulumi.Input<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"getGitopsApplications.js","sourceRoot":"","sources":["../../platform/getGitopsApplications.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sDAUC;AAqHD;;GAEG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8DAA8D,EAAE;QAC/F,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;Q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EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kEAUC"}
@@ -51,7 +51,7 @@ export declare class GitOpsCluster extends pulumi.CustomResource {
51
51
  */
52
52
  readonly agentId: pulumi.Output<string>;
53
53
  /**
54
- * Indicates if the cluster should be deleted forcefully, regardless of existing applications using that repo.
54
+ * Indicates if the cluster should be deleted forcefully, regardless of existing applications using that cluster.
55
55
  */
56
56
  readonly forceDelete: pulumi.Output<boolean | undefined>;
57
57
  /**
@@ -94,7 +94,7 @@ export interface GitOpsClusterState {
94
94
  */
95
95
  agentId?: pulumi.Input<string>;
96
96
  /**
97
- * Indicates if the cluster should be deleted forcefully, regardless of existing applications using that repo.
97
+ * Indicates if the cluster should be deleted forcefully, regardless of existing applications using that cluster.
98
98
  */
99
99
  forceDelete?: pulumi.Input<boolean>;
100
100
  /**
@@ -129,7 +129,7 @@ export interface GitOpsClusterArgs {
129
129
  */
130
130
  agentId: pulumi.Input<string>;
131
131
  /**
132
- * Indicates if the cluster should be deleted forcefully, regardless of existing applications using that repo.
132
+ * Indicates if the cluster should be deleted forcefully, regardless of existing applications using that cluster.
133
133
  */
134
134
  forceDelete?: pulumi.Input<boolean>;
135
135
  /**
package/types/input.d.ts CHANGED
@@ -4181,6 +4181,10 @@ export declare namespace platform {
4181
4181
  * Identifies the authentication method used to connect to the cluster.
4182
4182
  */
4183
4183
  clusterConnectionType?: pulumi.Input<string>;
4184
+ /**
4185
+ * DisableCompression bypasses automatic GZip compression requests to to the cluster's API server. Corresponds to running kubectl with --disable-compression
4186
+ */
4187
+ disableCompression?: pulumi.Input<boolean>;
4184
4188
  /**
4185
4189
  * Configuration for an exec provider.
4186
4190
  */
@@ -4189,6 +4193,10 @@ export declare namespace platform {
4189
4193
  * Password of the server of the cluster.
4190
4194
  */
4191
4195
  password?: pulumi.Input<string>;
4196
+ /**
4197
+ * The URL to the proxy to be used for all requests send to the cluster's API server
4198
+ */
4199
+ proxyUrl?: pulumi.Input<string>;
4192
4200
  /**
4193
4201
  * Optional role ARN. If set then used for AWS IAM Authenticator.
4194
4202
  */
@@ -4885,6 +4893,10 @@ export declare namespace platform {
4885
4893
  * OrphanedResources specifies if agent should monitor orphaned resources of apps in this project
4886
4894
  */
4887
4895
  orphanedResources?: pulumi.Input<pulumi.Input<inputs.platform.GitopsAppProjectProjectSpecOrphanedResource>[]>;
4896
+ /**
4897
+ * This option determines whether destinations can only reference clusters which are argo project-scoped
4898
+ */
4899
+ permitOnlyProjectScopedClusters?: pulumi.Input<boolean>;
4888
4900
  /**
4889
4901
  * Roles associated with the Argo project.
4890
4902
  */
@@ -4893,6 +4905,10 @@ export declare namespace platform {
4893
4905
  * Signature keys for the GitOps project.
4894
4906
  */
4895
4907
  signatureKeys?: pulumi.Input<pulumi.Input<inputs.platform.GitopsAppProjectProjectSpecSignatureKey>[]>;
4908
+ /**
4909
+ * Source namespaces defines the namespaces application resources are allowed to be created in.
4910
+ */
4911
+ sourceNamespaces?: pulumi.Input<pulumi.Input<string>[]>;
4896
4912
  /**
4897
4913
  * Allowed Source repositories for the Argo project.
4898
4914
  */
package/types/output.d.ts CHANGED
@@ -3338,7 +3338,7 @@ export declare namespace platform {
3338
3338
  */
3339
3339
  code?: boolean;
3340
3340
  /**
3341
- * Name of the GitOps application.
3341
+ * Name of the external variables of jsonnet application.
3342
3342
  */
3343
3343
  name?: string;
3344
3344
  /**
@@ -3352,7 +3352,7 @@ export declare namespace platform {
3352
3352
  */
3353
3353
  code?: boolean;
3354
3354
  /**
3355
- * Name of the GitOps application.
3355
+ * Name of the TLAS of the jsonnet application.
3356
3356
  */
3357
3357
  name?: string;
3358
3358
  /**
@@ -3392,7 +3392,7 @@ export declare namespace platform {
3392
3392
  }
3393
3393
  interface GetGitopsApplicationsApplicationSpecSourceHelmFileParameter {
3394
3394
  /**
3395
- * Name of the GitOps application.
3395
+ * Name of the helm parameter.
3396
3396
  */
3397
3397
  name?: string;
3398
3398
  /**
@@ -3406,7 +3406,7 @@ export declare namespace platform {
3406
3406
  */
3407
3407
  forceString?: boolean;
3408
3408
  /**
3409
- * Name of the GitOps application.
3409
+ * Name of the helm parameter.
3410
3410
  */
3411
3411
  name?: string;
3412
3412
  /**
@@ -3430,7 +3430,7 @@ export declare namespace platform {
3430
3430
  */
3431
3431
  component?: string;
3432
3432
  /**
3433
- * Name of the GitOps application.
3433
+ * Name of the parameter of the ksonnet application.
3434
3434
  */
3435
3435
  name?: string;
3436
3436
  /**
@@ -3482,13 +3482,13 @@ export declare namespace platform {
3482
3482
  */
3483
3483
  envs?: outputs.platform.GetGitopsApplicationsApplicationSpecSourcePluginEnv[];
3484
3484
  /**
3485
- * Name of the GitOps application.
3485
+ * Name of the plugin.
3486
3486
  */
3487
3487
  name?: string;
3488
3488
  }
3489
3489
  interface GetGitopsApplicationsApplicationSpecSourcePluginEnv {
3490
3490
  /**
3491
- * Name of the GitOps application.
3491
+ * Name of the variable, usually expressed in uppercase.
3492
3492
  */
3493
3493
  name?: string;
3494
3494
  /**
@@ -3629,6 +3629,10 @@ export declare namespace platform {
3629
3629
  * Identifies the authentication method used to connect to the cluster.
3630
3630
  */
3631
3631
  clusterConnectionType?: string;
3632
+ /**
3633
+ * DisableCompression bypasses automatic GZip compression requests to to the cluster's API server. Corresponds to running kubectl with --disable-compression
3634
+ */
3635
+ disableCompression?: boolean;
3632
3636
  /**
3633
3637
  * Configuration for an exec provider.
3634
3638
  */
@@ -3637,6 +3641,10 @@ export declare namespace platform {
3637
3641
  * Password of the server of the cluster.
3638
3642
  */
3639
3643
  password?: string;
3644
+ /**
3645
+ * The URL to the proxy to be used for all requests send to the cluster's API server
3646
+ */
3647
+ proxyUrl?: string;
3640
3648
  /**
3641
3649
  * Optional role ARN. If set then used for AWS IAM Authenticator.
3642
3650
  */
@@ -5633,6 +5641,10 @@ export declare namespace platform {
5633
5641
  * Identifies the authentication method used to connect to the cluster.
5634
5642
  */
5635
5643
  clusterConnectionType?: string;
5644
+ /**
5645
+ * DisableCompression bypasses automatic GZip compression requests to to the cluster's API server. Corresponds to running kubectl with --disable-compression
5646
+ */
5647
+ disableCompression?: boolean;
5636
5648
  /**
5637
5649
  * Configuration for an exec provider.
5638
5650
  */
@@ -5641,6 +5653,10 @@ export declare namespace platform {
5641
5653
  * Password of the server of the cluster.
5642
5654
  */
5643
5655
  password?: string;
5656
+ /**
5657
+ * The URL to the proxy to be used for all requests send to the cluster's API server
5658
+ */
5659
+ proxyUrl?: string;
5644
5660
  /**
5645
5661
  * Optional role ARN. If set then used for AWS IAM Authenticator.
5646
5662
  */
@@ -6337,6 +6353,10 @@ export declare namespace platform {
6337
6353
  * OrphanedResources specifies if agent should monitor orphaned resources of apps in this project
6338
6354
  */
6339
6355
  orphanedResources?: outputs.platform.GitopsAppProjectProjectSpecOrphanedResource[];
6356
+ /**
6357
+ * This option determines whether destinations can only reference clusters which are argo project-scoped
6358
+ */
6359
+ permitOnlyProjectScopedClusters?: boolean;
6340
6360
  /**
6341
6361
  * Roles associated with the Argo project.
6342
6362
  */
@@ -6345,6 +6365,10 @@ export declare namespace platform {
6345
6365
  * Signature keys for the GitOps project.
6346
6366
  */
6347
6367
  signatureKeys?: outputs.platform.GitopsAppProjectProjectSpecSignatureKey[];
6368
+ /**
6369
+ * Source namespaces defines the namespaces application resources are allowed to be created in.
6370
+ */
6371
+ sourceNamespaces?: string[];
6348
6372
  /**
6349
6373
  * Allowed Source repositories for the Argo project.
6350
6374
  */