dynatrace logo
Dynatrace v0.0.2, Nov 1 22

dynatrace.OpsGenieNotification

Create OpsGenieNotification Resource

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

name string
The unique name of the resource.
args OpsGenieNotificationArgs
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 OpsGenieNotificationArgs
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 OpsGenieNotificationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args OpsGenieNotificationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args OpsGenieNotificationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

OpsGenieNotification 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 OpsGenieNotification resource accepts the following input properties:

Active bool

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

Domain string

The region domain of the OpsGenie

Message string

The content of the message. You can use the following placeholders: * {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

Profile string

The ID of the associated alerting profile

ApiKey string

The API key to access OpsGenie

Name string

The name of the notification configuration

Active bool

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

Domain string

The region domain of the OpsGenie

Message string

The content of the message. You can use the following placeholders: * {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

Profile string

The ID of the associated alerting profile

ApiKey string

The API key to access OpsGenie

Name string

The name of the notification configuration

active Boolean

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

domain String

The region domain of the OpsGenie

message String

The content of the message. You can use the following placeholders: * {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

profile String

The ID of the associated alerting profile

apiKey String

The API key to access OpsGenie

name String

The name of the notification configuration

active boolean

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

domain string

The region domain of the OpsGenie

message string

The content of the message. You can use the following placeholders: * {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

profile string

The ID of the associated alerting profile

apiKey string

The API key to access OpsGenie

name string

The name of the notification configuration

active bool

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

domain str

The region domain of the OpsGenie

message str

The content of the message. You can use the following placeholders: * {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

profile str

The ID of the associated alerting profile

api_key str

The API key to access OpsGenie

name str

The name of the notification configuration

active Boolean

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

domain String

The region domain of the OpsGenie

message String

The content of the message. You can use the following placeholders: * {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

profile String

The ID of the associated alerting profile

apiKey String

The API key to access OpsGenie

name String

The name of the notification configuration

Outputs

All input properties are implicitly available as output properties. Additionally, the OpsGenieNotification 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 OpsGenieNotification Resource

Get an existing OpsGenieNotification 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?: OpsGenieNotificationState, opts?: CustomResourceOptions): OpsGenieNotification
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        active: Optional[bool] = None,
        api_key: Optional[str] = None,
        domain: Optional[str] = None,
        message: Optional[str] = None,
        name: Optional[str] = None,
        profile: Optional[str] = None) -> OpsGenieNotification
func GetOpsGenieNotification(ctx *Context, name string, id IDInput, state *OpsGenieNotificationState, opts ...ResourceOption) (*OpsGenieNotification, error)
public static OpsGenieNotification Get(string name, Input<string> id, OpsGenieNotificationState? state, CustomResourceOptions? opts = null)
public static OpsGenieNotification get(String name, Output<String> id, OpsGenieNotificationState 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)

ApiKey string

The API key to access OpsGenie

Domain string

The region domain of the OpsGenie

Message string

The content of the message. You can use the following placeholders: * {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

Name string

The name of the notification configuration

Profile string

The ID of the associated alerting profile

Active bool

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

ApiKey string

The API key to access OpsGenie

Domain string

The region domain of the OpsGenie

Message string

The content of the message. You can use the following placeholders: * {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

Name string

The name of the notification configuration

Profile string

The ID of the associated alerting profile

active Boolean

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

apiKey String

The API key to access OpsGenie

domain String

The region domain of the OpsGenie

message String

The content of the message. You can use the following placeholders: * {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

name String

The name of the notification configuration

profile String

The ID of the associated alerting profile

active boolean

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

apiKey string

The API key to access OpsGenie

domain string

The region domain of the OpsGenie

message string

The content of the message. You can use the following placeholders: * {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

name string

The name of the notification configuration

profile string

The ID of the associated alerting profile

active bool

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

api_key str

The API key to access OpsGenie

domain str

The region domain of the OpsGenie

message str

The content of the message. You can use the following placeholders: * {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

name str

The name of the notification configuration

profile str

The ID of the associated alerting profile

active Boolean

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

apiKey String

The API key to access OpsGenie

domain String

The region domain of the OpsGenie

message String

The content of the message. You can use the following placeholders: * {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

name String

The name of the notification configuration

profile String

The ID of the associated alerting profile

Package Details

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

This Pulumi package is based on the dynatrace Terraform Provider.