pulumi-harness 0.8.0a1752696115__py3-none-any.whl → 0.8.0a1752731737__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 +8 -0
- pulumi_harness/platform/__init__.py +2 -0
- pulumi_harness/platform/_inputs.py +379 -0
- pulumi_harness/platform/central_notification_rule.py +467 -0
- pulumi_harness/platform/get_central_notification_rule.py +254 -0
- pulumi_harness/platform/get_workspace.py +16 -1
- pulumi_harness/platform/outputs.py +277 -0
- pulumi_harness/pulumi-plugin.json +1 -1
- {pulumi_harness-0.8.0a1752696115.dist-info → pulumi_harness-0.8.0a1752731737.dist-info}/METADATA +1 -1
- {pulumi_harness-0.8.0a1752696115.dist-info → pulumi_harness-0.8.0a1752731737.dist-info}/RECORD +12 -10
- {pulumi_harness-0.8.0a1752696115.dist-info → pulumi_harness-0.8.0a1752731737.dist-info}/WHEEL +0 -0
- {pulumi_harness-0.8.0a1752696115.dist-info → pulumi_harness-0.8.0a1752731737.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,254 @@
|
|
|
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__ = [
|
|
21
|
+
'GetCentralNotificationRuleResult',
|
|
22
|
+
'AwaitableGetCentralNotificationRuleResult',
|
|
23
|
+
'get_central_notification_rule',
|
|
24
|
+
'get_central_notification_rule_output',
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
@pulumi.output_type
|
|
28
|
+
class GetCentralNotificationRuleResult:
|
|
29
|
+
"""
|
|
30
|
+
A collection of values returned by getCentralNotificationRule.
|
|
31
|
+
"""
|
|
32
|
+
def __init__(__self__, account=None, created=None, custom_notification_template_ref=None, id=None, identifier=None, last_modified=None, name=None, notification_channel_refs=None, notification_conditions=None, org=None, project=None, status=None):
|
|
33
|
+
if account and not isinstance(account, str):
|
|
34
|
+
raise TypeError("Expected argument 'account' to be a str")
|
|
35
|
+
pulumi.set(__self__, "account", account)
|
|
36
|
+
if created and not isinstance(created, int):
|
|
37
|
+
raise TypeError("Expected argument 'created' to be a int")
|
|
38
|
+
pulumi.set(__self__, "created", created)
|
|
39
|
+
if custom_notification_template_ref and not isinstance(custom_notification_template_ref, dict):
|
|
40
|
+
raise TypeError("Expected argument 'custom_notification_template_ref' to be a dict")
|
|
41
|
+
pulumi.set(__self__, "custom_notification_template_ref", custom_notification_template_ref)
|
|
42
|
+
if id and not isinstance(id, str):
|
|
43
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
44
|
+
pulumi.set(__self__, "id", id)
|
|
45
|
+
if identifier and not isinstance(identifier, str):
|
|
46
|
+
raise TypeError("Expected argument 'identifier' to be a str")
|
|
47
|
+
pulumi.set(__self__, "identifier", identifier)
|
|
48
|
+
if last_modified and not isinstance(last_modified, int):
|
|
49
|
+
raise TypeError("Expected argument 'last_modified' to be a int")
|
|
50
|
+
pulumi.set(__self__, "last_modified", last_modified)
|
|
51
|
+
if name and not isinstance(name, str):
|
|
52
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
53
|
+
pulumi.set(__self__, "name", name)
|
|
54
|
+
if notification_channel_refs and not isinstance(notification_channel_refs, list):
|
|
55
|
+
raise TypeError("Expected argument 'notification_channel_refs' to be a list")
|
|
56
|
+
pulumi.set(__self__, "notification_channel_refs", notification_channel_refs)
|
|
57
|
+
if notification_conditions and not isinstance(notification_conditions, list):
|
|
58
|
+
raise TypeError("Expected argument 'notification_conditions' to be a list")
|
|
59
|
+
pulumi.set(__self__, "notification_conditions", notification_conditions)
|
|
60
|
+
if org and not isinstance(org, str):
|
|
61
|
+
raise TypeError("Expected argument 'org' to be a str")
|
|
62
|
+
pulumi.set(__self__, "org", org)
|
|
63
|
+
if project and not isinstance(project, str):
|
|
64
|
+
raise TypeError("Expected argument 'project' to be a str")
|
|
65
|
+
pulumi.set(__self__, "project", project)
|
|
66
|
+
if status and not isinstance(status, str):
|
|
67
|
+
raise TypeError("Expected argument 'status' to be a str")
|
|
68
|
+
pulumi.set(__self__, "status", status)
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
@pulumi.getter
|
|
72
|
+
def account(self) -> builtins.str:
|
|
73
|
+
"""
|
|
74
|
+
Account identifier associated with this notification channel.
|
|
75
|
+
"""
|
|
76
|
+
return pulumi.get(self, "account")
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
@pulumi.getter
|
|
80
|
+
def created(self) -> builtins.int:
|
|
81
|
+
"""
|
|
82
|
+
Timestamp when the notification rule was created.
|
|
83
|
+
"""
|
|
84
|
+
return pulumi.get(self, "created")
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
@pulumi.getter(name="customNotificationTemplateRef")
|
|
88
|
+
def custom_notification_template_ref(self) -> Optional['outputs.GetCentralNotificationRuleCustomNotificationTemplateRefResult']:
|
|
89
|
+
return pulumi.get(self, "custom_notification_template_ref")
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
@pulumi.getter
|
|
93
|
+
def id(self) -> builtins.str:
|
|
94
|
+
"""
|
|
95
|
+
The provider-assigned unique ID for this managed resource.
|
|
96
|
+
"""
|
|
97
|
+
return pulumi.get(self, "id")
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
@pulumi.getter
|
|
101
|
+
def identifier(self) -> builtins.str:
|
|
102
|
+
"""
|
|
103
|
+
Identifier of the Notification Rule.
|
|
104
|
+
"""
|
|
105
|
+
return pulumi.get(self, "identifier")
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
@pulumi.getter(name="lastModified")
|
|
109
|
+
def last_modified(self) -> builtins.int:
|
|
110
|
+
"""
|
|
111
|
+
Timestamp when the notification rule was last modified.
|
|
112
|
+
"""
|
|
113
|
+
return pulumi.get(self, "last_modified")
|
|
114
|
+
|
|
115
|
+
@property
|
|
116
|
+
@pulumi.getter
|
|
117
|
+
def name(self) -> Optional[builtins.str]:
|
|
118
|
+
return pulumi.get(self, "name")
|
|
119
|
+
|
|
120
|
+
@property
|
|
121
|
+
@pulumi.getter(name="notificationChannelRefs")
|
|
122
|
+
def notification_channel_refs(self) -> Optional[Sequence[builtins.str]]:
|
|
123
|
+
return pulumi.get(self, "notification_channel_refs")
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
@pulumi.getter(name="notificationConditions")
|
|
127
|
+
def notification_conditions(self) -> Optional[Sequence['outputs.GetCentralNotificationRuleNotificationConditionResult']]:
|
|
128
|
+
return pulumi.get(self, "notification_conditions")
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
@pulumi.getter
|
|
132
|
+
def org(self) -> Optional[builtins.str]:
|
|
133
|
+
"""
|
|
134
|
+
Identifier of the organization in which the Notification Rule is configured.
|
|
135
|
+
"""
|
|
136
|
+
return pulumi.get(self, "org")
|
|
137
|
+
|
|
138
|
+
@property
|
|
139
|
+
@pulumi.getter
|
|
140
|
+
def project(self) -> Optional[builtins.str]:
|
|
141
|
+
"""
|
|
142
|
+
Identifier of the project in which the Notification Rule is configured.
|
|
143
|
+
"""
|
|
144
|
+
return pulumi.get(self, "project")
|
|
145
|
+
|
|
146
|
+
@property
|
|
147
|
+
@pulumi.getter
|
|
148
|
+
def status(self) -> Optional[builtins.str]:
|
|
149
|
+
return pulumi.get(self, "status")
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
class AwaitableGetCentralNotificationRuleResult(GetCentralNotificationRuleResult):
|
|
153
|
+
# pylint: disable=using-constant-test
|
|
154
|
+
def __await__(self):
|
|
155
|
+
if False:
|
|
156
|
+
yield self
|
|
157
|
+
return GetCentralNotificationRuleResult(
|
|
158
|
+
account=self.account,
|
|
159
|
+
created=self.created,
|
|
160
|
+
custom_notification_template_ref=self.custom_notification_template_ref,
|
|
161
|
+
id=self.id,
|
|
162
|
+
identifier=self.identifier,
|
|
163
|
+
last_modified=self.last_modified,
|
|
164
|
+
name=self.name,
|
|
165
|
+
notification_channel_refs=self.notification_channel_refs,
|
|
166
|
+
notification_conditions=self.notification_conditions,
|
|
167
|
+
org=self.org,
|
|
168
|
+
project=self.project,
|
|
169
|
+
status=self.status)
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
def get_central_notification_rule(custom_notification_template_ref: Optional[Union['GetCentralNotificationRuleCustomNotificationTemplateRefArgs', 'GetCentralNotificationRuleCustomNotificationTemplateRefArgsDict']] = None,
|
|
173
|
+
identifier: Optional[builtins.str] = None,
|
|
174
|
+
name: Optional[builtins.str] = None,
|
|
175
|
+
notification_channel_refs: Optional[Sequence[builtins.str]] = None,
|
|
176
|
+
notification_conditions: Optional[Sequence[Union['GetCentralNotificationRuleNotificationConditionArgs', 'GetCentralNotificationRuleNotificationConditionArgsDict']]] = None,
|
|
177
|
+
org: Optional[builtins.str] = None,
|
|
178
|
+
project: Optional[builtins.str] = None,
|
|
179
|
+
status: Optional[builtins.str] = None,
|
|
180
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCentralNotificationRuleResult:
|
|
181
|
+
"""
|
|
182
|
+
Data source for retrieving a Notification Rule.
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
:param builtins.str identifier: Identifier of the Notification Rule.
|
|
186
|
+
:param builtins.str org: Identifier of the organization in which the Notification Rule is configured.
|
|
187
|
+
:param builtins.str project: Identifier of the project in which the Notification Rule is configured.
|
|
188
|
+
"""
|
|
189
|
+
__args__ = dict()
|
|
190
|
+
__args__['customNotificationTemplateRef'] = custom_notification_template_ref
|
|
191
|
+
__args__['identifier'] = identifier
|
|
192
|
+
__args__['name'] = name
|
|
193
|
+
__args__['notificationChannelRefs'] = notification_channel_refs
|
|
194
|
+
__args__['notificationConditions'] = notification_conditions
|
|
195
|
+
__args__['org'] = org
|
|
196
|
+
__args__['project'] = project
|
|
197
|
+
__args__['status'] = status
|
|
198
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
199
|
+
__ret__ = pulumi.runtime.invoke('harness:platform/getCentralNotificationRule:getCentralNotificationRule', __args__, opts=opts, typ=GetCentralNotificationRuleResult).value
|
|
200
|
+
|
|
201
|
+
return AwaitableGetCentralNotificationRuleResult(
|
|
202
|
+
account=pulumi.get(__ret__, 'account'),
|
|
203
|
+
created=pulumi.get(__ret__, 'created'),
|
|
204
|
+
custom_notification_template_ref=pulumi.get(__ret__, 'custom_notification_template_ref'),
|
|
205
|
+
id=pulumi.get(__ret__, 'id'),
|
|
206
|
+
identifier=pulumi.get(__ret__, 'identifier'),
|
|
207
|
+
last_modified=pulumi.get(__ret__, 'last_modified'),
|
|
208
|
+
name=pulumi.get(__ret__, 'name'),
|
|
209
|
+
notification_channel_refs=pulumi.get(__ret__, 'notification_channel_refs'),
|
|
210
|
+
notification_conditions=pulumi.get(__ret__, 'notification_conditions'),
|
|
211
|
+
org=pulumi.get(__ret__, 'org'),
|
|
212
|
+
project=pulumi.get(__ret__, 'project'),
|
|
213
|
+
status=pulumi.get(__ret__, 'status'))
|
|
214
|
+
def get_central_notification_rule_output(custom_notification_template_ref: Optional[pulumi.Input[Optional[Union['GetCentralNotificationRuleCustomNotificationTemplateRefArgs', 'GetCentralNotificationRuleCustomNotificationTemplateRefArgsDict']]]] = None,
|
|
215
|
+
identifier: Optional[pulumi.Input[builtins.str]] = None,
|
|
216
|
+
name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
217
|
+
notification_channel_refs: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
|
|
218
|
+
notification_conditions: Optional[pulumi.Input[Optional[Sequence[Union['GetCentralNotificationRuleNotificationConditionArgs', 'GetCentralNotificationRuleNotificationConditionArgsDict']]]]] = None,
|
|
219
|
+
org: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
220
|
+
project: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
221
|
+
status: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
222
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCentralNotificationRuleResult]:
|
|
223
|
+
"""
|
|
224
|
+
Data source for retrieving a Notification Rule.
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
:param builtins.str identifier: Identifier of the Notification Rule.
|
|
228
|
+
:param builtins.str org: Identifier of the organization in which the Notification Rule is configured.
|
|
229
|
+
:param builtins.str project: Identifier of the project in which the Notification Rule is configured.
|
|
230
|
+
"""
|
|
231
|
+
__args__ = dict()
|
|
232
|
+
__args__['customNotificationTemplateRef'] = custom_notification_template_ref
|
|
233
|
+
__args__['identifier'] = identifier
|
|
234
|
+
__args__['name'] = name
|
|
235
|
+
__args__['notificationChannelRefs'] = notification_channel_refs
|
|
236
|
+
__args__['notificationConditions'] = notification_conditions
|
|
237
|
+
__args__['org'] = org
|
|
238
|
+
__args__['project'] = project
|
|
239
|
+
__args__['status'] = status
|
|
240
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
241
|
+
__ret__ = pulumi.runtime.invoke_output('harness:platform/getCentralNotificationRule:getCentralNotificationRule', __args__, opts=opts, typ=GetCentralNotificationRuleResult)
|
|
242
|
+
return __ret__.apply(lambda __response__: GetCentralNotificationRuleResult(
|
|
243
|
+
account=pulumi.get(__response__, 'account'),
|
|
244
|
+
created=pulumi.get(__response__, 'created'),
|
|
245
|
+
custom_notification_template_ref=pulumi.get(__response__, 'custom_notification_template_ref'),
|
|
246
|
+
id=pulumi.get(__response__, 'id'),
|
|
247
|
+
identifier=pulumi.get(__response__, 'identifier'),
|
|
248
|
+
last_modified=pulumi.get(__response__, 'last_modified'),
|
|
249
|
+
name=pulumi.get(__response__, 'name'),
|
|
250
|
+
notification_channel_refs=pulumi.get(__response__, 'notification_channel_refs'),
|
|
251
|
+
notification_conditions=pulumi.get(__response__, 'notification_conditions'),
|
|
252
|
+
org=pulumi.get(__response__, 'org'),
|
|
253
|
+
project=pulumi.get(__response__, 'project'),
|
|
254
|
+
status=pulumi.get(__response__, 'status')))
|
|
@@ -29,7 +29,7 @@ class GetWorkspaceResult:
|
|
|
29
29
|
"""
|
|
30
30
|
A collection of values returned by getWorkspace.
|
|
31
31
|
"""
|
|
32
|
-
def __init__(__self__, connectors=None, cost_estimation_enabled=None, default_pipelines=None, description=None, environment_variables=None, id=None, identifier=None, name=None, org_id=None, project_id=None, provider_connector=None, provisioner_type=None, provisioner_version=None, repository=None, repository_branch=None, repository_commit=None, repository_connector=None, repository_path=None, repository_sha=None, terraform_variable_files=None, terraform_variables=None, variable_sets=None):
|
|
32
|
+
def __init__(__self__, connectors=None, cost_estimation_enabled=None, default_pipelines=None, description=None, environment_variables=None, id=None, identifier=None, name=None, org_id=None, project_id=None, provider_connector=None, provisioner_type=None, provisioner_version=None, repository=None, repository_branch=None, repository_commit=None, repository_connector=None, repository_path=None, repository_sha=None, tags=None, terraform_variable_files=None, terraform_variables=None, variable_sets=None):
|
|
33
33
|
if connectors and not isinstance(connectors, list):
|
|
34
34
|
raise TypeError("Expected argument 'connectors' to be a list")
|
|
35
35
|
pulumi.set(__self__, "connectors", connectors)
|
|
@@ -87,6 +87,9 @@ class GetWorkspaceResult:
|
|
|
87
87
|
if repository_sha and not isinstance(repository_sha, str):
|
|
88
88
|
raise TypeError("Expected argument 'repository_sha' to be a str")
|
|
89
89
|
pulumi.set(__self__, "repository_sha", repository_sha)
|
|
90
|
+
if tags and not isinstance(tags, list):
|
|
91
|
+
raise TypeError("Expected argument 'tags' to be a list")
|
|
92
|
+
pulumi.set(__self__, "tags", tags)
|
|
90
93
|
if terraform_variable_files and not isinstance(terraform_variable_files, list):
|
|
91
94
|
raise TypeError("Expected argument 'terraform_variable_files' to be a list")
|
|
92
95
|
pulumi.set(__self__, "terraform_variable_files", terraform_variable_files)
|
|
@@ -249,6 +252,11 @@ class GetWorkspaceResult:
|
|
|
249
252
|
"""
|
|
250
253
|
return pulumi.get(self, "repository_sha")
|
|
251
254
|
|
|
255
|
+
@property
|
|
256
|
+
@pulumi.getter
|
|
257
|
+
def tags(self) -> Optional[Sequence[builtins.str]]:
|
|
258
|
+
return pulumi.get(self, "tags")
|
|
259
|
+
|
|
252
260
|
@property
|
|
253
261
|
@pulumi.getter(name="terraformVariableFiles")
|
|
254
262
|
def terraform_variable_files(self) -> Sequence['outputs.GetWorkspaceTerraformVariableFileResult']:
|
|
@@ -293,6 +301,7 @@ class AwaitableGetWorkspaceResult(GetWorkspaceResult):
|
|
|
293
301
|
repository_connector=self.repository_connector,
|
|
294
302
|
repository_path=self.repository_path,
|
|
295
303
|
repository_sha=self.repository_sha,
|
|
304
|
+
tags=self.tags,
|
|
296
305
|
terraform_variable_files=self.terraform_variable_files,
|
|
297
306
|
terraform_variables=self.terraform_variables,
|
|
298
307
|
variable_sets=self.variable_sets)
|
|
@@ -307,6 +316,7 @@ def get_workspace(connectors: Optional[Sequence[Union['GetWorkspaceConnectorArgs
|
|
|
307
316
|
repository_branch: Optional[builtins.str] = None,
|
|
308
317
|
repository_commit: Optional[builtins.str] = None,
|
|
309
318
|
repository_sha: Optional[builtins.str] = None,
|
|
319
|
+
tags: Optional[Sequence[builtins.str]] = None,
|
|
310
320
|
terraform_variable_files: Optional[Sequence[Union['GetWorkspaceTerraformVariableFileArgs', 'GetWorkspaceTerraformVariableFileArgsDict']]] = None,
|
|
311
321
|
terraform_variables: Optional[Sequence[Union['GetWorkspaceTerraformVariableArgs', 'GetWorkspaceTerraformVariableArgsDict']]] = None,
|
|
312
322
|
variable_sets: Optional[Sequence[builtins.str]] = None,
|
|
@@ -347,6 +357,7 @@ def get_workspace(connectors: Optional[Sequence[Union['GetWorkspaceConnectorArgs
|
|
|
347
357
|
__args__['repositoryBranch'] = repository_branch
|
|
348
358
|
__args__['repositoryCommit'] = repository_commit
|
|
349
359
|
__args__['repositorySha'] = repository_sha
|
|
360
|
+
__args__['tags'] = tags
|
|
350
361
|
__args__['terraformVariableFiles'] = terraform_variable_files
|
|
351
362
|
__args__['terraformVariables'] = terraform_variables
|
|
352
363
|
__args__['variableSets'] = variable_sets
|
|
@@ -373,6 +384,7 @@ def get_workspace(connectors: Optional[Sequence[Union['GetWorkspaceConnectorArgs
|
|
|
373
384
|
repository_connector=pulumi.get(__ret__, 'repository_connector'),
|
|
374
385
|
repository_path=pulumi.get(__ret__, 'repository_path'),
|
|
375
386
|
repository_sha=pulumi.get(__ret__, 'repository_sha'),
|
|
387
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
376
388
|
terraform_variable_files=pulumi.get(__ret__, 'terraform_variable_files'),
|
|
377
389
|
terraform_variables=pulumi.get(__ret__, 'terraform_variables'),
|
|
378
390
|
variable_sets=pulumi.get(__ret__, 'variable_sets'))
|
|
@@ -385,6 +397,7 @@ def get_workspace_output(connectors: Optional[pulumi.Input[Optional[Sequence[Uni
|
|
|
385
397
|
repository_branch: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
386
398
|
repository_commit: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
387
399
|
repository_sha: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
400
|
+
tags: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
|
|
388
401
|
terraform_variable_files: Optional[pulumi.Input[Optional[Sequence[Union['GetWorkspaceTerraformVariableFileArgs', 'GetWorkspaceTerraformVariableFileArgsDict']]]]] = None,
|
|
389
402
|
terraform_variables: Optional[pulumi.Input[Optional[Sequence[Union['GetWorkspaceTerraformVariableArgs', 'GetWorkspaceTerraformVariableArgsDict']]]]] = None,
|
|
390
403
|
variable_sets: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
|
|
@@ -425,6 +438,7 @@ def get_workspace_output(connectors: Optional[pulumi.Input[Optional[Sequence[Uni
|
|
|
425
438
|
__args__['repositoryBranch'] = repository_branch
|
|
426
439
|
__args__['repositoryCommit'] = repository_commit
|
|
427
440
|
__args__['repositorySha'] = repository_sha
|
|
441
|
+
__args__['tags'] = tags
|
|
428
442
|
__args__['terraformVariableFiles'] = terraform_variable_files
|
|
429
443
|
__args__['terraformVariables'] = terraform_variables
|
|
430
444
|
__args__['variableSets'] = variable_sets
|
|
@@ -450,6 +464,7 @@ def get_workspace_output(connectors: Optional[pulumi.Input[Optional[Sequence[Uni
|
|
|
450
464
|
repository_connector=pulumi.get(__response__, 'repository_connector'),
|
|
451
465
|
repository_path=pulumi.get(__response__, 'repository_path'),
|
|
452
466
|
repository_sha=pulumi.get(__response__, 'repository_sha'),
|
|
467
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
453
468
|
terraform_variable_files=pulumi.get(__response__, 'terraform_variable_files'),
|
|
454
469
|
terraform_variables=pulumi.get(__response__, 'terraform_variables'),
|
|
455
470
|
variable_sets=pulumi.get(__response__, 'variable_sets')))
|
|
@@ -53,6 +53,10 @@ __all__ = [
|
|
|
53
53
|
'CentralNotificationChannelChannel',
|
|
54
54
|
'CentralNotificationChannelChannelHeader',
|
|
55
55
|
'CentralNotificationChannelChannelUserGroup',
|
|
56
|
+
'CentralNotificationRuleCustomNotificationTemplateRef',
|
|
57
|
+
'CentralNotificationRuleCustomNotificationTemplateRefVariable',
|
|
58
|
+
'CentralNotificationRuleNotificationCondition',
|
|
59
|
+
'CentralNotificationRuleNotificationConditionNotificationEventConfig',
|
|
56
60
|
'ConnectorAzureArtifactsCredentials',
|
|
57
61
|
'ConnectorAzureRepoApiAuthentication',
|
|
58
62
|
'ConnectorAzureRepoCredentials',
|
|
@@ -1664,6 +1668,10 @@ __all__ = [
|
|
|
1664
1668
|
'GetCentralNotificationChannelChannelResult',
|
|
1665
1669
|
'GetCentralNotificationChannelChannelHeaderResult',
|
|
1666
1670
|
'GetCentralNotificationChannelChannelUserGroupResult',
|
|
1671
|
+
'GetCentralNotificationRuleCustomNotificationTemplateRefResult',
|
|
1672
|
+
'GetCentralNotificationRuleCustomNotificationTemplateRefVariableResult',
|
|
1673
|
+
'GetCentralNotificationRuleNotificationConditionResult',
|
|
1674
|
+
'GetCentralNotificationRuleNotificationConditionNotificationEventConfigResult',
|
|
1667
1675
|
'GetConnectorAzureRepoApiAuthenticationResult',
|
|
1668
1676
|
'GetConnectorAzureRepoCredentialResult',
|
|
1669
1677
|
'GetConnectorAzureRepoCredentialHttpResult',
|
|
@@ -3767,6 +3775,175 @@ class CentralNotificationChannelChannelUserGroup(dict):
|
|
|
3767
3775
|
return pulumi.get(self, "identifier")
|
|
3768
3776
|
|
|
3769
3777
|
|
|
3778
|
+
@pulumi.output_type
|
|
3779
|
+
class CentralNotificationRuleCustomNotificationTemplateRef(dict):
|
|
3780
|
+
@staticmethod
|
|
3781
|
+
def __key_warning(key: str):
|
|
3782
|
+
suggest = None
|
|
3783
|
+
if key == "templateRef":
|
|
3784
|
+
suggest = "template_ref"
|
|
3785
|
+
elif key == "versionLabel":
|
|
3786
|
+
suggest = "version_label"
|
|
3787
|
+
|
|
3788
|
+
if suggest:
|
|
3789
|
+
pulumi.log.warn(f"Key '{key}' not found in CentralNotificationRuleCustomNotificationTemplateRef. Access the value via the '{suggest}' property getter instead.")
|
|
3790
|
+
|
|
3791
|
+
def __getitem__(self, key: str) -> Any:
|
|
3792
|
+
CentralNotificationRuleCustomNotificationTemplateRef.__key_warning(key)
|
|
3793
|
+
return super().__getitem__(key)
|
|
3794
|
+
|
|
3795
|
+
def get(self, key: str, default = None) -> Any:
|
|
3796
|
+
CentralNotificationRuleCustomNotificationTemplateRef.__key_warning(key)
|
|
3797
|
+
return super().get(key, default)
|
|
3798
|
+
|
|
3799
|
+
def __init__(__self__, *,
|
|
3800
|
+
template_ref: builtins.str,
|
|
3801
|
+
version_label: builtins.str,
|
|
3802
|
+
variables: Optional[Sequence['outputs.CentralNotificationRuleCustomNotificationTemplateRefVariable']] = None):
|
|
3803
|
+
pulumi.set(__self__, "template_ref", template_ref)
|
|
3804
|
+
pulumi.set(__self__, "version_label", version_label)
|
|
3805
|
+
if variables is not None:
|
|
3806
|
+
pulumi.set(__self__, "variables", variables)
|
|
3807
|
+
|
|
3808
|
+
@property
|
|
3809
|
+
@pulumi.getter(name="templateRef")
|
|
3810
|
+
def template_ref(self) -> builtins.str:
|
|
3811
|
+
return pulumi.get(self, "template_ref")
|
|
3812
|
+
|
|
3813
|
+
@property
|
|
3814
|
+
@pulumi.getter(name="versionLabel")
|
|
3815
|
+
def version_label(self) -> builtins.str:
|
|
3816
|
+
return pulumi.get(self, "version_label")
|
|
3817
|
+
|
|
3818
|
+
@property
|
|
3819
|
+
@pulumi.getter
|
|
3820
|
+
def variables(self) -> Optional[Sequence['outputs.CentralNotificationRuleCustomNotificationTemplateRefVariable']]:
|
|
3821
|
+
return pulumi.get(self, "variables")
|
|
3822
|
+
|
|
3823
|
+
|
|
3824
|
+
@pulumi.output_type
|
|
3825
|
+
class CentralNotificationRuleCustomNotificationTemplateRefVariable(dict):
|
|
3826
|
+
def __init__(__self__, *,
|
|
3827
|
+
name: builtins.str,
|
|
3828
|
+
value: builtins.str,
|
|
3829
|
+
type: Optional[builtins.str] = None):
|
|
3830
|
+
pulumi.set(__self__, "name", name)
|
|
3831
|
+
pulumi.set(__self__, "value", value)
|
|
3832
|
+
if type is not None:
|
|
3833
|
+
pulumi.set(__self__, "type", type)
|
|
3834
|
+
|
|
3835
|
+
@property
|
|
3836
|
+
@pulumi.getter
|
|
3837
|
+
def name(self) -> builtins.str:
|
|
3838
|
+
return pulumi.get(self, "name")
|
|
3839
|
+
|
|
3840
|
+
@property
|
|
3841
|
+
@pulumi.getter
|
|
3842
|
+
def value(self) -> builtins.str:
|
|
3843
|
+
return pulumi.get(self, "value")
|
|
3844
|
+
|
|
3845
|
+
@property
|
|
3846
|
+
@pulumi.getter
|
|
3847
|
+
def type(self) -> Optional[builtins.str]:
|
|
3848
|
+
return pulumi.get(self, "type")
|
|
3849
|
+
|
|
3850
|
+
|
|
3851
|
+
@pulumi.output_type
|
|
3852
|
+
class CentralNotificationRuleNotificationCondition(dict):
|
|
3853
|
+
@staticmethod
|
|
3854
|
+
def __key_warning(key: str):
|
|
3855
|
+
suggest = None
|
|
3856
|
+
if key == "conditionName":
|
|
3857
|
+
suggest = "condition_name"
|
|
3858
|
+
elif key == "notificationEventConfigs":
|
|
3859
|
+
suggest = "notification_event_configs"
|
|
3860
|
+
|
|
3861
|
+
if suggest:
|
|
3862
|
+
pulumi.log.warn(f"Key '{key}' not found in CentralNotificationRuleNotificationCondition. Access the value via the '{suggest}' property getter instead.")
|
|
3863
|
+
|
|
3864
|
+
def __getitem__(self, key: str) -> Any:
|
|
3865
|
+
CentralNotificationRuleNotificationCondition.__key_warning(key)
|
|
3866
|
+
return super().__getitem__(key)
|
|
3867
|
+
|
|
3868
|
+
def get(self, key: str, default = None) -> Any:
|
|
3869
|
+
CentralNotificationRuleNotificationCondition.__key_warning(key)
|
|
3870
|
+
return super().get(key, default)
|
|
3871
|
+
|
|
3872
|
+
def __init__(__self__, *,
|
|
3873
|
+
condition_name: builtins.str,
|
|
3874
|
+
notification_event_configs: Sequence['outputs.CentralNotificationRuleNotificationConditionNotificationEventConfig']):
|
|
3875
|
+
pulumi.set(__self__, "condition_name", condition_name)
|
|
3876
|
+
pulumi.set(__self__, "notification_event_configs", notification_event_configs)
|
|
3877
|
+
|
|
3878
|
+
@property
|
|
3879
|
+
@pulumi.getter(name="conditionName")
|
|
3880
|
+
def condition_name(self) -> builtins.str:
|
|
3881
|
+
return pulumi.get(self, "condition_name")
|
|
3882
|
+
|
|
3883
|
+
@property
|
|
3884
|
+
@pulumi.getter(name="notificationEventConfigs")
|
|
3885
|
+
def notification_event_configs(self) -> Sequence['outputs.CentralNotificationRuleNotificationConditionNotificationEventConfig']:
|
|
3886
|
+
return pulumi.get(self, "notification_event_configs")
|
|
3887
|
+
|
|
3888
|
+
|
|
3889
|
+
@pulumi.output_type
|
|
3890
|
+
class CentralNotificationRuleNotificationConditionNotificationEventConfig(dict):
|
|
3891
|
+
@staticmethod
|
|
3892
|
+
def __key_warning(key: str):
|
|
3893
|
+
suggest = None
|
|
3894
|
+
if key == "notificationEntity":
|
|
3895
|
+
suggest = "notification_entity"
|
|
3896
|
+
elif key == "notificationEvent":
|
|
3897
|
+
suggest = "notification_event"
|
|
3898
|
+
elif key == "entityIdentifiers":
|
|
3899
|
+
suggest = "entity_identifiers"
|
|
3900
|
+
elif key == "notificationEventData":
|
|
3901
|
+
suggest = "notification_event_data"
|
|
3902
|
+
|
|
3903
|
+
if suggest:
|
|
3904
|
+
pulumi.log.warn(f"Key '{key}' not found in CentralNotificationRuleNotificationConditionNotificationEventConfig. Access the value via the '{suggest}' property getter instead.")
|
|
3905
|
+
|
|
3906
|
+
def __getitem__(self, key: str) -> Any:
|
|
3907
|
+
CentralNotificationRuleNotificationConditionNotificationEventConfig.__key_warning(key)
|
|
3908
|
+
return super().__getitem__(key)
|
|
3909
|
+
|
|
3910
|
+
def get(self, key: str, default = None) -> Any:
|
|
3911
|
+
CentralNotificationRuleNotificationConditionNotificationEventConfig.__key_warning(key)
|
|
3912
|
+
return super().get(key, default)
|
|
3913
|
+
|
|
3914
|
+
def __init__(__self__, *,
|
|
3915
|
+
notification_entity: builtins.str,
|
|
3916
|
+
notification_event: builtins.str,
|
|
3917
|
+
entity_identifiers: Optional[Sequence[builtins.str]] = None,
|
|
3918
|
+
notification_event_data: Optional[Mapping[str, builtins.str]] = None):
|
|
3919
|
+
pulumi.set(__self__, "notification_entity", notification_entity)
|
|
3920
|
+
pulumi.set(__self__, "notification_event", notification_event)
|
|
3921
|
+
if entity_identifiers is not None:
|
|
3922
|
+
pulumi.set(__self__, "entity_identifiers", entity_identifiers)
|
|
3923
|
+
if notification_event_data is not None:
|
|
3924
|
+
pulumi.set(__self__, "notification_event_data", notification_event_data)
|
|
3925
|
+
|
|
3926
|
+
@property
|
|
3927
|
+
@pulumi.getter(name="notificationEntity")
|
|
3928
|
+
def notification_entity(self) -> builtins.str:
|
|
3929
|
+
return pulumi.get(self, "notification_entity")
|
|
3930
|
+
|
|
3931
|
+
@property
|
|
3932
|
+
@pulumi.getter(name="notificationEvent")
|
|
3933
|
+
def notification_event(self) -> builtins.str:
|
|
3934
|
+
return pulumi.get(self, "notification_event")
|
|
3935
|
+
|
|
3936
|
+
@property
|
|
3937
|
+
@pulumi.getter(name="entityIdentifiers")
|
|
3938
|
+
def entity_identifiers(self) -> Optional[Sequence[builtins.str]]:
|
|
3939
|
+
return pulumi.get(self, "entity_identifiers")
|
|
3940
|
+
|
|
3941
|
+
@property
|
|
3942
|
+
@pulumi.getter(name="notificationEventData")
|
|
3943
|
+
def notification_event_data(self) -> Optional[Mapping[str, builtins.str]]:
|
|
3944
|
+
return pulumi.get(self, "notification_event_data")
|
|
3945
|
+
|
|
3946
|
+
|
|
3770
3947
|
@pulumi.output_type
|
|
3771
3948
|
class ConnectorAzureArtifactsCredentials(dict):
|
|
3772
3949
|
@staticmethod
|
|
@@ -104887,6 +105064,106 @@ class GetCentralNotificationChannelChannelUserGroupResult(dict):
|
|
|
104887
105064
|
return pulumi.get(self, "identifier")
|
|
104888
105065
|
|
|
104889
105066
|
|
|
105067
|
+
@pulumi.output_type
|
|
105068
|
+
class GetCentralNotificationRuleCustomNotificationTemplateRefResult(dict):
|
|
105069
|
+
def __init__(__self__, *,
|
|
105070
|
+
template_ref: builtins.str,
|
|
105071
|
+
version_label: builtins.str,
|
|
105072
|
+
variables: Optional[Sequence['outputs.GetCentralNotificationRuleCustomNotificationTemplateRefVariableResult']] = None):
|
|
105073
|
+
pulumi.set(__self__, "template_ref", template_ref)
|
|
105074
|
+
pulumi.set(__self__, "version_label", version_label)
|
|
105075
|
+
if variables is not None:
|
|
105076
|
+
pulumi.set(__self__, "variables", variables)
|
|
105077
|
+
|
|
105078
|
+
@property
|
|
105079
|
+
@pulumi.getter(name="templateRef")
|
|
105080
|
+
def template_ref(self) -> builtins.str:
|
|
105081
|
+
return pulumi.get(self, "template_ref")
|
|
105082
|
+
|
|
105083
|
+
@property
|
|
105084
|
+
@pulumi.getter(name="versionLabel")
|
|
105085
|
+
def version_label(self) -> builtins.str:
|
|
105086
|
+
return pulumi.get(self, "version_label")
|
|
105087
|
+
|
|
105088
|
+
@property
|
|
105089
|
+
@pulumi.getter
|
|
105090
|
+
def variables(self) -> Optional[Sequence['outputs.GetCentralNotificationRuleCustomNotificationTemplateRefVariableResult']]:
|
|
105091
|
+
return pulumi.get(self, "variables")
|
|
105092
|
+
|
|
105093
|
+
|
|
105094
|
+
@pulumi.output_type
|
|
105095
|
+
class GetCentralNotificationRuleCustomNotificationTemplateRefVariableResult(dict):
|
|
105096
|
+
def __init__(__self__, *,
|
|
105097
|
+
name: builtins.str,
|
|
105098
|
+
value: builtins.str,
|
|
105099
|
+
type: Optional[builtins.str] = None):
|
|
105100
|
+
pulumi.set(__self__, "name", name)
|
|
105101
|
+
pulumi.set(__self__, "value", value)
|
|
105102
|
+
if type is not None:
|
|
105103
|
+
pulumi.set(__self__, "type", type)
|
|
105104
|
+
|
|
105105
|
+
@property
|
|
105106
|
+
@pulumi.getter
|
|
105107
|
+
def name(self) -> builtins.str:
|
|
105108
|
+
return pulumi.get(self, "name")
|
|
105109
|
+
|
|
105110
|
+
@property
|
|
105111
|
+
@pulumi.getter
|
|
105112
|
+
def value(self) -> builtins.str:
|
|
105113
|
+
return pulumi.get(self, "value")
|
|
105114
|
+
|
|
105115
|
+
@property
|
|
105116
|
+
@pulumi.getter
|
|
105117
|
+
def type(self) -> Optional[builtins.str]:
|
|
105118
|
+
return pulumi.get(self, "type")
|
|
105119
|
+
|
|
105120
|
+
|
|
105121
|
+
@pulumi.output_type
|
|
105122
|
+
class GetCentralNotificationRuleNotificationConditionResult(dict):
|
|
105123
|
+
def __init__(__self__, *,
|
|
105124
|
+
condition_name: builtins.str,
|
|
105125
|
+
notification_event_configs: Sequence['outputs.GetCentralNotificationRuleNotificationConditionNotificationEventConfigResult']):
|
|
105126
|
+
pulumi.set(__self__, "condition_name", condition_name)
|
|
105127
|
+
pulumi.set(__self__, "notification_event_configs", notification_event_configs)
|
|
105128
|
+
|
|
105129
|
+
@property
|
|
105130
|
+
@pulumi.getter(name="conditionName")
|
|
105131
|
+
def condition_name(self) -> builtins.str:
|
|
105132
|
+
return pulumi.get(self, "condition_name")
|
|
105133
|
+
|
|
105134
|
+
@property
|
|
105135
|
+
@pulumi.getter(name="notificationEventConfigs")
|
|
105136
|
+
def notification_event_configs(self) -> Sequence['outputs.GetCentralNotificationRuleNotificationConditionNotificationEventConfigResult']:
|
|
105137
|
+
return pulumi.get(self, "notification_event_configs")
|
|
105138
|
+
|
|
105139
|
+
|
|
105140
|
+
@pulumi.output_type
|
|
105141
|
+
class GetCentralNotificationRuleNotificationConditionNotificationEventConfigResult(dict):
|
|
105142
|
+
def __init__(__self__, *,
|
|
105143
|
+
notification_entity: builtins.str,
|
|
105144
|
+
notification_event: builtins.str,
|
|
105145
|
+
notification_event_data: Optional[Mapping[str, builtins.str]] = None):
|
|
105146
|
+
pulumi.set(__self__, "notification_entity", notification_entity)
|
|
105147
|
+
pulumi.set(__self__, "notification_event", notification_event)
|
|
105148
|
+
if notification_event_data is not None:
|
|
105149
|
+
pulumi.set(__self__, "notification_event_data", notification_event_data)
|
|
105150
|
+
|
|
105151
|
+
@property
|
|
105152
|
+
@pulumi.getter(name="notificationEntity")
|
|
105153
|
+
def notification_entity(self) -> builtins.str:
|
|
105154
|
+
return pulumi.get(self, "notification_entity")
|
|
105155
|
+
|
|
105156
|
+
@property
|
|
105157
|
+
@pulumi.getter(name="notificationEvent")
|
|
105158
|
+
def notification_event(self) -> builtins.str:
|
|
105159
|
+
return pulumi.get(self, "notification_event")
|
|
105160
|
+
|
|
105161
|
+
@property
|
|
105162
|
+
@pulumi.getter(name="notificationEventData")
|
|
105163
|
+
def notification_event_data(self) -> Optional[Mapping[str, builtins.str]]:
|
|
105164
|
+
return pulumi.get(self, "notification_event_data")
|
|
105165
|
+
|
|
105166
|
+
|
|
104890
105167
|
@pulumi.output_type
|
|
104891
105168
|
class GetConnectorAzureRepoApiAuthenticationResult(dict):
|
|
104892
105169
|
def __init__(__self__, *,
|