dynatrace logo
Dynatrace v0.1.0, May 24 23

dynatrace.Alerting

Explore with Pulumi AI

Create Alerting Resource

new Alerting(name: string, args?: AlertingArgs, opts?: CustomResourceOptions);
@overload
def Alerting(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             filters: Optional[AlertingFiltersArgs] = None,
             legacy_id: Optional[str] = None,
             management_zone: Optional[str] = None,
             name: Optional[str] = None,
             rules: Optional[AlertingRulesArgs] = None)
@overload
def Alerting(resource_name: str,
             args: Optional[AlertingArgs] = None,
             opts: Optional[ResourceOptions] = None)
func NewAlerting(ctx *Context, name string, args *AlertingArgs, opts ...ResourceOption) (*Alerting, error)
public Alerting(string name, AlertingArgs? args = null, CustomResourceOptions? opts = null)
public Alerting(String name, AlertingArgs args)
public Alerting(String name, AlertingArgs args, CustomResourceOptions options)
type: dynatrace:Alerting
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

Filters Lbrlabs.PulumiPackage.Dynatrace.Inputs.AlertingFiltersArgs

The list of event filters. For all filters that are negated inside of these event filters, that is all Predefined as well as Custom (Title and/or Description) ones the AND logic applies. For all non-negated ones the OR logic applies. Between these two groups, negated and non-negated, the AND logic applies. If you specify both severity rule and event filter, the AND logic applies

LegacyId string

The ID of this setting when referred to by the Config REST API V1

ManagementZone string

The ID of the management zone to which the alerting profile applies

Name string

The name of the alerting profile, displayed in the UI

Rules Lbrlabs.PulumiPackage.Dynatrace.Inputs.AlertingRulesArgs

A list of rules for management zone usage. Each rule is evaluated independently of all other rules

Filters AlertingFiltersArgs

The list of event filters. For all filters that are negated inside of these event filters, that is all Predefined as well as Custom (Title and/or Description) ones the AND logic applies. For all non-negated ones the OR logic applies. Between these two groups, negated and non-negated, the AND logic applies. If you specify both severity rule and event filter, the AND logic applies

LegacyId string

The ID of this setting when referred to by the Config REST API V1

ManagementZone string

The ID of the management zone to which the alerting profile applies

Name string

The name of the alerting profile, displayed in the UI

Rules AlertingRulesArgs

A list of rules for management zone usage. Each rule is evaluated independently of all other rules

filters AlertingFiltersArgs

The list of event filters. For all filters that are negated inside of these event filters, that is all Predefined as well as Custom (Title and/or Description) ones the AND logic applies. For all non-negated ones the OR logic applies. Between these two groups, negated and non-negated, the AND logic applies. If you specify both severity rule and event filter, the AND logic applies

legacyId String

The ID of this setting when referred to by the Config REST API V1

managementZone String

The ID of the management zone to which the alerting profile applies

name String

The name of the alerting profile, displayed in the UI

rules AlertingRulesArgs

A list of rules for management zone usage. Each rule is evaluated independently of all other rules

filters AlertingFiltersArgs

The list of event filters. For all filters that are negated inside of these event filters, that is all Predefined as well as Custom (Title and/or Description) ones the AND logic applies. For all non-negated ones the OR logic applies. Between these two groups, negated and non-negated, the AND logic applies. If you specify both severity rule and event filter, the AND logic applies

legacyId string

The ID of this setting when referred to by the Config REST API V1

managementZone string

The ID of the management zone to which the alerting profile applies

name string

The name of the alerting profile, displayed in the UI

rules AlertingRulesArgs

A list of rules for management zone usage. Each rule is evaluated independently of all other rules

filters AlertingFiltersArgs

The list of event filters. For all filters that are negated inside of these event filters, that is all Predefined as well as Custom (Title and/or Description) ones the AND logic applies. For all non-negated ones the OR logic applies. Between these two groups, negated and non-negated, the AND logic applies. If you specify both severity rule and event filter, the AND logic applies

legacy_id str

The ID of this setting when referred to by the Config REST API V1

management_zone str

The ID of the management zone to which the alerting profile applies

name str

The name of the alerting profile, displayed in the UI

rules AlertingRulesArgs

A list of rules for management zone usage. Each rule is evaluated independently of all other rules

filters Property Map

The list of event filters. For all filters that are negated inside of these event filters, that is all Predefined as well as Custom (Title and/or Description) ones the AND logic applies. For all non-negated ones the OR logic applies. Between these two groups, negated and non-negated, the AND logic applies. If you specify both severity rule and event filter, the AND logic applies

legacyId String

The ID of this setting when referred to by the Config REST API V1

managementZone String

The ID of the management zone to which the alerting profile applies

name String

The name of the alerting profile, displayed in the UI

rules Property Map

A list of rules for management zone usage. Each rule is evaluated independently of all other rules

Outputs

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

Get an existing Alerting 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?: AlertingState, opts?: CustomResourceOptions): Alerting
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        filters: Optional[AlertingFiltersArgs] = None,
        legacy_id: Optional[str] = None,
        management_zone: Optional[str] = None,
        name: Optional[str] = None,
        rules: Optional[AlertingRulesArgs] = None) -> Alerting
func GetAlerting(ctx *Context, name string, id IDInput, state *AlertingState, opts ...ResourceOption) (*Alerting, error)
public static Alerting Get(string name, Input<string> id, AlertingState? state, CustomResourceOptions? opts = null)
public static Alerting get(String name, Output<String> id, AlertingState 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:
Filters Lbrlabs.PulumiPackage.Dynatrace.Inputs.AlertingFiltersArgs

The list of event filters. For all filters that are negated inside of these event filters, that is all Predefined as well as Custom (Title and/or Description) ones the AND logic applies. For all non-negated ones the OR logic applies. Between these two groups, negated and non-negated, the AND logic applies. If you specify both severity rule and event filter, the AND logic applies

LegacyId string

The ID of this setting when referred to by the Config REST API V1

ManagementZone string

The ID of the management zone to which the alerting profile applies

Name string

The name of the alerting profile, displayed in the UI

Rules Lbrlabs.PulumiPackage.Dynatrace.Inputs.AlertingRulesArgs

A list of rules for management zone usage. Each rule is evaluated independently of all other rules

Filters AlertingFiltersArgs

The list of event filters. For all filters that are negated inside of these event filters, that is all Predefined as well as Custom (Title and/or Description) ones the AND logic applies. For all non-negated ones the OR logic applies. Between these two groups, negated and non-negated, the AND logic applies. If you specify both severity rule and event filter, the AND logic applies

LegacyId string

The ID of this setting when referred to by the Config REST API V1

ManagementZone string

The ID of the management zone to which the alerting profile applies

Name string

The name of the alerting profile, displayed in the UI

Rules AlertingRulesArgs

A list of rules for management zone usage. Each rule is evaluated independently of all other rules

filters AlertingFiltersArgs

The list of event filters. For all filters that are negated inside of these event filters, that is all Predefined as well as Custom (Title and/or Description) ones the AND logic applies. For all non-negated ones the OR logic applies. Between these two groups, negated and non-negated, the AND logic applies. If you specify both severity rule and event filter, the AND logic applies

legacyId String

The ID of this setting when referred to by the Config REST API V1

managementZone String

The ID of the management zone to which the alerting profile applies

name String

The name of the alerting profile, displayed in the UI

rules AlertingRulesArgs

A list of rules for management zone usage. Each rule is evaluated independently of all other rules

filters AlertingFiltersArgs

The list of event filters. For all filters that are negated inside of these event filters, that is all Predefined as well as Custom (Title and/or Description) ones the AND logic applies. For all non-negated ones the OR logic applies. Between these two groups, negated and non-negated, the AND logic applies. If you specify both severity rule and event filter, the AND logic applies

legacyId string

The ID of this setting when referred to by the Config REST API V1

managementZone string

The ID of the management zone to which the alerting profile applies

name string

The name of the alerting profile, displayed in the UI

rules AlertingRulesArgs

A list of rules for management zone usage. Each rule is evaluated independently of all other rules

filters AlertingFiltersArgs

The list of event filters. For all filters that are negated inside of these event filters, that is all Predefined as well as Custom (Title and/or Description) ones the AND logic applies. For all non-negated ones the OR logic applies. Between these two groups, negated and non-negated, the AND logic applies. If you specify both severity rule and event filter, the AND logic applies

legacy_id str

The ID of this setting when referred to by the Config REST API V1

management_zone str

The ID of the management zone to which the alerting profile applies

name str

The name of the alerting profile, displayed in the UI

rules AlertingRulesArgs

A list of rules for management zone usage. Each rule is evaluated independently of all other rules

filters Property Map

The list of event filters. For all filters that are negated inside of these event filters, that is all Predefined as well as Custom (Title and/or Description) ones the AND logic applies. For all non-negated ones the OR logic applies. Between these two groups, negated and non-negated, the AND logic applies. If you specify both severity rule and event filter, the AND logic applies

legacyId String

The ID of this setting when referred to by the Config REST API V1

managementZone String

The ID of the management zone to which the alerting profile applies

name String

The name of the alerting profile, displayed in the UI

rules Property Map

A list of rules for management zone usage. Each rule is evaluated independently of all other rules

Supporting Types

AlertingFilters

Filters []AlertingFiltersFilter

A conditions for the metric usage

filters List<AlertingFiltersFilter>

A conditions for the metric usage

filters AlertingFiltersFilter[]

A conditions for the metric usage

filters Sequence[AlertingFiltersFilter]

A conditions for the metric usage

filters List<Property Map>

A conditions for the metric usage

AlertingFiltersFilter

AlertingFiltersFilterCustom

AlertingFiltersFilterCustomDescription

Operator string
Value string
CaseSensitive bool
Enabled bool
Negate bool
Operator string
Value string
CaseSensitive bool
Enabled bool
Negate bool
operator String
value String
caseSensitive Boolean
enabled Boolean
negate Boolean
operator string
value string
caseSensitive boolean
enabled boolean
negate boolean
operator String
value String
caseSensitive Boolean
enabled Boolean
negate Boolean

AlertingFiltersFilterCustomMetadata

AlertingFiltersFilterCustomMetadataItems

AlertingFiltersFilterCustomMetadataItemsFilter

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

AlertingFiltersFilterCustomTitle

Operator string
Value string
CaseSensitive bool
Enabled bool
Negate bool
Operator string
Value string
CaseSensitive bool
Enabled bool
Negate bool
operator String
value String
caseSensitive Boolean
enabled Boolean
negate Boolean
operator string
value string
caseSensitive boolean
enabled boolean
negate boolean
operator String
value String
caseSensitive Boolean
enabled Boolean
negate Boolean

AlertingFiltersFilterPredefined

Type string
Negate bool
Type string
Negate bool
type String
negate Boolean
type string
negate boolean
type str
negate bool
type String
negate Boolean

AlertingRules

Rules []AlertingRulesRule

A conditions for the metric usage

rules List<AlertingRulesRule>

A conditions for the metric usage

rules AlertingRulesRule[]

A conditions for the metric usage

rules Sequence[AlertingRulesRule]

A conditions for the metric usage

rules List<Property Map>

A conditions for the metric usage

AlertingRulesRule

DelayInMinutes int
IncludeMode string
SeverityLevel string
Tags List<string>
delayInMinutes Integer
includeMode String
severityLevel String
tags List<String>
delayInMinutes number
includeMode string
severityLevel string
tags string[]
delayInMinutes Number
includeMode String
severityLevel String
tags List<String>

Package Details

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

This Pulumi package is based on the dynatrace Terraform Provider.