pulumi-harness 0.8.0a1750139917__py3-none-any.whl → 0.8.0a1750480667__py3-none-any.whl
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.
Potentially problematic release.
This version of pulumi-harness might be problematic. Click here for more details.
- pulumi_harness/__init__.py +24 -0
- pulumi_harness/platform/__init__.py +5 -0
- pulumi_harness/platform/_inputs.py +122381 -0
- pulumi_harness/platform/dashboard_folders.py +198 -0
- pulumi_harness/platform/dashboards.py +710 -0
- pulumi_harness/platform/get_dashboard_folders.py +170 -0
- pulumi_harness/platform/get_dashboards.py +285 -0
- pulumi_harness/platform/get_workspace.py +23 -3
- pulumi_harness/platform/gitops_applicationset.py +374 -0
- pulumi_harness/platform/kubernetes_cloud_cost_connector.py +11 -31
- pulumi_harness/platform/outputs.py +86774 -0
- pulumi_harness/platform/workspace.py +64 -18
- pulumi_harness/pulumi-plugin.json +1 -1
- {pulumi_harness-0.8.0a1750139917.dist-info → pulumi_harness-0.8.0a1750480667.dist-info}/METADATA +1 -1
- {pulumi_harness-0.8.0a1750139917.dist-info → pulumi_harness-0.8.0a1750480667.dist-info}/RECORD +17 -12
- {pulumi_harness-0.8.0a1750139917.dist-info → pulumi_harness-0.8.0a1750480667.dist-info}/WHEEL +0 -0
- {pulumi_harness-0.8.0a1750139917.dist-info → pulumi_harness-0.8.0a1750480667.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins
|
|
6
|
+
import copy
|
|
7
|
+
import warnings
|
|
8
|
+
import sys
|
|
9
|
+
import pulumi
|
|
10
|
+
import pulumi.runtime
|
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
12
|
+
if sys.version_info >= (3, 11):
|
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
14
|
+
else:
|
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
|
+
from .. import _utilities
|
|
17
|
+
from . import outputs
|
|
18
|
+
from ._inputs import *
|
|
19
|
+
|
|
20
|
+
__all__ = ['GitopsApplicationsetArgs', 'GitopsApplicationset']
|
|
21
|
+
|
|
22
|
+
@pulumi.input_type
|
|
23
|
+
class GitopsApplicationsetArgs:
|
|
24
|
+
def __init__(__self__, *,
|
|
25
|
+
agent_id: pulumi.Input[builtins.str],
|
|
26
|
+
applicationset: pulumi.Input['GitopsApplicationsetApplicationsetArgs'],
|
|
27
|
+
org_id: pulumi.Input[builtins.str],
|
|
28
|
+
project_id: pulumi.Input[builtins.str],
|
|
29
|
+
upsert: Optional[pulumi.Input[builtins.bool]] = None):
|
|
30
|
+
"""
|
|
31
|
+
The set of arguments for constructing a GitopsApplicationset resource.
|
|
32
|
+
:param pulumi.Input[builtins.str] agent_id: Agent identifier of the GitOps applicationset.
|
|
33
|
+
:param pulumi.Input['GitopsApplicationsetApplicationsetArgs'] applicationset: Definition of the GitOps applicationset resource.
|
|
34
|
+
:param pulumi.Input[builtins.str] org_id: Organization identifier of the GitOps applicationset.
|
|
35
|
+
:param pulumi.Input[builtins.str] project_id: Project identifier of the GitOps applicationset.
|
|
36
|
+
:param pulumi.Input[builtins.bool] upsert: Indicates if the GitOps application should be updated if existing and inserted if not.
|
|
37
|
+
"""
|
|
38
|
+
pulumi.set(__self__, "agent_id", agent_id)
|
|
39
|
+
pulumi.set(__self__, "applicationset", applicationset)
|
|
40
|
+
pulumi.set(__self__, "org_id", org_id)
|
|
41
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
42
|
+
if upsert is not None:
|
|
43
|
+
pulumi.set(__self__, "upsert", upsert)
|
|
44
|
+
|
|
45
|
+
@property
|
|
46
|
+
@pulumi.getter(name="agentId")
|
|
47
|
+
def agent_id(self) -> pulumi.Input[builtins.str]:
|
|
48
|
+
"""
|
|
49
|
+
Agent identifier of the GitOps applicationset.
|
|
50
|
+
"""
|
|
51
|
+
return pulumi.get(self, "agent_id")
|
|
52
|
+
|
|
53
|
+
@agent_id.setter
|
|
54
|
+
def agent_id(self, value: pulumi.Input[builtins.str]):
|
|
55
|
+
pulumi.set(self, "agent_id", value)
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
@pulumi.getter
|
|
59
|
+
def applicationset(self) -> pulumi.Input['GitopsApplicationsetApplicationsetArgs']:
|
|
60
|
+
"""
|
|
61
|
+
Definition of the GitOps applicationset resource.
|
|
62
|
+
"""
|
|
63
|
+
return pulumi.get(self, "applicationset")
|
|
64
|
+
|
|
65
|
+
@applicationset.setter
|
|
66
|
+
def applicationset(self, value: pulumi.Input['GitopsApplicationsetApplicationsetArgs']):
|
|
67
|
+
pulumi.set(self, "applicationset", value)
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
@pulumi.getter(name="orgId")
|
|
71
|
+
def org_id(self) -> pulumi.Input[builtins.str]:
|
|
72
|
+
"""
|
|
73
|
+
Organization identifier of the GitOps applicationset.
|
|
74
|
+
"""
|
|
75
|
+
return pulumi.get(self, "org_id")
|
|
76
|
+
|
|
77
|
+
@org_id.setter
|
|
78
|
+
def org_id(self, value: pulumi.Input[builtins.str]):
|
|
79
|
+
pulumi.set(self, "org_id", value)
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
@pulumi.getter(name="projectId")
|
|
83
|
+
def project_id(self) -> pulumi.Input[builtins.str]:
|
|
84
|
+
"""
|
|
85
|
+
Project identifier of the GitOps applicationset.
|
|
86
|
+
"""
|
|
87
|
+
return pulumi.get(self, "project_id")
|
|
88
|
+
|
|
89
|
+
@project_id.setter
|
|
90
|
+
def project_id(self, value: pulumi.Input[builtins.str]):
|
|
91
|
+
pulumi.set(self, "project_id", value)
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
@pulumi.getter
|
|
95
|
+
def upsert(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
96
|
+
"""
|
|
97
|
+
Indicates if the GitOps application should be updated if existing and inserted if not.
|
|
98
|
+
"""
|
|
99
|
+
return pulumi.get(self, "upsert")
|
|
100
|
+
|
|
101
|
+
@upsert.setter
|
|
102
|
+
def upsert(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
103
|
+
pulumi.set(self, "upsert", value)
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
@pulumi.input_type
|
|
107
|
+
class _GitopsApplicationsetState:
|
|
108
|
+
def __init__(__self__, *,
|
|
109
|
+
agent_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
110
|
+
applicationset: Optional[pulumi.Input['GitopsApplicationsetApplicationsetArgs']] = None,
|
|
111
|
+
identifier: Optional[pulumi.Input[builtins.str]] = None,
|
|
112
|
+
org_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
113
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
114
|
+
upsert: Optional[pulumi.Input[builtins.bool]] = None):
|
|
115
|
+
"""
|
|
116
|
+
Input properties used for looking up and filtering GitopsApplicationset resources.
|
|
117
|
+
:param pulumi.Input[builtins.str] agent_id: Agent identifier of the GitOps applicationset.
|
|
118
|
+
:param pulumi.Input['GitopsApplicationsetApplicationsetArgs'] applicationset: Definition of the GitOps applicationset resource.
|
|
119
|
+
:param pulumi.Input[builtins.str] identifier: Identifier of the GitOps applicationset. This is a unique identifier for the applicationset generated automatically.
|
|
120
|
+
:param pulumi.Input[builtins.str] org_id: Organization identifier of the GitOps applicationset.
|
|
121
|
+
:param pulumi.Input[builtins.str] project_id: Project identifier of the GitOps applicationset.
|
|
122
|
+
:param pulumi.Input[builtins.bool] upsert: Indicates if the GitOps application should be updated if existing and inserted if not.
|
|
123
|
+
"""
|
|
124
|
+
if agent_id is not None:
|
|
125
|
+
pulumi.set(__self__, "agent_id", agent_id)
|
|
126
|
+
if applicationset is not None:
|
|
127
|
+
pulumi.set(__self__, "applicationset", applicationset)
|
|
128
|
+
if identifier is not None:
|
|
129
|
+
pulumi.set(__self__, "identifier", identifier)
|
|
130
|
+
if org_id is not None:
|
|
131
|
+
pulumi.set(__self__, "org_id", org_id)
|
|
132
|
+
if project_id is not None:
|
|
133
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
134
|
+
if upsert is not None:
|
|
135
|
+
pulumi.set(__self__, "upsert", upsert)
|
|
136
|
+
|
|
137
|
+
@property
|
|
138
|
+
@pulumi.getter(name="agentId")
|
|
139
|
+
def agent_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
140
|
+
"""
|
|
141
|
+
Agent identifier of the GitOps applicationset.
|
|
142
|
+
"""
|
|
143
|
+
return pulumi.get(self, "agent_id")
|
|
144
|
+
|
|
145
|
+
@agent_id.setter
|
|
146
|
+
def agent_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
147
|
+
pulumi.set(self, "agent_id", value)
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
@pulumi.getter
|
|
151
|
+
def applicationset(self) -> Optional[pulumi.Input['GitopsApplicationsetApplicationsetArgs']]:
|
|
152
|
+
"""
|
|
153
|
+
Definition of the GitOps applicationset resource.
|
|
154
|
+
"""
|
|
155
|
+
return pulumi.get(self, "applicationset")
|
|
156
|
+
|
|
157
|
+
@applicationset.setter
|
|
158
|
+
def applicationset(self, value: Optional[pulumi.Input['GitopsApplicationsetApplicationsetArgs']]):
|
|
159
|
+
pulumi.set(self, "applicationset", value)
|
|
160
|
+
|
|
161
|
+
@property
|
|
162
|
+
@pulumi.getter
|
|
163
|
+
def identifier(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
164
|
+
"""
|
|
165
|
+
Identifier of the GitOps applicationset. This is a unique identifier for the applicationset generated automatically.
|
|
166
|
+
"""
|
|
167
|
+
return pulumi.get(self, "identifier")
|
|
168
|
+
|
|
169
|
+
@identifier.setter
|
|
170
|
+
def identifier(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
171
|
+
pulumi.set(self, "identifier", value)
|
|
172
|
+
|
|
173
|
+
@property
|
|
174
|
+
@pulumi.getter(name="orgId")
|
|
175
|
+
def org_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
176
|
+
"""
|
|
177
|
+
Organization identifier of the GitOps applicationset.
|
|
178
|
+
"""
|
|
179
|
+
return pulumi.get(self, "org_id")
|
|
180
|
+
|
|
181
|
+
@org_id.setter
|
|
182
|
+
def org_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
183
|
+
pulumi.set(self, "org_id", value)
|
|
184
|
+
|
|
185
|
+
@property
|
|
186
|
+
@pulumi.getter(name="projectId")
|
|
187
|
+
def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
188
|
+
"""
|
|
189
|
+
Project identifier of the GitOps applicationset.
|
|
190
|
+
"""
|
|
191
|
+
return pulumi.get(self, "project_id")
|
|
192
|
+
|
|
193
|
+
@project_id.setter
|
|
194
|
+
def project_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
195
|
+
pulumi.set(self, "project_id", value)
|
|
196
|
+
|
|
197
|
+
@property
|
|
198
|
+
@pulumi.getter
|
|
199
|
+
def upsert(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
200
|
+
"""
|
|
201
|
+
Indicates if the GitOps application should be updated if existing and inserted if not.
|
|
202
|
+
"""
|
|
203
|
+
return pulumi.get(self, "upsert")
|
|
204
|
+
|
|
205
|
+
@upsert.setter
|
|
206
|
+
def upsert(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
207
|
+
pulumi.set(self, "upsert", value)
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
@pulumi.type_token("harness:platform/gitopsApplicationset:GitopsApplicationset")
|
|
211
|
+
class GitopsApplicationset(pulumi.CustomResource):
|
|
212
|
+
@overload
|
|
213
|
+
def __init__(__self__,
|
|
214
|
+
resource_name: str,
|
|
215
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
216
|
+
agent_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
217
|
+
applicationset: Optional[pulumi.Input[Union['GitopsApplicationsetApplicationsetArgs', 'GitopsApplicationsetApplicationsetArgsDict']]] = None,
|
|
218
|
+
org_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
219
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
220
|
+
upsert: Optional[pulumi.Input[builtins.bool]] = None,
|
|
221
|
+
__props__=None):
|
|
222
|
+
"""
|
|
223
|
+
Resource for managing a Harness Gitops Applicationset. Please note this resource is in an alpha/experimental state and is subject to change.
|
|
224
|
+
|
|
225
|
+
:param str resource_name: The name of the resource.
|
|
226
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
227
|
+
:param pulumi.Input[builtins.str] agent_id: Agent identifier of the GitOps applicationset.
|
|
228
|
+
:param pulumi.Input[Union['GitopsApplicationsetApplicationsetArgs', 'GitopsApplicationsetApplicationsetArgsDict']] applicationset: Definition of the GitOps applicationset resource.
|
|
229
|
+
:param pulumi.Input[builtins.str] org_id: Organization identifier of the GitOps applicationset.
|
|
230
|
+
:param pulumi.Input[builtins.str] project_id: Project identifier of the GitOps applicationset.
|
|
231
|
+
:param pulumi.Input[builtins.bool] upsert: Indicates if the GitOps application should be updated if existing and inserted if not.
|
|
232
|
+
"""
|
|
233
|
+
...
|
|
234
|
+
@overload
|
|
235
|
+
def __init__(__self__,
|
|
236
|
+
resource_name: str,
|
|
237
|
+
args: GitopsApplicationsetArgs,
|
|
238
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
239
|
+
"""
|
|
240
|
+
Resource for managing a Harness Gitops Applicationset. Please note this resource is in an alpha/experimental state and is subject to change.
|
|
241
|
+
|
|
242
|
+
:param str resource_name: The name of the resource.
|
|
243
|
+
:param GitopsApplicationsetArgs args: The arguments to use to populate this resource's properties.
|
|
244
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
245
|
+
"""
|
|
246
|
+
...
|
|
247
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
248
|
+
resource_args, opts = _utilities.get_resource_args_opts(GitopsApplicationsetArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
249
|
+
if resource_args is not None:
|
|
250
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
251
|
+
else:
|
|
252
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
253
|
+
|
|
254
|
+
def _internal_init(__self__,
|
|
255
|
+
resource_name: str,
|
|
256
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
257
|
+
agent_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
258
|
+
applicationset: Optional[pulumi.Input[Union['GitopsApplicationsetApplicationsetArgs', 'GitopsApplicationsetApplicationsetArgsDict']]] = None,
|
|
259
|
+
org_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
260
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
261
|
+
upsert: Optional[pulumi.Input[builtins.bool]] = None,
|
|
262
|
+
__props__=None):
|
|
263
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
264
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
265
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
266
|
+
if opts.id is None:
|
|
267
|
+
if __props__ is not None:
|
|
268
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
269
|
+
__props__ = GitopsApplicationsetArgs.__new__(GitopsApplicationsetArgs)
|
|
270
|
+
|
|
271
|
+
if agent_id is None and not opts.urn:
|
|
272
|
+
raise TypeError("Missing required property 'agent_id'")
|
|
273
|
+
__props__.__dict__["agent_id"] = agent_id
|
|
274
|
+
if applicationset is None and not opts.urn:
|
|
275
|
+
raise TypeError("Missing required property 'applicationset'")
|
|
276
|
+
__props__.__dict__["applicationset"] = applicationset
|
|
277
|
+
if org_id is None and not opts.urn:
|
|
278
|
+
raise TypeError("Missing required property 'org_id'")
|
|
279
|
+
__props__.__dict__["org_id"] = org_id
|
|
280
|
+
if project_id is None and not opts.urn:
|
|
281
|
+
raise TypeError("Missing required property 'project_id'")
|
|
282
|
+
__props__.__dict__["project_id"] = project_id
|
|
283
|
+
__props__.__dict__["upsert"] = upsert
|
|
284
|
+
__props__.__dict__["identifier"] = None
|
|
285
|
+
super(GitopsApplicationset, __self__).__init__(
|
|
286
|
+
'harness:platform/gitopsApplicationset:GitopsApplicationset',
|
|
287
|
+
resource_name,
|
|
288
|
+
__props__,
|
|
289
|
+
opts)
|
|
290
|
+
|
|
291
|
+
@staticmethod
|
|
292
|
+
def get(resource_name: str,
|
|
293
|
+
id: pulumi.Input[str],
|
|
294
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
295
|
+
agent_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
296
|
+
applicationset: Optional[pulumi.Input[Union['GitopsApplicationsetApplicationsetArgs', 'GitopsApplicationsetApplicationsetArgsDict']]] = None,
|
|
297
|
+
identifier: Optional[pulumi.Input[builtins.str]] = None,
|
|
298
|
+
org_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
299
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
300
|
+
upsert: Optional[pulumi.Input[builtins.bool]] = None) -> 'GitopsApplicationset':
|
|
301
|
+
"""
|
|
302
|
+
Get an existing GitopsApplicationset resource's state with the given name, id, and optional extra
|
|
303
|
+
properties used to qualify the lookup.
|
|
304
|
+
|
|
305
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
306
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
307
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
308
|
+
:param pulumi.Input[builtins.str] agent_id: Agent identifier of the GitOps applicationset.
|
|
309
|
+
:param pulumi.Input[Union['GitopsApplicationsetApplicationsetArgs', 'GitopsApplicationsetApplicationsetArgsDict']] applicationset: Definition of the GitOps applicationset resource.
|
|
310
|
+
:param pulumi.Input[builtins.str] identifier: Identifier of the GitOps applicationset. This is a unique identifier for the applicationset generated automatically.
|
|
311
|
+
:param pulumi.Input[builtins.str] org_id: Organization identifier of the GitOps applicationset.
|
|
312
|
+
:param pulumi.Input[builtins.str] project_id: Project identifier of the GitOps applicationset.
|
|
313
|
+
:param pulumi.Input[builtins.bool] upsert: Indicates if the GitOps application should be updated if existing and inserted if not.
|
|
314
|
+
"""
|
|
315
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
316
|
+
|
|
317
|
+
__props__ = _GitopsApplicationsetState.__new__(_GitopsApplicationsetState)
|
|
318
|
+
|
|
319
|
+
__props__.__dict__["agent_id"] = agent_id
|
|
320
|
+
__props__.__dict__["applicationset"] = applicationset
|
|
321
|
+
__props__.__dict__["identifier"] = identifier
|
|
322
|
+
__props__.__dict__["org_id"] = org_id
|
|
323
|
+
__props__.__dict__["project_id"] = project_id
|
|
324
|
+
__props__.__dict__["upsert"] = upsert
|
|
325
|
+
return GitopsApplicationset(resource_name, opts=opts, __props__=__props__)
|
|
326
|
+
|
|
327
|
+
@property
|
|
328
|
+
@pulumi.getter(name="agentId")
|
|
329
|
+
def agent_id(self) -> pulumi.Output[builtins.str]:
|
|
330
|
+
"""
|
|
331
|
+
Agent identifier of the GitOps applicationset.
|
|
332
|
+
"""
|
|
333
|
+
return pulumi.get(self, "agent_id")
|
|
334
|
+
|
|
335
|
+
@property
|
|
336
|
+
@pulumi.getter
|
|
337
|
+
def applicationset(self) -> pulumi.Output['outputs.GitopsApplicationsetApplicationset']:
|
|
338
|
+
"""
|
|
339
|
+
Definition of the GitOps applicationset resource.
|
|
340
|
+
"""
|
|
341
|
+
return pulumi.get(self, "applicationset")
|
|
342
|
+
|
|
343
|
+
@property
|
|
344
|
+
@pulumi.getter
|
|
345
|
+
def identifier(self) -> pulumi.Output[builtins.str]:
|
|
346
|
+
"""
|
|
347
|
+
Identifier of the GitOps applicationset. This is a unique identifier for the applicationset generated automatically.
|
|
348
|
+
"""
|
|
349
|
+
return pulumi.get(self, "identifier")
|
|
350
|
+
|
|
351
|
+
@property
|
|
352
|
+
@pulumi.getter(name="orgId")
|
|
353
|
+
def org_id(self) -> pulumi.Output[builtins.str]:
|
|
354
|
+
"""
|
|
355
|
+
Organization identifier of the GitOps applicationset.
|
|
356
|
+
"""
|
|
357
|
+
return pulumi.get(self, "org_id")
|
|
358
|
+
|
|
359
|
+
@property
|
|
360
|
+
@pulumi.getter(name="projectId")
|
|
361
|
+
def project_id(self) -> pulumi.Output[builtins.str]:
|
|
362
|
+
"""
|
|
363
|
+
Project identifier of the GitOps applicationset.
|
|
364
|
+
"""
|
|
365
|
+
return pulumi.get(self, "project_id")
|
|
366
|
+
|
|
367
|
+
@property
|
|
368
|
+
@pulumi.getter
|
|
369
|
+
def upsert(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
370
|
+
"""
|
|
371
|
+
Indicates if the GitOps application should be updated if existing and inserted if not.
|
|
372
|
+
"""
|
|
373
|
+
return pulumi.get(self, "upsert")
|
|
374
|
+
|
|
@@ -30,7 +30,7 @@ class KubernetesCloudCostConnectorArgs:
|
|
|
30
30
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
31
31
|
"""
|
|
32
32
|
The set of arguments for constructing a KubernetesCloudCostConnector resource.
|
|
33
|
-
:param pulumi.Input[builtins.str] connector_ref: Reference
|
|
33
|
+
:param pulumi.Input[builtins.str] connector_ref: Reference to a Kubernetes connector also at the account level.
|
|
34
34
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] features_enableds: Indicates which feature to enable among Billing, Optimization, and Visibility.
|
|
35
35
|
:param pulumi.Input[builtins.str] identifier: Unique identifier of the resource.
|
|
36
36
|
:param pulumi.Input[builtins.str] description: Description of the resource.
|
|
@@ -57,7 +57,7 @@ class KubernetesCloudCostConnectorArgs:
|
|
|
57
57
|
@pulumi.getter(name="connectorRef")
|
|
58
58
|
def connector_ref(self) -> pulumi.Input[builtins.str]:
|
|
59
59
|
"""
|
|
60
|
-
Reference
|
|
60
|
+
Reference to a Kubernetes connector also at the account level.
|
|
61
61
|
"""
|
|
62
62
|
return pulumi.get(self, "connector_ref")
|
|
63
63
|
|
|
@@ -163,7 +163,7 @@ class _KubernetesCloudCostConnectorState:
|
|
|
163
163
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
164
164
|
"""
|
|
165
165
|
Input properties used for looking up and filtering KubernetesCloudCostConnector resources.
|
|
166
|
-
:param pulumi.Input[builtins.str] connector_ref: Reference
|
|
166
|
+
:param pulumi.Input[builtins.str] connector_ref: Reference to a Kubernetes connector also at the account level.
|
|
167
167
|
:param pulumi.Input[builtins.str] description: Description of the resource.
|
|
168
168
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] features_enableds: Indicates which feature to enable among Billing, Optimization, and Visibility.
|
|
169
169
|
:param pulumi.Input[builtins.str] identifier: Unique identifier of the resource.
|
|
@@ -193,7 +193,7 @@ class _KubernetesCloudCostConnectorState:
|
|
|
193
193
|
@pulumi.getter(name="connectorRef")
|
|
194
194
|
def connector_ref(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
195
195
|
"""
|
|
196
|
-
Reference
|
|
196
|
+
Reference to a Kubernetes connector also at the account level.
|
|
197
197
|
"""
|
|
198
198
|
return pulumi.get(self, "connector_ref")
|
|
199
199
|
|
|
@@ -304,6 +304,8 @@ class KubernetesCloudCostConnector(pulumi.CustomResource):
|
|
|
304
304
|
"""
|
|
305
305
|
Resource for creating a Kubernetes Cloud Cost connector.
|
|
306
306
|
|
|
307
|
+
These connectors need to be created at the account level in Harness.
|
|
308
|
+
|
|
307
309
|
## Example Usage
|
|
308
310
|
|
|
309
311
|
```python
|
|
@@ -330,21 +332,9 @@ class KubernetesCloudCostConnector(pulumi.CustomResource):
|
|
|
330
332
|
$ pulumi import harness:platform/kubernetesCloudCostConnector:KubernetesCloudCostConnector example <connector_id>
|
|
331
333
|
```
|
|
332
334
|
|
|
333
|
-
Import org level kubernetes cloud cost connector
|
|
334
|
-
|
|
335
|
-
```sh
|
|
336
|
-
$ pulumi import harness:platform/kubernetesCloudCostConnector:KubernetesCloudCostConnector example <ord_id>/<connector_id>
|
|
337
|
-
```
|
|
338
|
-
|
|
339
|
-
Import project level kubernetes cloud cost connector
|
|
340
|
-
|
|
341
|
-
```sh
|
|
342
|
-
$ pulumi import harness:platform/kubernetesCloudCostConnector:KubernetesCloudCostConnector example <org_id>/<project_id>/<connector_id>
|
|
343
|
-
```
|
|
344
|
-
|
|
345
335
|
:param str resource_name: The name of the resource.
|
|
346
336
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
347
|
-
:param pulumi.Input[builtins.str] connector_ref: Reference
|
|
337
|
+
:param pulumi.Input[builtins.str] connector_ref: Reference to a Kubernetes connector also at the account level.
|
|
348
338
|
:param pulumi.Input[builtins.str] description: Description of the resource.
|
|
349
339
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] features_enableds: Indicates which feature to enable among Billing, Optimization, and Visibility.
|
|
350
340
|
:param pulumi.Input[builtins.str] identifier: Unique identifier of the resource.
|
|
@@ -362,6 +352,8 @@ class KubernetesCloudCostConnector(pulumi.CustomResource):
|
|
|
362
352
|
"""
|
|
363
353
|
Resource for creating a Kubernetes Cloud Cost connector.
|
|
364
354
|
|
|
355
|
+
These connectors need to be created at the account level in Harness.
|
|
356
|
+
|
|
365
357
|
## Example Usage
|
|
366
358
|
|
|
367
359
|
```python
|
|
@@ -388,18 +380,6 @@ class KubernetesCloudCostConnector(pulumi.CustomResource):
|
|
|
388
380
|
$ pulumi import harness:platform/kubernetesCloudCostConnector:KubernetesCloudCostConnector example <connector_id>
|
|
389
381
|
```
|
|
390
382
|
|
|
391
|
-
Import org level kubernetes cloud cost connector
|
|
392
|
-
|
|
393
|
-
```sh
|
|
394
|
-
$ pulumi import harness:platform/kubernetesCloudCostConnector:KubernetesCloudCostConnector example <ord_id>/<connector_id>
|
|
395
|
-
```
|
|
396
|
-
|
|
397
|
-
Import project level kubernetes cloud cost connector
|
|
398
|
-
|
|
399
|
-
```sh
|
|
400
|
-
$ pulumi import harness:platform/kubernetesCloudCostConnector:KubernetesCloudCostConnector example <org_id>/<project_id>/<connector_id>
|
|
401
|
-
```
|
|
402
|
-
|
|
403
383
|
:param str resource_name: The name of the resource.
|
|
404
384
|
:param KubernetesCloudCostConnectorArgs args: The arguments to use to populate this resource's properties.
|
|
405
385
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -471,7 +451,7 @@ class KubernetesCloudCostConnector(pulumi.CustomResource):
|
|
|
471
451
|
:param str resource_name: The unique name of the resulting resource.
|
|
472
452
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
473
453
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
474
|
-
:param pulumi.Input[builtins.str] connector_ref: Reference
|
|
454
|
+
:param pulumi.Input[builtins.str] connector_ref: Reference to a Kubernetes connector also at the account level.
|
|
475
455
|
:param pulumi.Input[builtins.str] description: Description of the resource.
|
|
476
456
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] features_enableds: Indicates which feature to enable among Billing, Optimization, and Visibility.
|
|
477
457
|
:param pulumi.Input[builtins.str] identifier: Unique identifier of the resource.
|
|
@@ -498,7 +478,7 @@ class KubernetesCloudCostConnector(pulumi.CustomResource):
|
|
|
498
478
|
@pulumi.getter(name="connectorRef")
|
|
499
479
|
def connector_ref(self) -> pulumi.Output[builtins.str]:
|
|
500
480
|
"""
|
|
501
|
-
Reference
|
|
481
|
+
Reference to a Kubernetes connector also at the account level.
|
|
502
482
|
"""
|
|
503
483
|
return pulumi.get(self, "connector_ref")
|
|
504
484
|
|