pulumi-harness 0.8.0a1750480667__py3-none-any.whl → 0.8.0a1752696115__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 +534 -0
- pulumi_harness/platform/central_notification_channel.py +432 -0
- pulumi_harness/platform/delegatetoken.py +148 -89
- pulumi_harness/platform/get_central_notification_channel.py +277 -0
- pulumi_harness/platform/get_delegatetoken.py +87 -31
- pulumi_harness/platform/outputs.py +351 -0
- pulumi_harness/pulumi-plugin.json +1 -1
- {pulumi_harness-0.8.0a1750480667.dist-info → pulumi_harness-0.8.0a1752696115.dist-info}/METADATA +1 -1
- {pulumi_harness-0.8.0a1750480667.dist-info → pulumi_harness-0.8.0a1752696115.dist-info}/RECORD +13 -11
- {pulumi_harness-0.8.0a1750480667.dist-info → pulumi_harness-0.8.0a1752696115.dist-info}/WHEEL +0 -0
- {pulumi_harness-0.8.0a1750480667.dist-info → pulumi_harness-0.8.0a1752696115.dist-info}/top_level.txt +0 -0
pulumi_harness/__init__.py
CHANGED
|
@@ -445,6 +445,14 @@ _utilities.register(
|
|
|
445
445
|
"harness:platform/bitbucketConnector:BitbucketConnector": "BitbucketConnector"
|
|
446
446
|
}
|
|
447
447
|
},
|
|
448
|
+
{
|
|
449
|
+
"pkg": "harness",
|
|
450
|
+
"mod": "platform/centralNotificationChannel",
|
|
451
|
+
"fqn": "pulumi_harness.platform",
|
|
452
|
+
"classes": {
|
|
453
|
+
"harness:platform/centralNotificationChannel:CentralNotificationChannel": "CentralNotificationChannel"
|
|
454
|
+
}
|
|
455
|
+
},
|
|
448
456
|
{
|
|
449
457
|
"pkg": "harness",
|
|
450
458
|
"mod": "platform/connectorAzureArtifacts",
|
|
@@ -16,6 +16,7 @@ from .azure_cloud_cost_connector import *
|
|
|
16
16
|
from .azure_cloud_provider_connector import *
|
|
17
17
|
from .azure_key_vault_connector import *
|
|
18
18
|
from .bitbucket_connector import *
|
|
19
|
+
from .central_notification_channel import *
|
|
19
20
|
from .connector_azure_artifacts import *
|
|
20
21
|
from .connector_azure_repo import *
|
|
21
22
|
from .connector_custom_secret_manager import *
|
|
@@ -59,6 +60,7 @@ from .get_azure_cloud_provider_connector import *
|
|
|
59
60
|
from .get_azure_key_vault_connector import *
|
|
60
61
|
from .get_bitbucket_connector import *
|
|
61
62
|
from .get_ccm_filters import *
|
|
63
|
+
from .get_central_notification_channel import *
|
|
62
64
|
from .get_connector_azure_repo import *
|
|
63
65
|
from .get_connector_custom_secret_manager import *
|
|
64
66
|
from .get_connector_customhealthsource import *
|
|
@@ -82,6 +82,12 @@ __all__ = [
|
|
|
82
82
|
'BitbucketConnectorCredentialsHttpArgsDict',
|
|
83
83
|
'BitbucketConnectorCredentialsSshArgs',
|
|
84
84
|
'BitbucketConnectorCredentialsSshArgsDict',
|
|
85
|
+
'CentralNotificationChannelChannelArgs',
|
|
86
|
+
'CentralNotificationChannelChannelArgsDict',
|
|
87
|
+
'CentralNotificationChannelChannelHeaderArgs',
|
|
88
|
+
'CentralNotificationChannelChannelHeaderArgsDict',
|
|
89
|
+
'CentralNotificationChannelChannelUserGroupArgs',
|
|
90
|
+
'CentralNotificationChannelChannelUserGroupArgsDict',
|
|
85
91
|
'ConnectorAzureArtifactsCredentialsArgs',
|
|
86
92
|
'ConnectorAzureArtifactsCredentialsArgsDict',
|
|
87
93
|
'ConnectorAzureRepoApiAuthenticationArgs',
|
|
@@ -3230,6 +3236,12 @@ __all__ = [
|
|
|
3230
3236
|
'WorkspaceTerraformVariableArgsDict',
|
|
3231
3237
|
'WorkspaceTerraformVariableFileArgs',
|
|
3232
3238
|
'WorkspaceTerraformVariableFileArgsDict',
|
|
3239
|
+
'GetCentralNotificationChannelChannelArgs',
|
|
3240
|
+
'GetCentralNotificationChannelChannelArgsDict',
|
|
3241
|
+
'GetCentralNotificationChannelChannelHeaderArgs',
|
|
3242
|
+
'GetCentralNotificationChannelChannelHeaderArgsDict',
|
|
3243
|
+
'GetCentralNotificationChannelChannelUserGroupArgs',
|
|
3244
|
+
'GetCentralNotificationChannelChannelUserGroupArgsDict',
|
|
3233
3245
|
'GetConnectorRancherBearerTokenArgs',
|
|
3234
3246
|
'GetConnectorRancherBearerTokenArgsDict',
|
|
3235
3247
|
'GetDbSchemaChangelogScriptArgs',
|
|
@@ -5314,6 +5326,215 @@ class BitbucketConnectorCredentialsSshArgs:
|
|
|
5314
5326
|
pulumi.set(self, "ssh_key_ref", value)
|
|
5315
5327
|
|
|
5316
5328
|
|
|
5329
|
+
if not MYPY:
|
|
5330
|
+
class CentralNotificationChannelChannelArgsDict(TypedDict):
|
|
5331
|
+
api_key: NotRequired[pulumi.Input[builtins.str]]
|
|
5332
|
+
datadog_urls: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
5333
|
+
delegate_selectors: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
5334
|
+
email_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
5335
|
+
execute_on_delegate: NotRequired[pulumi.Input[builtins.bool]]
|
|
5336
|
+
headers: NotRequired[pulumi.Input[Sequence[pulumi.Input['CentralNotificationChannelChannelHeaderArgsDict']]]]
|
|
5337
|
+
ms_team_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
5338
|
+
pager_duty_integration_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
5339
|
+
slack_webhook_urls: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
5340
|
+
user_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input['CentralNotificationChannelChannelUserGroupArgsDict']]]]
|
|
5341
|
+
webhook_urls: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
5342
|
+
elif False:
|
|
5343
|
+
CentralNotificationChannelChannelArgsDict: TypeAlias = Mapping[str, Any]
|
|
5344
|
+
|
|
5345
|
+
@pulumi.input_type
|
|
5346
|
+
class CentralNotificationChannelChannelArgs:
|
|
5347
|
+
def __init__(__self__, *,
|
|
5348
|
+
api_key: Optional[pulumi.Input[builtins.str]] = None,
|
|
5349
|
+
datadog_urls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
5350
|
+
delegate_selectors: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
5351
|
+
email_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
5352
|
+
execute_on_delegate: Optional[pulumi.Input[builtins.bool]] = None,
|
|
5353
|
+
headers: Optional[pulumi.Input[Sequence[pulumi.Input['CentralNotificationChannelChannelHeaderArgs']]]] = None,
|
|
5354
|
+
ms_team_keys: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
5355
|
+
pager_duty_integration_keys: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
5356
|
+
slack_webhook_urls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
5357
|
+
user_groups: Optional[pulumi.Input[Sequence[pulumi.Input['CentralNotificationChannelChannelUserGroupArgs']]]] = None,
|
|
5358
|
+
webhook_urls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
5359
|
+
if api_key is not None:
|
|
5360
|
+
pulumi.set(__self__, "api_key", api_key)
|
|
5361
|
+
if datadog_urls is not None:
|
|
5362
|
+
pulumi.set(__self__, "datadog_urls", datadog_urls)
|
|
5363
|
+
if delegate_selectors is not None:
|
|
5364
|
+
pulumi.set(__self__, "delegate_selectors", delegate_selectors)
|
|
5365
|
+
if email_ids is not None:
|
|
5366
|
+
pulumi.set(__self__, "email_ids", email_ids)
|
|
5367
|
+
if execute_on_delegate is not None:
|
|
5368
|
+
pulumi.set(__self__, "execute_on_delegate", execute_on_delegate)
|
|
5369
|
+
if headers is not None:
|
|
5370
|
+
pulumi.set(__self__, "headers", headers)
|
|
5371
|
+
if ms_team_keys is not None:
|
|
5372
|
+
pulumi.set(__self__, "ms_team_keys", ms_team_keys)
|
|
5373
|
+
if pager_duty_integration_keys is not None:
|
|
5374
|
+
pulumi.set(__self__, "pager_duty_integration_keys", pager_duty_integration_keys)
|
|
5375
|
+
if slack_webhook_urls is not None:
|
|
5376
|
+
pulumi.set(__self__, "slack_webhook_urls", slack_webhook_urls)
|
|
5377
|
+
if user_groups is not None:
|
|
5378
|
+
pulumi.set(__self__, "user_groups", user_groups)
|
|
5379
|
+
if webhook_urls is not None:
|
|
5380
|
+
pulumi.set(__self__, "webhook_urls", webhook_urls)
|
|
5381
|
+
|
|
5382
|
+
@property
|
|
5383
|
+
@pulumi.getter(name="apiKey")
|
|
5384
|
+
def api_key(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
5385
|
+
return pulumi.get(self, "api_key")
|
|
5386
|
+
|
|
5387
|
+
@api_key.setter
|
|
5388
|
+
def api_key(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
5389
|
+
pulumi.set(self, "api_key", value)
|
|
5390
|
+
|
|
5391
|
+
@property
|
|
5392
|
+
@pulumi.getter(name="datadogUrls")
|
|
5393
|
+
def datadog_urls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
5394
|
+
return pulumi.get(self, "datadog_urls")
|
|
5395
|
+
|
|
5396
|
+
@datadog_urls.setter
|
|
5397
|
+
def datadog_urls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
5398
|
+
pulumi.set(self, "datadog_urls", value)
|
|
5399
|
+
|
|
5400
|
+
@property
|
|
5401
|
+
@pulumi.getter(name="delegateSelectors")
|
|
5402
|
+
def delegate_selectors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
5403
|
+
return pulumi.get(self, "delegate_selectors")
|
|
5404
|
+
|
|
5405
|
+
@delegate_selectors.setter
|
|
5406
|
+
def delegate_selectors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
5407
|
+
pulumi.set(self, "delegate_selectors", value)
|
|
5408
|
+
|
|
5409
|
+
@property
|
|
5410
|
+
@pulumi.getter(name="emailIds")
|
|
5411
|
+
def email_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
5412
|
+
return pulumi.get(self, "email_ids")
|
|
5413
|
+
|
|
5414
|
+
@email_ids.setter
|
|
5415
|
+
def email_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
5416
|
+
pulumi.set(self, "email_ids", value)
|
|
5417
|
+
|
|
5418
|
+
@property
|
|
5419
|
+
@pulumi.getter(name="executeOnDelegate")
|
|
5420
|
+
def execute_on_delegate(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
5421
|
+
return pulumi.get(self, "execute_on_delegate")
|
|
5422
|
+
|
|
5423
|
+
@execute_on_delegate.setter
|
|
5424
|
+
def execute_on_delegate(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
5425
|
+
pulumi.set(self, "execute_on_delegate", value)
|
|
5426
|
+
|
|
5427
|
+
@property
|
|
5428
|
+
@pulumi.getter
|
|
5429
|
+
def headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CentralNotificationChannelChannelHeaderArgs']]]]:
|
|
5430
|
+
return pulumi.get(self, "headers")
|
|
5431
|
+
|
|
5432
|
+
@headers.setter
|
|
5433
|
+
def headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CentralNotificationChannelChannelHeaderArgs']]]]):
|
|
5434
|
+
pulumi.set(self, "headers", value)
|
|
5435
|
+
|
|
5436
|
+
@property
|
|
5437
|
+
@pulumi.getter(name="msTeamKeys")
|
|
5438
|
+
def ms_team_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
5439
|
+
return pulumi.get(self, "ms_team_keys")
|
|
5440
|
+
|
|
5441
|
+
@ms_team_keys.setter
|
|
5442
|
+
def ms_team_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
5443
|
+
pulumi.set(self, "ms_team_keys", value)
|
|
5444
|
+
|
|
5445
|
+
@property
|
|
5446
|
+
@pulumi.getter(name="pagerDutyIntegrationKeys")
|
|
5447
|
+
def pager_duty_integration_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
5448
|
+
return pulumi.get(self, "pager_duty_integration_keys")
|
|
5449
|
+
|
|
5450
|
+
@pager_duty_integration_keys.setter
|
|
5451
|
+
def pager_duty_integration_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
5452
|
+
pulumi.set(self, "pager_duty_integration_keys", value)
|
|
5453
|
+
|
|
5454
|
+
@property
|
|
5455
|
+
@pulumi.getter(name="slackWebhookUrls")
|
|
5456
|
+
def slack_webhook_urls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
5457
|
+
return pulumi.get(self, "slack_webhook_urls")
|
|
5458
|
+
|
|
5459
|
+
@slack_webhook_urls.setter
|
|
5460
|
+
def slack_webhook_urls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
5461
|
+
pulumi.set(self, "slack_webhook_urls", value)
|
|
5462
|
+
|
|
5463
|
+
@property
|
|
5464
|
+
@pulumi.getter(name="userGroups")
|
|
5465
|
+
def user_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CentralNotificationChannelChannelUserGroupArgs']]]]:
|
|
5466
|
+
return pulumi.get(self, "user_groups")
|
|
5467
|
+
|
|
5468
|
+
@user_groups.setter
|
|
5469
|
+
def user_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CentralNotificationChannelChannelUserGroupArgs']]]]):
|
|
5470
|
+
pulumi.set(self, "user_groups", value)
|
|
5471
|
+
|
|
5472
|
+
@property
|
|
5473
|
+
@pulumi.getter(name="webhookUrls")
|
|
5474
|
+
def webhook_urls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
5475
|
+
return pulumi.get(self, "webhook_urls")
|
|
5476
|
+
|
|
5477
|
+
@webhook_urls.setter
|
|
5478
|
+
def webhook_urls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
5479
|
+
pulumi.set(self, "webhook_urls", value)
|
|
5480
|
+
|
|
5481
|
+
|
|
5482
|
+
if not MYPY:
|
|
5483
|
+
class CentralNotificationChannelChannelHeaderArgsDict(TypedDict):
|
|
5484
|
+
key: pulumi.Input[builtins.str]
|
|
5485
|
+
value: pulumi.Input[builtins.str]
|
|
5486
|
+
elif False:
|
|
5487
|
+
CentralNotificationChannelChannelHeaderArgsDict: TypeAlias = Mapping[str, Any]
|
|
5488
|
+
|
|
5489
|
+
@pulumi.input_type
|
|
5490
|
+
class CentralNotificationChannelChannelHeaderArgs:
|
|
5491
|
+
def __init__(__self__, *,
|
|
5492
|
+
key: pulumi.Input[builtins.str],
|
|
5493
|
+
value: pulumi.Input[builtins.str]):
|
|
5494
|
+
pulumi.set(__self__, "key", key)
|
|
5495
|
+
pulumi.set(__self__, "value", value)
|
|
5496
|
+
|
|
5497
|
+
@property
|
|
5498
|
+
@pulumi.getter
|
|
5499
|
+
def key(self) -> pulumi.Input[builtins.str]:
|
|
5500
|
+
return pulumi.get(self, "key")
|
|
5501
|
+
|
|
5502
|
+
@key.setter
|
|
5503
|
+
def key(self, value: pulumi.Input[builtins.str]):
|
|
5504
|
+
pulumi.set(self, "key", value)
|
|
5505
|
+
|
|
5506
|
+
@property
|
|
5507
|
+
@pulumi.getter
|
|
5508
|
+
def value(self) -> pulumi.Input[builtins.str]:
|
|
5509
|
+
return pulumi.get(self, "value")
|
|
5510
|
+
|
|
5511
|
+
@value.setter
|
|
5512
|
+
def value(self, value: pulumi.Input[builtins.str]):
|
|
5513
|
+
pulumi.set(self, "value", value)
|
|
5514
|
+
|
|
5515
|
+
|
|
5516
|
+
if not MYPY:
|
|
5517
|
+
class CentralNotificationChannelChannelUserGroupArgsDict(TypedDict):
|
|
5518
|
+
identifier: pulumi.Input[builtins.str]
|
|
5519
|
+
elif False:
|
|
5520
|
+
CentralNotificationChannelChannelUserGroupArgsDict: TypeAlias = Mapping[str, Any]
|
|
5521
|
+
|
|
5522
|
+
@pulumi.input_type
|
|
5523
|
+
class CentralNotificationChannelChannelUserGroupArgs:
|
|
5524
|
+
def __init__(__self__, *,
|
|
5525
|
+
identifier: pulumi.Input[builtins.str]):
|
|
5526
|
+
pulumi.set(__self__, "identifier", identifier)
|
|
5527
|
+
|
|
5528
|
+
@property
|
|
5529
|
+
@pulumi.getter
|
|
5530
|
+
def identifier(self) -> pulumi.Input[builtins.str]:
|
|
5531
|
+
return pulumi.get(self, "identifier")
|
|
5532
|
+
|
|
5533
|
+
@identifier.setter
|
|
5534
|
+
def identifier(self, value: pulumi.Input[builtins.str]):
|
|
5535
|
+
pulumi.set(self, "identifier", value)
|
|
5536
|
+
|
|
5537
|
+
|
|
5317
5538
|
if not MYPY:
|
|
5318
5539
|
class ConnectorAzureArtifactsCredentialsArgsDict(TypedDict):
|
|
5319
5540
|
token_ref: pulumi.Input[builtins.str]
|
|
@@ -143664,6 +143885,319 @@ class WorkspaceTerraformVariableFileArgs:
|
|
|
143664
143885
|
pulumi.set(self, "repository_sha", value)
|
|
143665
143886
|
|
|
143666
143887
|
|
|
143888
|
+
if not MYPY:
|
|
143889
|
+
class GetCentralNotificationChannelChannelArgsDict(TypedDict):
|
|
143890
|
+
headers: Sequence['GetCentralNotificationChannelChannelHeaderArgsDict']
|
|
143891
|
+
"""
|
|
143892
|
+
Custom HTTP headers to include in webhook requests.
|
|
143893
|
+
"""
|
|
143894
|
+
api_key: NotRequired[builtins.str]
|
|
143895
|
+
"""
|
|
143896
|
+
API key for the webhook or integration.
|
|
143897
|
+
"""
|
|
143898
|
+
datadog_urls: NotRequired[Sequence[builtins.str]]
|
|
143899
|
+
"""
|
|
143900
|
+
List of Datadog webhook URLs.
|
|
143901
|
+
"""
|
|
143902
|
+
delegate_selectors: NotRequired[Sequence[builtins.str]]
|
|
143903
|
+
"""
|
|
143904
|
+
List of delegate selectors to use for sending notifications.
|
|
143905
|
+
"""
|
|
143906
|
+
email_ids: NotRequired[Sequence[builtins.str]]
|
|
143907
|
+
"""
|
|
143908
|
+
List of email addresses to notify.
|
|
143909
|
+
"""
|
|
143910
|
+
execute_on_delegate: NotRequired[builtins.bool]
|
|
143911
|
+
"""
|
|
143912
|
+
Whether to execute the notification logic on delegate.
|
|
143913
|
+
"""
|
|
143914
|
+
ms_team_keys: NotRequired[Sequence[builtins.str]]
|
|
143915
|
+
"""
|
|
143916
|
+
List of Microsoft Teams integration keys.
|
|
143917
|
+
"""
|
|
143918
|
+
pager_duty_integration_keys: NotRequired[Sequence[builtins.str]]
|
|
143919
|
+
"""
|
|
143920
|
+
List of PagerDuty integration keys.
|
|
143921
|
+
"""
|
|
143922
|
+
slack_webhook_urls: NotRequired[Sequence[builtins.str]]
|
|
143923
|
+
"""
|
|
143924
|
+
List of Slack webhook URLs to send notifications to.
|
|
143925
|
+
"""
|
|
143926
|
+
user_groups: NotRequired[Sequence['GetCentralNotificationChannelChannelUserGroupArgsDict']]
|
|
143927
|
+
"""
|
|
143928
|
+
List of user groups to notify.
|
|
143929
|
+
"""
|
|
143930
|
+
webhook_urls: NotRequired[Sequence[builtins.str]]
|
|
143931
|
+
"""
|
|
143932
|
+
List of generic webhook URLs.
|
|
143933
|
+
"""
|
|
143934
|
+
elif False:
|
|
143935
|
+
GetCentralNotificationChannelChannelArgsDict: TypeAlias = Mapping[str, Any]
|
|
143936
|
+
|
|
143937
|
+
@pulumi.input_type
|
|
143938
|
+
class GetCentralNotificationChannelChannelArgs:
|
|
143939
|
+
def __init__(__self__, *,
|
|
143940
|
+
headers: Sequence['GetCentralNotificationChannelChannelHeaderArgs'],
|
|
143941
|
+
api_key: Optional[builtins.str] = None,
|
|
143942
|
+
datadog_urls: Optional[Sequence[builtins.str]] = None,
|
|
143943
|
+
delegate_selectors: Optional[Sequence[builtins.str]] = None,
|
|
143944
|
+
email_ids: Optional[Sequence[builtins.str]] = None,
|
|
143945
|
+
execute_on_delegate: Optional[builtins.bool] = None,
|
|
143946
|
+
ms_team_keys: Optional[Sequence[builtins.str]] = None,
|
|
143947
|
+
pager_duty_integration_keys: Optional[Sequence[builtins.str]] = None,
|
|
143948
|
+
slack_webhook_urls: Optional[Sequence[builtins.str]] = None,
|
|
143949
|
+
user_groups: Optional[Sequence['GetCentralNotificationChannelChannelUserGroupArgs']] = None,
|
|
143950
|
+
webhook_urls: Optional[Sequence[builtins.str]] = None):
|
|
143951
|
+
"""
|
|
143952
|
+
:param Sequence['GetCentralNotificationChannelChannelHeaderArgs'] headers: Custom HTTP headers to include in webhook requests.
|
|
143953
|
+
:param builtins.str api_key: API key for the webhook or integration.
|
|
143954
|
+
:param Sequence[builtins.str] datadog_urls: List of Datadog webhook URLs.
|
|
143955
|
+
:param Sequence[builtins.str] delegate_selectors: List of delegate selectors to use for sending notifications.
|
|
143956
|
+
:param Sequence[builtins.str] email_ids: List of email addresses to notify.
|
|
143957
|
+
:param builtins.bool execute_on_delegate: Whether to execute the notification logic on delegate.
|
|
143958
|
+
:param Sequence[builtins.str] ms_team_keys: List of Microsoft Teams integration keys.
|
|
143959
|
+
:param Sequence[builtins.str] pager_duty_integration_keys: List of PagerDuty integration keys.
|
|
143960
|
+
:param Sequence[builtins.str] slack_webhook_urls: List of Slack webhook URLs to send notifications to.
|
|
143961
|
+
:param Sequence['GetCentralNotificationChannelChannelUserGroupArgs'] user_groups: List of user groups to notify.
|
|
143962
|
+
:param Sequence[builtins.str] webhook_urls: List of generic webhook URLs.
|
|
143963
|
+
"""
|
|
143964
|
+
pulumi.set(__self__, "headers", headers)
|
|
143965
|
+
if api_key is not None:
|
|
143966
|
+
pulumi.set(__self__, "api_key", api_key)
|
|
143967
|
+
if datadog_urls is not None:
|
|
143968
|
+
pulumi.set(__self__, "datadog_urls", datadog_urls)
|
|
143969
|
+
if delegate_selectors is not None:
|
|
143970
|
+
pulumi.set(__self__, "delegate_selectors", delegate_selectors)
|
|
143971
|
+
if email_ids is not None:
|
|
143972
|
+
pulumi.set(__self__, "email_ids", email_ids)
|
|
143973
|
+
if execute_on_delegate is not None:
|
|
143974
|
+
pulumi.set(__self__, "execute_on_delegate", execute_on_delegate)
|
|
143975
|
+
if ms_team_keys is not None:
|
|
143976
|
+
pulumi.set(__self__, "ms_team_keys", ms_team_keys)
|
|
143977
|
+
if pager_duty_integration_keys is not None:
|
|
143978
|
+
pulumi.set(__self__, "pager_duty_integration_keys", pager_duty_integration_keys)
|
|
143979
|
+
if slack_webhook_urls is not None:
|
|
143980
|
+
pulumi.set(__self__, "slack_webhook_urls", slack_webhook_urls)
|
|
143981
|
+
if user_groups is not None:
|
|
143982
|
+
pulumi.set(__self__, "user_groups", user_groups)
|
|
143983
|
+
if webhook_urls is not None:
|
|
143984
|
+
pulumi.set(__self__, "webhook_urls", webhook_urls)
|
|
143985
|
+
|
|
143986
|
+
@property
|
|
143987
|
+
@pulumi.getter
|
|
143988
|
+
def headers(self) -> Sequence['GetCentralNotificationChannelChannelHeaderArgs']:
|
|
143989
|
+
"""
|
|
143990
|
+
Custom HTTP headers to include in webhook requests.
|
|
143991
|
+
"""
|
|
143992
|
+
return pulumi.get(self, "headers")
|
|
143993
|
+
|
|
143994
|
+
@headers.setter
|
|
143995
|
+
def headers(self, value: Sequence['GetCentralNotificationChannelChannelHeaderArgs']):
|
|
143996
|
+
pulumi.set(self, "headers", value)
|
|
143997
|
+
|
|
143998
|
+
@property
|
|
143999
|
+
@pulumi.getter(name="apiKey")
|
|
144000
|
+
def api_key(self) -> Optional[builtins.str]:
|
|
144001
|
+
"""
|
|
144002
|
+
API key for the webhook or integration.
|
|
144003
|
+
"""
|
|
144004
|
+
return pulumi.get(self, "api_key")
|
|
144005
|
+
|
|
144006
|
+
@api_key.setter
|
|
144007
|
+
def api_key(self, value: Optional[builtins.str]):
|
|
144008
|
+
pulumi.set(self, "api_key", value)
|
|
144009
|
+
|
|
144010
|
+
@property
|
|
144011
|
+
@pulumi.getter(name="datadogUrls")
|
|
144012
|
+
def datadog_urls(self) -> Optional[Sequence[builtins.str]]:
|
|
144013
|
+
"""
|
|
144014
|
+
List of Datadog webhook URLs.
|
|
144015
|
+
"""
|
|
144016
|
+
return pulumi.get(self, "datadog_urls")
|
|
144017
|
+
|
|
144018
|
+
@datadog_urls.setter
|
|
144019
|
+
def datadog_urls(self, value: Optional[Sequence[builtins.str]]):
|
|
144020
|
+
pulumi.set(self, "datadog_urls", value)
|
|
144021
|
+
|
|
144022
|
+
@property
|
|
144023
|
+
@pulumi.getter(name="delegateSelectors")
|
|
144024
|
+
def delegate_selectors(self) -> Optional[Sequence[builtins.str]]:
|
|
144025
|
+
"""
|
|
144026
|
+
List of delegate selectors to use for sending notifications.
|
|
144027
|
+
"""
|
|
144028
|
+
return pulumi.get(self, "delegate_selectors")
|
|
144029
|
+
|
|
144030
|
+
@delegate_selectors.setter
|
|
144031
|
+
def delegate_selectors(self, value: Optional[Sequence[builtins.str]]):
|
|
144032
|
+
pulumi.set(self, "delegate_selectors", value)
|
|
144033
|
+
|
|
144034
|
+
@property
|
|
144035
|
+
@pulumi.getter(name="emailIds")
|
|
144036
|
+
def email_ids(self) -> Optional[Sequence[builtins.str]]:
|
|
144037
|
+
"""
|
|
144038
|
+
List of email addresses to notify.
|
|
144039
|
+
"""
|
|
144040
|
+
return pulumi.get(self, "email_ids")
|
|
144041
|
+
|
|
144042
|
+
@email_ids.setter
|
|
144043
|
+
def email_ids(self, value: Optional[Sequence[builtins.str]]):
|
|
144044
|
+
pulumi.set(self, "email_ids", value)
|
|
144045
|
+
|
|
144046
|
+
@property
|
|
144047
|
+
@pulumi.getter(name="executeOnDelegate")
|
|
144048
|
+
def execute_on_delegate(self) -> Optional[builtins.bool]:
|
|
144049
|
+
"""
|
|
144050
|
+
Whether to execute the notification logic on delegate.
|
|
144051
|
+
"""
|
|
144052
|
+
return pulumi.get(self, "execute_on_delegate")
|
|
144053
|
+
|
|
144054
|
+
@execute_on_delegate.setter
|
|
144055
|
+
def execute_on_delegate(self, value: Optional[builtins.bool]):
|
|
144056
|
+
pulumi.set(self, "execute_on_delegate", value)
|
|
144057
|
+
|
|
144058
|
+
@property
|
|
144059
|
+
@pulumi.getter(name="msTeamKeys")
|
|
144060
|
+
def ms_team_keys(self) -> Optional[Sequence[builtins.str]]:
|
|
144061
|
+
"""
|
|
144062
|
+
List of Microsoft Teams integration keys.
|
|
144063
|
+
"""
|
|
144064
|
+
return pulumi.get(self, "ms_team_keys")
|
|
144065
|
+
|
|
144066
|
+
@ms_team_keys.setter
|
|
144067
|
+
def ms_team_keys(self, value: Optional[Sequence[builtins.str]]):
|
|
144068
|
+
pulumi.set(self, "ms_team_keys", value)
|
|
144069
|
+
|
|
144070
|
+
@property
|
|
144071
|
+
@pulumi.getter(name="pagerDutyIntegrationKeys")
|
|
144072
|
+
def pager_duty_integration_keys(self) -> Optional[Sequence[builtins.str]]:
|
|
144073
|
+
"""
|
|
144074
|
+
List of PagerDuty integration keys.
|
|
144075
|
+
"""
|
|
144076
|
+
return pulumi.get(self, "pager_duty_integration_keys")
|
|
144077
|
+
|
|
144078
|
+
@pager_duty_integration_keys.setter
|
|
144079
|
+
def pager_duty_integration_keys(self, value: Optional[Sequence[builtins.str]]):
|
|
144080
|
+
pulumi.set(self, "pager_duty_integration_keys", value)
|
|
144081
|
+
|
|
144082
|
+
@property
|
|
144083
|
+
@pulumi.getter(name="slackWebhookUrls")
|
|
144084
|
+
def slack_webhook_urls(self) -> Optional[Sequence[builtins.str]]:
|
|
144085
|
+
"""
|
|
144086
|
+
List of Slack webhook URLs to send notifications to.
|
|
144087
|
+
"""
|
|
144088
|
+
return pulumi.get(self, "slack_webhook_urls")
|
|
144089
|
+
|
|
144090
|
+
@slack_webhook_urls.setter
|
|
144091
|
+
def slack_webhook_urls(self, value: Optional[Sequence[builtins.str]]):
|
|
144092
|
+
pulumi.set(self, "slack_webhook_urls", value)
|
|
144093
|
+
|
|
144094
|
+
@property
|
|
144095
|
+
@pulumi.getter(name="userGroups")
|
|
144096
|
+
def user_groups(self) -> Optional[Sequence['GetCentralNotificationChannelChannelUserGroupArgs']]:
|
|
144097
|
+
"""
|
|
144098
|
+
List of user groups to notify.
|
|
144099
|
+
"""
|
|
144100
|
+
return pulumi.get(self, "user_groups")
|
|
144101
|
+
|
|
144102
|
+
@user_groups.setter
|
|
144103
|
+
def user_groups(self, value: Optional[Sequence['GetCentralNotificationChannelChannelUserGroupArgs']]):
|
|
144104
|
+
pulumi.set(self, "user_groups", value)
|
|
144105
|
+
|
|
144106
|
+
@property
|
|
144107
|
+
@pulumi.getter(name="webhookUrls")
|
|
144108
|
+
def webhook_urls(self) -> Optional[Sequence[builtins.str]]:
|
|
144109
|
+
"""
|
|
144110
|
+
List of generic webhook URLs.
|
|
144111
|
+
"""
|
|
144112
|
+
return pulumi.get(self, "webhook_urls")
|
|
144113
|
+
|
|
144114
|
+
@webhook_urls.setter
|
|
144115
|
+
def webhook_urls(self, value: Optional[Sequence[builtins.str]]):
|
|
144116
|
+
pulumi.set(self, "webhook_urls", value)
|
|
144117
|
+
|
|
144118
|
+
|
|
144119
|
+
if not MYPY:
|
|
144120
|
+
class GetCentralNotificationChannelChannelHeaderArgsDict(TypedDict):
|
|
144121
|
+
key: builtins.str
|
|
144122
|
+
"""
|
|
144123
|
+
Header key name.
|
|
144124
|
+
"""
|
|
144125
|
+
value: builtins.str
|
|
144126
|
+
"""
|
|
144127
|
+
Header value.
|
|
144128
|
+
"""
|
|
144129
|
+
elif False:
|
|
144130
|
+
GetCentralNotificationChannelChannelHeaderArgsDict: TypeAlias = Mapping[str, Any]
|
|
144131
|
+
|
|
144132
|
+
@pulumi.input_type
|
|
144133
|
+
class GetCentralNotificationChannelChannelHeaderArgs:
|
|
144134
|
+
def __init__(__self__, *,
|
|
144135
|
+
key: builtins.str,
|
|
144136
|
+
value: builtins.str):
|
|
144137
|
+
"""
|
|
144138
|
+
:param builtins.str key: Header key name.
|
|
144139
|
+
:param builtins.str value: Header value.
|
|
144140
|
+
"""
|
|
144141
|
+
pulumi.set(__self__, "key", key)
|
|
144142
|
+
pulumi.set(__self__, "value", value)
|
|
144143
|
+
|
|
144144
|
+
@property
|
|
144145
|
+
@pulumi.getter
|
|
144146
|
+
def key(self) -> builtins.str:
|
|
144147
|
+
"""
|
|
144148
|
+
Header key name.
|
|
144149
|
+
"""
|
|
144150
|
+
return pulumi.get(self, "key")
|
|
144151
|
+
|
|
144152
|
+
@key.setter
|
|
144153
|
+
def key(self, value: builtins.str):
|
|
144154
|
+
pulumi.set(self, "key", value)
|
|
144155
|
+
|
|
144156
|
+
@property
|
|
144157
|
+
@pulumi.getter
|
|
144158
|
+
def value(self) -> builtins.str:
|
|
144159
|
+
"""
|
|
144160
|
+
Header value.
|
|
144161
|
+
"""
|
|
144162
|
+
return pulumi.get(self, "value")
|
|
144163
|
+
|
|
144164
|
+
@value.setter
|
|
144165
|
+
def value(self, value: builtins.str):
|
|
144166
|
+
pulumi.set(self, "value", value)
|
|
144167
|
+
|
|
144168
|
+
|
|
144169
|
+
if not MYPY:
|
|
144170
|
+
class GetCentralNotificationChannelChannelUserGroupArgsDict(TypedDict):
|
|
144171
|
+
identifier: NotRequired[builtins.str]
|
|
144172
|
+
"""
|
|
144173
|
+
Identifier of the user group.
|
|
144174
|
+
"""
|
|
144175
|
+
elif False:
|
|
144176
|
+
GetCentralNotificationChannelChannelUserGroupArgsDict: TypeAlias = Mapping[str, Any]
|
|
144177
|
+
|
|
144178
|
+
@pulumi.input_type
|
|
144179
|
+
class GetCentralNotificationChannelChannelUserGroupArgs:
|
|
144180
|
+
def __init__(__self__, *,
|
|
144181
|
+
identifier: Optional[builtins.str] = None):
|
|
144182
|
+
"""
|
|
144183
|
+
:param builtins.str identifier: Identifier of the user group.
|
|
144184
|
+
"""
|
|
144185
|
+
if identifier is not None:
|
|
144186
|
+
pulumi.set(__self__, "identifier", identifier)
|
|
144187
|
+
|
|
144188
|
+
@property
|
|
144189
|
+
@pulumi.getter
|
|
144190
|
+
def identifier(self) -> Optional[builtins.str]:
|
|
144191
|
+
"""
|
|
144192
|
+
Identifier of the user group.
|
|
144193
|
+
"""
|
|
144194
|
+
return pulumi.get(self, "identifier")
|
|
144195
|
+
|
|
144196
|
+
@identifier.setter
|
|
144197
|
+
def identifier(self, value: Optional[builtins.str]):
|
|
144198
|
+
pulumi.set(self, "identifier", value)
|
|
144199
|
+
|
|
144200
|
+
|
|
143667
144201
|
if not MYPY:
|
|
143668
144202
|
class GetConnectorRancherBearerTokenArgsDict(TypedDict):
|
|
143669
144203
|
password_ref: builtins.str
|