1. Packages
  2. Mongodbatlas Provider
  3. API Docs
  4. getAlertConfigurations
MongoDB Atlas v3.20.4 published on Wednesday, Oct 30, 2024 by Pulumi

mongodbatlas.getAlertConfigurations

Explore with Pulumi AI

mongodbatlas logo
MongoDB Atlas v3.20.4 published on Wednesday, Oct 30, 2024 by Pulumi

    # 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:

    ProjectId string
    The unique ID for the project to get the alert configurations.
    ListOptions List<GetAlertConfigurationsListOption>
    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)
    OutputTypes List<string>
    List of requested string formatted output to be included on each individual result. Options are resource_hcl and resource_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.
    ProjectId string
    The unique ID for the project to get the alert configurations.
    ListOptions []GetAlertConfigurationsListOption
    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)
    OutputTypes []string
    List of requested string formatted output to be included on each individual result. Options are resource_hcl and resource_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.
    projectId String
    The unique ID for the project to get the alert configurations.
    listOptions List<GetAlertConfigurationsListOption>
    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)
    outputTypes List<String>
    List of requested string formatted output to be included on each individual result. Options are resource_hcl and resource_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.
    projectId string
    The unique ID for the project to get the alert configurations.
    listOptions GetAlertConfigurationsListOption[]
    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)
    outputTypes string[]
    List of requested string formatted output to be included on each individual result. Options are resource_hcl and resource_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[GetAlertConfigurationsListOption]
    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 and resource_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.
    projectId String
    The unique ID for the project to get the alert configurations.
    listOptions 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)
    outputTypes List<String>
    List of requested string formatted output to be included on each individual result. Options are resource_hcl and resource_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
    ProjectId string
    The ID of the project where the alert configuration exists
    Results List<GetAlertConfigurationsResult>
    A list of alert configurations for the project_id, constrained by the list_options.
    TotalCount int
    Total count of results
    ListOptions List<GetAlertConfigurationsListOption>
    OutputTypes List<string>
    Id string
    ProjectId string
    The ID of the project where the alert configuration exists
    Results []GetAlertConfigurationsResult
    A list of alert configurations for the project_id, constrained by the list_options.
    TotalCount int
    Total count of results
    ListOptions []GetAlertConfigurationsListOption
    OutputTypes []string
    id String
    projectId String
    The ID of the project where the alert configuration exists
    results List<GetAlertConfigurationsResult>
    A list of alert configurations for the project_id, constrained by the list_options.
    totalCount Integer
    Total count of results
    listOptions List<GetAlertConfigurationsListOption>
    outputTypes List<String>
    id string
    projectId string
    The ID of the project where the alert configuration exists
    results GetAlertConfigurationsResult[]
    A list of alert configurations for the project_id, constrained by the list_options.
    totalCount number
    Total count of results
    listOptions GetAlertConfigurationsListOption[]
    outputTypes string[]
    id str
    project_id str
    The ID of the project where the alert configuration exists
    results Sequence[GetAlertConfigurationsResult]
    A list of alert configurations for the project_id, constrained by the list_options.
    total_count int
    Total count of results
    list_options Sequence[GetAlertConfigurationsListOption]
    output_types Sequence[str]
    id String
    projectId 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.
    totalCount Number
    Total count of results
    listOptions List<Property Map>
    outputTypes List<String>

    Supporting Types

    GetAlertConfigurationsListOption

    includeCount Boolean
    itemsPerPage Integer
    pageNum Integer
    includeCount boolean
    itemsPerPage number
    pageNum number
    includeCount Boolean
    itemsPerPage Number
    pageNum Number

    GetAlertConfigurationsResult

    AlertConfigurationId string
    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.
    EventType string
    The type of event that will trigger an alert.
    Id string
    Matchers List<GetAlertConfigurationsResultMatcher>
    Rules to apply when matching an object against this alert configuration. See matchers.
    MetricThresholdConfigs List<GetAlertConfigurationsResultMetricThresholdConfig>
    The threshold that causes an alert to be triggered. Required if event_type_name : OUTSIDE_METRIC_THRESHOLD or OUTSIDE_SERVERLESS_METRIC_THRESHOLD. See metric threshold config.
    Notifications List<GetAlertConfigurationsResultNotification>
    Outputs List<GetAlertConfigurationsResultOutput>
    Requested output string format for the alert configuration
    ProjectId string
    The unique ID for the project to get the alert configurations.
    ThresholdConfigs List<GetAlertConfigurationsResultThresholdConfig>
    Threshold that triggers an alert. Required if event_type_name is any value other than OUTSIDE_METRIC_THRESHOLD or OUTSIDE_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.
    AlertConfigurationId string
    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.
    EventType string
    The type of event that will trigger an alert.
    Id string
    Matchers []GetAlertConfigurationsResultMatcher
    Rules to apply when matching an object against this alert configuration. See matchers.
    MetricThresholdConfigs []GetAlertConfigurationsResultMetricThresholdConfig
    The threshold that causes an alert to be triggered. Required if event_type_name : OUTSIDE_METRIC_THRESHOLD or OUTSIDE_SERVERLESS_METRIC_THRESHOLD. See metric threshold config.
    Notifications []GetAlertConfigurationsResultNotification
    Outputs []GetAlertConfigurationsResultOutputType
    Requested output string format for the alert configuration
    ProjectId string
    The unique ID for the project to get the alert configurations.
    ThresholdConfigs []GetAlertConfigurationsResultThresholdConfig
    Threshold that triggers an alert. Required if event_type_name is any value other than OUTSIDE_METRIC_THRESHOLD or OUTSIDE_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.
    alertConfigurationId String
    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.
    eventType String
    The type of event that will trigger an alert.
    id String
    matchers List<GetAlertConfigurationsResultMatcher>
    Rules to apply when matching an object against this alert configuration. See matchers.
    metricThresholdConfigs List<GetAlertConfigurationsResultMetricThresholdConfig>
    The threshold that causes an alert to be triggered. Required if event_type_name : OUTSIDE_METRIC_THRESHOLD or OUTSIDE_SERVERLESS_METRIC_THRESHOLD. See metric threshold config.
    notifications List<GetAlertConfigurationsResultNotification>
    outputs List<GetAlertConfigurationsResultOutput>
    Requested output string format for the alert configuration
    projectId String
    The unique ID for the project to get the alert configurations.
    thresholdConfigs List<GetAlertConfigurationsResultThresholdConfig>
    Threshold that triggers an alert. Required if event_type_name is any value other than OUTSIDE_METRIC_THRESHOLD or OUTSIDE_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.
    alertConfigurationId string
    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.
    eventType string
    The type of event that will trigger an alert.
    id string
    matchers GetAlertConfigurationsResultMatcher[]
    Rules to apply when matching an object against this alert configuration. See matchers.
    metricThresholdConfigs GetAlertConfigurationsResultMetricThresholdConfig[]
    The threshold that causes an alert to be triggered. Required if event_type_name : OUTSIDE_METRIC_THRESHOLD or OUTSIDE_SERVERLESS_METRIC_THRESHOLD. See metric threshold config.
    notifications GetAlertConfigurationsResultNotification[]
    outputs GetAlertConfigurationsResultOutput[]
    Requested output string format for the alert configuration
    projectId string
    The unique ID for the project to get the alert configurations.
    thresholdConfigs GetAlertConfigurationsResultThresholdConfig[]
    Threshold that triggers an alert. Required if event_type_name is any value other than OUTSIDE_METRIC_THRESHOLD or OUTSIDE_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_id str
    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[GetAlertConfigurationsResultMatcher]
    Rules to apply when matching an object against this alert configuration. See matchers.
    metric_threshold_configs Sequence[GetAlertConfigurationsResultMetricThresholdConfig]
    The threshold that causes an alert to be triggered. Required if event_type_name : OUTSIDE_METRIC_THRESHOLD or OUTSIDE_SERVERLESS_METRIC_THRESHOLD. See metric threshold config.
    notifications Sequence[GetAlertConfigurationsResultNotification]
    outputs Sequence[GetAlertConfigurationsResultOutput]
    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[GetAlertConfigurationsResultThresholdConfig]
    Threshold that triggers an alert. Required if event_type_name is any value other than OUTSIDE_METRIC_THRESHOLD or OUTSIDE_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.
    alertConfigurationId String
    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.
    eventType 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.
    metricThresholdConfigs List<Property Map>
    The threshold that causes an alert to be triggered. Required if event_type_name : OUTSIDE_METRIC_THRESHOLD or OUTSIDE_SERVERLESS_METRIC_THRESHOLD. See metric threshold config.
    notifications List<Property Map>
    outputs List<Property Map>
    Requested output string format for the alert configuration
    projectId String
    The unique ID for the project to get the alert configurations.
    thresholdConfigs List<Property Map>
    Threshold that triggers an alert. Required if event_type_name is any value other than OUTSIDE_METRIC_THRESHOLD or OUTSIDE_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

    FieldName 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
    FieldName 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
    fieldName 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
    fieldName 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
    fieldName 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

    MetricName 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.
    MetricName 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.
    metricName 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.
    metricName 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.
    metricName 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

    ApiToken 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.
    ChannelName string
    Slack channel name. Required for the SLACK notifications type.
    DatadogApiKey string
    Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
    DatadogRegion string
    Region that indicates which API URL to use. See the datadogRegion field in the notifications request parameter of MongoDB API Alert Configuration documentation for more details. The default Datadog region is US.
    DelayMin int
    Number of minutes to wait after an alert condition is detected before sending out the first notification.
    EmailAddress string
    Email address to which alert notifications are sent. Required for the EMAIL notifications type.
    EmailEnabled bool
    Flag indicating email notifications should be sent. Atlas returns this value if type_name is set to ORG, GROUP, or USER.
    IntegrationId string
    The ID of the associated integration, the credentials of which to use for requests.
    IntervalMin int
    Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5.
    MicrosoftTeamsWebhookUrl string
    Microsoft Teams channel incoming webhook URL. Required for the MICROSOFT_TEAMS notifications type.
    MobileNumber string
    Mobile number to which alert notifications are sent. Required for the SMS notifications type.
    NotifierId 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.
    OpsGenieApiKey string
    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.
    OpsGenieRegion string
    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 to ORG or GROUP.
    ServiceKey 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.
    SmsEnabled bool
    Flag indicating text notifications should be sent. Atlas returns this value if type_name is set to ORG, GROUP, or USER.
    TeamId string
    Unique identifier of a team.
    TeamName string
    Label for the team that receives this notification.
    TypeName 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.
    VictorOpsApiKey string
    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.
    VictorOpsRoutingKey string
    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.
    WebhookSecret string
    Authentication secret for the WEBHOOK notifications type.
    WebhookUrl string
    Target URL for the WEBHOOK notifications type.
    ApiToken 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.
    ChannelName string
    Slack channel name. Required for the SLACK notifications type.
    DatadogApiKey string
    Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
    DatadogRegion string
    Region that indicates which API URL to use. See the datadogRegion field in the notifications request parameter of MongoDB API Alert Configuration documentation for more details. The default Datadog region is US.
    DelayMin int
    Number of minutes to wait after an alert condition is detected before sending out the first notification.
    EmailAddress string
    Email address to which alert notifications are sent. Required for the EMAIL notifications type.
    EmailEnabled bool
    Flag indicating email notifications should be sent. Atlas returns this value if type_name is set to ORG, GROUP, or USER.
    IntegrationId string
    The ID of the associated integration, the credentials of which to use for requests.
    IntervalMin int
    Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5.
    MicrosoftTeamsWebhookUrl string
    Microsoft Teams channel incoming webhook URL. Required for the MICROSOFT_TEAMS notifications type.
    MobileNumber string
    Mobile number to which alert notifications are sent. Required for the SMS notifications type.
    NotifierId 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.
    OpsGenieApiKey string
    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.
    OpsGenieRegion string
    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 to ORG or GROUP.
    ServiceKey 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.
    SmsEnabled bool
    Flag indicating text notifications should be sent. Atlas returns this value if type_name is set to ORG, GROUP, or USER.
    TeamId string
    Unique identifier of a team.
    TeamName string
    Label for the team that receives this notification.
    TypeName 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.
    VictorOpsApiKey string
    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.
    VictorOpsRoutingKey string
    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.
    WebhookSecret string
    Authentication secret for the WEBHOOK notifications type.
    WebhookUrl string
    Target URL for the WEBHOOK notifications type.
    apiToken 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.
    channelName String
    Slack channel name. Required for the SLACK notifications type.
    datadogApiKey String
    Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
    datadogRegion String
    Region that indicates which API URL to use. See the datadogRegion field in the notifications request parameter of MongoDB API Alert Configuration documentation for more details. The default Datadog region is US.
    delayMin Integer
    Number of minutes to wait after an alert condition is detected before sending out the first notification.
    emailAddress String
    Email address to which alert notifications are sent. Required for the EMAIL notifications type.
    emailEnabled Boolean
    Flag indicating email notifications should be sent. Atlas returns this value if type_name is set to ORG, GROUP, or USER.
    integrationId String
    The ID of the associated integration, the credentials of which to use for requests.
    intervalMin Integer
    Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5.
    microsoftTeamsWebhookUrl String
    Microsoft Teams channel incoming webhook URL. Required for the MICROSOFT_TEAMS notifications type.
    mobileNumber String
    Mobile number to which alert notifications are sent. Required for the SMS notifications type.
    notifierId 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.
    opsGenieApiKey String
    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.
    opsGenieRegion String
    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 to ORG or GROUP.
    serviceKey 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.
    smsEnabled Boolean
    Flag indicating text notifications should be sent. Atlas returns this value if type_name is set to ORG, GROUP, or USER.
    teamId String
    Unique identifier of a team.
    teamName String
    Label for the team that receives this notification.
    typeName 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.
    victorOpsApiKey String
    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.
    victorOpsRoutingKey String
    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.
    webhookSecret String
    Authentication secret for the WEBHOOK notifications type.
    webhookUrl String
    Target URL for the WEBHOOK notifications type.
    apiToken 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.
    channelName string
    Slack channel name. Required for the SLACK notifications type.
    datadogApiKey string
    Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
    datadogRegion string
    Region that indicates which API URL to use. See the datadogRegion field in the notifications request parameter of MongoDB API Alert Configuration documentation for more details. The default Datadog region is US.
    delayMin number
    Number of minutes to wait after an alert condition is detected before sending out the first notification.
    emailAddress string
    Email address to which alert notifications are sent. Required for the EMAIL notifications type.
    emailEnabled boolean
    Flag indicating email notifications should be sent. Atlas returns this value if type_name is set to ORG, GROUP, or USER.
    integrationId string
    The ID of the associated integration, the credentials of which to use for requests.
    intervalMin number
    Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5.
    microsoftTeamsWebhookUrl string
    Microsoft Teams channel incoming webhook URL. Required for the MICROSOFT_TEAMS notifications type.
    mobileNumber string
    Mobile number to which alert notifications are sent. Required for the SMS notifications type.
    notifierId 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.
    opsGenieApiKey string
    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.
    opsGenieRegion string
    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 to ORG or GROUP.
    serviceKey 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.
    smsEnabled boolean
    Flag indicating text notifications should be sent. Atlas returns this value if type_name is set to ORG, GROUP, or USER.
    teamId string
    Unique identifier of a team.
    teamName string
    Label for the team that receives this notification.
    typeName 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.
    victorOpsApiKey string
    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.
    victorOpsRoutingKey string
    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.
    webhookSecret string
    Authentication secret for the WEBHOOK notifications type.
    webhookUrl 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_key str
    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 the notifications 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 to ORG, GROUP, or USER.
    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_webhook_url str
    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_api_key str
    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_region str
    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 to ORG or GROUP.
    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 to ORG, GROUP, or USER.
    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_api_key str
    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_routing_key str
    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.
    apiToken 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.
    channelName String
    Slack channel name. Required for the SLACK notifications type.
    datadogApiKey String
    Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
    datadogRegion String
    Region that indicates which API URL to use. See the datadogRegion field in the notifications request parameter of MongoDB API Alert Configuration documentation for more details. The default Datadog region is US.
    delayMin Number
    Number of minutes to wait after an alert condition is detected before sending out the first notification.
    emailAddress String
    Email address to which alert notifications are sent. Required for the EMAIL notifications type.
    emailEnabled Boolean
    Flag indicating email notifications should be sent. Atlas returns this value if type_name is set to ORG, GROUP, or USER.
    integrationId String
    The ID of the associated integration, the credentials of which to use for requests.
    intervalMin Number
    Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5.
    microsoftTeamsWebhookUrl String
    Microsoft Teams channel incoming webhook URL. Required for the MICROSOFT_TEAMS notifications type.
    mobileNumber String
    Mobile number to which alert notifications are sent. Required for the SMS notifications type.
    notifierId 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.
    opsGenieApiKey String
    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.
    opsGenieRegion String
    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 to ORG or GROUP.
    serviceKey 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.
    smsEnabled Boolean
    Flag indicating text notifications should be sent. Atlas returns this value if type_name is set to ORG, GROUP, or USER.
    teamId String
    Unique identifier of a team.
    teamName String
    Label for the team that receives this notification.
    typeName 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.
    victorOpsApiKey String
    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.
    victorOpsRoutingKey String
    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.
    webhookSecret String
    Authentication secret for the WEBHOOK notifications type.
    webhookUrl String
    Target URL for the WEBHOOK notifications type.

    GetAlertConfigurationsResultOutput

    Label string
    Type string
    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
    Label string
    Type string
    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
    label String
    type String
    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
    label string
    type string
    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
    label str
    type str
    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
    label String
    type String
    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

    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.
    mongodbatlas logo
    MongoDB Atlas v3.20.4 published on Wednesday, Oct 30, 2024 by Pulumi