MongoDB Atlas v3.20.4 published on Wednesday, Oct 30, 2024 by Pulumi
mongodbatlas.getAlertConfigurations
Explore with Pulumi AI
# Data Source: mongodbatlas.getAlertConfigurations
mongodbatlas.getAlertConfigurations
describes all Alert Configurations by the provided project_id. The data source requires your Project ID.
NOTE: Groups and projects are synonymous terms. You may find group_id in the official documentation.
Using getAlertConfigurations
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 getAlertConfigurations(args: GetAlertConfigurationsArgs, opts?: InvokeOptions): Promise<GetAlertConfigurationsResult>
function getAlertConfigurationsOutput(args: GetAlertConfigurationsOutputArgs, opts?: InvokeOptions): Output<GetAlertConfigurationsResult>
def get_alert_configurations(list_options: Optional[Sequence[GetAlertConfigurationsListOption]] = None,
output_types: Optional[Sequence[str]] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAlertConfigurationsResult
def get_alert_configurations_output(list_options: Optional[pulumi.Input[Sequence[pulumi.Input[GetAlertConfigurationsListOptionArgs]]]] = None,
output_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAlertConfigurationsResult]
func LookupAlertConfigurations(ctx *Context, args *LookupAlertConfigurationsArgs, opts ...InvokeOption) (*LookupAlertConfigurationsResult, error)
func LookupAlertConfigurationsOutput(ctx *Context, args *LookupAlertConfigurationsOutputArgs, opts ...InvokeOption) LookupAlertConfigurationsResultOutput
> Note: This function is named LookupAlertConfigurations
in the Go SDK.
public static class GetAlertConfigurations
{
public static Task<GetAlertConfigurationsResult> InvokeAsync(GetAlertConfigurationsArgs args, InvokeOptions? opts = null)
public static Output<GetAlertConfigurationsResult> Invoke(GetAlertConfigurationsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAlertConfigurationsResult> getAlertConfigurations(GetAlertConfigurationsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: mongodbatlas:index/getAlertConfigurations:getAlertConfigurations
arguments:
# arguments dictionary
The following arguments are supported:
- Project
Id string - The unique ID for the project to get the alert configurations.
- List
Options List<GetAlert Configurations List Option> - Arguments that dictate how many and which results are returned by the data source
list_options.page_num
- Which page of results to retrieve (default to first page)list_options.items_per_page
- How many alerts to retrieve per page (default 100)list_options.include_count
- Whether to include total count of results in the response (default false)
- Output
Types List<string> - List of requested string formatted output to be included on each individual result. Options are
resource_hcl
andresource_import
. Available to make it easy to gather resource statements for existing alert configurations, and corresponding import statements to import said resource state into the statefile.
- Project
Id string - The unique ID for the project to get the alert configurations.
- List
Options []GetAlert Configurations List Option - Arguments that dictate how many and which results are returned by the data source
list_options.page_num
- Which page of results to retrieve (default to first page)list_options.items_per_page
- How many alerts to retrieve per page (default 100)list_options.include_count
- Whether to include total count of results in the response (default false)
- Output
Types []string - List of requested string formatted output to be included on each individual result. Options are
resource_hcl
andresource_import
. Available to make it easy to gather resource statements for existing alert configurations, and corresponding import statements to import said resource state into the statefile.
- project
Id String - The unique ID for the project to get the alert configurations.
- list
Options List<GetAlert Configurations List Option> - Arguments that dictate how many and which results are returned by the data source
list_options.page_num
- Which page of results to retrieve (default to first page)list_options.items_per_page
- How many alerts to retrieve per page (default 100)list_options.include_count
- Whether to include total count of results in the response (default false)
- output
Types List<String> - List of requested string formatted output to be included on each individual result. Options are
resource_hcl
andresource_import
. Available to make it easy to gather resource statements for existing alert configurations, and corresponding import statements to import said resource state into the statefile.
- project
Id string - The unique ID for the project to get the alert configurations.
- list
Options GetAlert Configurations List Option[] - Arguments that dictate how many and which results are returned by the data source
list_options.page_num
- Which page of results to retrieve (default to first page)list_options.items_per_page
- How many alerts to retrieve per page (default 100)list_options.include_count
- Whether to include total count of results in the response (default false)
- output
Types string[] - List of requested string formatted output to be included on each individual result. Options are
resource_hcl
andresource_import
. Available to make it easy to gather resource statements for existing alert configurations, and corresponding import statements to import said resource state into the statefile.
- project_
id str - The unique ID for the project to get the alert configurations.
- list_
options Sequence[GetAlert Configurations List Option] - Arguments that dictate how many and which results are returned by the data source
list_options.page_num
- Which page of results to retrieve (default to first page)list_options.items_per_page
- How many alerts to retrieve per page (default 100)list_options.include_count
- Whether to include total count of results in the response (default false)
- output_
types Sequence[str] - List of requested string formatted output to be included on each individual result. Options are
resource_hcl
andresource_import
. Available to make it easy to gather resource statements for existing alert configurations, and corresponding import statements to import said resource state into the statefile.
- project
Id String - The unique ID for the project to get the alert configurations.
- list
Options List<Property Map> - Arguments that dictate how many and which results are returned by the data source
list_options.page_num
- Which page of results to retrieve (default to first page)list_options.items_per_page
- How many alerts to retrieve per page (default 100)list_options.include_count
- Whether to include total count of results in the response (default false)
- output
Types List<String> - List of requested string formatted output to be included on each individual result. Options are
resource_hcl
andresource_import
. Available to make it easy to gather resource statements for existing alert configurations, and corresponding import statements to import said resource state into the statefile.
getAlertConfigurations Result
The following output properties are available:
- Id string
- Project
Id string - The ID of the project where the alert configuration exists
- Results
List<Get
Alert Configurations Result> - A list of alert configurations for the project_id, constrained by the
list_options
. - Total
Count int - Total count of results
- List
Options List<GetAlert Configurations List Option> - Output
Types List<string>
- Id string
- Project
Id string - The ID of the project where the alert configuration exists
- Results
[]Get
Alert Configurations Result - A list of alert configurations for the project_id, constrained by the
list_options
. - Total
Count int - Total count of results
- List
Options []GetAlert Configurations List Option - Output
Types []string
- id String
- project
Id String - The ID of the project where the alert configuration exists
- results
List<Get
Alert Configurations Result> - A list of alert configurations for the project_id, constrained by the
list_options
. - total
Count Integer - Total count of results
- list
Options List<GetAlert Configurations List Option> - output
Types List<String>
- id string
- project
Id string - The ID of the project where the alert configuration exists
- results
Get
Alert Configurations Result[] - A list of alert configurations for the project_id, constrained by the
list_options
. - total
Count number - Total count of results
- list
Options GetAlert Configurations List Option[] - output
Types string[]
- id str
- project_
id str - The ID of the project where the alert configuration exists
- results
Sequence[Get
Alert Configurations Result] - A list of alert configurations for the project_id, constrained by the
list_options
. - total_
count int - Total count of results
- list_
options Sequence[GetAlert Configurations List Option] - output_
types Sequence[str]
- id String
- project
Id String - The ID of the project where the alert configuration exists
- results List<Property Map>
- A list of alert configurations for the project_id, constrained by the
list_options
. - total
Count Number - Total count of results
- list
Options List<Property Map> - output
Types List<String>
Supporting Types
GetAlertConfigurationsListOption
- Include
Count bool - Items
Per intPage - Page
Num int
- Include
Count bool - Items
Per intPage - Page
Num int
- include
Count Boolean - items
Per IntegerPage - page
Num Integer
- include
Count boolean - items
Per numberPage - page
Num number
- include_
count bool - items_
per_ intpage - page_
num int
- include
Count Boolean - items
Per NumberPage - page
Num Number
GetAlertConfigurationsResult
- Alert
Configuration stringId - The ID of the alert configuration
- Created string
- Timestamp in ISO 8601 date and time format in UTC when this alert configuration was created.
- Enabled bool
- If set to true, the alert configuration is enabled. If enabled is not exported it is set to false.
- Event
Type string - The type of event that will trigger an alert.
- Id string
- Matchers
List<Get
Alert Configurations Result Matcher> - Rules to apply when matching an object against this alert configuration. See matchers.
- Metric
Threshold List<GetConfigs Alert Configurations Result Metric Threshold Config> - The threshold that causes an alert to be triggered. Required if
event_type_name
:OUTSIDE_METRIC_THRESHOLD
orOUTSIDE_SERVERLESS_METRIC_THRESHOLD
. See metric threshold config. - Notifications
List<Get
Alert Configurations Result Notification> - Outputs
List<Get
Alert Configurations Result Output> - Requested output string format for the alert configuration
- Project
Id string - The unique ID for the project to get the alert configurations.
- Threshold
Configs List<GetAlert Configurations Result Threshold Config> - Threshold that triggers an alert. Required if
event_type_name
is any value other thanOUTSIDE_METRIC_THRESHOLD
orOUTSIDE_SERVERLESS_METRIC_THRESHOLD
. See threshold config. - Updated string
- Timestamp in ISO 8601 date and time format in UTC when this alert configuration was last updated.
- Alert
Configuration stringId - The ID of the alert configuration
- Created string
- Timestamp in ISO 8601 date and time format in UTC when this alert configuration was created.
- Enabled bool
- If set to true, the alert configuration is enabled. If enabled is not exported it is set to false.
- Event
Type string - The type of event that will trigger an alert.
- Id string
- Matchers
[]Get
Alert Configurations Result Matcher - Rules to apply when matching an object against this alert configuration. See matchers.
- Metric
Threshold []GetConfigs Alert Configurations Result Metric Threshold Config - The threshold that causes an alert to be triggered. Required if
event_type_name
:OUTSIDE_METRIC_THRESHOLD
orOUTSIDE_SERVERLESS_METRIC_THRESHOLD
. See metric threshold config. - Notifications
[]Get
Alert Configurations Result Notification - Outputs
[]Get
Alert Configurations Result Output Type - Requested output string format for the alert configuration
- Project
Id string - The unique ID for the project to get the alert configurations.
- Threshold
Configs []GetAlert Configurations Result Threshold Config - Threshold that triggers an alert. Required if
event_type_name
is any value other thanOUTSIDE_METRIC_THRESHOLD
orOUTSIDE_SERVERLESS_METRIC_THRESHOLD
. See threshold config. - Updated string
- Timestamp in ISO 8601 date and time format in UTC when this alert configuration was last updated.
- alert
Configuration StringId - The ID of the alert configuration
- created String
- Timestamp in ISO 8601 date and time format in UTC when this alert configuration was created.
- enabled Boolean
- If set to true, the alert configuration is enabled. If enabled is not exported it is set to false.
- event
Type String - The type of event that will trigger an alert.
- id String
- matchers
List<Get
Alert Configurations Result Matcher> - Rules to apply when matching an object against this alert configuration. See matchers.
- metric
Threshold List<GetConfigs Alert Configurations Result Metric Threshold Config> - The threshold that causes an alert to be triggered. Required if
event_type_name
:OUTSIDE_METRIC_THRESHOLD
orOUTSIDE_SERVERLESS_METRIC_THRESHOLD
. See metric threshold config. - notifications
List<Get
Alert Configurations Result Notification> - outputs
List<Get
Alert Configurations Result Output> - Requested output string format for the alert configuration
- project
Id String - The unique ID for the project to get the alert configurations.
- threshold
Configs List<GetAlert Configurations Result Threshold Config> - Threshold that triggers an alert. Required if
event_type_name
is any value other thanOUTSIDE_METRIC_THRESHOLD
orOUTSIDE_SERVERLESS_METRIC_THRESHOLD
. See threshold config. - updated String
- Timestamp in ISO 8601 date and time format in UTC when this alert configuration was last updated.
- alert
Configuration stringId - The ID of the alert configuration
- created string
- Timestamp in ISO 8601 date and time format in UTC when this alert configuration was created.
- enabled boolean
- If set to true, the alert configuration is enabled. If enabled is not exported it is set to false.
- event
Type string - The type of event that will trigger an alert.
- id string
- matchers
Get
Alert Configurations Result Matcher[] - Rules to apply when matching an object against this alert configuration. See matchers.
- metric
Threshold GetConfigs Alert Configurations Result Metric Threshold Config[] - The threshold that causes an alert to be triggered. Required if
event_type_name
:OUTSIDE_METRIC_THRESHOLD
orOUTSIDE_SERVERLESS_METRIC_THRESHOLD
. See metric threshold config. - notifications
Get
Alert Configurations Result Notification[] - outputs
Get
Alert Configurations Result Output[] - Requested output string format for the alert configuration
- project
Id string - The unique ID for the project to get the alert configurations.
- threshold
Configs GetAlert Configurations Result Threshold Config[] - Threshold that triggers an alert. Required if
event_type_name
is any value other thanOUTSIDE_METRIC_THRESHOLD
orOUTSIDE_SERVERLESS_METRIC_THRESHOLD
. See threshold config. - updated string
- Timestamp in ISO 8601 date and time format in UTC when this alert configuration was last updated.
- alert_
configuration_ strid - The ID of the alert configuration
- created str
- Timestamp in ISO 8601 date and time format in UTC when this alert configuration was created.
- enabled bool
- If set to true, the alert configuration is enabled. If enabled is not exported it is set to false.
- event_
type str - The type of event that will trigger an alert.
- id str
- matchers
Sequence[Get
Alert Configurations Result Matcher] - Rules to apply when matching an object against this alert configuration. See matchers.
- metric_
threshold_ Sequence[Getconfigs Alert Configurations Result Metric Threshold Config] - The threshold that causes an alert to be triggered. Required if
event_type_name
:OUTSIDE_METRIC_THRESHOLD
orOUTSIDE_SERVERLESS_METRIC_THRESHOLD
. See metric threshold config. - notifications
Sequence[Get
Alert Configurations Result Notification] - outputs
Sequence[Get
Alert Configurations Result Output] - Requested output string format for the alert configuration
- project_
id str - The unique ID for the project to get the alert configurations.
- threshold_
configs Sequence[GetAlert Configurations Result Threshold Config] - Threshold that triggers an alert. Required if
event_type_name
is any value other thanOUTSIDE_METRIC_THRESHOLD
orOUTSIDE_SERVERLESS_METRIC_THRESHOLD
. See threshold config. - updated str
- Timestamp in ISO 8601 date and time format in UTC when this alert configuration was last updated.
- alert
Configuration StringId - The ID of the alert configuration
- created String
- Timestamp in ISO 8601 date and time format in UTC when this alert configuration was created.
- enabled Boolean
- If set to true, the alert configuration is enabled. If enabled is not exported it is set to false.
- event
Type String - The type of event that will trigger an alert.
- id String
- matchers List<Property Map>
- Rules to apply when matching an object against this alert configuration. See matchers.
- metric
Threshold List<Property Map>Configs - The threshold that causes an alert to be triggered. Required if
event_type_name
:OUTSIDE_METRIC_THRESHOLD
orOUTSIDE_SERVERLESS_METRIC_THRESHOLD
. See metric threshold config. - notifications List<Property Map>
- outputs List<Property Map>
- Requested output string format for the alert configuration
- project
Id String - The unique ID for the project to get the alert configurations.
- threshold
Configs List<Property Map> - Threshold that triggers an alert. Required if
event_type_name
is any value other thanOUTSIDE_METRIC_THRESHOLD
orOUTSIDE_SERVERLESS_METRIC_THRESHOLD
. See threshold config. - updated String
- Timestamp in ISO 8601 date and time format in UTC when this alert configuration was last updated.
GetAlertConfigurationsResultMatcher
- Field
Name string - Name of the field in the target object to match on.
- Operator string
- The operator to apply when checking the current metric value against the threshold value.
Accepted values are:
GREATER_THAN
LESS_THAN
- Value string
- Value to test with the specified operator. If
field_name
is set to TYPE_NAME, you can match on the following values:PRIMARY
SECONDARY
STANDALONE
CONFIG
MONGOS
- Field
Name string - Name of the field in the target object to match on.
- Operator string
- The operator to apply when checking the current metric value against the threshold value.
Accepted values are:
GREATER_THAN
LESS_THAN
- Value string
- Value to test with the specified operator. If
field_name
is set to TYPE_NAME, you can match on the following values:PRIMARY
SECONDARY
STANDALONE
CONFIG
MONGOS
- field
Name String - Name of the field in the target object to match on.
- operator String
- The operator to apply when checking the current metric value against the threshold value.
Accepted values are:
GREATER_THAN
LESS_THAN
- value String
- Value to test with the specified operator. If
field_name
is set to TYPE_NAME, you can match on the following values:PRIMARY
SECONDARY
STANDALONE
CONFIG
MONGOS
- field
Name string - Name of the field in the target object to match on.
- operator string
- The operator to apply when checking the current metric value against the threshold value.
Accepted values are:
GREATER_THAN
LESS_THAN
- value string
- Value to test with the specified operator. If
field_name
is set to TYPE_NAME, you can match on the following values:PRIMARY
SECONDARY
STANDALONE
CONFIG
MONGOS
- field_
name str - Name of the field in the target object to match on.
- operator str
- The operator to apply when checking the current metric value against the threshold value.
Accepted values are:
GREATER_THAN
LESS_THAN
- value str
- Value to test with the specified operator. If
field_name
is set to TYPE_NAME, you can match on the following values:PRIMARY
SECONDARY
STANDALONE
CONFIG
MONGOS
- field
Name String - Name of the field in the target object to match on.
- operator String
- The operator to apply when checking the current metric value against the threshold value.
Accepted values are:
GREATER_THAN
LESS_THAN
- value String
- Value to test with the specified operator. If
field_name
is set to TYPE_NAME, you can match on the following values:PRIMARY
SECONDARY
STANDALONE
CONFIG
MONGOS
GetAlertConfigurationsResultMetricThresholdConfig
- Metric
Name string - Name of the metric to check. The full list being quite large, please refer to atlas docs here for general metrics and here for serverless metrics
- Mode string
- This must be set to AVERAGE. Atlas computes the current metric value as an average.
- Operator string
- The operator to apply when checking the current metric value against the threshold value.
Accepted values are:
GREATER_THAN
LESS_THAN
- Threshold double
- Threshold value outside of which an alert will be triggered.
- Units string
- The units for the threshold value. Depends on the type of metric. Refer to the MongoDB API Alert Configuration documentation for a list of accepted values.
- Metric
Name string - Name of the metric to check. The full list being quite large, please refer to atlas docs here for general metrics and here for serverless metrics
- Mode string
- This must be set to AVERAGE. Atlas computes the current metric value as an average.
- Operator string
- The operator to apply when checking the current metric value against the threshold value.
Accepted values are:
GREATER_THAN
LESS_THAN
- Threshold float64
- Threshold value outside of which an alert will be triggered.
- Units string
- The units for the threshold value. Depends on the type of metric. Refer to the MongoDB API Alert Configuration documentation for a list of accepted values.
- metric
Name String - Name of the metric to check. The full list being quite large, please refer to atlas docs here for general metrics and here for serverless metrics
- mode String
- This must be set to AVERAGE. Atlas computes the current metric value as an average.
- operator String
- The operator to apply when checking the current metric value against the threshold value.
Accepted values are:
GREATER_THAN
LESS_THAN
- threshold Double
- Threshold value outside of which an alert will be triggered.
- units String
- The units for the threshold value. Depends on the type of metric. Refer to the MongoDB API Alert Configuration documentation for a list of accepted values.
- metric
Name string - Name of the metric to check. The full list being quite large, please refer to atlas docs here for general metrics and here for serverless metrics
- mode string
- This must be set to AVERAGE. Atlas computes the current metric value as an average.
- operator string
- The operator to apply when checking the current metric value against the threshold value.
Accepted values are:
GREATER_THAN
LESS_THAN
- threshold number
- Threshold value outside of which an alert will be triggered.
- units string
- The units for the threshold value. Depends on the type of metric. Refer to the MongoDB API Alert Configuration documentation for a list of accepted values.
- metric_
name str - Name of the metric to check. The full list being quite large, please refer to atlas docs here for general metrics and here for serverless metrics
- mode str
- This must be set to AVERAGE. Atlas computes the current metric value as an average.
- operator str
- The operator to apply when checking the current metric value against the threshold value.
Accepted values are:
GREATER_THAN
LESS_THAN
- threshold float
- Threshold value outside of which an alert will be triggered.
- units str
- The units for the threshold value. Depends on the type of metric. Refer to the MongoDB API Alert Configuration documentation for a list of accepted values.
- metric
Name String - Name of the metric to check. The full list being quite large, please refer to atlas docs here for general metrics and here for serverless metrics
- mode String
- This must be set to AVERAGE. Atlas computes the current metric value as an average.
- operator String
- The operator to apply when checking the current metric value against the threshold value.
Accepted values are:
GREATER_THAN
LESS_THAN
- threshold Number
- Threshold value outside of which an alert will be triggered.
- units String
- The units for the threshold value. Depends on the type of metric. Refer to the MongoDB API Alert Configuration documentation for a list of accepted values.
GetAlertConfigurationsResultNotification
- Api
Token string - Slack API token. Required for the SLACK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
- Channel
Name string - Slack channel name. Required for the SLACK notifications type.
- Datadog
Api stringKey - Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
- Datadog
Region string - Region that indicates which API URL to use. See the
datadogRegion
field in thenotifications
request parameter of MongoDB API Alert Configuration documentation for more details. The default Datadog region is US. - Delay
Min int - Number of minutes to wait after an alert condition is detected before sending out the first notification.
- Email
Address string - Email address to which alert notifications are sent. Required for the EMAIL notifications type.
- Email
Enabled bool - Flag indicating email notifications should be sent. Atlas returns this value if
type_name
is set toORG
,GROUP
, orUSER
. - Integration
Id string - The ID of the associated integration, the credentials of which to use for requests.
- Interval
Min int - Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5.
- Microsoft
Teams stringWebhook Url - Microsoft Teams channel incoming webhook URL. Required for the
MICROSOFT_TEAMS
notifications type. - Mobile
Number string - Mobile number to which alert notifications are sent. Required for the SMS notifications type.
- Notifier
Id string - The notifier ID is a system-generated unique identifier assigned to each notification method. This is needed when updating third-party notifications without requiring explicit authentication credentials.
- Ops
Genie stringApi Key - Opsgenie API Key. Required for the
OPS_GENIE
notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the token. - Ops
Genie stringRegion - Region that indicates which API URL to use. Accepted regions are:
US
,EU
. The default Opsgenie region is US. - Roles List<string>
- Atlas role in current Project or Organization. Atlas returns this value if you set
type_name
toORG
orGROUP
. - Service
Key string - PagerDuty service key. Required for the PAGER_DUTY notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
- Sms
Enabled bool - Flag indicating text notifications should be sent. Atlas returns this value if
type_name
is set toORG
,GROUP
, orUSER
. - Team
Id string - Unique identifier of a team.
- Team
Name string - Label for the team that receives this notification.
- Type
Name string - Type of alert notification.
Accepted values are:
DATADOG
EMAIL
GROUP
(Project)OPS_GENIE
ORG
PAGER_DUTY
SLACK
SMS
TEAM
USER
VICTOR_OPS
WEBHOOK
MICROSOFT_TEAMS
- Username string
- Name of the Atlas user to which to send notifications. Only a user in the project that owns the alert configuration is allowed here. Required for the
USER
notifications type. - Victor
Ops stringApi Key - VictorOps API key. Required for the
VICTOR_OPS
notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key. - Victor
Ops stringRouting Key - VictorOps routing key. Optional for the
VICTOR_OPS
notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key. - Webhook
Secret string - Authentication secret for the
WEBHOOK
notifications type. - Webhook
Url string - Target URL for the
WEBHOOK
notifications type.
- Api
Token string - Slack API token. Required for the SLACK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
- Channel
Name string - Slack channel name. Required for the SLACK notifications type.
- Datadog
Api stringKey - Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
- Datadog
Region string - Region that indicates which API URL to use. See the
datadogRegion
field in thenotifications
request parameter of MongoDB API Alert Configuration documentation for more details. The default Datadog region is US. - Delay
Min int - Number of minutes to wait after an alert condition is detected before sending out the first notification.
- Email
Address string - Email address to which alert notifications are sent. Required for the EMAIL notifications type.
- Email
Enabled bool - Flag indicating email notifications should be sent. Atlas returns this value if
type_name
is set toORG
,GROUP
, orUSER
. - Integration
Id string - The ID of the associated integration, the credentials of which to use for requests.
- Interval
Min int - Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5.
- Microsoft
Teams stringWebhook Url - Microsoft Teams channel incoming webhook URL. Required for the
MICROSOFT_TEAMS
notifications type. - Mobile
Number string - Mobile number to which alert notifications are sent. Required for the SMS notifications type.
- Notifier
Id string - The notifier ID is a system-generated unique identifier assigned to each notification method. This is needed when updating third-party notifications without requiring explicit authentication credentials.
- Ops
Genie stringApi Key - Opsgenie API Key. Required for the
OPS_GENIE
notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the token. - Ops
Genie stringRegion - Region that indicates which API URL to use. Accepted regions are:
US
,EU
. The default Opsgenie region is US. - Roles []string
- Atlas role in current Project or Organization. Atlas returns this value if you set
type_name
toORG
orGROUP
. - Service
Key string - PagerDuty service key. Required for the PAGER_DUTY notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
- Sms
Enabled bool - Flag indicating text notifications should be sent. Atlas returns this value if
type_name
is set toORG
,GROUP
, orUSER
. - Team
Id string - Unique identifier of a team.
- Team
Name string - Label for the team that receives this notification.
- Type
Name string - Type of alert notification.
Accepted values are:
DATADOG
EMAIL
GROUP
(Project)OPS_GENIE
ORG
PAGER_DUTY
SLACK
SMS
TEAM
USER
VICTOR_OPS
WEBHOOK
MICROSOFT_TEAMS
- Username string
- Name of the Atlas user to which to send notifications. Only a user in the project that owns the alert configuration is allowed here. Required for the
USER
notifications type. - Victor
Ops stringApi Key - VictorOps API key. Required for the
VICTOR_OPS
notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key. - Victor
Ops stringRouting Key - VictorOps routing key. Optional for the
VICTOR_OPS
notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key. - Webhook
Secret string - Authentication secret for the
WEBHOOK
notifications type. - Webhook
Url string - Target URL for the
WEBHOOK
notifications type.
- api
Token String - Slack API token. Required for the SLACK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
- channel
Name String - Slack channel name. Required for the SLACK notifications type.
- datadog
Api StringKey - Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
- datadog
Region String - Region that indicates which API URL to use. See the
datadogRegion
field in thenotifications
request parameter of MongoDB API Alert Configuration documentation for more details. The default Datadog region is US. - delay
Min Integer - Number of minutes to wait after an alert condition is detected before sending out the first notification.
- email
Address String - Email address to which alert notifications are sent. Required for the EMAIL notifications type.
- email
Enabled Boolean - Flag indicating email notifications should be sent. Atlas returns this value if
type_name
is set toORG
,GROUP
, orUSER
. - integration
Id String - The ID of the associated integration, the credentials of which to use for requests.
- interval
Min Integer - Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5.
- microsoft
Teams StringWebhook Url - Microsoft Teams channel incoming webhook URL. Required for the
MICROSOFT_TEAMS
notifications type. - mobile
Number String - Mobile number to which alert notifications are sent. Required for the SMS notifications type.
- notifier
Id String - The notifier ID is a system-generated unique identifier assigned to each notification method. This is needed when updating third-party notifications without requiring explicit authentication credentials.
- ops
Genie StringApi Key - Opsgenie API Key. Required for the
OPS_GENIE
notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the token. - ops
Genie StringRegion - Region that indicates which API URL to use. Accepted regions are:
US
,EU
. The default Opsgenie region is US. - roles List<String>
- Atlas role in current Project or Organization. Atlas returns this value if you set
type_name
toORG
orGROUP
. - service
Key String - PagerDuty service key. Required for the PAGER_DUTY notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
- sms
Enabled Boolean - Flag indicating text notifications should be sent. Atlas returns this value if
type_name
is set toORG
,GROUP
, orUSER
. - team
Id String - Unique identifier of a team.
- team
Name String - Label for the team that receives this notification.
- type
Name String - Type of alert notification.
Accepted values are:
DATADOG
EMAIL
GROUP
(Project)OPS_GENIE
ORG
PAGER_DUTY
SLACK
SMS
TEAM
USER
VICTOR_OPS
WEBHOOK
MICROSOFT_TEAMS
- username String
- Name of the Atlas user to which to send notifications. Only a user in the project that owns the alert configuration is allowed here. Required for the
USER
notifications type. - victor
Ops StringApi Key - VictorOps API key. Required for the
VICTOR_OPS
notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key. - victor
Ops StringRouting Key - VictorOps routing key. Optional for the
VICTOR_OPS
notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key. - webhook
Secret String - Authentication secret for the
WEBHOOK
notifications type. - webhook
Url String - Target URL for the
WEBHOOK
notifications type.
- api
Token string - Slack API token. Required for the SLACK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
- channel
Name string - Slack channel name. Required for the SLACK notifications type.
- datadog
Api stringKey - Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
- datadog
Region string - Region that indicates which API URL to use. See the
datadogRegion
field in thenotifications
request parameter of MongoDB API Alert Configuration documentation for more details. The default Datadog region is US. - delay
Min number - Number of minutes to wait after an alert condition is detected before sending out the first notification.
- email
Address string - Email address to which alert notifications are sent. Required for the EMAIL notifications type.
- email
Enabled boolean - Flag indicating email notifications should be sent. Atlas returns this value if
type_name
is set toORG
,GROUP
, orUSER
. - integration
Id string - The ID of the associated integration, the credentials of which to use for requests.
- interval
Min number - Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5.
- microsoft
Teams stringWebhook Url - Microsoft Teams channel incoming webhook URL. Required for the
MICROSOFT_TEAMS
notifications type. - mobile
Number string - Mobile number to which alert notifications are sent. Required for the SMS notifications type.
- notifier
Id string - The notifier ID is a system-generated unique identifier assigned to each notification method. This is needed when updating third-party notifications without requiring explicit authentication credentials.
- ops
Genie stringApi Key - Opsgenie API Key. Required for the
OPS_GENIE
notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the token. - ops
Genie stringRegion - Region that indicates which API URL to use. Accepted regions are:
US
,EU
. The default Opsgenie region is US. - roles string[]
- Atlas role in current Project or Organization. Atlas returns this value if you set
type_name
toORG
orGROUP
. - service
Key string - PagerDuty service key. Required for the PAGER_DUTY notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
- sms
Enabled boolean - Flag indicating text notifications should be sent. Atlas returns this value if
type_name
is set toORG
,GROUP
, orUSER
. - team
Id string - Unique identifier of a team.
- team
Name string - Label for the team that receives this notification.
- type
Name string - Type of alert notification.
Accepted values are:
DATADOG
EMAIL
GROUP
(Project)OPS_GENIE
ORG
PAGER_DUTY
SLACK
SMS
TEAM
USER
VICTOR_OPS
WEBHOOK
MICROSOFT_TEAMS
- username string
- Name of the Atlas user to which to send notifications. Only a user in the project that owns the alert configuration is allowed here. Required for the
USER
notifications type. - victor
Ops stringApi Key - VictorOps API key. Required for the
VICTOR_OPS
notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key. - victor
Ops stringRouting Key - VictorOps routing key. Optional for the
VICTOR_OPS
notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key. - webhook
Secret string - Authentication secret for the
WEBHOOK
notifications type. - webhook
Url string - Target URL for the
WEBHOOK
notifications type.
- api_
token str - Slack API token. Required for the SLACK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
- channel_
name str - Slack channel name. Required for the SLACK notifications type.
- datadog_
api_ strkey - Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
- datadog_
region str - Region that indicates which API URL to use. See the
datadogRegion
field in thenotifications
request parameter of MongoDB API Alert Configuration documentation for more details. The default Datadog region is US. - delay_
min int - Number of minutes to wait after an alert condition is detected before sending out the first notification.
- email_
address str - Email address to which alert notifications are sent. Required for the EMAIL notifications type.
- email_
enabled bool - Flag indicating email notifications should be sent. Atlas returns this value if
type_name
is set toORG
,GROUP
, orUSER
. - integration_
id str - The ID of the associated integration, the credentials of which to use for requests.
- interval_
min int - Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5.
- microsoft_
teams_ strwebhook_ url - Microsoft Teams channel incoming webhook URL. Required for the
MICROSOFT_TEAMS
notifications type. - mobile_
number str - Mobile number to which alert notifications are sent. Required for the SMS notifications type.
- notifier_
id str - The notifier ID is a system-generated unique identifier assigned to each notification method. This is needed when updating third-party notifications without requiring explicit authentication credentials.
- ops_
genie_ strapi_ key - Opsgenie API Key. Required for the
OPS_GENIE
notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the token. - ops_
genie_ strregion - Region that indicates which API URL to use. Accepted regions are:
US
,EU
. The default Opsgenie region is US. - roles Sequence[str]
- Atlas role in current Project or Organization. Atlas returns this value if you set
type_name
toORG
orGROUP
. - service_
key str - PagerDuty service key. Required for the PAGER_DUTY notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
- sms_
enabled bool - Flag indicating text notifications should be sent. Atlas returns this value if
type_name
is set toORG
,GROUP
, orUSER
. - team_
id str - Unique identifier of a team.
- team_
name str - Label for the team that receives this notification.
- type_
name str - Type of alert notification.
Accepted values are:
DATADOG
EMAIL
GROUP
(Project)OPS_GENIE
ORG
PAGER_DUTY
SLACK
SMS
TEAM
USER
VICTOR_OPS
WEBHOOK
MICROSOFT_TEAMS
- username str
- Name of the Atlas user to which to send notifications. Only a user in the project that owns the alert configuration is allowed here. Required for the
USER
notifications type. - victor_
ops_ strapi_ key - VictorOps API key. Required for the
VICTOR_OPS
notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key. - victor_
ops_ strrouting_ key - VictorOps routing key. Optional for the
VICTOR_OPS
notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key. - webhook_
secret str - Authentication secret for the
WEBHOOK
notifications type. - webhook_
url str - Target URL for the
WEBHOOK
notifications type.
- api
Token String - Slack API token. Required for the SLACK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
- channel
Name String - Slack channel name. Required for the SLACK notifications type.
- datadog
Api StringKey - Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
- datadog
Region String - Region that indicates which API URL to use. See the
datadogRegion
field in thenotifications
request parameter of MongoDB API Alert Configuration documentation for more details. The default Datadog region is US. - delay
Min Number - Number of minutes to wait after an alert condition is detected before sending out the first notification.
- email
Address String - Email address to which alert notifications are sent. Required for the EMAIL notifications type.
- email
Enabled Boolean - Flag indicating email notifications should be sent. Atlas returns this value if
type_name
is set toORG
,GROUP
, orUSER
. - integration
Id String - The ID of the associated integration, the credentials of which to use for requests.
- interval
Min Number - Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5.
- microsoft
Teams StringWebhook Url - Microsoft Teams channel incoming webhook URL. Required for the
MICROSOFT_TEAMS
notifications type. - mobile
Number String - Mobile number to which alert notifications are sent. Required for the SMS notifications type.
- notifier
Id String - The notifier ID is a system-generated unique identifier assigned to each notification method. This is needed when updating third-party notifications without requiring explicit authentication credentials.
- ops
Genie StringApi Key - Opsgenie API Key. Required for the
OPS_GENIE
notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the token. - ops
Genie StringRegion - Region that indicates which API URL to use. Accepted regions are:
US
,EU
. The default Opsgenie region is US. - roles List<String>
- Atlas role in current Project or Organization. Atlas returns this value if you set
type_name
toORG
orGROUP
. - service
Key String - PagerDuty service key. Required for the PAGER_DUTY notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
- sms
Enabled Boolean - Flag indicating text notifications should be sent. Atlas returns this value if
type_name
is set toORG
,GROUP
, orUSER
. - team
Id String - Unique identifier of a team.
- team
Name String - Label for the team that receives this notification.
- type
Name String - Type of alert notification.
Accepted values are:
DATADOG
EMAIL
GROUP
(Project)OPS_GENIE
ORG
PAGER_DUTY
SLACK
SMS
TEAM
USER
VICTOR_OPS
WEBHOOK
MICROSOFT_TEAMS
- username String
- Name of the Atlas user to which to send notifications. Only a user in the project that owns the alert configuration is allowed here. Required for the
USER
notifications type. - victor
Ops StringApi Key - VictorOps API key. Required for the
VICTOR_OPS
notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key. - victor
Ops StringRouting Key - VictorOps routing key. Optional for the
VICTOR_OPS
notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key. - webhook
Secret String - Authentication secret for the
WEBHOOK
notifications type. - webhook
Url String - Target URL for the
WEBHOOK
notifications type.
GetAlertConfigurationsResultOutput
GetAlertConfigurationsResultThresholdConfig
- Operator string
- The operator to apply when checking the current metric value against the threshold value.
Accepted values are:
GREATER_THAN
LESS_THAN
- Threshold double
- Threshold value outside of which an alert will be triggered.
- Units string
- The units for the threshold value. Depends on the type of metric. Refer to the MongoDB API Alert Configuration documentation for a list of accepted values.
- Operator string
- The operator to apply when checking the current metric value against the threshold value.
Accepted values are:
GREATER_THAN
LESS_THAN
- Threshold float64
- Threshold value outside of which an alert will be triggered.
- Units string
- The units for the threshold value. Depends on the type of metric. Refer to the MongoDB API Alert Configuration documentation for a list of accepted values.
- operator String
- The operator to apply when checking the current metric value against the threshold value.
Accepted values are:
GREATER_THAN
LESS_THAN
- threshold Double
- Threshold value outside of which an alert will be triggered.
- units String
- The units for the threshold value. Depends on the type of metric. Refer to the MongoDB API Alert Configuration documentation for a list of accepted values.
- operator string
- The operator to apply when checking the current metric value against the threshold value.
Accepted values are:
GREATER_THAN
LESS_THAN
- threshold number
- Threshold value outside of which an alert will be triggered.
- units string
- The units for the threshold value. Depends on the type of metric. Refer to the MongoDB API Alert Configuration documentation for a list of accepted values.
- operator str
- The operator to apply when checking the current metric value against the threshold value.
Accepted values are:
GREATER_THAN
LESS_THAN
- threshold float
- Threshold value outside of which an alert will be triggered.
- units str
- The units for the threshold value. Depends on the type of metric. Refer to the MongoDB API Alert Configuration documentation for a list of accepted values.
- operator String
- The operator to apply when checking the current metric value against the threshold value.
Accepted values are:
GREATER_THAN
LESS_THAN
- threshold Number
- Threshold value outside of which an alert will be triggered.
- units String
- The units for the threshold value. Depends on the type of metric. Refer to the MongoDB API Alert Configuration documentation for a list of accepted values.
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlas
Terraform Provider.