1. Packages
  2. Harness Provider
  3. API Docs
  4. platform
  5. getPipelineCentralNotificationRule
Harness v0.9.0 published on Wednesday, Oct 22, 2025 by Pulumi

harness.platform.getPipelineCentralNotificationRule

Start a Neo task
Explain and create a harness.platform.getPipelineCentralNotificationRule resource
harness logo
Harness v0.9.0 published on Wednesday, Oct 22, 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:

    getPipelineCentralNotificationRule Result

    The following output properties are available:

    account String
    created Number
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    lastModified Number
    name String
    customNotificationTemplateRef Property Map
    notificationChannelRefs List<String>
    notificationConditions List<Property Map>
    org String
    project String
    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.9.0 published on Wednesday, Oct 22, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate