Harness v0.8.0 published on Wednesday, Aug 20, 2025 by Pulumi
harness.platform.getCentralNotificationRule
Explore with Pulumi AI
Data source for retrieving a Notification Rule.
Using getCentralNotificationRule
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCentralNotificationRule(args: GetCentralNotificationRuleArgs, opts?: InvokeOptions): Promise<GetCentralNotificationRuleResult>
function getCentralNotificationRuleOutput(args: GetCentralNotificationRuleOutputArgs, opts?: InvokeOptions): Output<GetCentralNotificationRuleResult>
def get_central_notification_rule(custom_notification_template_ref: Optional[GetCentralNotificationRuleCustomNotificationTemplateRef] = None,
identifier: Optional[str] = None,
name: Optional[str] = None,
notification_channel_refs: Optional[Sequence[str]] = None,
notification_conditions: Optional[Sequence[GetCentralNotificationRuleNotificationCondition]] = None,
org: Optional[str] = None,
project: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCentralNotificationRuleResult
def get_central_notification_rule_output(custom_notification_template_ref: Optional[pulumi.Input[GetCentralNotificationRuleCustomNotificationTemplateRefArgs]] = None,
identifier: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
notification_channel_refs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
notification_conditions: Optional[pulumi.Input[Sequence[pulumi.Input[GetCentralNotificationRuleNotificationConditionArgs]]]] = None,
org: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCentralNotificationRuleResult]
func LookupCentralNotificationRule(ctx *Context, args *LookupCentralNotificationRuleArgs, opts ...InvokeOption) (*LookupCentralNotificationRuleResult, error)
func LookupCentralNotificationRuleOutput(ctx *Context, args *LookupCentralNotificationRuleOutputArgs, opts ...InvokeOption) LookupCentralNotificationRuleResultOutput
> Note: This function is named LookupCentralNotificationRule
in the Go SDK.
public static class GetCentralNotificationRule
{
public static Task<GetCentralNotificationRuleResult> InvokeAsync(GetCentralNotificationRuleArgs args, InvokeOptions? opts = null)
public static Output<GetCentralNotificationRuleResult> Invoke(GetCentralNotificationRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCentralNotificationRuleResult> getCentralNotificationRule(GetCentralNotificationRuleArgs args, InvokeOptions options)
public static Output<GetCentralNotificationRuleResult> getCentralNotificationRule(GetCentralNotificationRuleArgs args, InvokeOptions options)
fn::invoke:
function: harness:platform/getCentralNotificationRule:getCentralNotificationRule
arguments:
# arguments dictionary
The following arguments are supported:
- Identifier string
- Identifier of the Notification Rule.
- Custom
Notification GetTemplate Ref Central Notification Rule Custom Notification Template Ref - Name string
- Notification
Channel List<string>Refs - Notification
Conditions List<GetCentral Notification Rule Notification Condition> - Org string
- Identifier of the organization in which the Notification Rule is configured.
- Project string
- Identifier of the project in which the Notification Rule is configured.
- Status string
- Identifier string
- Identifier of the Notification Rule.
- Custom
Notification GetTemplate Ref Central Notification Rule Custom Notification Template Ref - Name string
- Notification
Channel []stringRefs - Notification
Conditions []GetCentral Notification Rule Notification Condition - Org string
- Identifier of the organization in which the Notification Rule is configured.
- Project string
- Identifier of the project in which the Notification Rule is configured.
- Status string
- identifier String
- Identifier of the Notification Rule.
- custom
Notification GetTemplate Ref Central Notification Rule Custom Notification Template Ref - name String
- notification
Channel List<String>Refs - notification
Conditions List<GetCentral Notification Rule Notification Condition> - org String
- Identifier of the organization in which the Notification Rule is configured.
- project String
- Identifier of the project in which the Notification Rule is configured.
- status String
- identifier string
- Identifier of the Notification Rule.
- custom
Notification GetTemplate Ref Central Notification Rule Custom Notification Template Ref - name string
- notification
Channel string[]Refs - notification
Conditions GetCentral Notification Rule Notification Condition[] - org string
- Identifier of the organization in which the Notification Rule is configured.
- project string
- Identifier of the project in which the Notification Rule is configured.
- status string
- identifier str
- Identifier of the Notification Rule.
- custom_
notification_ Gettemplate_ ref Central Notification Rule Custom Notification Template Ref - name str
- notification_
channel_ Sequence[str]refs - notification_
conditions Sequence[GetCentral Notification Rule Notification Condition] - org str
- Identifier of the organization in which the Notification Rule is configured.
- project str
- Identifier of the project in which the Notification Rule is configured.
- status str
- identifier String
- Identifier of the Notification Rule.
- custom
Notification Property MapTemplate Ref - name String
- notification
Channel List<String>Refs - notification
Conditions List<Property Map> - org String
- Identifier of the organization in which the Notification Rule is configured.
- project String
- Identifier of the project in which the Notification Rule is configured.
- status String
getCentralNotificationRule Result
The following output properties are available:
- Account string
- Account identifier associated with this notification channel.
- Created int
- Timestamp when the notification rule was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Identifier of the Notification Rule.
- Last
Modified int - Timestamp when the notification rule was last modified.
- Custom
Notification GetTemplate Ref Central Notification Rule Custom Notification Template Ref - Name string
- Notification
Channel List<string>Refs - Notification
Conditions List<GetCentral Notification Rule Notification Condition> - Org string
- Identifier of the organization in which the Notification Rule is configured.
- Project string
- Identifier of the project in which the Notification Rule is configured.
- Status string
- Account string
- Account identifier associated with this notification channel.
- Created int
- Timestamp when the notification rule was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Identifier of the Notification Rule.
- Last
Modified int - Timestamp when the notification rule was last modified.
- Custom
Notification GetTemplate Ref Central Notification Rule Custom Notification Template Ref - Name string
- Notification
Channel []stringRefs - Notification
Conditions []GetCentral Notification Rule Notification Condition - Org string
- Identifier of the organization in which the Notification Rule is configured.
- Project string
- Identifier of the project in which the Notification Rule is configured.
- Status string
- account String
- Account identifier associated with this notification channel.
- created Integer
- Timestamp when the notification rule was created.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Identifier of the Notification Rule.
- last
Modified Integer - Timestamp when the notification rule was last modified.
- custom
Notification GetTemplate Ref Central Notification Rule Custom Notification Template Ref - name String
- notification
Channel List<String>Refs - notification
Conditions List<GetCentral Notification Rule Notification Condition> - org String
- Identifier of the organization in which the Notification Rule is configured.
- project String
- Identifier of the project in which the Notification Rule is configured.
- status String
- account string
- Account identifier associated with this notification channel.
- created number
- Timestamp when the notification rule was created.
- id string
- The provider-assigned unique ID for this managed resource.
- identifier string
- Identifier of the Notification Rule.
- last
Modified number - Timestamp when the notification rule was last modified.
- custom
Notification GetTemplate Ref Central Notification Rule Custom Notification Template Ref - name string
- notification
Channel string[]Refs - notification
Conditions GetCentral Notification Rule Notification Condition[] - org string
- Identifier of the organization in which the Notification Rule is configured.
- project string
- Identifier of the project in which the Notification Rule is configured.
- status string
- account str
- Account identifier associated with this notification channel.
- created int
- Timestamp when the notification rule was created.
- id str
- The provider-assigned unique ID for this managed resource.
- identifier str
- Identifier of the Notification Rule.
- last_
modified int - Timestamp when the notification rule was last modified.
- custom_
notification_ Gettemplate_ ref Central Notification Rule Custom Notification Template Ref - name str
- notification_
channel_ Sequence[str]refs - notification_
conditions Sequence[GetCentral Notification Rule Notification Condition] - org str
- Identifier of the organization in which the Notification Rule is configured.
- project str
- Identifier of the project in which the Notification Rule is configured.
- status str
- account String
- Account identifier associated with this notification channel.
- created Number
- Timestamp when the notification rule was created.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Identifier of the Notification Rule.
- last
Modified Number - Timestamp when the notification rule was last modified.
- custom
Notification Property MapTemplate Ref - name String
- notification
Channel List<String>Refs - notification
Conditions List<Property Map> - org String
- Identifier of the organization in which the Notification Rule is configured.
- project String
- Identifier of the project in which the Notification Rule is configured.
- status String
Supporting Types
GetCentralNotificationRuleCustomNotificationTemplateRef
- template
Ref String - version
Label String - variables List<Property Map>
GetCentralNotificationRuleCustomNotificationTemplateRefVariable
GetCentralNotificationRuleNotificationCondition
GetCentralNotificationRuleNotificationConditionNotificationEventConfig
- Notification
Entity string - Notification
Event string - Notification
Event Dictionary<string, string>Data
- Notification
Entity string - Notification
Event string - Notification
Event map[string]stringData
- notification
Entity String - notification
Event String - notification
Event Map<String,String>Data
- notification
Entity string - notification
Event string - notification
Event {[key: string]: string}Data
- notification_
entity str - notification_
event str - notification_
event_ Mapping[str, str]data
- notification
Entity String - notification
Event String - notification
Event Map<String>Data
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.