1. Packages
  2. Harness Provider
  3. API Docs
  4. platform
  5. getPipelineCentralNotificationRule
Harness v0.8.5 published on Tuesday, Oct 7, 2025 by Pulumi

harness.platform.getPipelineCentralNotificationRule

Deploy with Pulumi
harness logo
Harness v0.8.5 published on Tuesday, Oct 7, 2025 by Pulumi

    Data source for retrieving a Notification Rule.

    Using getPipelineCentralNotificationRule

    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 getPipelineCentralNotificationRule(args: GetPipelineCentralNotificationRuleArgs, opts?: InvokeOptions): Promise<GetPipelineCentralNotificationRuleResult>
    function getPipelineCentralNotificationRuleOutput(args: GetPipelineCentralNotificationRuleOutputArgs, opts?: InvokeOptions): Output<GetPipelineCentralNotificationRuleResult>
    def get_pipeline_central_notification_rule(custom_notification_template_ref: Optional[GetPipelineCentralNotificationRuleCustomNotificationTemplateRef] = None,
                                               identifier: Optional[str] = None,
                                               name: Optional[str] = None,
                                               notification_channel_refs: Optional[Sequence[str]] = None,
                                               notification_conditions: Optional[Sequence[GetPipelineCentralNotificationRuleNotificationCondition]] = None,
                                               org: Optional[str] = None,
                                               project: Optional[str] = None,
                                               status: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetPipelineCentralNotificationRuleResult
    def get_pipeline_central_notification_rule_output(custom_notification_template_ref: Optional[pulumi.Input[GetPipelineCentralNotificationRuleCustomNotificationTemplateRefArgs]] = 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[GetPipelineCentralNotificationRuleNotificationConditionArgs]]]] = None,
                                               org: Optional[pulumi.Input[str]] = None,
                                               project: Optional[pulumi.Input[str]] = None,
                                               status: Optional[pulumi.Input[str]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetPipelineCentralNotificationRuleResult]
    func LookupPipelineCentralNotificationRule(ctx *Context, args *LookupPipelineCentralNotificationRuleArgs, opts ...InvokeOption) (*LookupPipelineCentralNotificationRuleResult, error)
    func LookupPipelineCentralNotificationRuleOutput(ctx *Context, args *LookupPipelineCentralNotificationRuleOutputArgs, opts ...InvokeOption) LookupPipelineCentralNotificationRuleResultOutput

    > Note: This function is named LookupPipelineCentralNotificationRule in the Go SDK.

    public static class GetPipelineCentralNotificationRule 
    {
        public static Task<GetPipelineCentralNotificationRuleResult> InvokeAsync(GetPipelineCentralNotificationRuleArgs args, InvokeOptions? opts = null)
        public static Output<GetPipelineCentralNotificationRuleResult> Invoke(GetPipelineCentralNotificationRuleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPipelineCentralNotificationRuleResult> getPipelineCentralNotificationRule(GetPipelineCentralNotificationRuleArgs args, InvokeOptions options)
    public static Output<GetPipelineCentralNotificationRuleResult> getPipelineCentralNotificationRule(GetPipelineCentralNotificationRuleArgs args, InvokeOptions options)
    
    fn::invoke:
      function: harness:platform/getPipelineCentralNotificationRule:getPipelineCentralNotificationRule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Identifier string
    Identifier of the Notification Rule.
    Name string
    CustomNotificationTemplateRef GetPipelineCentralNotificationRuleCustomNotificationTemplateRef
    NotificationChannelRefs List<string>
    NotificationConditions List<GetPipelineCentralNotificationRuleNotificationCondition>
    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.
    Name string
    CustomNotificationTemplateRef GetPipelineCentralNotificationRuleCustomNotificationTemplateRef
    NotificationChannelRefs []string
    NotificationConditions []GetPipelineCentralNotificationRuleNotificationCondition
    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.
    name String
    customNotificationTemplateRef GetPipelineCentralNotificationRuleCustomNotificationTemplateRef
    notificationChannelRefs List<String>
    notificationConditions List<GetPipelineCentralNotificationRuleNotificationCondition>
    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.
    name string
    customNotificationTemplateRef GetPipelineCentralNotificationRuleCustomNotificationTemplateRef
    notificationChannelRefs string[]
    notificationConditions GetPipelineCentralNotificationRuleNotificationCondition[]
    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.
    name str
    custom_notification_template_ref GetPipelineCentralNotificationRuleCustomNotificationTemplateRef
    notification_channel_refs Sequence[str]
    notification_conditions Sequence[GetPipelineCentralNotificationRuleNotificationCondition]
    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.
    name String
    customNotificationTemplateRef Property Map
    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

    getPipelineCentralNotificationRule 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.
    Name string
    CustomNotificationTemplateRef GetPipelineCentralNotificationRuleCustomNotificationTemplateRef
    NotificationChannelRefs List<string>
    NotificationConditions List<GetPipelineCentralNotificationRuleNotificationCondition>
    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.
    Name string
    CustomNotificationTemplateRef GetPipelineCentralNotificationRuleCustomNotificationTemplateRef
    NotificationChannelRefs []string
    NotificationConditions []GetPipelineCentralNotificationRuleNotificationCondition
    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.
    name String
    customNotificationTemplateRef GetPipelineCentralNotificationRuleCustomNotificationTemplateRef
    notificationChannelRefs List<String>
    notificationConditions List<GetPipelineCentralNotificationRuleNotificationCondition>
    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.
    name string
    customNotificationTemplateRef GetPipelineCentralNotificationRuleCustomNotificationTemplateRef
    notificationChannelRefs string[]
    notificationConditions GetPipelineCentralNotificationRuleNotificationCondition[]
    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.
    name str
    custom_notification_template_ref GetPipelineCentralNotificationRuleCustomNotificationTemplateRef
    notification_channel_refs Sequence[str]
    notification_conditions Sequence[GetPipelineCentralNotificationRuleNotificationCondition]
    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.
    name String
    customNotificationTemplateRef Property Map
    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

    GetPipelineCentralNotificationRuleCustomNotificationTemplateRef

    GetPipelineCentralNotificationRuleCustomNotificationTemplateRefVariable

    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

    GetPipelineCentralNotificationRuleNotificationCondition

    GetPipelineCentralNotificationRuleNotificationConditionNotificationEventConfig

    GetPipelineCentralNotificationRuleNotificationConditionNotificationEventConfigNotificationEventData

    ScopeIdentifiers List<string>
    Type string
    ScopeIdentifiers []string
    Type string
    scopeIdentifiers List<String>
    type String
    scopeIdentifiers string[]
    type string
    scope_identifiers Sequence[str]
    type str
    scopeIdentifiers List<String>
    type 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.5 published on Tuesday, Oct 7, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate