1. Registry
  2. Packages
  3. Linode Provider
  4. API Docs
  5. getMonitorAlertDefinition
Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi
linode logo linode logo
Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi

    Retrieves Monitor Alert Definitions. For more information, see the Linode APIv4 docs. (Note: v4beta only.)

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as linode from "@pulumi/linode";
    
    const test = linode.getMonitorAlertDefinition({
        serviceType: "dbaas",
        id: 12345,
    });
    export const exampleOutput = test;
    
    import pulumi
    import pulumi_linode as linode
    
    test = linode.get_monitor_alert_definition(service_type="dbaas",
        id=12345)
    pulumi.export("exampleOutput", test)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-linode/sdk/v6/go/linode"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		test, err := linode.GetMonitorAlertDefinition(ctx, &linode.LookupMonitorAlertDefinitionArgs{
    			ServiceType: "dbaas",
    			Id:          12345,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("exampleOutput", test)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Linode = Pulumi.Linode;
    
    return await Deployment.RunAsync(() => 
    {
        var test = Linode.GetMonitorAlertDefinition.Invoke(new()
        {
            ServiceType = "dbaas",
            Id = 12345,
        });
    
        return new Dictionary<string, object?>
        {
            ["exampleOutput"] = test,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.linode.LinodeFunctions;
    import com.pulumi.linode.inputs.GetMonitorAlertDefinitionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var test = LinodeFunctions.getMonitorAlertDefinition(GetMonitorAlertDefinitionArgs.builder()
                .serviceType("dbaas")
                .id(12345)
                .build());
    
            ctx.export("exampleOutput", test);
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: linode:getMonitorAlertDefinition
          arguments:
            serviceType: dbaas
            id: 12345
    outputs:
      exampleOutput: ${test}
    
    pulumi {
      required_providers {
        linode = {
          source = "pulumi/linode"
        }
      }
    }
    
    data "linode_getmonitoralertdefinition" "test" {
      service_type = "dbaas"
      id           = 12345
    }
    
    output "exampleOutput" {
      value = data.linode_getmonitoralertdefinition.test
    }
    

    Using getMonitorAlertDefinition

    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 getMonitorAlertDefinition(args: GetMonitorAlertDefinitionArgs, opts?: InvokeOptions): Promise<GetMonitorAlertDefinitionResult>
    function getMonitorAlertDefinitionOutput(args: GetMonitorAlertDefinitionOutputArgs, opts?: InvokeOutputOptions): Output<GetMonitorAlertDefinitionResult>
    def get_monitor_alert_definition(id: Optional[int] = None,
                                     service_type: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetMonitorAlertDefinitionResult
    def get_monitor_alert_definition_output(id: pulumi.Input[Optional[int]] = None,
                                     service_type: pulumi.Input[Optional[str]] = None,
                                     opts: Optional[InvokeOutputOptions] = None) -> Output[GetMonitorAlertDefinitionResult]
    func LookupMonitorAlertDefinition(ctx *Context, args *LookupMonitorAlertDefinitionArgs, opts ...InvokeOption) (*LookupMonitorAlertDefinitionResult, error)
    func LookupMonitorAlertDefinitionOutput(ctx *Context, args *LookupMonitorAlertDefinitionOutputArgs, opts ...InvokeOption) LookupMonitorAlertDefinitionResultOutput

    > Note: This function is named LookupMonitorAlertDefinition in the Go SDK.

    public static class GetMonitorAlertDefinition 
    {
        public static Task<GetMonitorAlertDefinitionResult> InvokeAsync(GetMonitorAlertDefinitionArgs args, InvokeOptions? opts = null)
        public static Output<GetMonitorAlertDefinitionResult> Invoke(GetMonitorAlertDefinitionInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetMonitorAlertDefinitionResult> Invoke(GetMonitorAlertDefinitionInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetMonitorAlertDefinitionResult> getMonitorAlertDefinition(GetMonitorAlertDefinitionArgs args, InvokeOptions options)
    public static Output<GetMonitorAlertDefinitionResult> getMonitorAlertDefinition(GetMonitorAlertDefinitionArgs args, InvokeOptions options)
    public static Output<GetMonitorAlertDefinitionResult> getMonitorAlertDefinition(GetMonitorAlertDefinitionArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: linode:index/getMonitorAlertDefinition:getMonitorAlertDefinition
      arguments:
        # arguments dictionary
    data "linode_get_monitor_alert_definition" "name" {
        # arguments
    }

    The following arguments are supported:

    Id int
    The ID of the alert definition.
    ServiceType string
    The service type (e.g., dbaas).
    Id int
    The ID of the alert definition.
    ServiceType string
    The service type (e.g., dbaas).
    id number
    The ID of the alert definition.
    service_type string
    The service type (e.g., dbaas).
    id Integer
    The ID of the alert definition.
    serviceType String
    The service type (e.g., dbaas).
    id number
    The ID of the alert definition.
    serviceType string
    The service type (e.g., dbaas).
    id int
    The ID of the alert definition.
    service_type str
    The service type (e.g., dbaas).
    id Number
    The ID of the alert definition.
    serviceType String
    The service type (e.g., dbaas).

    getMonitorAlertDefinition Result

    The following output properties are available:

    AlertChannels List<GetMonitorAlertDefinitionAlertChannel>
    Class string
    "The plan type for the Managed Database cluster, either shared or dedicated. This only applies to a system alert for a serviceType of dbaas (Managed Databases). For user alerts for dbaas, this is returned as null.",
    Created string
    The date and time the alert definition was created.
    CreatedBy string
    For a user alert definition, this is the user on your account that created it. For a system alert definition, this is returned as system.
    Description string
    A description for the alert definition.
    Entities GetMonitorAlertDefinitionEntities
    GroupBies List<string>
    A set of dimension fields used to group alert events, such as entityId.
    Id int
    The unique identifier assigned to the alert channel.
    Label string
    The label of the alert channel.
    Regions List<string>
    The regions the alert definition applies to. Only used for region-scoped alerts.

    • entities - (Nested Attribute) Entity metadata for the alert definition. Referenced directly (e.g. entities.url).
    • alertChannels - (Nested Attribute List) A list of alert channel objects associated with the alert definition.
    RuleCriteria GetMonitorAlertDefinitionRuleCriteria
    Scope string
    The scope of the alert definition. Possible values: account, entity, region.
    ServiceType string
    Severity int
    The severity level of the alert definition.

    • ruleCriteria - (Nested Attribute) The criteria expression for the alert. Referenced directly (e.g. rule_criteria.rules).
    • triggerConditions - (Nested Attribute) The conditions that need to be met to send a notification for the alert. Referenced directly (e.g. trigger_conditions.criteria_condition).
    Status string
    The status of the alert definition.
    TriggerConditions GetMonitorAlertDefinitionTriggerConditions
    Type string
    The type of alert channel.
    Updated string
    The date and time the alert definition was last updated.
    UpdatedBy string
    For a user alert definition, this is the user on your account that last updated it. For a system alert definition, this is returned as system. If it hasn't been updated, this value is the same as created_by.
    AlertChannels []GetMonitorAlertDefinitionAlertChannel
    Class string
    "The plan type for the Managed Database cluster, either shared or dedicated. This only applies to a system alert for a serviceType of dbaas (Managed Databases). For user alerts for dbaas, this is returned as null.",
    Created string
    The date and time the alert definition was created.
    CreatedBy string
    For a user alert definition, this is the user on your account that created it. For a system alert definition, this is returned as system.
    Description string
    A description for the alert definition.
    Entities GetMonitorAlertDefinitionEntities
    GroupBies []string
    A set of dimension fields used to group alert events, such as entityId.
    Id int
    The unique identifier assigned to the alert channel.
    Label string
    The label of the alert channel.
    Regions []string
    The regions the alert definition applies to. Only used for region-scoped alerts.

    • entities - (Nested Attribute) Entity metadata for the alert definition. Referenced directly (e.g. entities.url).
    • alertChannels - (Nested Attribute List) A list of alert channel objects associated with the alert definition.
    RuleCriteria GetMonitorAlertDefinitionRuleCriteria
    Scope string
    The scope of the alert definition. Possible values: account, entity, region.
    ServiceType string
    Severity int
    The severity level of the alert definition.

    • ruleCriteria - (Nested Attribute) The criteria expression for the alert. Referenced directly (e.g. rule_criteria.rules).
    • triggerConditions - (Nested Attribute) The conditions that need to be met to send a notification for the alert. Referenced directly (e.g. trigger_conditions.criteria_condition).
    Status string
    The status of the alert definition.
    TriggerConditions GetMonitorAlertDefinitionTriggerConditions
    Type string
    The type of alert channel.
    Updated string
    The date and time the alert definition was last updated.
    UpdatedBy string
    For a user alert definition, this is the user on your account that last updated it. For a system alert definition, this is returned as system. If it hasn't been updated, this value is the same as created_by.
    alert_channels list(object)
    class string
    "The plan type for the Managed Database cluster, either shared or dedicated. This only applies to a system alert for a serviceType of dbaas (Managed Databases). For user alerts for dbaas, this is returned as null.",
    created string
    The date and time the alert definition was created.
    created_by string
    For a user alert definition, this is the user on your account that created it. For a system alert definition, this is returned as system.
    description string
    A description for the alert definition.
    entities object
    group_bies list(string)
    A set of dimension fields used to group alert events, such as entityId.
    id number
    The unique identifier assigned to the alert channel.
    label string
    The label of the alert channel.
    regions list(string)
    The regions the alert definition applies to. Only used for region-scoped alerts.

    • entities - (Nested Attribute) Entity metadata for the alert definition. Referenced directly (e.g. entities.url).
    • alertChannels - (Nested Attribute List) A list of alert channel objects associated with the alert definition.
    rule_criteria object
    scope string
    The scope of the alert definition. Possible values: account, entity, region.
    service_type string
    severity number
    The severity level of the alert definition.

    • ruleCriteria - (Nested Attribute) The criteria expression for the alert. Referenced directly (e.g. rule_criteria.rules).
    • triggerConditions - (Nested Attribute) The conditions that need to be met to send a notification for the alert. Referenced directly (e.g. trigger_conditions.criteria_condition).
    status string
    The status of the alert definition.
    trigger_conditions object
    type string
    The type of alert channel.
    updated string
    The date and time the alert definition was last updated.
    updated_by string
    For a user alert definition, this is the user on your account that last updated it. For a system alert definition, this is returned as system. If it hasn't been updated, this value is the same as created_by.
    alertChannels List<GetMonitorAlertDefinitionAlertChannel>
    class_ String
    "The plan type for the Managed Database cluster, either shared or dedicated. This only applies to a system alert for a serviceType of dbaas (Managed Databases). For user alerts for dbaas, this is returned as null.",
    created String
    The date and time the alert definition was created.
    createdBy String
    For a user alert definition, this is the user on your account that created it. For a system alert definition, this is returned as system.
    description String
    A description for the alert definition.
    entities GetMonitorAlertDefinitionEntities
    groupBies List<String>
    A set of dimension fields used to group alert events, such as entityId.
    id Integer
    The unique identifier assigned to the alert channel.
    label String
    The label of the alert channel.
    regions List<String>
    The regions the alert definition applies to. Only used for region-scoped alerts.

    • entities - (Nested Attribute) Entity metadata for the alert definition. Referenced directly (e.g. entities.url).
    • alertChannels - (Nested Attribute List) A list of alert channel objects associated with the alert definition.
    ruleCriteria GetMonitorAlertDefinitionRuleCriteria
    scope String
    The scope of the alert definition. Possible values: account, entity, region.
    serviceType String
    severity Integer
    The severity level of the alert definition.

    • ruleCriteria - (Nested Attribute) The criteria expression for the alert. Referenced directly (e.g. rule_criteria.rules).
    • triggerConditions - (Nested Attribute) The conditions that need to be met to send a notification for the alert. Referenced directly (e.g. trigger_conditions.criteria_condition).
    status String
    The status of the alert definition.
    triggerConditions GetMonitorAlertDefinitionTriggerConditions
    type String
    The type of alert channel.
    updated String
    The date and time the alert definition was last updated.
    updatedBy String
    For a user alert definition, this is the user on your account that last updated it. For a system alert definition, this is returned as system. If it hasn't been updated, this value is the same as created_by.
    alertChannels GetMonitorAlertDefinitionAlertChannel[]
    class string
    "The plan type for the Managed Database cluster, either shared or dedicated. This only applies to a system alert for a serviceType of dbaas (Managed Databases). For user alerts for dbaas, this is returned as null.",
    created string
    The date and time the alert definition was created.
    createdBy string
    For a user alert definition, this is the user on your account that created it. For a system alert definition, this is returned as system.
    description string
    A description for the alert definition.
    entities GetMonitorAlertDefinitionEntities
    groupBies string[]
    A set of dimension fields used to group alert events, such as entityId.
    id number
    The unique identifier assigned to the alert channel.
    label string
    The label of the alert channel.
    regions string[]
    The regions the alert definition applies to. Only used for region-scoped alerts.

    • entities - (Nested Attribute) Entity metadata for the alert definition. Referenced directly (e.g. entities.url).
    • alertChannels - (Nested Attribute List) A list of alert channel objects associated with the alert definition.
    ruleCriteria GetMonitorAlertDefinitionRuleCriteria
    scope string
    The scope of the alert definition. Possible values: account, entity, region.
    serviceType string
    severity number
    The severity level of the alert definition.

    • ruleCriteria - (Nested Attribute) The criteria expression for the alert. Referenced directly (e.g. rule_criteria.rules).
    • triggerConditions - (Nested Attribute) The conditions that need to be met to send a notification for the alert. Referenced directly (e.g. trigger_conditions.criteria_condition).
    status string
    The status of the alert definition.
    triggerConditions GetMonitorAlertDefinitionTriggerConditions
    type string
    The type of alert channel.
    updated string
    The date and time the alert definition was last updated.
    updatedBy string
    For a user alert definition, this is the user on your account that last updated it. For a system alert definition, this is returned as system. If it hasn't been updated, this value is the same as created_by.
    alert_channels Sequence[GetMonitorAlertDefinitionAlertChannel]
    class_ str
    "The plan type for the Managed Database cluster, either shared or dedicated. This only applies to a system alert for a serviceType of dbaas (Managed Databases). For user alerts for dbaas, this is returned as null.",
    created str
    The date and time the alert definition was created.
    created_by str
    For a user alert definition, this is the user on your account that created it. For a system alert definition, this is returned as system.
    description str
    A description for the alert definition.
    entities GetMonitorAlertDefinitionEntities
    group_bies Sequence[str]
    A set of dimension fields used to group alert events, such as entityId.
    id int
    The unique identifier assigned to the alert channel.
    label str
    The label of the alert channel.
    regions Sequence[str]
    The regions the alert definition applies to. Only used for region-scoped alerts.

    • entities - (Nested Attribute) Entity metadata for the alert definition. Referenced directly (e.g. entities.url).
    • alertChannels - (Nested Attribute List) A list of alert channel objects associated with the alert definition.
    rule_criteria GetMonitorAlertDefinitionRuleCriteria
    scope str
    The scope of the alert definition. Possible values: account, entity, region.
    service_type str
    severity int
    The severity level of the alert definition.

    • ruleCriteria - (Nested Attribute) The criteria expression for the alert. Referenced directly (e.g. rule_criteria.rules).
    • triggerConditions - (Nested Attribute) The conditions that need to be met to send a notification for the alert. Referenced directly (e.g. trigger_conditions.criteria_condition).
    status str
    The status of the alert definition.
    trigger_conditions GetMonitorAlertDefinitionTriggerConditions
    type str
    The type of alert channel.
    updated str
    The date and time the alert definition was last updated.
    updated_by str
    For a user alert definition, this is the user on your account that last updated it. For a system alert definition, this is returned as system. If it hasn't been updated, this value is the same as created_by.
    alertChannels List<Property Map>
    class String
    "The plan type for the Managed Database cluster, either shared or dedicated. This only applies to a system alert for a serviceType of dbaas (Managed Databases). For user alerts for dbaas, this is returned as null.",
    created String
    The date and time the alert definition was created.
    createdBy String
    For a user alert definition, this is the user on your account that created it. For a system alert definition, this is returned as system.
    description String
    A description for the alert definition.
    entities Property Map
    groupBies List<String>
    A set of dimension fields used to group alert events, such as entityId.
    id Number
    The unique identifier assigned to the alert channel.
    label String
    The label of the alert channel.
    regions List<String>
    The regions the alert definition applies to. Only used for region-scoped alerts.

    • entities - (Nested Attribute) Entity metadata for the alert definition. Referenced directly (e.g. entities.url).
    • alertChannels - (Nested Attribute List) A list of alert channel objects associated with the alert definition.
    ruleCriteria Property Map
    scope String
    The scope of the alert definition. Possible values: account, entity, region.
    serviceType String
    severity Number
    The severity level of the alert definition.

    • ruleCriteria - (Nested Attribute) The criteria expression for the alert. Referenced directly (e.g. rule_criteria.rules).
    • triggerConditions - (Nested Attribute) The conditions that need to be met to send a notification for the alert. Referenced directly (e.g. trigger_conditions.criteria_condition).
    status String
    The status of the alert definition.
    triggerConditions Property Map
    type String
    The type of alert channel.
    updated String
    The date and time the alert definition was last updated.
    updatedBy String
    For a user alert definition, this is the user on your account that last updated it. For a system alert definition, this is returned as system. If it hasn't been updated, this value is the same as created_by.

    Supporting Types

    GetMonitorAlertDefinitionAlertChannel

    Id int
    The ID of the alert definition.
    Label string
    The label of the alert channel.
    Type string
    The type of alert channel.
    Url string
    The URL of the alert channel.
    Id int
    The ID of the alert definition.
    Label string
    The label of the alert channel.
    Type string
    The type of alert channel.
    Url string
    The URL of the alert channel.
    id number
    The ID of the alert definition.
    label string
    The label of the alert channel.
    type string
    The type of alert channel.
    url string
    The URL of the alert channel.
    id Integer
    The ID of the alert definition.
    label String
    The label of the alert channel.
    type String
    The type of alert channel.
    url String
    The URL of the alert channel.
    id number
    The ID of the alert definition.
    label string
    The label of the alert channel.
    type string
    The type of alert channel.
    url string
    The URL of the alert channel.
    id int
    The ID of the alert definition.
    label str
    The label of the alert channel.
    type str
    The type of alert channel.
    url str
    The URL of the alert channel.
    id Number
    The ID of the alert definition.
    label String
    The label of the alert channel.
    type String
    The type of alert channel.
    url String
    The URL of the alert channel.

    GetMonitorAlertDefinitionEntities

    Count int
    The number of entities associated with the alert definition.
    HasMoreResources bool
    Whether there are additional entities associated with the alert.
    Url string
    The URL of the alert channel.
    Count int
    The number of entities associated with the alert definition.
    HasMoreResources bool
    Whether there are additional entities associated with the alert.
    Url string
    The URL of the alert channel.
    count number
    The number of entities associated with the alert definition.
    has_more_resources bool
    Whether there are additional entities associated with the alert.
    url string
    The URL of the alert channel.
    count Integer
    The number of entities associated with the alert definition.
    hasMoreResources Boolean
    Whether there are additional entities associated with the alert.
    url String
    The URL of the alert channel.
    count number
    The number of entities associated with the alert definition.
    hasMoreResources boolean
    Whether there are additional entities associated with the alert.
    url string
    The URL of the alert channel.
    count int
    The number of entities associated with the alert definition.
    has_more_resources bool
    Whether there are additional entities associated with the alert.
    url str
    The URL of the alert channel.
    count Number
    The number of entities associated with the alert definition.
    hasMoreResources Boolean
    Whether there are additional entities associated with the alert.
    url String
    The URL of the alert channel.

    GetMonitorAlertDefinitionRuleCriteria

    Rules List<GetMonitorAlertDefinitionRuleCriteriaRule>
    The individual rules that make up the alert definition.
    Rules []GetMonitorAlertDefinitionRuleCriteriaRule
    The individual rules that make up the alert definition.
    rules list(object)
    The individual rules that make up the alert definition.
    rules List<GetMonitorAlertDefinitionRuleCriteriaRule>
    The individual rules that make up the alert definition.
    rules GetMonitorAlertDefinitionRuleCriteriaRule[]
    The individual rules that make up the alert definition.
    rules Sequence[GetMonitorAlertDefinitionRuleCriteriaRule]
    The individual rules that make up the alert definition.
    rules List<Property Map>
    The individual rules that make up the alert definition.

    GetMonitorAlertDefinitionRuleCriteriaRule

    AggregateFunction string
    The aggregate function to apply to the metric data.

    • dimensionFilters - (Nested Attribute List) A list of dimension filter objects to filter the metric data.
    DimensionFilters List<GetMonitorAlertDefinitionRuleCriteriaRuleDimensionFilter>
    Individual objects that define dimension filters for the rule.
    Label string
    The label of the alert channel.
    Metric string
    The metric to query.
    Operator string
    The operator to apply to the dimension. Allowed values: eq, neq, startswith, endswith.
    Threshold double
    The predefined value or condition that triggers an alert when met or exceeded.
    Unit string
    The unit of the metric. This can be values like percent for percentage or GB for gigabyte.
    AggregateFunction string
    The aggregate function to apply to the metric data.

    • dimensionFilters - (Nested Attribute List) A list of dimension filter objects to filter the metric data.
    DimensionFilters []GetMonitorAlertDefinitionRuleCriteriaRuleDimensionFilter
    Individual objects that define dimension filters for the rule.
    Label string
    The label of the alert channel.
    Metric string
    The metric to query.
    Operator string
    The operator to apply to the dimension. Allowed values: eq, neq, startswith, endswith.
    Threshold float64
    The predefined value or condition that triggers an alert when met or exceeded.
    Unit string
    The unit of the metric. This can be values like percent for percentage or GB for gigabyte.
    aggregate_function string
    The aggregate function to apply to the metric data.

    • dimensionFilters - (Nested Attribute List) A list of dimension filter objects to filter the metric data.
    dimension_filters list(object)
    Individual objects that define dimension filters for the rule.
    label string
    The label of the alert channel.
    metric string
    The metric to query.
    operator string
    The operator to apply to the dimension. Allowed values: eq, neq, startswith, endswith.
    threshold number
    The predefined value or condition that triggers an alert when met or exceeded.
    unit string
    The unit of the metric. This can be values like percent for percentage or GB for gigabyte.
    aggregateFunction String
    The aggregate function to apply to the metric data.

    • dimensionFilters - (Nested Attribute List) A list of dimension filter objects to filter the metric data.
    dimensionFilters List<GetMonitorAlertDefinitionRuleCriteriaRuleDimensionFilter>
    Individual objects that define dimension filters for the rule.
    label String
    The label of the alert channel.
    metric String
    The metric to query.
    operator String
    The operator to apply to the dimension. Allowed values: eq, neq, startswith, endswith.
    threshold Double
    The predefined value or condition that triggers an alert when met or exceeded.
    unit String
    The unit of the metric. This can be values like percent for percentage or GB for gigabyte.
    aggregateFunction string
    The aggregate function to apply to the metric data.

    • dimensionFilters - (Nested Attribute List) A list of dimension filter objects to filter the metric data.
    dimensionFilters GetMonitorAlertDefinitionRuleCriteriaRuleDimensionFilter[]
    Individual objects that define dimension filters for the rule.
    label string
    The label of the alert channel.
    metric string
    The metric to query.
    operator string
    The operator to apply to the dimension. Allowed values: eq, neq, startswith, endswith.
    threshold number
    The predefined value or condition that triggers an alert when met or exceeded.
    unit string
    The unit of the metric. This can be values like percent for percentage or GB for gigabyte.
    aggregate_function str
    The aggregate function to apply to the metric data.

    • dimensionFilters - (Nested Attribute List) A list of dimension filter objects to filter the metric data.
    dimension_filters Sequence[GetMonitorAlertDefinitionRuleCriteriaRuleDimensionFilter]
    Individual objects that define dimension filters for the rule.
    label str
    The label of the alert channel.
    metric str
    The metric to query.
    operator str
    The operator to apply to the dimension. Allowed values: eq, neq, startswith, endswith.
    threshold float
    The predefined value or condition that triggers an alert when met or exceeded.
    unit str
    The unit of the metric. This can be values like percent for percentage or GB for gigabyte.
    aggregateFunction String
    The aggregate function to apply to the metric data.

    • dimensionFilters - (Nested Attribute List) A list of dimension filter objects to filter the metric data.
    dimensionFilters List<Property Map>
    Individual objects that define dimension filters for the rule.
    label String
    The label of the alert channel.
    metric String
    The metric to query.
    operator String
    The operator to apply to the dimension. Allowed values: eq, neq, startswith, endswith.
    threshold Number
    The predefined value or condition that triggers an alert when met or exceeded.
    unit String
    The unit of the metric. This can be values like percent for percentage or GB for gigabyte.

    GetMonitorAlertDefinitionRuleCriteriaRuleDimensionFilter

    DimensionLabel string
    The label of the dimension to filter on.
    Label string
    The label of the alert channel.
    Operator string
    The operator to apply to the dimension. Allowed values: eq, neq, startswith, endswith.
    Value string
    The value to compare the dimensionLabel against.
    DimensionLabel string
    The label of the dimension to filter on.
    Label string
    The label of the alert channel.
    Operator string
    The operator to apply to the dimension. Allowed values: eq, neq, startswith, endswith.
    Value string
    The value to compare the dimensionLabel against.
    dimension_label string
    The label of the dimension to filter on.
    label string
    The label of the alert channel.
    operator string
    The operator to apply to the dimension. Allowed values: eq, neq, startswith, endswith.
    value string
    The value to compare the dimensionLabel against.
    dimensionLabel String
    The label of the dimension to filter on.
    label String
    The label of the alert channel.
    operator String
    The operator to apply to the dimension. Allowed values: eq, neq, startswith, endswith.
    value String
    The value to compare the dimensionLabel against.
    dimensionLabel string
    The label of the dimension to filter on.
    label string
    The label of the alert channel.
    operator string
    The operator to apply to the dimension. Allowed values: eq, neq, startswith, endswith.
    value string
    The value to compare the dimensionLabel against.
    dimension_label str
    The label of the dimension to filter on.
    label str
    The label of the alert channel.
    operator str
    The operator to apply to the dimension. Allowed values: eq, neq, startswith, endswith.
    value str
    The value to compare the dimensionLabel against.
    dimensionLabel String
    The label of the dimension to filter on.
    label String
    The label of the alert channel.
    operator String
    The operator to apply to the dimension. Allowed values: eq, neq, startswith, endswith.
    value String
    The value to compare the dimensionLabel against.

    GetMonitorAlertDefinitionTriggerConditions

    CriteriaCondition string
    The logical operation applied. Currently only 'ALL' allowed.
    EvaluationPeriodSeconds int
    Time period over which data is collected before evaluating the threshold.
    PollingIntervalSeconds int
    Frequency at which the metric data is polled.
    TriggerOccurrences int
    Number of times the condition must be met before triggering an alert.
    CriteriaCondition string
    The logical operation applied. Currently only 'ALL' allowed.
    EvaluationPeriodSeconds int
    Time period over which data is collected before evaluating the threshold.
    PollingIntervalSeconds int
    Frequency at which the metric data is polled.
    TriggerOccurrences int
    Number of times the condition must be met before triggering an alert.
    criteria_condition string
    The logical operation applied. Currently only 'ALL' allowed.
    evaluation_period_seconds number
    Time period over which data is collected before evaluating the threshold.
    polling_interval_seconds number
    Frequency at which the metric data is polled.
    trigger_occurrences number
    Number of times the condition must be met before triggering an alert.
    criteriaCondition String
    The logical operation applied. Currently only 'ALL' allowed.
    evaluationPeriodSeconds Integer
    Time period over which data is collected before evaluating the threshold.
    pollingIntervalSeconds Integer
    Frequency at which the metric data is polled.
    triggerOccurrences Integer
    Number of times the condition must be met before triggering an alert.
    criteriaCondition string
    The logical operation applied. Currently only 'ALL' allowed.
    evaluationPeriodSeconds number
    Time period over which data is collected before evaluating the threshold.
    pollingIntervalSeconds number
    Frequency at which the metric data is polled.
    triggerOccurrences number
    Number of times the condition must be met before triggering an alert.
    criteria_condition str
    The logical operation applied. Currently only 'ALL' allowed.
    evaluation_period_seconds int
    Time period over which data is collected before evaluating the threshold.
    polling_interval_seconds int
    Frequency at which the metric data is polled.
    trigger_occurrences int
    Number of times the condition must be met before triggering an alert.
    criteriaCondition String
    The logical operation applied. Currently only 'ALL' allowed.
    evaluationPeriodSeconds Number
    Time period over which data is collected before evaluating the threshold.
    pollingIntervalSeconds Number
    Frequency at which the metric data is polled.
    triggerOccurrences Number
    Number of times the condition must be met before triggering an alert.

    Package Details

    Repository
    Linode pulumi/pulumi-linode
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the linode Terraform Provider.
    linode logo linode logo
    Viewing docs for Linode v6.6.0
    published on Tuesday, Sep 15, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial