pulumi-harness 0.9.0a1760076204__py3-none-any.whl → 0.10.0a1764049859__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.
- pulumi_harness/__init__.py +24 -0
- pulumi_harness/autostopping/__init__.py +2 -0
- pulumi_harness/autostopping/_inputs.py +1698 -622
- pulumi_harness/autostopping/get_aws_alb.py +4 -0
- pulumi_harness/autostopping/get_aws_proxy.py +4 -0
- pulumi_harness/autostopping/get_azure_gateway.py +4 -0
- pulumi_harness/autostopping/get_azure_proxy.py +4 -0
- pulumi_harness/autostopping/get_gcp_proxy.py +4 -0
- pulumi_harness/autostopping/get_rule_ecs.py +4 -0
- pulumi_harness/autostopping/get_rule_rds.py +4 -0
- pulumi_harness/autostopping/get_rule_scale_group.py +254 -0
- pulumi_harness/autostopping/get_rule_vm.py +4 -0
- pulumi_harness/autostopping/outputs.py +727 -0
- pulumi_harness/autostopping/rule_ecs.py +58 -0
- pulumi_harness/autostopping/rule_scale_group.py +592 -0
- pulumi_harness/cluster/get_orchestrator.py +4 -0
- pulumi_harness/cluster/get_orchestrator_config.py +21 -1
- pulumi_harness/cluster/orchestrator.py +2 -28
- pulumi_harness/cluster/orchestrator_config.py +49 -0
- pulumi_harness/platform/__init__.py +5 -0
- pulumi_harness/platform/_inputs.py +5804 -371
- pulumi_harness/platform/connector_rancher.py +36 -0
- pulumi_harness/platform/db_instance.py +49 -49
- pulumi_harness/platform/db_schema.py +243 -0
- pulumi_harness/platform/environment.py +166 -0
- pulumi_harness/platform/environment_group.py +10 -10
- pulumi_harness/platform/gcp_secret_manager_connector.py +94 -0
- pulumi_harness/platform/get_db_instance.py +21 -21
- pulumi_harness/platform/get_db_schema.py +21 -1
- pulumi_harness/platform/get_default_notification_template_set.py +31 -1
- pulumi_harness/platform/get_gitops_agent_operator_yaml.py +4 -0
- pulumi_harness/platform/get_gitops_app_project_mapping.py +4 -0
- pulumi_harness/platform/get_gitops_applications.py +4 -0
- pulumi_harness/platform/get_gitops_repo_cert.py +4 -0
- pulumi_harness/platform/get_infra_module.py +192 -6
- pulumi_harness/platform/get_infra_module_testing.py +521 -0
- pulumi_harness/platform/get_infra_modules.py +103 -0
- pulumi_harness/platform/get_manual_freeze.py +4 -0
- pulumi_harness/platform/get_pipeline_central_notification_rule.py +2 -26
- pulumi_harness/platform/get_secret_winrm.py +263 -0
- pulumi_harness/platform/git_ops_applications.py +0 -4
- pulumi_harness/platform/gitops_applicationset.py +308 -6
- pulumi_harness/platform/infra_module_testing.py +1134 -0
- pulumi_harness/platform/infrastructure.py +82 -0
- pulumi_harness/platform/outputs.py +4467 -251
- pulumi_harness/platform/pipeline.py +2 -2
- pulumi_harness/platform/pipeline_central_notification_rule.py +187 -0
- pulumi_harness/platform/secret_winrm.py +1082 -0
- pulumi_harness/platform/service.py +150 -0
- pulumi_harness/platform/triggers.py +6 -4
- pulumi_harness/pulumi-plugin.json +1 -1
- {pulumi_harness-0.9.0a1760076204.dist-info → pulumi_harness-0.10.0a1764049859.dist-info}/METADATA +1 -1
- {pulumi_harness-0.9.0a1760076204.dist-info → pulumi_harness-0.10.0a1764049859.dist-info}/RECORD +55 -48
- {pulumi_harness-0.9.0a1760076204.dist-info → pulumi_harness-0.10.0a1764049859.dist-info}/WHEEL +0 -0
- {pulumi_harness-0.9.0a1760076204.dist-info → pulumi_harness-0.10.0a1764049859.dist-info}/top_level.txt +0 -0
|
@@ -26,7 +26,7 @@ class GetDbInstanceResult:
|
|
|
26
26
|
"""
|
|
27
27
|
A collection of values returned by getDbInstance.
|
|
28
28
|
"""
|
|
29
|
-
def __init__(__self__, branch=None, connector=None, context=None, description=None, id=None, identifier=None,
|
|
29
|
+
def __init__(__self__, branch=None, connector=None, context=None, description=None, id=None, identifier=None, name=None, org_id=None, project_id=None, schema=None, substitute_properties=None, tags=None):
|
|
30
30
|
if branch and not isinstance(branch, str):
|
|
31
31
|
raise TypeError("Expected argument 'branch' to be a str")
|
|
32
32
|
pulumi.set(__self__, "branch", branch)
|
|
@@ -45,9 +45,6 @@ class GetDbInstanceResult:
|
|
|
45
45
|
if identifier and not isinstance(identifier, str):
|
|
46
46
|
raise TypeError("Expected argument 'identifier' to be a str")
|
|
47
47
|
pulumi.set(__self__, "identifier", identifier)
|
|
48
|
-
if liquibase_substitute_properties and not isinstance(liquibase_substitute_properties, dict):
|
|
49
|
-
raise TypeError("Expected argument 'liquibase_substitute_properties' to be a dict")
|
|
50
|
-
pulumi.set(__self__, "liquibase_substitute_properties", liquibase_substitute_properties)
|
|
51
48
|
if name and not isinstance(name, str):
|
|
52
49
|
raise TypeError("Expected argument 'name' to be a str")
|
|
53
50
|
pulumi.set(__self__, "name", name)
|
|
@@ -60,6 +57,9 @@ class GetDbInstanceResult:
|
|
|
60
57
|
if schema and not isinstance(schema, str):
|
|
61
58
|
raise TypeError("Expected argument 'schema' to be a str")
|
|
62
59
|
pulumi.set(__self__, "schema", schema)
|
|
60
|
+
if substitute_properties and not isinstance(substitute_properties, dict):
|
|
61
|
+
raise TypeError("Expected argument 'substitute_properties' to be a dict")
|
|
62
|
+
pulumi.set(__self__, "substitute_properties", substitute_properties)
|
|
63
63
|
if tags and not isinstance(tags, list):
|
|
64
64
|
raise TypeError("Expected argument 'tags' to be a list")
|
|
65
65
|
pulumi.set(__self__, "tags", tags)
|
|
@@ -112,14 +112,6 @@ class GetDbInstanceResult:
|
|
|
112
112
|
"""
|
|
113
113
|
return pulumi.get(self, "identifier")
|
|
114
114
|
|
|
115
|
-
@_builtins.property
|
|
116
|
-
@pulumi.getter(name="liquibaseSubstituteProperties")
|
|
117
|
-
def liquibase_substitute_properties(self) -> Optional[Mapping[str, _builtins.str]]:
|
|
118
|
-
"""
|
|
119
|
-
The properties to substitute in liquibase changelog
|
|
120
|
-
"""
|
|
121
|
-
return pulumi.get(self, "liquibase_substitute_properties")
|
|
122
|
-
|
|
123
115
|
@_builtins.property
|
|
124
116
|
@pulumi.getter
|
|
125
117
|
def name(self) -> Optional[_builtins.str]:
|
|
@@ -152,6 +144,14 @@ class GetDbInstanceResult:
|
|
|
152
144
|
"""
|
|
153
145
|
return pulumi.get(self, "schema")
|
|
154
146
|
|
|
147
|
+
@_builtins.property
|
|
148
|
+
@pulumi.getter(name="substituteProperties")
|
|
149
|
+
def substitute_properties(self) -> Optional[Mapping[str, _builtins.str]]:
|
|
150
|
+
"""
|
|
151
|
+
The properties to substitute in changelog/migration script
|
|
152
|
+
"""
|
|
153
|
+
return pulumi.get(self, "substitute_properties")
|
|
154
|
+
|
|
155
155
|
@_builtins.property
|
|
156
156
|
@pulumi.getter
|
|
157
157
|
def tags(self) -> Sequence[_builtins.str]:
|
|
@@ -173,20 +173,20 @@ class AwaitableGetDbInstanceResult(GetDbInstanceResult):
|
|
|
173
173
|
description=self.description,
|
|
174
174
|
id=self.id,
|
|
175
175
|
identifier=self.identifier,
|
|
176
|
-
liquibase_substitute_properties=self.liquibase_substitute_properties,
|
|
177
176
|
name=self.name,
|
|
178
177
|
org_id=self.org_id,
|
|
179
178
|
project_id=self.project_id,
|
|
180
179
|
schema=self.schema,
|
|
180
|
+
substitute_properties=self.substitute_properties,
|
|
181
181
|
tags=self.tags)
|
|
182
182
|
|
|
183
183
|
|
|
184
184
|
def get_db_instance(identifier: Optional[_builtins.str] = None,
|
|
185
|
-
liquibase_substitute_properties: Optional[Mapping[str, _builtins.str]] = None,
|
|
186
185
|
name: Optional[_builtins.str] = None,
|
|
187
186
|
org_id: Optional[_builtins.str] = None,
|
|
188
187
|
project_id: Optional[_builtins.str] = None,
|
|
189
188
|
schema: Optional[_builtins.str] = None,
|
|
189
|
+
substitute_properties: Optional[Mapping[str, _builtins.str]] = None,
|
|
190
190
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDbInstanceResult:
|
|
191
191
|
"""
|
|
192
192
|
Data source for retrieving a Harness DBDevOps Instance.
|
|
@@ -205,19 +205,19 @@ def get_db_instance(identifier: Optional[_builtins.str] = None,
|
|
|
205
205
|
|
|
206
206
|
|
|
207
207
|
:param _builtins.str identifier: Unique identifier of the resource.
|
|
208
|
-
:param Mapping[str, _builtins.str] liquibase_substitute_properties: The properties to substitute in liquibase changelog
|
|
209
208
|
:param _builtins.str name: Name of the resource.
|
|
210
209
|
:param _builtins.str org_id: Unique identifier of the organization.
|
|
211
210
|
:param _builtins.str project_id: Unique identifier of the project.
|
|
212
211
|
:param _builtins.str schema: The identifier of the parent database schema
|
|
212
|
+
:param Mapping[str, _builtins.str] substitute_properties: The properties to substitute in changelog/migration script
|
|
213
213
|
"""
|
|
214
214
|
__args__ = dict()
|
|
215
215
|
__args__['identifier'] = identifier
|
|
216
|
-
__args__['liquibaseSubstituteProperties'] = liquibase_substitute_properties
|
|
217
216
|
__args__['name'] = name
|
|
218
217
|
__args__['orgId'] = org_id
|
|
219
218
|
__args__['projectId'] = project_id
|
|
220
219
|
__args__['schema'] = schema
|
|
220
|
+
__args__['substituteProperties'] = substitute_properties
|
|
221
221
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
222
222
|
__ret__ = pulumi.runtime.invoke('harness:platform/getDbInstance:getDbInstance', __args__, opts=opts, typ=GetDbInstanceResult).value
|
|
223
223
|
|
|
@@ -228,18 +228,18 @@ def get_db_instance(identifier: Optional[_builtins.str] = None,
|
|
|
228
228
|
description=pulumi.get(__ret__, 'description'),
|
|
229
229
|
id=pulumi.get(__ret__, 'id'),
|
|
230
230
|
identifier=pulumi.get(__ret__, 'identifier'),
|
|
231
|
-
liquibase_substitute_properties=pulumi.get(__ret__, 'liquibase_substitute_properties'),
|
|
232
231
|
name=pulumi.get(__ret__, 'name'),
|
|
233
232
|
org_id=pulumi.get(__ret__, 'org_id'),
|
|
234
233
|
project_id=pulumi.get(__ret__, 'project_id'),
|
|
235
234
|
schema=pulumi.get(__ret__, 'schema'),
|
|
235
|
+
substitute_properties=pulumi.get(__ret__, 'substitute_properties'),
|
|
236
236
|
tags=pulumi.get(__ret__, 'tags'))
|
|
237
237
|
def get_db_instance_output(identifier: Optional[pulumi.Input[_builtins.str]] = None,
|
|
238
|
-
liquibase_substitute_properties: Optional[pulumi.Input[Optional[Mapping[str, _builtins.str]]]] = None,
|
|
239
238
|
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
240
239
|
org_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
241
240
|
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
242
241
|
schema: Optional[pulumi.Input[_builtins.str]] = None,
|
|
242
|
+
substitute_properties: Optional[pulumi.Input[Optional[Mapping[str, _builtins.str]]]] = None,
|
|
243
243
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDbInstanceResult]:
|
|
244
244
|
"""
|
|
245
245
|
Data source for retrieving a Harness DBDevOps Instance.
|
|
@@ -258,19 +258,19 @@ def get_db_instance_output(identifier: Optional[pulumi.Input[_builtins.str]] = N
|
|
|
258
258
|
|
|
259
259
|
|
|
260
260
|
:param _builtins.str identifier: Unique identifier of the resource.
|
|
261
|
-
:param Mapping[str, _builtins.str] liquibase_substitute_properties: The properties to substitute in liquibase changelog
|
|
262
261
|
:param _builtins.str name: Name of the resource.
|
|
263
262
|
:param _builtins.str org_id: Unique identifier of the organization.
|
|
264
263
|
:param _builtins.str project_id: Unique identifier of the project.
|
|
265
264
|
:param _builtins.str schema: The identifier of the parent database schema
|
|
265
|
+
:param Mapping[str, _builtins.str] substitute_properties: The properties to substitute in changelog/migration script
|
|
266
266
|
"""
|
|
267
267
|
__args__ = dict()
|
|
268
268
|
__args__['identifier'] = identifier
|
|
269
|
-
__args__['liquibaseSubstituteProperties'] = liquibase_substitute_properties
|
|
270
269
|
__args__['name'] = name
|
|
271
270
|
__args__['orgId'] = org_id
|
|
272
271
|
__args__['projectId'] = project_id
|
|
273
272
|
__args__['schema'] = schema
|
|
273
|
+
__args__['substituteProperties'] = substitute_properties
|
|
274
274
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
275
275
|
__ret__ = pulumi.runtime.invoke_output('harness:platform/getDbInstance:getDbInstance', __args__, opts=opts, typ=GetDbInstanceResult)
|
|
276
276
|
return __ret__.apply(lambda __response__: GetDbInstanceResult(
|
|
@@ -280,9 +280,9 @@ def get_db_instance_output(identifier: Optional[pulumi.Input[_builtins.str]] = N
|
|
|
280
280
|
description=pulumi.get(__response__, 'description'),
|
|
281
281
|
id=pulumi.get(__response__, 'id'),
|
|
282
282
|
identifier=pulumi.get(__response__, 'identifier'),
|
|
283
|
-
liquibase_substitute_properties=pulumi.get(__response__, 'liquibase_substitute_properties'),
|
|
284
283
|
name=pulumi.get(__response__, 'name'),
|
|
285
284
|
org_id=pulumi.get(__response__, 'org_id'),
|
|
286
285
|
project_id=pulumi.get(__response__, 'project_id'),
|
|
287
286
|
schema=pulumi.get(__response__, 'schema'),
|
|
287
|
+
substitute_properties=pulumi.get(__response__, 'substitute_properties'),
|
|
288
288
|
tags=pulumi.get(__response__, 'tags')))
|
|
@@ -27,7 +27,7 @@ class GetDbSchemaResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getDbSchema.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, changelog_script=None, description=None, id=None, identifier=None, name=None, org_id=None, project_id=None, schema_sources=None, service=None, tags=None, type=None):
|
|
30
|
+
def __init__(__self__, changelog_script=None, description=None, id=None, identifier=None, migration_type=None, name=None, org_id=None, project_id=None, schema_sources=None, service=None, tags=None, type=None):
|
|
31
31
|
if changelog_script and not isinstance(changelog_script, dict):
|
|
32
32
|
raise TypeError("Expected argument 'changelog_script' to be a dict")
|
|
33
33
|
pulumi.set(__self__, "changelog_script", changelog_script)
|
|
@@ -40,6 +40,9 @@ class GetDbSchemaResult:
|
|
|
40
40
|
if identifier and not isinstance(identifier, str):
|
|
41
41
|
raise TypeError("Expected argument 'identifier' to be a str")
|
|
42
42
|
pulumi.set(__self__, "identifier", identifier)
|
|
43
|
+
if migration_type and not isinstance(migration_type, str):
|
|
44
|
+
raise TypeError("Expected argument 'migration_type' to be a str")
|
|
45
|
+
pulumi.set(__self__, "migration_type", migration_type)
|
|
43
46
|
if name and not isinstance(name, str):
|
|
44
47
|
raise TypeError("Expected argument 'name' to be a str")
|
|
45
48
|
pulumi.set(__self__, "name", name)
|
|
@@ -94,6 +97,14 @@ class GetDbSchemaResult:
|
|
|
94
97
|
"""
|
|
95
98
|
return pulumi.get(self, "identifier")
|
|
96
99
|
|
|
100
|
+
@_builtins.property
|
|
101
|
+
@pulumi.getter(name="migrationType")
|
|
102
|
+
def migration_type(self) -> Optional[_builtins.str]:
|
|
103
|
+
"""
|
|
104
|
+
DB Migration tool type, Valid values are any one of: Liquibase, Flyway
|
|
105
|
+
"""
|
|
106
|
+
return pulumi.get(self, "migration_type")
|
|
107
|
+
|
|
97
108
|
@_builtins.property
|
|
98
109
|
@pulumi.getter
|
|
99
110
|
def name(self) -> Optional[_builtins.str]:
|
|
@@ -161,6 +172,7 @@ class AwaitableGetDbSchemaResult(GetDbSchemaResult):
|
|
|
161
172
|
description=self.description,
|
|
162
173
|
id=self.id,
|
|
163
174
|
identifier=self.identifier,
|
|
175
|
+
migration_type=self.migration_type,
|
|
164
176
|
name=self.name,
|
|
165
177
|
org_id=self.org_id,
|
|
166
178
|
project_id=self.project_id,
|
|
@@ -171,6 +183,7 @@ class AwaitableGetDbSchemaResult(GetDbSchemaResult):
|
|
|
171
183
|
|
|
172
184
|
|
|
173
185
|
def get_db_schema(identifier: Optional[_builtins.str] = None,
|
|
186
|
+
migration_type: Optional[_builtins.str] = None,
|
|
174
187
|
name: Optional[_builtins.str] = None,
|
|
175
188
|
org_id: Optional[_builtins.str] = None,
|
|
176
189
|
project_id: Optional[_builtins.str] = None,
|
|
@@ -192,6 +205,7 @@ def get_db_schema(identifier: Optional[_builtins.str] = None,
|
|
|
192
205
|
|
|
193
206
|
|
|
194
207
|
:param _builtins.str identifier: Unique identifier of the resource.
|
|
208
|
+
:param _builtins.str migration_type: DB Migration tool type, Valid values are any one of: Liquibase, Flyway
|
|
195
209
|
:param _builtins.str name: Name of the resource.
|
|
196
210
|
:param _builtins.str org_id: Unique identifier of the organization.
|
|
197
211
|
:param _builtins.str project_id: Unique identifier of the project.
|
|
@@ -199,6 +213,7 @@ def get_db_schema(identifier: Optional[_builtins.str] = None,
|
|
|
199
213
|
"""
|
|
200
214
|
__args__ = dict()
|
|
201
215
|
__args__['identifier'] = identifier
|
|
216
|
+
__args__['migrationType'] = migration_type
|
|
202
217
|
__args__['name'] = name
|
|
203
218
|
__args__['orgId'] = org_id
|
|
204
219
|
__args__['projectId'] = project_id
|
|
@@ -211,6 +226,7 @@ def get_db_schema(identifier: Optional[_builtins.str] = None,
|
|
|
211
226
|
description=pulumi.get(__ret__, 'description'),
|
|
212
227
|
id=pulumi.get(__ret__, 'id'),
|
|
213
228
|
identifier=pulumi.get(__ret__, 'identifier'),
|
|
229
|
+
migration_type=pulumi.get(__ret__, 'migration_type'),
|
|
214
230
|
name=pulumi.get(__ret__, 'name'),
|
|
215
231
|
org_id=pulumi.get(__ret__, 'org_id'),
|
|
216
232
|
project_id=pulumi.get(__ret__, 'project_id'),
|
|
@@ -219,6 +235,7 @@ def get_db_schema(identifier: Optional[_builtins.str] = None,
|
|
|
219
235
|
tags=pulumi.get(__ret__, 'tags'),
|
|
220
236
|
type=pulumi.get(__ret__, 'type'))
|
|
221
237
|
def get_db_schema_output(identifier: Optional[pulumi.Input[_builtins.str]] = None,
|
|
238
|
+
migration_type: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
222
239
|
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
223
240
|
org_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
224
241
|
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -240,6 +257,7 @@ def get_db_schema_output(identifier: Optional[pulumi.Input[_builtins.str]] = Non
|
|
|
240
257
|
|
|
241
258
|
|
|
242
259
|
:param _builtins.str identifier: Unique identifier of the resource.
|
|
260
|
+
:param _builtins.str migration_type: DB Migration tool type, Valid values are any one of: Liquibase, Flyway
|
|
243
261
|
:param _builtins.str name: Name of the resource.
|
|
244
262
|
:param _builtins.str org_id: Unique identifier of the organization.
|
|
245
263
|
:param _builtins.str project_id: Unique identifier of the project.
|
|
@@ -247,6 +265,7 @@ def get_db_schema_output(identifier: Optional[pulumi.Input[_builtins.str]] = Non
|
|
|
247
265
|
"""
|
|
248
266
|
__args__ = dict()
|
|
249
267
|
__args__['identifier'] = identifier
|
|
268
|
+
__args__['migrationType'] = migration_type
|
|
250
269
|
__args__['name'] = name
|
|
251
270
|
__args__['orgId'] = org_id
|
|
252
271
|
__args__['projectId'] = project_id
|
|
@@ -258,6 +277,7 @@ def get_db_schema_output(identifier: Optional[pulumi.Input[_builtins.str]] = Non
|
|
|
258
277
|
description=pulumi.get(__response__, 'description'),
|
|
259
278
|
id=pulumi.get(__response__, 'id'),
|
|
260
279
|
identifier=pulumi.get(__response__, 'identifier'),
|
|
280
|
+
migration_type=pulumi.get(__response__, 'migration_type'),
|
|
261
281
|
name=pulumi.get(__response__, 'name'),
|
|
262
282
|
org_id=pulumi.get(__response__, 'org_id'),
|
|
263
283
|
project_id=pulumi.get(__response__, 'project_id'),
|
|
@@ -28,7 +28,7 @@ class GetDefaultNotificationTemplateSetResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getDefaultNotificationTemplateSet.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, created=None, description=None, event_template_configuration_sets=None, id=None, identifier=None, last_modified=None, name=None, notification_channel_type=None, notification_entity=None, tags=None):
|
|
31
|
+
def __init__(__self__, created=None, description=None, event_template_configuration_sets=None, id=None, identifier=None, last_modified=None, name=None, notification_channel_type=None, notification_entity=None, org=None, project=None, tags=None):
|
|
32
32
|
if created and not isinstance(created, int):
|
|
33
33
|
raise TypeError("Expected argument 'created' to be a int")
|
|
34
34
|
pulumi.set(__self__, "created", created)
|
|
@@ -56,6 +56,12 @@ class GetDefaultNotificationTemplateSetResult:
|
|
|
56
56
|
if notification_entity and not isinstance(notification_entity, str):
|
|
57
57
|
raise TypeError("Expected argument 'notification_entity' to be a str")
|
|
58
58
|
pulumi.set(__self__, "notification_entity", notification_entity)
|
|
59
|
+
if org and not isinstance(org, str):
|
|
60
|
+
raise TypeError("Expected argument 'org' to be a str")
|
|
61
|
+
pulumi.set(__self__, "org", org)
|
|
62
|
+
if project and not isinstance(project, str):
|
|
63
|
+
raise TypeError("Expected argument 'project' to be a str")
|
|
64
|
+
pulumi.set(__self__, "project", project)
|
|
59
65
|
if tags and not isinstance(tags, dict):
|
|
60
66
|
raise TypeError("Expected argument 'tags' to be a dict")
|
|
61
67
|
pulumi.set(__self__, "tags", tags)
|
|
@@ -132,6 +138,16 @@ class GetDefaultNotificationTemplateSetResult:
|
|
|
132
138
|
"""
|
|
133
139
|
return pulumi.get(self, "notification_entity")
|
|
134
140
|
|
|
141
|
+
@_builtins.property
|
|
142
|
+
@pulumi.getter
|
|
143
|
+
def org(self) -> Optional[_builtins.str]:
|
|
144
|
+
return pulumi.get(self, "org")
|
|
145
|
+
|
|
146
|
+
@_builtins.property
|
|
147
|
+
@pulumi.getter
|
|
148
|
+
def project(self) -> Optional[_builtins.str]:
|
|
149
|
+
return pulumi.get(self, "project")
|
|
150
|
+
|
|
135
151
|
@_builtins.property
|
|
136
152
|
@pulumi.getter
|
|
137
153
|
def tags(self) -> Optional[Mapping[str, _builtins.str]]:
|
|
@@ -156,6 +172,8 @@ class AwaitableGetDefaultNotificationTemplateSetResult(GetDefaultNotificationTem
|
|
|
156
172
|
name=self.name,
|
|
157
173
|
notification_channel_type=self.notification_channel_type,
|
|
158
174
|
notification_entity=self.notification_entity,
|
|
175
|
+
org=self.org,
|
|
176
|
+
project=self.project,
|
|
159
177
|
tags=self.tags)
|
|
160
178
|
|
|
161
179
|
|
|
@@ -165,6 +183,8 @@ def get_default_notification_template_set(description: Optional[_builtins.str] =
|
|
|
165
183
|
name: Optional[_builtins.str] = None,
|
|
166
184
|
notification_channel_type: Optional[_builtins.str] = None,
|
|
167
185
|
notification_entity: Optional[_builtins.str] = None,
|
|
186
|
+
org: Optional[_builtins.str] = None,
|
|
187
|
+
project: Optional[_builtins.str] = None,
|
|
168
188
|
tags: Optional[Mapping[str, _builtins.str]] = None,
|
|
169
189
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDefaultNotificationTemplateSetResult:
|
|
170
190
|
"""
|
|
@@ -186,6 +206,8 @@ def get_default_notification_template_set(description: Optional[_builtins.str] =
|
|
|
186
206
|
__args__['name'] = name
|
|
187
207
|
__args__['notificationChannelType'] = notification_channel_type
|
|
188
208
|
__args__['notificationEntity'] = notification_entity
|
|
209
|
+
__args__['org'] = org
|
|
210
|
+
__args__['project'] = project
|
|
189
211
|
__args__['tags'] = tags
|
|
190
212
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
191
213
|
__ret__ = pulumi.runtime.invoke('harness:platform/getDefaultNotificationTemplateSet:getDefaultNotificationTemplateSet', __args__, opts=opts, typ=GetDefaultNotificationTemplateSetResult).value
|
|
@@ -200,6 +222,8 @@ def get_default_notification_template_set(description: Optional[_builtins.str] =
|
|
|
200
222
|
name=pulumi.get(__ret__, 'name'),
|
|
201
223
|
notification_channel_type=pulumi.get(__ret__, 'notification_channel_type'),
|
|
202
224
|
notification_entity=pulumi.get(__ret__, 'notification_entity'),
|
|
225
|
+
org=pulumi.get(__ret__, 'org'),
|
|
226
|
+
project=pulumi.get(__ret__, 'project'),
|
|
203
227
|
tags=pulumi.get(__ret__, 'tags'))
|
|
204
228
|
def get_default_notification_template_set_output(description: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
205
229
|
event_template_configuration_sets: Optional[pulumi.Input[Sequence[Union['GetDefaultNotificationTemplateSetEventTemplateConfigurationSetArgs', 'GetDefaultNotificationTemplateSetEventTemplateConfigurationSetArgsDict']]]] = None,
|
|
@@ -207,6 +231,8 @@ def get_default_notification_template_set_output(description: Optional[pulumi.In
|
|
|
207
231
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
208
232
|
notification_channel_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
209
233
|
notification_entity: Optional[pulumi.Input[_builtins.str]] = None,
|
|
234
|
+
org: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
235
|
+
project: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
210
236
|
tags: Optional[pulumi.Input[Optional[Mapping[str, _builtins.str]]]] = None,
|
|
211
237
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDefaultNotificationTemplateSetResult]:
|
|
212
238
|
"""
|
|
@@ -228,6 +254,8 @@ def get_default_notification_template_set_output(description: Optional[pulumi.In
|
|
|
228
254
|
__args__['name'] = name
|
|
229
255
|
__args__['notificationChannelType'] = notification_channel_type
|
|
230
256
|
__args__['notificationEntity'] = notification_entity
|
|
257
|
+
__args__['org'] = org
|
|
258
|
+
__args__['project'] = project
|
|
231
259
|
__args__['tags'] = tags
|
|
232
260
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
233
261
|
__ret__ = pulumi.runtime.invoke_output('harness:platform/getDefaultNotificationTemplateSet:getDefaultNotificationTemplateSet', __args__, opts=opts, typ=GetDefaultNotificationTemplateSetResult)
|
|
@@ -241,4 +269,6 @@ def get_default_notification_template_set_output(description: Optional[pulumi.In
|
|
|
241
269
|
name=pulumi.get(__response__, 'name'),
|
|
242
270
|
notification_channel_type=pulumi.get(__response__, 'notification_channel_type'),
|
|
243
271
|
notification_entity=pulumi.get(__response__, 'notification_entity'),
|
|
272
|
+
org=pulumi.get(__response__, 'org'),
|
|
273
|
+
project=pulumi.get(__response__, 'project'),
|
|
244
274
|
tags=pulumi.get(__response__, 'tags')))
|
|
@@ -171,6 +171,8 @@ def get_gitops_agent_operator_yaml(ca_data: Optional[_builtins.str] = None,
|
|
|
171
171
|
"""
|
|
172
172
|
Datasource for fetching a Harness Gitops Agent operator manifest YAML.
|
|
173
173
|
|
|
174
|
+
## Example Usage
|
|
175
|
+
|
|
174
176
|
|
|
175
177
|
:param _builtins.str ca_data: CA data of the GitOps agent, base64 encoded content of ca chain.
|
|
176
178
|
:param _builtins.str identifier: Identifier of the GitOps agent.
|
|
@@ -216,6 +218,8 @@ def get_gitops_agent_operator_yaml_output(ca_data: Optional[pulumi.Input[Optiona
|
|
|
216
218
|
"""
|
|
217
219
|
Datasource for fetching a Harness Gitops Agent operator manifest YAML.
|
|
218
220
|
|
|
221
|
+
## Example Usage
|
|
222
|
+
|
|
219
223
|
|
|
220
224
|
:param _builtins.str ca_data: CA data of the GitOps agent, base64 encoded content of ca chain.
|
|
221
225
|
:param _builtins.str identifier: Identifier of the GitOps agent.
|
|
@@ -131,6 +131,8 @@ def get_gitops_app_project_mapping(account_id: Optional[_builtins.str] = None,
|
|
|
131
131
|
"""
|
|
132
132
|
Resource for managing the Harness GitOps Application Project Mappings.
|
|
133
133
|
|
|
134
|
+
## Example Usage
|
|
135
|
+
|
|
134
136
|
|
|
135
137
|
:param _builtins.str account_id: Account identifier of the GitOps agent's Application Project.
|
|
136
138
|
:param _builtins.str agent_id: Agent identifier for which the ArgoCD and Harness project mapping is to be created.
|
|
@@ -164,6 +166,8 @@ def get_gitops_app_project_mapping_output(account_id: Optional[pulumi.Input[Opti
|
|
|
164
166
|
"""
|
|
165
167
|
Resource for managing the Harness GitOps Application Project Mappings.
|
|
166
168
|
|
|
169
|
+
## Example Usage
|
|
170
|
+
|
|
167
171
|
|
|
168
172
|
:param _builtins.str account_id: Account identifier of the GitOps agent's Application Project.
|
|
169
173
|
:param _builtins.str agent_id: Agent identifier for which the ArgoCD and Harness project mapping is to be created.
|
|
@@ -278,6 +278,8 @@ def get_gitops_applications(account_id: Optional[_builtins.str] = None,
|
|
|
278
278
|
"""
|
|
279
279
|
Datasource for fetching a Harness GitOps Application.
|
|
280
280
|
|
|
281
|
+
## Example Usage
|
|
282
|
+
|
|
281
283
|
|
|
282
284
|
:param _builtins.str account_id: Account identifier of the GitOps application.
|
|
283
285
|
:param _builtins.str agent_id: Agent identifier of the GitOps application.
|
|
@@ -326,6 +328,8 @@ def get_gitops_applications_output(account_id: Optional[pulumi.Input[Optional[_b
|
|
|
326
328
|
"""
|
|
327
329
|
Datasource for fetching a Harness GitOps Application.
|
|
328
330
|
|
|
331
|
+
## Example Usage
|
|
332
|
+
|
|
329
333
|
|
|
330
334
|
:param _builtins.str account_id: Account identifier of the GitOps application.
|
|
331
335
|
:param _builtins.str agent_id: Agent identifier of the GitOps application.
|
|
@@ -106,6 +106,8 @@ def get_gitops_repo_cert(account_id: Optional[_builtins.str] = None,
|
|
|
106
106
|
"""
|
|
107
107
|
Data source for retrieving a GitOps Repository Certificate. It fetches all the certificates that are added to the provided agent.
|
|
108
108
|
|
|
109
|
+
## Example Usage
|
|
110
|
+
|
|
109
111
|
|
|
110
112
|
:param _builtins.str account_id: Account identifier of the GitOps repository certificate.
|
|
111
113
|
:param _builtins.str agent_id: Agent identifier of the GitOps repository certificate.
|
|
@@ -134,6 +136,8 @@ def get_gitops_repo_cert_output(account_id: Optional[pulumi.Input[Optional[_buil
|
|
|
134
136
|
"""
|
|
135
137
|
Data source for retrieving a GitOps Repository Certificate. It fetches all the certificates that are added to the provided agent.
|
|
136
138
|
|
|
139
|
+
## Example Usage
|
|
140
|
+
|
|
137
141
|
|
|
138
142
|
:param _builtins.str account_id: Account identifier of the GitOps repository certificate.
|
|
139
143
|
:param _builtins.str agent_id: Agent identifier of the GitOps repository certificate.
|