pulumi-harness 0.8.0a1752696115__py3-none-any.whl → 0.8.0a1752772130__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.

@@ -453,6 +453,14 @@ _utilities.register(
453
453
  "harness:platform/centralNotificationChannel:CentralNotificationChannel": "CentralNotificationChannel"
454
454
  }
455
455
  },
456
+ {
457
+ "pkg": "harness",
458
+ "mod": "platform/centralNotificationRule",
459
+ "fqn": "pulumi_harness.platform",
460
+ "classes": {
461
+ "harness:platform/centralNotificationRule:CentralNotificationRule": "CentralNotificationRule"
462
+ }
463
+ },
456
464
  {
457
465
  "pkg": "harness",
458
466
  "mod": "platform/connectorAzureArtifacts",
@@ -17,6 +17,7 @@ from .azure_cloud_provider_connector import *
17
17
  from .azure_key_vault_connector import *
18
18
  from .bitbucket_connector import *
19
19
  from .central_notification_channel import *
20
+ from .central_notification_rule import *
20
21
  from .connector_azure_artifacts import *
21
22
  from .connector_azure_repo import *
22
23
  from .connector_custom_secret_manager import *
@@ -61,6 +62,7 @@ from .get_azure_key_vault_connector import *
61
62
  from .get_bitbucket_connector import *
62
63
  from .get_ccm_filters import *
63
64
  from .get_central_notification_channel import *
65
+ from .get_central_notification_rule import *
64
66
  from .get_connector_azure_repo import *
65
67
  from .get_connector_custom_secret_manager import *
66
68
  from .get_connector_customhealthsource import *
@@ -88,6 +88,14 @@ __all__ = [
88
88
  'CentralNotificationChannelChannelHeaderArgsDict',
89
89
  'CentralNotificationChannelChannelUserGroupArgs',
90
90
  'CentralNotificationChannelChannelUserGroupArgsDict',
91
+ 'CentralNotificationRuleCustomNotificationTemplateRefArgs',
92
+ 'CentralNotificationRuleCustomNotificationTemplateRefArgsDict',
93
+ 'CentralNotificationRuleCustomNotificationTemplateRefVariableArgs',
94
+ 'CentralNotificationRuleCustomNotificationTemplateRefVariableArgsDict',
95
+ 'CentralNotificationRuleNotificationConditionArgs',
96
+ 'CentralNotificationRuleNotificationConditionArgsDict',
97
+ 'CentralNotificationRuleNotificationConditionNotificationEventConfigArgs',
98
+ 'CentralNotificationRuleNotificationConditionNotificationEventConfigArgsDict',
91
99
  'ConnectorAzureArtifactsCredentialsArgs',
92
100
  'ConnectorAzureArtifactsCredentialsArgsDict',
93
101
  'ConnectorAzureRepoApiAuthenticationArgs',
@@ -3242,6 +3250,14 @@ __all__ = [
3242
3250
  'GetCentralNotificationChannelChannelHeaderArgsDict',
3243
3251
  'GetCentralNotificationChannelChannelUserGroupArgs',
3244
3252
  'GetCentralNotificationChannelChannelUserGroupArgsDict',
3253
+ 'GetCentralNotificationRuleCustomNotificationTemplateRefArgs',
3254
+ 'GetCentralNotificationRuleCustomNotificationTemplateRefArgsDict',
3255
+ 'GetCentralNotificationRuleCustomNotificationTemplateRefVariableArgs',
3256
+ 'GetCentralNotificationRuleCustomNotificationTemplateRefVariableArgsDict',
3257
+ 'GetCentralNotificationRuleNotificationConditionArgs',
3258
+ 'GetCentralNotificationRuleNotificationConditionArgsDict',
3259
+ 'GetCentralNotificationRuleNotificationConditionNotificationEventConfigArgs',
3260
+ 'GetCentralNotificationRuleNotificationConditionNotificationEventConfigArgsDict',
3245
3261
  'GetConnectorRancherBearerTokenArgs',
3246
3262
  'GetConnectorRancherBearerTokenArgsDict',
3247
3263
  'GetDbSchemaChangelogScriptArgs',
@@ -5535,6 +5551,194 @@ class CentralNotificationChannelChannelUserGroupArgs:
5535
5551
  pulumi.set(self, "identifier", value)
5536
5552
 
5537
5553
 
5554
+ if not MYPY:
5555
+ class CentralNotificationRuleCustomNotificationTemplateRefArgsDict(TypedDict):
5556
+ template_ref: pulumi.Input[builtins.str]
5557
+ version_label: pulumi.Input[builtins.str]
5558
+ variables: NotRequired[pulumi.Input[Sequence[pulumi.Input['CentralNotificationRuleCustomNotificationTemplateRefVariableArgsDict']]]]
5559
+ elif False:
5560
+ CentralNotificationRuleCustomNotificationTemplateRefArgsDict: TypeAlias = Mapping[str, Any]
5561
+
5562
+ @pulumi.input_type
5563
+ class CentralNotificationRuleCustomNotificationTemplateRefArgs:
5564
+ def __init__(__self__, *,
5565
+ template_ref: pulumi.Input[builtins.str],
5566
+ version_label: pulumi.Input[builtins.str],
5567
+ variables: Optional[pulumi.Input[Sequence[pulumi.Input['CentralNotificationRuleCustomNotificationTemplateRefVariableArgs']]]] = None):
5568
+ pulumi.set(__self__, "template_ref", template_ref)
5569
+ pulumi.set(__self__, "version_label", version_label)
5570
+ if variables is not None:
5571
+ pulumi.set(__self__, "variables", variables)
5572
+
5573
+ @property
5574
+ @pulumi.getter(name="templateRef")
5575
+ def template_ref(self) -> pulumi.Input[builtins.str]:
5576
+ return pulumi.get(self, "template_ref")
5577
+
5578
+ @template_ref.setter
5579
+ def template_ref(self, value: pulumi.Input[builtins.str]):
5580
+ pulumi.set(self, "template_ref", value)
5581
+
5582
+ @property
5583
+ @pulumi.getter(name="versionLabel")
5584
+ def version_label(self) -> pulumi.Input[builtins.str]:
5585
+ return pulumi.get(self, "version_label")
5586
+
5587
+ @version_label.setter
5588
+ def version_label(self, value: pulumi.Input[builtins.str]):
5589
+ pulumi.set(self, "version_label", value)
5590
+
5591
+ @property
5592
+ @pulumi.getter
5593
+ def variables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CentralNotificationRuleCustomNotificationTemplateRefVariableArgs']]]]:
5594
+ return pulumi.get(self, "variables")
5595
+
5596
+ @variables.setter
5597
+ def variables(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CentralNotificationRuleCustomNotificationTemplateRefVariableArgs']]]]):
5598
+ pulumi.set(self, "variables", value)
5599
+
5600
+
5601
+ if not MYPY:
5602
+ class CentralNotificationRuleCustomNotificationTemplateRefVariableArgsDict(TypedDict):
5603
+ name: pulumi.Input[builtins.str]
5604
+ value: pulumi.Input[builtins.str]
5605
+ type: NotRequired[pulumi.Input[builtins.str]]
5606
+ elif False:
5607
+ CentralNotificationRuleCustomNotificationTemplateRefVariableArgsDict: TypeAlias = Mapping[str, Any]
5608
+
5609
+ @pulumi.input_type
5610
+ class CentralNotificationRuleCustomNotificationTemplateRefVariableArgs:
5611
+ def __init__(__self__, *,
5612
+ name: pulumi.Input[builtins.str],
5613
+ value: pulumi.Input[builtins.str],
5614
+ type: Optional[pulumi.Input[builtins.str]] = None):
5615
+ pulumi.set(__self__, "name", name)
5616
+ pulumi.set(__self__, "value", value)
5617
+ if type is not None:
5618
+ pulumi.set(__self__, "type", type)
5619
+
5620
+ @property
5621
+ @pulumi.getter
5622
+ def name(self) -> pulumi.Input[builtins.str]:
5623
+ return pulumi.get(self, "name")
5624
+
5625
+ @name.setter
5626
+ def name(self, value: pulumi.Input[builtins.str]):
5627
+ pulumi.set(self, "name", value)
5628
+
5629
+ @property
5630
+ @pulumi.getter
5631
+ def value(self) -> pulumi.Input[builtins.str]:
5632
+ return pulumi.get(self, "value")
5633
+
5634
+ @value.setter
5635
+ def value(self, value: pulumi.Input[builtins.str]):
5636
+ pulumi.set(self, "value", value)
5637
+
5638
+ @property
5639
+ @pulumi.getter
5640
+ def type(self) -> Optional[pulumi.Input[builtins.str]]:
5641
+ return pulumi.get(self, "type")
5642
+
5643
+ @type.setter
5644
+ def type(self, value: Optional[pulumi.Input[builtins.str]]):
5645
+ pulumi.set(self, "type", value)
5646
+
5647
+
5648
+ if not MYPY:
5649
+ class CentralNotificationRuleNotificationConditionArgsDict(TypedDict):
5650
+ condition_name: pulumi.Input[builtins.str]
5651
+ notification_event_configs: pulumi.Input[Sequence[pulumi.Input['CentralNotificationRuleNotificationConditionNotificationEventConfigArgsDict']]]
5652
+ elif False:
5653
+ CentralNotificationRuleNotificationConditionArgsDict: TypeAlias = Mapping[str, Any]
5654
+
5655
+ @pulumi.input_type
5656
+ class CentralNotificationRuleNotificationConditionArgs:
5657
+ def __init__(__self__, *,
5658
+ condition_name: pulumi.Input[builtins.str],
5659
+ notification_event_configs: pulumi.Input[Sequence[pulumi.Input['CentralNotificationRuleNotificationConditionNotificationEventConfigArgs']]]):
5660
+ pulumi.set(__self__, "condition_name", condition_name)
5661
+ pulumi.set(__self__, "notification_event_configs", notification_event_configs)
5662
+
5663
+ @property
5664
+ @pulumi.getter(name="conditionName")
5665
+ def condition_name(self) -> pulumi.Input[builtins.str]:
5666
+ return pulumi.get(self, "condition_name")
5667
+
5668
+ @condition_name.setter
5669
+ def condition_name(self, value: pulumi.Input[builtins.str]):
5670
+ pulumi.set(self, "condition_name", value)
5671
+
5672
+ @property
5673
+ @pulumi.getter(name="notificationEventConfigs")
5674
+ def notification_event_configs(self) -> pulumi.Input[Sequence[pulumi.Input['CentralNotificationRuleNotificationConditionNotificationEventConfigArgs']]]:
5675
+ return pulumi.get(self, "notification_event_configs")
5676
+
5677
+ @notification_event_configs.setter
5678
+ def notification_event_configs(self, value: pulumi.Input[Sequence[pulumi.Input['CentralNotificationRuleNotificationConditionNotificationEventConfigArgs']]]):
5679
+ pulumi.set(self, "notification_event_configs", value)
5680
+
5681
+
5682
+ if not MYPY:
5683
+ class CentralNotificationRuleNotificationConditionNotificationEventConfigArgsDict(TypedDict):
5684
+ notification_entity: pulumi.Input[builtins.str]
5685
+ notification_event: pulumi.Input[builtins.str]
5686
+ entity_identifiers: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
5687
+ notification_event_data: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]
5688
+ elif False:
5689
+ CentralNotificationRuleNotificationConditionNotificationEventConfigArgsDict: TypeAlias = Mapping[str, Any]
5690
+
5691
+ @pulumi.input_type
5692
+ class CentralNotificationRuleNotificationConditionNotificationEventConfigArgs:
5693
+ def __init__(__self__, *,
5694
+ notification_entity: pulumi.Input[builtins.str],
5695
+ notification_event: pulumi.Input[builtins.str],
5696
+ entity_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
5697
+ notification_event_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
5698
+ pulumi.set(__self__, "notification_entity", notification_entity)
5699
+ pulumi.set(__self__, "notification_event", notification_event)
5700
+ if entity_identifiers is not None:
5701
+ pulumi.set(__self__, "entity_identifiers", entity_identifiers)
5702
+ if notification_event_data is not None:
5703
+ pulumi.set(__self__, "notification_event_data", notification_event_data)
5704
+
5705
+ @property
5706
+ @pulumi.getter(name="notificationEntity")
5707
+ def notification_entity(self) -> pulumi.Input[builtins.str]:
5708
+ return pulumi.get(self, "notification_entity")
5709
+
5710
+ @notification_entity.setter
5711
+ def notification_entity(self, value: pulumi.Input[builtins.str]):
5712
+ pulumi.set(self, "notification_entity", value)
5713
+
5714
+ @property
5715
+ @pulumi.getter(name="notificationEvent")
5716
+ def notification_event(self) -> pulumi.Input[builtins.str]:
5717
+ return pulumi.get(self, "notification_event")
5718
+
5719
+ @notification_event.setter
5720
+ def notification_event(self, value: pulumi.Input[builtins.str]):
5721
+ pulumi.set(self, "notification_event", value)
5722
+
5723
+ @property
5724
+ @pulumi.getter(name="entityIdentifiers")
5725
+ def entity_identifiers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
5726
+ return pulumi.get(self, "entity_identifiers")
5727
+
5728
+ @entity_identifiers.setter
5729
+ def entity_identifiers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
5730
+ pulumi.set(self, "entity_identifiers", value)
5731
+
5732
+ @property
5733
+ @pulumi.getter(name="notificationEventData")
5734
+ def notification_event_data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
5735
+ return pulumi.get(self, "notification_event_data")
5736
+
5737
+ @notification_event_data.setter
5738
+ def notification_event_data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
5739
+ pulumi.set(self, "notification_event_data", value)
5740
+
5741
+
5538
5742
  if not MYPY:
5539
5743
  class ConnectorAzureArtifactsCredentialsArgsDict(TypedDict):
5540
5744
  token_ref: pulumi.Input[builtins.str]
@@ -144198,6 +144402,181 @@ class GetCentralNotificationChannelChannelUserGroupArgs:
144198
144402
  pulumi.set(self, "identifier", value)
144199
144403
 
144200
144404
 
144405
+ if not MYPY:
144406
+ class GetCentralNotificationRuleCustomNotificationTemplateRefArgsDict(TypedDict):
144407
+ template_ref: builtins.str
144408
+ version_label: builtins.str
144409
+ variables: NotRequired[Sequence['GetCentralNotificationRuleCustomNotificationTemplateRefVariableArgsDict']]
144410
+ elif False:
144411
+ GetCentralNotificationRuleCustomNotificationTemplateRefArgsDict: TypeAlias = Mapping[str, Any]
144412
+
144413
+ @pulumi.input_type
144414
+ class GetCentralNotificationRuleCustomNotificationTemplateRefArgs:
144415
+ def __init__(__self__, *,
144416
+ template_ref: builtins.str,
144417
+ version_label: builtins.str,
144418
+ variables: Optional[Sequence['GetCentralNotificationRuleCustomNotificationTemplateRefVariableArgs']] = None):
144419
+ pulumi.set(__self__, "template_ref", template_ref)
144420
+ pulumi.set(__self__, "version_label", version_label)
144421
+ if variables is not None:
144422
+ pulumi.set(__self__, "variables", variables)
144423
+
144424
+ @property
144425
+ @pulumi.getter(name="templateRef")
144426
+ def template_ref(self) -> builtins.str:
144427
+ return pulumi.get(self, "template_ref")
144428
+
144429
+ @template_ref.setter
144430
+ def template_ref(self, value: builtins.str):
144431
+ pulumi.set(self, "template_ref", value)
144432
+
144433
+ @property
144434
+ @pulumi.getter(name="versionLabel")
144435
+ def version_label(self) -> builtins.str:
144436
+ return pulumi.get(self, "version_label")
144437
+
144438
+ @version_label.setter
144439
+ def version_label(self, value: builtins.str):
144440
+ pulumi.set(self, "version_label", value)
144441
+
144442
+ @property
144443
+ @pulumi.getter
144444
+ def variables(self) -> Optional[Sequence['GetCentralNotificationRuleCustomNotificationTemplateRefVariableArgs']]:
144445
+ return pulumi.get(self, "variables")
144446
+
144447
+ @variables.setter
144448
+ def variables(self, value: Optional[Sequence['GetCentralNotificationRuleCustomNotificationTemplateRefVariableArgs']]):
144449
+ pulumi.set(self, "variables", value)
144450
+
144451
+
144452
+ if not MYPY:
144453
+ class GetCentralNotificationRuleCustomNotificationTemplateRefVariableArgsDict(TypedDict):
144454
+ name: builtins.str
144455
+ value: builtins.str
144456
+ type: NotRequired[builtins.str]
144457
+ elif False:
144458
+ GetCentralNotificationRuleCustomNotificationTemplateRefVariableArgsDict: TypeAlias = Mapping[str, Any]
144459
+
144460
+ @pulumi.input_type
144461
+ class GetCentralNotificationRuleCustomNotificationTemplateRefVariableArgs:
144462
+ def __init__(__self__, *,
144463
+ name: builtins.str,
144464
+ value: builtins.str,
144465
+ type: Optional[builtins.str] = None):
144466
+ pulumi.set(__self__, "name", name)
144467
+ pulumi.set(__self__, "value", value)
144468
+ if type is not None:
144469
+ pulumi.set(__self__, "type", type)
144470
+
144471
+ @property
144472
+ @pulumi.getter
144473
+ def name(self) -> builtins.str:
144474
+ return pulumi.get(self, "name")
144475
+
144476
+ @name.setter
144477
+ def name(self, value: builtins.str):
144478
+ pulumi.set(self, "name", value)
144479
+
144480
+ @property
144481
+ @pulumi.getter
144482
+ def value(self) -> builtins.str:
144483
+ return pulumi.get(self, "value")
144484
+
144485
+ @value.setter
144486
+ def value(self, value: builtins.str):
144487
+ pulumi.set(self, "value", value)
144488
+
144489
+ @property
144490
+ @pulumi.getter
144491
+ def type(self) -> Optional[builtins.str]:
144492
+ return pulumi.get(self, "type")
144493
+
144494
+ @type.setter
144495
+ def type(self, value: Optional[builtins.str]):
144496
+ pulumi.set(self, "type", value)
144497
+
144498
+
144499
+ if not MYPY:
144500
+ class GetCentralNotificationRuleNotificationConditionArgsDict(TypedDict):
144501
+ condition_name: builtins.str
144502
+ notification_event_configs: Sequence['GetCentralNotificationRuleNotificationConditionNotificationEventConfigArgsDict']
144503
+ elif False:
144504
+ GetCentralNotificationRuleNotificationConditionArgsDict: TypeAlias = Mapping[str, Any]
144505
+
144506
+ @pulumi.input_type
144507
+ class GetCentralNotificationRuleNotificationConditionArgs:
144508
+ def __init__(__self__, *,
144509
+ condition_name: builtins.str,
144510
+ notification_event_configs: Sequence['GetCentralNotificationRuleNotificationConditionNotificationEventConfigArgs']):
144511
+ pulumi.set(__self__, "condition_name", condition_name)
144512
+ pulumi.set(__self__, "notification_event_configs", notification_event_configs)
144513
+
144514
+ @property
144515
+ @pulumi.getter(name="conditionName")
144516
+ def condition_name(self) -> builtins.str:
144517
+ return pulumi.get(self, "condition_name")
144518
+
144519
+ @condition_name.setter
144520
+ def condition_name(self, value: builtins.str):
144521
+ pulumi.set(self, "condition_name", value)
144522
+
144523
+ @property
144524
+ @pulumi.getter(name="notificationEventConfigs")
144525
+ def notification_event_configs(self) -> Sequence['GetCentralNotificationRuleNotificationConditionNotificationEventConfigArgs']:
144526
+ return pulumi.get(self, "notification_event_configs")
144527
+
144528
+ @notification_event_configs.setter
144529
+ def notification_event_configs(self, value: Sequence['GetCentralNotificationRuleNotificationConditionNotificationEventConfigArgs']):
144530
+ pulumi.set(self, "notification_event_configs", value)
144531
+
144532
+
144533
+ if not MYPY:
144534
+ class GetCentralNotificationRuleNotificationConditionNotificationEventConfigArgsDict(TypedDict):
144535
+ notification_entity: builtins.str
144536
+ notification_event: builtins.str
144537
+ notification_event_data: NotRequired[Mapping[str, builtins.str]]
144538
+ elif False:
144539
+ GetCentralNotificationRuleNotificationConditionNotificationEventConfigArgsDict: TypeAlias = Mapping[str, Any]
144540
+
144541
+ @pulumi.input_type
144542
+ class GetCentralNotificationRuleNotificationConditionNotificationEventConfigArgs:
144543
+ def __init__(__self__, *,
144544
+ notification_entity: builtins.str,
144545
+ notification_event: builtins.str,
144546
+ notification_event_data: Optional[Mapping[str, builtins.str]] = None):
144547
+ pulumi.set(__self__, "notification_entity", notification_entity)
144548
+ pulumi.set(__self__, "notification_event", notification_event)
144549
+ if notification_event_data is not None:
144550
+ pulumi.set(__self__, "notification_event_data", notification_event_data)
144551
+
144552
+ @property
144553
+ @pulumi.getter(name="notificationEntity")
144554
+ def notification_entity(self) -> builtins.str:
144555
+ return pulumi.get(self, "notification_entity")
144556
+
144557
+ @notification_entity.setter
144558
+ def notification_entity(self, value: builtins.str):
144559
+ pulumi.set(self, "notification_entity", value)
144560
+
144561
+ @property
144562
+ @pulumi.getter(name="notificationEvent")
144563
+ def notification_event(self) -> builtins.str:
144564
+ return pulumi.get(self, "notification_event")
144565
+
144566
+ @notification_event.setter
144567
+ def notification_event(self, value: builtins.str):
144568
+ pulumi.set(self, "notification_event", value)
144569
+
144570
+ @property
144571
+ @pulumi.getter(name="notificationEventData")
144572
+ def notification_event_data(self) -> Optional[Mapping[str, builtins.str]]:
144573
+ return pulumi.get(self, "notification_event_data")
144574
+
144575
+ @notification_event_data.setter
144576
+ def notification_event_data(self, value: Optional[Mapping[str, builtins.str]]):
144577
+ pulumi.set(self, "notification_event_data", value)
144578
+
144579
+
144201
144580
  if not MYPY:
144202
144581
  class GetConnectorRancherBearerTokenArgsDict(TypedDict):
144203
144582
  password_ref: builtins.str