# The NotificationDestination object

## Attributes

- `id` (string)
  UUID identifying notification destination.
  Example: `fe25e731-92f2-4838-9fb2-1ca364320a3d`
- `display_name` (string)
  The display name for the notification destination.
  Example: `My slack destination`
- `destination_type` (string)
  [Output-only] The type of the notification destination. The type can not be changed once set.
  Possible values: `SLACK`, `EMAIL`, `WEBHOOK`, `PAGERDUTY`, `MICROSOFT_TEAMS`
- `config` (object)
  The configuration for the notification destination. Will be exactly one of the nested configs. Only returns for users with workspace admin permissions.
  - `slack` (object)
    - `url` (string)
      [Input-Only] URL for Slack destination.
      Example: `https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXX`
    - `url_set` (boolean)
      [Output-Only] Whether URL is set.
    - `oauth_token` (string)
      [Input-Only] OAuth token for Slack authentication.
    - `oauth_token_set` (boolean)
      [Output-Only] Whether OAuth token is set.
    - `channel_id` (string)
      [Input-Only] Slack channel ID for notifications.
      Example: `C1234567890`
    - `channel_id_set` (boolean)
      [Output-Only] Whether channel ID is set.
  - `email` (object)
    - `addresses` (array of string)
      Email addresses to notify.
  - `generic_webhook` (object)
    - `url` (string)
      [Input-Only] URL for webhook.
      Example: `https://my-webhook.com`
    - `url_set` (boolean)
      [Output-Only] Whether URL is set.
    - `username` (string)
      [Input-Only][Optional] Username for webhook.
      Example: `username`
    - `username_set` (boolean)
      [Output-Only] Whether username is set.
    - `password` (string)
      [Input-Only][Optional] Password for webhook.
      Example: `password`
    - `password_set` (boolean)
      [Output-Only] Whether password is set.
  - `pagerduty` (object)
    - `integration_key` (string)
      [Input-Only] Integration key for PagerDuty.
      Example: `XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX`
    - `integration_key_set` (boolean)
      [Output-Only] Whether integration key is set.
  - `microsoft_teams` (object)
    - `url` (string)
      [Input-Only] URL for Microsoft Teams webhook.
      Example: `https://outlook.office.com/webhook/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX`
    - `url_set` (boolean)
      [Output-Only] Whether URL is set.
    - `app_id` (string)
      [Input-Only] App ID for Microsoft Teams App.
      Example: `00000000-0000-0000-0000-000000000000`
    - `app_id_set` (boolean)
      [Output-Only] Whether App ID is set.
    - `auth_secret` (string)
      [Input-Only] Secret for Microsoft Teams App authentication.
      Example: `0p8S~exampleSecretValue12345`
    - `auth_secret_set` (boolean)
      [Output-Only] Whether secret is set.
    - `channel_url` (string)
      [Input-Only] Channel URL for Microsoft Teams App.
    - `channel_url_set` (boolean)
      [Output-Only] Whether Channel URL is set.
    - `tenant_id` (string)
      [Input-Only] Tenant ID for Microsoft Teams App.
      Example: `aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee`
    - `tenant_id_set` (boolean)
      [Output-Only] Whether Tenant ID is set.

## Example

```json
{
  "id": "fe25e731-92f2-4838-9fb2-1ca364320a3d",
  "display_name": "My slack destination",
  "destination_type": "string",
  "config": {
    "slack": {},
    "email": {},
    "generic_webhook": {},
    "pagerduty": {},
    "microsoft_teams": {}
  }
}
```


