New Relic v5.33.0 published on Thursday, Sep 26, 2024 by Pulumi
newrelic.getNotificationDestination
Explore with Pulumi AI
Using getNotificationDestination
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 getNotificationDestination(args: GetNotificationDestinationArgs, opts?: InvokeOptions): Promise<GetNotificationDestinationResult>
function getNotificationDestinationOutput(args: GetNotificationDestinationOutputArgs, opts?: InvokeOptions): Output<GetNotificationDestinationResult>
def get_notification_destination(account_id: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
secure_urls: Optional[Sequence[GetNotificationDestinationSecureUrl]] = None,
opts: Optional[InvokeOptions] = None) -> GetNotificationDestinationResult
def get_notification_destination_output(account_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
secure_urls: Optional[pulumi.Input[Sequence[pulumi.Input[GetNotificationDestinationSecureUrlArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNotificationDestinationResult]
func LookupNotificationDestination(ctx *Context, args *LookupNotificationDestinationArgs, opts ...InvokeOption) (*LookupNotificationDestinationResult, error)
func LookupNotificationDestinationOutput(ctx *Context, args *LookupNotificationDestinationOutputArgs, opts ...InvokeOption) LookupNotificationDestinationResultOutput
> Note: This function is named LookupNotificationDestination
in the Go SDK.
public static class GetNotificationDestination
{
public static Task<GetNotificationDestinationResult> InvokeAsync(GetNotificationDestinationArgs args, InvokeOptions? opts = null)
public static Output<GetNotificationDestinationResult> Invoke(GetNotificationDestinationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNotificationDestinationResult> getNotificationDestination(GetNotificationDestinationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: newrelic:index/getNotificationDestination:getNotificationDestination
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Id string - The New Relic account ID to operate on. This allows you to override the
account_id
attribute set on the provider. Defaults to the environment variableNEW_RELIC_ACCOUNT_ID
. - Id string
- The id of the notification destination in New Relic.
- Name string
The name of the notification destination.
Optional:
- Secure
Urls List<Pulumi.New Relic. Inputs. Get Notification Destination Secure Url> - The URL in secure format, showing only the
prefix
, as thesecure_suffix
is a secret.
- Account
Id string - The New Relic account ID to operate on. This allows you to override the
account_id
attribute set on the provider. Defaults to the environment variableNEW_RELIC_ACCOUNT_ID
. - Id string
- The id of the notification destination in New Relic.
- Name string
The name of the notification destination.
Optional:
- Secure
Urls []GetNotification Destination Secure Url - The URL in secure format, showing only the
prefix
, as thesecure_suffix
is a secret.
- account
Id String - The New Relic account ID to operate on. This allows you to override the
account_id
attribute set on the provider. Defaults to the environment variableNEW_RELIC_ACCOUNT_ID
. - id String
- The id of the notification destination in New Relic.
- name String
The name of the notification destination.
Optional:
- secure
Urls List<GetNotification Destination Secure Url> - The URL in secure format, showing only the
prefix
, as thesecure_suffix
is a secret.
- account
Id string - The New Relic account ID to operate on. This allows you to override the
account_id
attribute set on the provider. Defaults to the environment variableNEW_RELIC_ACCOUNT_ID
. - id string
- The id of the notification destination in New Relic.
- name string
The name of the notification destination.
Optional:
- secure
Urls GetNotification Destination Secure Url[] - The URL in secure format, showing only the
prefix
, as thesecure_suffix
is a secret.
- account_
id str - The New Relic account ID to operate on. This allows you to override the
account_id
attribute set on the provider. Defaults to the environment variableNEW_RELIC_ACCOUNT_ID
. - id str
- The id of the notification destination in New Relic.
- name str
The name of the notification destination.
Optional:
- secure_
urls Sequence[GetNotification Destination Secure Url] - The URL in secure format, showing only the
prefix
, as thesecure_suffix
is a secret.
- account
Id String - The New Relic account ID to operate on. This allows you to override the
account_id
attribute set on the provider. Defaults to the environment variableNEW_RELIC_ACCOUNT_ID
. - id String
- The id of the notification destination in New Relic.
- name String
The name of the notification destination.
Optional:
- secure
Urls List<Property Map> - The URL in secure format, showing only the
prefix
, as thesecure_suffix
is a secret.
getNotificationDestination Result
The following output properties are available:
- Account
Id string - Active bool
- An indication whether the notification destination is active or not.
- Guid string
- The unique entity identifier of the destination in New Relic.
- Properties
List<Pulumi.
New Relic. Outputs. Get Notification Destination Property> - A nested block that describes a notification destination property.
- Secure
Urls List<Pulumi.New Relic. Outputs. Get Notification Destination Secure Url> - The URL in secure format, showing only the
prefix
, as thesecure_suffix
is a secret. - Status string
- The status of the notification destination.
- Type string
- The notification destination type, either:
EMAIL
,SERVICE_NOW
,SERVICE_NOW_APP
,WEBHOOK
,JIRA
,MOBILE_PUSH
,EVENT_BRIDGE
,PAGERDUTY_ACCOUNT_INTEGRATION
orPAGERDUTY_SERVICE_INTEGRATION
,SLACK
andSLACK_COLLABORATION
. - Id string
- Name string
- The name of the notification destination.
- Account
Id string - Active bool
- An indication whether the notification destination is active or not.
- Guid string
- The unique entity identifier of the destination in New Relic.
- Properties
[]Get
Notification Destination Property - A nested block that describes a notification destination property.
- Secure
Urls []GetNotification Destination Secure Url - The URL in secure format, showing only the
prefix
, as thesecure_suffix
is a secret. - Status string
- The status of the notification destination.
- Type string
- The notification destination type, either:
EMAIL
,SERVICE_NOW
,SERVICE_NOW_APP
,WEBHOOK
,JIRA
,MOBILE_PUSH
,EVENT_BRIDGE
,PAGERDUTY_ACCOUNT_INTEGRATION
orPAGERDUTY_SERVICE_INTEGRATION
,SLACK
andSLACK_COLLABORATION
. - Id string
- Name string
- The name of the notification destination.
- account
Id String - active Boolean
- An indication whether the notification destination is active or not.
- guid String
- The unique entity identifier of the destination in New Relic.
- properties
List<Get
Notification Destination Property> - A nested block that describes a notification destination property.
- secure
Urls List<GetNotification Destination Secure Url> - The URL in secure format, showing only the
prefix
, as thesecure_suffix
is a secret. - status String
- The status of the notification destination.
- type String
- The notification destination type, either:
EMAIL
,SERVICE_NOW
,SERVICE_NOW_APP
,WEBHOOK
,JIRA
,MOBILE_PUSH
,EVENT_BRIDGE
,PAGERDUTY_ACCOUNT_INTEGRATION
orPAGERDUTY_SERVICE_INTEGRATION
,SLACK
andSLACK_COLLABORATION
. - id String
- name String
- The name of the notification destination.
- account
Id string - active boolean
- An indication whether the notification destination is active or not.
- guid string
- The unique entity identifier of the destination in New Relic.
- properties
Get
Notification Destination Property[] - A nested block that describes a notification destination property.
- secure
Urls GetNotification Destination Secure Url[] - The URL in secure format, showing only the
prefix
, as thesecure_suffix
is a secret. - status string
- The status of the notification destination.
- type string
- The notification destination type, either:
EMAIL
,SERVICE_NOW
,SERVICE_NOW_APP
,WEBHOOK
,JIRA
,MOBILE_PUSH
,EVENT_BRIDGE
,PAGERDUTY_ACCOUNT_INTEGRATION
orPAGERDUTY_SERVICE_INTEGRATION
,SLACK
andSLACK_COLLABORATION
. - id string
- name string
- The name of the notification destination.
- account_
id str - active bool
- An indication whether the notification destination is active or not.
- guid str
- The unique entity identifier of the destination in New Relic.
- properties
Sequence[Get
Notification Destination Property] - A nested block that describes a notification destination property.
- secure_
urls Sequence[GetNotification Destination Secure Url] - The URL in secure format, showing only the
prefix
, as thesecure_suffix
is a secret. - status str
- The status of the notification destination.
- type str
- The notification destination type, either:
EMAIL
,SERVICE_NOW
,SERVICE_NOW_APP
,WEBHOOK
,JIRA
,MOBILE_PUSH
,EVENT_BRIDGE
,PAGERDUTY_ACCOUNT_INTEGRATION
orPAGERDUTY_SERVICE_INTEGRATION
,SLACK
andSLACK_COLLABORATION
. - id str
- name str
- The name of the notification destination.
- account
Id String - active Boolean
- An indication whether the notification destination is active or not.
- guid String
- The unique entity identifier of the destination in New Relic.
- properties List<Property Map>
- A nested block that describes a notification destination property.
- secure
Urls List<Property Map> - The URL in secure format, showing only the
prefix
, as thesecure_suffix
is a secret. - status String
- The status of the notification destination.
- type String
- The notification destination type, either:
EMAIL
,SERVICE_NOW
,SERVICE_NOW_APP
,WEBHOOK
,JIRA
,MOBILE_PUSH
,EVENT_BRIDGE
,PAGERDUTY_ACCOUNT_INTEGRATION
orPAGERDUTY_SERVICE_INTEGRATION
,SLACK
andSLACK_COLLABORATION
. - id String
- name String
- The name of the notification destination.
Supporting Types
GetNotificationDestinationProperty
- Key string
- Notification property key.
- Value string
- Notification property value.
- Display
Value string - Notification property display key.
- Label string
- Notification property label.
- Key string
- Notification property key.
- Value string
- Notification property value.
- Display
Value string - Notification property display key.
- Label string
- Notification property label.
- key String
- Notification property key.
- value String
- Notification property value.
- display
Value String - Notification property display key.
- label String
- Notification property label.
- key string
- Notification property key.
- value string
- Notification property value.
- display
Value string - Notification property display key.
- label string
- Notification property label.
- key str
- Notification property key.
- value str
- Notification property value.
- display_
value str - Notification property display key.
- label str
- Notification property label.
- key String
- Notification property key.
- value String
- Notification property value.
- display
Value String - Notification property display key.
- label String
- Notification property label.
GetNotificationDestinationSecureUrl
- Prefix string
- Prefix string
- prefix String
- prefix string
- prefix str
- prefix String
Package Details
- Repository
- New Relic pulumi/pulumi-newrelic
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
newrelic
Terraform Provider.