Viewing docs for Harness v0.11.8
published on Friday, Mar 27, 2026 by Pulumi
published on Friday, Mar 27, 2026 by Pulumi
Viewing docs for Harness v0.11.8
published on Friday, Mar 27, 2026 by Pulumi
published on Friday, Mar 27, 2026 by Pulumi
Data source for retrieving a central notification channel in Harness.
Using getCentralNotificationChannel
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 getCentralNotificationChannel(args: GetCentralNotificationChannelArgs, opts?: InvokeOptions): Promise<GetCentralNotificationChannelResult>
function getCentralNotificationChannelOutput(args: GetCentralNotificationChannelOutputArgs, opts?: InvokeOptions): Output<GetCentralNotificationChannelResult>def get_central_notification_channel(account: Optional[str] = None,
channels: Optional[Sequence[GetCentralNotificationChannelChannel]] = None,
created: Optional[int] = None,
identifier: Optional[str] = None,
last_modified: Optional[int] = None,
name: Optional[str] = None,
notification_channel_type: Optional[str] = None,
org: Optional[str] = None,
project: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCentralNotificationChannelResult
def get_central_notification_channel_output(account: Optional[pulumi.Input[str]] = None,
channels: Optional[pulumi.Input[Sequence[pulumi.Input[GetCentralNotificationChannelChannelArgs]]]] = None,
created: Optional[pulumi.Input[int]] = None,
identifier: Optional[pulumi.Input[str]] = None,
last_modified: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
notification_channel_type: Optional[pulumi.Input[str]] = None,
org: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCentralNotificationChannelResult]func LookupCentralNotificationChannel(ctx *Context, args *LookupCentralNotificationChannelArgs, opts ...InvokeOption) (*LookupCentralNotificationChannelResult, error)
func LookupCentralNotificationChannelOutput(ctx *Context, args *LookupCentralNotificationChannelOutputArgs, opts ...InvokeOption) LookupCentralNotificationChannelResultOutput> Note: This function is named LookupCentralNotificationChannel in the Go SDK.
public static class GetCentralNotificationChannel
{
public static Task<GetCentralNotificationChannelResult> InvokeAsync(GetCentralNotificationChannelArgs args, InvokeOptions? opts = null)
public static Output<GetCentralNotificationChannelResult> Invoke(GetCentralNotificationChannelInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCentralNotificationChannelResult> getCentralNotificationChannel(GetCentralNotificationChannelArgs args, InvokeOptions options)
public static Output<GetCentralNotificationChannelResult> getCentralNotificationChannel(GetCentralNotificationChannelArgs args, InvokeOptions options)
fn::invoke:
function: harness:platform/getCentralNotificationChannel:getCentralNotificationChannel
arguments:
# arguments dictionaryThe following arguments are supported:
- Identifier string
- Unique identifier of the notification channel.
- Account string
- Account identifier associated with this notification channel.
- Channels
List<Get
Central Notification Channel Channel> - Configuration details of the notification channel.
- Created int
- Timestamp when the notification channel was created.
- Last
Modified int - Timestamp when the notification channel was last modified.
- Name string
- Name of the notification channel.
- Notification
Channel stringType - Type of notification channel. One of: EMAIL, SLACK, PAGERDUTY, MSTeams, WEBHOOK, DATADOG.
- Org string
- Identifier of the organization the notification channel is scoped to.
- Project string
- Identifier of the project the notification channel is scoped to.
- Status string
- Status of the notification channel. Possible values are ENABLED or DISABLED.
- Identifier string
- Unique identifier of the notification channel.
- Account string
- Account identifier associated with this notification channel.
- Channels
[]Get
Central Notification Channel Channel - Configuration details of the notification channel.
- Created int
- Timestamp when the notification channel was created.
- Last
Modified int - Timestamp when the notification channel was last modified.
- Name string
- Name of the notification channel.
- Notification
Channel stringType - Type of notification channel. One of: EMAIL, SLACK, PAGERDUTY, MSTeams, WEBHOOK, DATADOG.
- Org string
- Identifier of the organization the notification channel is scoped to.
- Project string
- Identifier of the project the notification channel is scoped to.
- Status string
- Status of the notification channel. Possible values are ENABLED or DISABLED.
- identifier String
- Unique identifier of the notification channel.
- account String
- Account identifier associated with this notification channel.
- channels
List<Get
Central Notification Channel Channel> - Configuration details of the notification channel.
- created Integer
- Timestamp when the notification channel was created.
- last
Modified Integer - Timestamp when the notification channel was last modified.
- name String
- Name of the notification channel.
- notification
Channel StringType - Type of notification channel. One of: EMAIL, SLACK, PAGERDUTY, MSTeams, WEBHOOK, DATADOG.
- org String
- Identifier of the organization the notification channel is scoped to.
- project String
- Identifier of the project the notification channel is scoped to.
- status String
- Status of the notification channel. Possible values are ENABLED or DISABLED.
- identifier string
- Unique identifier of the notification channel.
- account string
- Account identifier associated with this notification channel.
- channels
Get
Central Notification Channel Channel[] - Configuration details of the notification channel.
- created number
- Timestamp when the notification channel was created.
- last
Modified number - Timestamp when the notification channel was last modified.
- name string
- Name of the notification channel.
- notification
Channel stringType - Type of notification channel. One of: EMAIL, SLACK, PAGERDUTY, MSTeams, WEBHOOK, DATADOG.
- org string
- Identifier of the organization the notification channel is scoped to.
- project string
- Identifier of the project the notification channel is scoped to.
- status string
- Status of the notification channel. Possible values are ENABLED or DISABLED.
- identifier str
- Unique identifier of the notification channel.
- account str
- Account identifier associated with this notification channel.
- channels
Sequence[Get
Central Notification Channel Channel] - Configuration details of the notification channel.
- created int
- Timestamp when the notification channel was created.
- last_
modified int - Timestamp when the notification channel was last modified.
- name str
- Name of the notification channel.
- notification_
channel_ strtype - Type of notification channel. One of: EMAIL, SLACK, PAGERDUTY, MSTeams, WEBHOOK, DATADOG.
- org str
- Identifier of the organization the notification channel is scoped to.
- project str
- Identifier of the project the notification channel is scoped to.
- status str
- Status of the notification channel. Possible values are ENABLED or DISABLED.
- identifier String
- Unique identifier of the notification channel.
- account String
- Account identifier associated with this notification channel.
- channels List<Property Map>
- Configuration details of the notification channel.
- created Number
- Timestamp when the notification channel was created.
- last
Modified Number - Timestamp when the notification channel was last modified.
- name String
- Name of the notification channel.
- notification
Channel StringType - Type of notification channel. One of: EMAIL, SLACK, PAGERDUTY, MSTeams, WEBHOOK, DATADOG.
- org String
- Identifier of the organization the notification channel is scoped to.
- project String
- Identifier of the project the notification channel is scoped to.
- status String
- Status of the notification channel. Possible values are ENABLED or DISABLED.
getCentralNotificationChannel Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Unique identifier of the notification channel.
- Account string
- Account identifier associated with this notification channel.
- Channels
List<Get
Central Notification Channel Channel> - Configuration details of the notification channel.
- Created int
- Timestamp when the notification channel was created.
- Last
Modified int - Timestamp when the notification channel was last modified.
- Name string
- Name of the notification channel.
- Notification
Channel stringType - Type of notification channel. One of: EMAIL, SLACK, PAGERDUTY, MSTeams, WEBHOOK, DATADOG.
- Org string
- Identifier of the organization the notification channel is scoped to.
- Project string
- Identifier of the project the notification channel is scoped to.
- Status string
- Status of the notification channel. Possible values are ENABLED or DISABLED.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Unique identifier of the notification channel.
- Account string
- Account identifier associated with this notification channel.
- Channels
[]Get
Central Notification Channel Channel - Configuration details of the notification channel.
- Created int
- Timestamp when the notification channel was created.
- Last
Modified int - Timestamp when the notification channel was last modified.
- Name string
- Name of the notification channel.
- Notification
Channel stringType - Type of notification channel. One of: EMAIL, SLACK, PAGERDUTY, MSTeams, WEBHOOK, DATADOG.
- Org string
- Identifier of the organization the notification channel is scoped to.
- Project string
- Identifier of the project the notification channel is scoped to.
- Status string
- Status of the notification channel. Possible values are ENABLED or DISABLED.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Unique identifier of the notification channel.
- account String
- Account identifier associated with this notification channel.
- channels
List<Get
Central Notification Channel Channel> - Configuration details of the notification channel.
- created Integer
- Timestamp when the notification channel was created.
- last
Modified Integer - Timestamp when the notification channel was last modified.
- name String
- Name of the notification channel.
- notification
Channel StringType - Type of notification channel. One of: EMAIL, SLACK, PAGERDUTY, MSTeams, WEBHOOK, DATADOG.
- org String
- Identifier of the organization the notification channel is scoped to.
- project String
- Identifier of the project the notification channel is scoped to.
- status String
- Status of the notification channel. Possible values are ENABLED or DISABLED.
- id string
- The provider-assigned unique ID for this managed resource.
- identifier string
- Unique identifier of the notification channel.
- account string
- Account identifier associated with this notification channel.
- channels
Get
Central Notification Channel Channel[] - Configuration details of the notification channel.
- created number
- Timestamp when the notification channel was created.
- last
Modified number - Timestamp when the notification channel was last modified.
- name string
- Name of the notification channel.
- notification
Channel stringType - Type of notification channel. One of: EMAIL, SLACK, PAGERDUTY, MSTeams, WEBHOOK, DATADOG.
- org string
- Identifier of the organization the notification channel is scoped to.
- project string
- Identifier of the project the notification channel is scoped to.
- status string
- Status of the notification channel. Possible values are ENABLED or DISABLED.
- id str
- The provider-assigned unique ID for this managed resource.
- identifier str
- Unique identifier of the notification channel.
- account str
- Account identifier associated with this notification channel.
- channels
Sequence[Get
Central Notification Channel Channel] - Configuration details of the notification channel.
- created int
- Timestamp when the notification channel was created.
- last_
modified int - Timestamp when the notification channel was last modified.
- name str
- Name of the notification channel.
- notification_
channel_ strtype - Type of notification channel. One of: EMAIL, SLACK, PAGERDUTY, MSTeams, WEBHOOK, DATADOG.
- org str
- Identifier of the organization the notification channel is scoped to.
- project str
- Identifier of the project the notification channel is scoped to.
- status str
- Status of the notification channel. Possible values are ENABLED or DISABLED.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Unique identifier of the notification channel.
- account String
- Account identifier associated with this notification channel.
- channels List<Property Map>
- Configuration details of the notification channel.
- created Number
- Timestamp when the notification channel was created.
- last
Modified Number - Timestamp when the notification channel was last modified.
- name String
- Name of the notification channel.
- notification
Channel StringType - Type of notification channel. One of: EMAIL, SLACK, PAGERDUTY, MSTeams, WEBHOOK, DATADOG.
- org String
- Identifier of the organization the notification channel is scoped to.
- project String
- Identifier of the project the notification channel is scoped to.
- status String
- Status of the notification channel. Possible values are ENABLED or DISABLED.
Supporting Types
GetCentralNotificationChannelChannel
- Headers
List<Get
Central Notification Channel Channel Header> - Custom HTTP headers to include in webhook requests.
- Api
Key string - API key for the webhook or integration.
- Datadog
Urls List<string> - List of Datadog webhook URLs.
- Delegate
Selectors List<string> - List of delegate selectors to use for sending notifications.
- Email
Ids List<string> - List of email addresses to notify.
- Execute
On boolDelegate - Whether to execute the notification logic on delegate.
- Ms
Team List<string>Keys - List of Microsoft Teams integration keys.
- Pager
Duty List<string>Integration Keys - List of PagerDuty integration keys.
- Slack
Webhook List<string>Urls - List of Slack webhook URLs to send notifications to.
- User
Groups List<GetCentral Notification Channel Channel User Group> - List of user groups to notify.
- Webhook
Urls List<string> - List of generic webhook URLs.
- Headers
[]Get
Central Notification Channel Channel Header - Custom HTTP headers to include in webhook requests.
- Api
Key string - API key for the webhook or integration.
- Datadog
Urls []string - List of Datadog webhook URLs.
- Delegate
Selectors []string - List of delegate selectors to use for sending notifications.
- Email
Ids []string - List of email addresses to notify.
- Execute
On boolDelegate - Whether to execute the notification logic on delegate.
- Ms
Team []stringKeys - List of Microsoft Teams integration keys.
- Pager
Duty []stringIntegration Keys - List of PagerDuty integration keys.
- Slack
Webhook []stringUrls - List of Slack webhook URLs to send notifications to.
- User
Groups []GetCentral Notification Channel Channel User Group - List of user groups to notify.
- Webhook
Urls []string - List of generic webhook URLs.
- headers
List<Get
Central Notification Channel Channel Header> - Custom HTTP headers to include in webhook requests.
- api
Key String - API key for the webhook or integration.
- datadog
Urls List<String> - List of Datadog webhook URLs.
- delegate
Selectors List<String> - List of delegate selectors to use for sending notifications.
- email
Ids List<String> - List of email addresses to notify.
- execute
On BooleanDelegate - Whether to execute the notification logic on delegate.
- ms
Team List<String>Keys - List of Microsoft Teams integration keys.
- pager
Duty List<String>Integration Keys - List of PagerDuty integration keys.
- slack
Webhook List<String>Urls - List of Slack webhook URLs to send notifications to.
- user
Groups List<GetCentral Notification Channel Channel User Group> - List of user groups to notify.
- webhook
Urls List<String> - List of generic webhook URLs.
- headers
Get
Central Notification Channel Channel Header[] - Custom HTTP headers to include in webhook requests.
- api
Key string - API key for the webhook or integration.
- datadog
Urls string[] - List of Datadog webhook URLs.
- delegate
Selectors string[] - List of delegate selectors to use for sending notifications.
- email
Ids string[] - List of email addresses to notify.
- execute
On booleanDelegate - Whether to execute the notification logic on delegate.
- ms
Team string[]Keys - List of Microsoft Teams integration keys.
- pager
Duty string[]Integration Keys - List of PagerDuty integration keys.
- slack
Webhook string[]Urls - List of Slack webhook URLs to send notifications to.
- user
Groups GetCentral Notification Channel Channel User Group[] - List of user groups to notify.
- webhook
Urls string[] - List of generic webhook URLs.
- headers
Sequence[Get
Central Notification Channel Channel Header] - Custom HTTP headers to include in webhook requests.
- api_
key str - API key for the webhook or integration.
- datadog_
urls Sequence[str] - List of Datadog webhook URLs.
- delegate_
selectors Sequence[str] - List of delegate selectors to use for sending notifications.
- email_
ids Sequence[str] - List of email addresses to notify.
- execute_
on_ booldelegate - Whether to execute the notification logic on delegate.
- ms_
team_ Sequence[str]keys - List of Microsoft Teams integration keys.
- pager_
duty_ Sequence[str]integration_ keys - List of PagerDuty integration keys.
- slack_
webhook_ Sequence[str]urls - List of Slack webhook URLs to send notifications to.
- user_
groups Sequence[GetCentral Notification Channel Channel User Group] - List of user groups to notify.
- webhook_
urls Sequence[str] - List of generic webhook URLs.
- headers List<Property Map>
- Custom HTTP headers to include in webhook requests.
- api
Key String - API key for the webhook or integration.
- datadog
Urls List<String> - List of Datadog webhook URLs.
- delegate
Selectors List<String> - List of delegate selectors to use for sending notifications.
- email
Ids List<String> - List of email addresses to notify.
- execute
On BooleanDelegate - Whether to execute the notification logic on delegate.
- ms
Team List<String>Keys - List of Microsoft Teams integration keys.
- pager
Duty List<String>Integration Keys - List of PagerDuty integration keys.
- slack
Webhook List<String>Urls - List of Slack webhook URLs to send notifications to.
- user
Groups List<Property Map> - List of user groups to notify.
- webhook
Urls List<String> - List of generic webhook URLs.
GetCentralNotificationChannelChannelHeader
GetCentralNotificationChannelChannelUserGroup
- Identifier string
- Identifier of the user group.
- Identifier string
- Identifier of the user group.
- identifier String
- Identifier of the user group.
- identifier string
- Identifier of the user group.
- identifier str
- Identifier of the user group.
- identifier String
- Identifier of the user group.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
Viewing docs for Harness v0.11.8
published on Friday, Mar 27, 2026 by Pulumi
published on Friday, Mar 27, 2026 by Pulumi
