dynatrace logo
Dynatrace v0.0.2, Nov 1 22

dynatrace.SlackNotification

Create SlackNotification Resource

new SlackNotification(name: string, args: SlackNotificationArgs, opts?: CustomResourceOptions);
@overload
def SlackNotification(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      active: Optional[bool] = None,
                      channel: Optional[str] = None,
                      message: Optional[str] = None,
                      name: Optional[str] = None,
                      profile: Optional[str] = None,
                      url: Optional[str] = None)
@overload
def SlackNotification(resource_name: str,
                      args: SlackNotificationArgs,
                      opts: Optional[ResourceOptions] = None)
func NewSlackNotification(ctx *Context, name string, args SlackNotificationArgs, opts ...ResourceOption) (*SlackNotification, error)
public SlackNotification(string name, SlackNotificationArgs args, CustomResourceOptions? opts = null)
public SlackNotification(String name, SlackNotificationArgs args)
public SlackNotification(String name, SlackNotificationArgs args, CustomResourceOptions options)
type: dynatrace:SlackNotification
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args SlackNotificationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args SlackNotificationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args SlackNotificationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SlackNotificationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args SlackNotificationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

SlackNotification Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The SlackNotification resource accepts the following input properties:

Active bool

The configuration is enabled (true) or disabled (false)

Channel string

The channel (for example, #general) or the user (for example, @john.smith) to send the message to

Message string

The content of the message. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {PID}: The ID of the reported problem. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level of the problem. Possible values are AVAILABILITY, ERROR, PERFORMANCE, RESOURCE_CONTENTION, and CUSTOM_ALERT. * {ProblemTitle}: A short description of the problem. * {ProblemURL}: The URL of the problem within Dynatrace. * {State}: The state of the problem. Possible values are OPEN and RESOLVED. * {Tags}: The list of tags that are defined for all impacted entities, separated by commas

Profile string

The ID of the associated alerting profile

Url string

The URL of the Slack WebHook. This is confidential information, therefore GET requests return this field with the null value, and it is optional for PUT requests

Name string

The name of the notification configuration

Active bool

The configuration is enabled (true) or disabled (false)

Channel string

The channel (for example, #general) or the user (for example, @john.smith) to send the message to

Message string

The content of the message. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {PID}: The ID of the reported problem. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level of the problem. Possible values are AVAILABILITY, ERROR, PERFORMANCE, RESOURCE_CONTENTION, and CUSTOM_ALERT. * {ProblemTitle}: A short description of the problem. * {ProblemURL}: The URL of the problem within Dynatrace. * {State}: The state of the problem. Possible values are OPEN and RESOLVED. * {Tags}: The list of tags that are defined for all impacted entities, separated by commas

Profile string

The ID of the associated alerting profile

Url string

The URL of the Slack WebHook. This is confidential information, therefore GET requests return this field with the null value, and it is optional for PUT requests

Name string

The name of the notification configuration

active Boolean

The configuration is enabled (true) or disabled (false)

channel String

The channel (for example, #general) or the user (for example, @john.smith) to send the message to

message String

The content of the message. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {PID}: The ID of the reported problem. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level of the problem. Possible values are AVAILABILITY, ERROR, PERFORMANCE, RESOURCE_CONTENTION, and CUSTOM_ALERT. * {ProblemTitle}: A short description of the problem. * {ProblemURL}: The URL of the problem within Dynatrace. * {State}: The state of the problem. Possible values are OPEN and RESOLVED. * {Tags}: The list of tags that are defined for all impacted entities, separated by commas

profile String

The ID of the associated alerting profile

url String

The URL of the Slack WebHook. This is confidential information, therefore GET requests return this field with the null value, and it is optional for PUT requests

name String

The name of the notification configuration

active boolean

The configuration is enabled (true) or disabled (false)

channel string

The channel (for example, #general) or the user (for example, @john.smith) to send the message to

message string

The content of the message. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {PID}: The ID of the reported problem. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level of the problem. Possible values are AVAILABILITY, ERROR, PERFORMANCE, RESOURCE_CONTENTION, and CUSTOM_ALERT. * {ProblemTitle}: A short description of the problem. * {ProblemURL}: The URL of the problem within Dynatrace. * {State}: The state of the problem. Possible values are OPEN and RESOLVED. * {Tags}: The list of tags that are defined for all impacted entities, separated by commas

profile string

The ID of the associated alerting profile

url string

The URL of the Slack WebHook. This is confidential information, therefore GET requests return this field with the null value, and it is optional for PUT requests

name string

The name of the notification configuration

active bool

The configuration is enabled (true) or disabled (false)

channel str

The channel (for example, #general) or the user (for example, @john.smith) to send the message to

message str

The content of the message. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {PID}: The ID of the reported problem. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level of the problem. Possible values are AVAILABILITY, ERROR, PERFORMANCE, RESOURCE_CONTENTION, and CUSTOM_ALERT. * {ProblemTitle}: A short description of the problem. * {ProblemURL}: The URL of the problem within Dynatrace. * {State}: The state of the problem. Possible values are OPEN and RESOLVED. * {Tags}: The list of tags that are defined for all impacted entities, separated by commas

profile str

The ID of the associated alerting profile

url str

The URL of the Slack WebHook. This is confidential information, therefore GET requests return this field with the null value, and it is optional for PUT requests

name str

The name of the notification configuration

active Boolean

The configuration is enabled (true) or disabled (false)

channel String

The channel (for example, #general) or the user (for example, @john.smith) to send the message to

message String

The content of the message. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {PID}: The ID of the reported problem. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level of the problem. Possible values are AVAILABILITY, ERROR, PERFORMANCE, RESOURCE_CONTENTION, and CUSTOM_ALERT. * {ProblemTitle}: A short description of the problem. * {ProblemURL}: The URL of the problem within Dynatrace. * {State}: The state of the problem. Possible values are OPEN and RESOLVED. * {Tags}: The list of tags that are defined for all impacted entities, separated by commas

profile String

The ID of the associated alerting profile

url String

The URL of the Slack WebHook. This is confidential information, therefore GET requests return this field with the null value, and it is optional for PUT requests

name String

The name of the notification configuration

Outputs

All input properties are implicitly available as output properties. Additionally, the SlackNotification resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing SlackNotification Resource

Get an existing SlackNotification resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: SlackNotificationState, opts?: CustomResourceOptions): SlackNotification
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        active: Optional[bool] = None,
        channel: Optional[str] = None,
        message: Optional[str] = None,
        name: Optional[str] = None,
        profile: Optional[str] = None,
        url: Optional[str] = None) -> SlackNotification
func GetSlackNotification(ctx *Context, name string, id IDInput, state *SlackNotificationState, opts ...ResourceOption) (*SlackNotification, error)
public static SlackNotification Get(string name, Input<string> id, SlackNotificationState? state, CustomResourceOptions? opts = null)
public static SlackNotification get(String name, Output<String> id, SlackNotificationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Active bool

The configuration is enabled (true) or disabled (false)

Channel string

The channel (for example, #general) or the user (for example, @john.smith) to send the message to

Message string

The content of the message. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {PID}: The ID of the reported problem. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level of the problem. Possible values are AVAILABILITY, ERROR, PERFORMANCE, RESOURCE_CONTENTION, and CUSTOM_ALERT. * {ProblemTitle}: A short description of the problem. * {ProblemURL}: The URL of the problem within Dynatrace. * {State}: The state of the problem. Possible values are OPEN and RESOLVED. * {Tags}: The list of tags that are defined for all impacted entities, separated by commas

Name string

The name of the notification configuration

Profile string

The ID of the associated alerting profile

Url string

The URL of the Slack WebHook. This is confidential information, therefore GET requests return this field with the null value, and it is optional for PUT requests

Active bool

The configuration is enabled (true) or disabled (false)

Channel string

The channel (for example, #general) or the user (for example, @john.smith) to send the message to

Message string

The content of the message. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {PID}: The ID of the reported problem. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level of the problem. Possible values are AVAILABILITY, ERROR, PERFORMANCE, RESOURCE_CONTENTION, and CUSTOM_ALERT. * {ProblemTitle}: A short description of the problem. * {ProblemURL}: The URL of the problem within Dynatrace. * {State}: The state of the problem. Possible values are OPEN and RESOLVED. * {Tags}: The list of tags that are defined for all impacted entities, separated by commas

Name string

The name of the notification configuration

Profile string

The ID of the associated alerting profile

Url string

The URL of the Slack WebHook. This is confidential information, therefore GET requests return this field with the null value, and it is optional for PUT requests

active Boolean

The configuration is enabled (true) or disabled (false)

channel String

The channel (for example, #general) or the user (for example, @john.smith) to send the message to

message String

The content of the message. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {PID}: The ID of the reported problem. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level of the problem. Possible values are AVAILABILITY, ERROR, PERFORMANCE, RESOURCE_CONTENTION, and CUSTOM_ALERT. * {ProblemTitle}: A short description of the problem. * {ProblemURL}: The URL of the problem within Dynatrace. * {State}: The state of the problem. Possible values are OPEN and RESOLVED. * {Tags}: The list of tags that are defined for all impacted entities, separated by commas

name String

The name of the notification configuration

profile String

The ID of the associated alerting profile

url String

The URL of the Slack WebHook. This is confidential information, therefore GET requests return this field with the null value, and it is optional for PUT requests

active boolean

The configuration is enabled (true) or disabled (false)

channel string

The channel (for example, #general) or the user (for example, @john.smith) to send the message to

message string

The content of the message. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {PID}: The ID of the reported problem. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level of the problem. Possible values are AVAILABILITY, ERROR, PERFORMANCE, RESOURCE_CONTENTION, and CUSTOM_ALERT. * {ProblemTitle}: A short description of the problem. * {ProblemURL}: The URL of the problem within Dynatrace. * {State}: The state of the problem. Possible values are OPEN and RESOLVED. * {Tags}: The list of tags that are defined for all impacted entities, separated by commas

name string

The name of the notification configuration

profile string

The ID of the associated alerting profile

url string

The URL of the Slack WebHook. This is confidential information, therefore GET requests return this field with the null value, and it is optional for PUT requests

active bool

The configuration is enabled (true) or disabled (false)

channel str

The channel (for example, #general) or the user (for example, @john.smith) to send the message to

message str

The content of the message. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {PID}: The ID of the reported problem. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level of the problem. Possible values are AVAILABILITY, ERROR, PERFORMANCE, RESOURCE_CONTENTION, and CUSTOM_ALERT. * {ProblemTitle}: A short description of the problem. * {ProblemURL}: The URL of the problem within Dynatrace. * {State}: The state of the problem. Possible values are OPEN and RESOLVED. * {Tags}: The list of tags that are defined for all impacted entities, separated by commas

name str

The name of the notification configuration

profile str

The ID of the associated alerting profile

url str

The URL of the Slack WebHook. This is confidential information, therefore GET requests return this field with the null value, and it is optional for PUT requests

active Boolean

The configuration is enabled (true) or disabled (false)

channel String

The channel (for example, #general) or the user (for example, @john.smith) to send the message to

message String

The content of the message. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {PID}: The ID of the reported problem. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level of the problem. Possible values are AVAILABILITY, ERROR, PERFORMANCE, RESOURCE_CONTENTION, and CUSTOM_ALERT. * {ProblemTitle}: A short description of the problem. * {ProblemURL}: The URL of the problem within Dynatrace. * {State}: The state of the problem. Possible values are OPEN and RESOLVED. * {Tags}: The list of tags that are defined for all impacted entities, separated by commas

name String

The name of the notification configuration

profile String

The ID of the associated alerting profile

url String

The URL of the Slack WebHook. This is confidential information, therefore GET requests return this field with the null value, and it is optional for PUT requests

Package Details

Repository
dynatrace lbrlabs/pulumi-dynatrace
License
Apache-2.0
Notes

This Pulumi package is based on the dynatrace Terraform Provider.