1. Packages
  2. Harness Provider
  3. API Docs
  4. platform
  5. getCentralNotificationRule
Harness v0.8.4 published on Thursday, Sep 11, 2025 by Pulumi

harness.platform.getCentralNotificationRule

Explore with Pulumi AI

harness logo
Harness v0.8.4 published on Thursday, Sep 11, 2025 by Pulumi

    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.
    CustomNotificationTemplateRef GetCentralNotificationRuleCustomNotificationTemplateRef
    Name string
    NotificationChannelRefs List<string>
    NotificationConditions List<GetCentralNotificationRuleNotificationCondition>
    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.
    CustomNotificationTemplateRef GetCentralNotificationRuleCustomNotificationTemplateRef
    Name string
    NotificationChannelRefs []string
    NotificationConditions []GetCentralNotificationRuleNotificationCondition
    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.
    customNotificationTemplateRef GetCentralNotificationRuleCustomNotificationTemplateRef
    name String
    notificationChannelRefs List<String>
    notificationConditions List<GetCentralNotificationRuleNotificationCondition>
    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.
    customNotificationTemplateRef GetCentralNotificationRuleCustomNotificationTemplateRef
    name string
    notificationChannelRefs string[]
    notificationConditions GetCentralNotificationRuleNotificationCondition[]
    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_template_ref GetCentralNotificationRuleCustomNotificationTemplateRef
    name str
    notification_channel_refs Sequence[str]
    notification_conditions Sequence[GetCentralNotificationRuleNotificationCondition]
    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.
    customNotificationTemplateRef Property Map
    name String
    notificationChannelRefs List<String>
    notificationConditions 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.
    LastModified int
    Timestamp when the notification rule was last modified.
    CustomNotificationTemplateRef GetCentralNotificationRuleCustomNotificationTemplateRef
    Name string
    NotificationChannelRefs List<string>
    NotificationConditions List<GetCentralNotificationRuleNotificationCondition>
    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.
    LastModified int
    Timestamp when the notification rule was last modified.
    CustomNotificationTemplateRef GetCentralNotificationRuleCustomNotificationTemplateRef
    Name string
    NotificationChannelRefs []string
    NotificationConditions []GetCentralNotificationRuleNotificationCondition
    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.
    lastModified Integer
    Timestamp when the notification rule was last modified.
    customNotificationTemplateRef GetCentralNotificationRuleCustomNotificationTemplateRef
    name String
    notificationChannelRefs List<String>
    notificationConditions List<GetCentralNotificationRuleNotificationCondition>
    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.
    lastModified number
    Timestamp when the notification rule was last modified.
    customNotificationTemplateRef GetCentralNotificationRuleCustomNotificationTemplateRef
    name string
    notificationChannelRefs string[]
    notificationConditions GetCentralNotificationRuleNotificationCondition[]
    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_template_ref GetCentralNotificationRuleCustomNotificationTemplateRef
    name str
    notification_channel_refs Sequence[str]
    notification_conditions Sequence[GetCentralNotificationRuleNotificationCondition]
    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.
    lastModified Number
    Timestamp when the notification rule was last modified.
    customNotificationTemplateRef Property Map
    name String
    notificationChannelRefs List<String>
    notificationConditions 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

    GetCentralNotificationRuleCustomNotificationTemplateRefVariable

    Name string
    Value string
    Type string
    Name string
    Value string
    Type string
    name String
    value String
    type String
    name string
    value string
    type string
    name str
    value str
    type str
    name String
    value String
    type String

    GetCentralNotificationRuleNotificationCondition

    GetCentralNotificationRuleNotificationConditionNotificationEventConfig

    NotificationEntity string
    NotificationEvent string
    NotificationEventData Dictionary<string, string>
    notificationEntity string
    notificationEvent string
    notificationEventData {[key: string]: string}

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.8.4 published on Thursday, Sep 11, 2025 by Pulumi
      AI Agentic Workflows: Register now