1. Packages
  2. Coralogix Provider
  3. API Docs
  4. AlertsScheduler
coralogix 2.0.17 published on Tuesday, Apr 22, 2025 by coralogix

coralogix.AlertsScheduler

Explore with Pulumi AI

Coralogix alerts-scheduler.

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.coralogix.AlertsScheduler;
import com.pulumi.coralogix.AlertsSchedulerArgs;
import com.pulumi.coralogix.inputs.AlertsSchedulerFilterArgs;
import com.pulumi.coralogix.inputs.AlertsSchedulerScheduleArgs;
import com.pulumi.coralogix.inputs.AlertsSchedulerScheduleRecurringArgs;
import com.pulumi.coralogix.inputs.AlertsSchedulerScheduleRecurringDynamicArgs;
import com.pulumi.coralogix.inputs.AlertsSchedulerScheduleRecurringDynamicFrequencyArgs;
import com.pulumi.coralogix.inputs.AlertsSchedulerScheduleRecurringDynamicFrequencyWeeklyArgs;
import com.pulumi.coralogix.inputs.AlertsSchedulerScheduleRecurringDynamicTimeFrameArgs;
import com.pulumi.coralogix.inputs.AlertsSchedulerScheduleRecurringDynamicTimeFrameDurationArgs;
import java.util.List;
import java.util.ArrayList;
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) {
        var example = new AlertsScheduler("example", AlertsSchedulerArgs.builder()
            .description("example")
            .filter(AlertsSchedulerFilterArgs.builder()
                .alerts_unique_ids("ed6f3713-d827-49a2-9bb6-a8dba8b8c580")
                .what_expression("source logs | filter $d.cpodId:string == '122'")
                .build())
            .schedule(AlertsSchedulerScheduleArgs.builder()
                .one_time(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                .operation("mute")
                .build())
            .build());

        var example2 = new AlertsScheduler("example2", AlertsSchedulerArgs.builder()
            .description("example")
            .filter(AlertsSchedulerFilterArgs.builder()
                .meta_labels(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                .what_expression("source logs | filter $d.cpodId:string == '122'")
                .build())
            .schedule(AlertsSchedulerScheduleArgs.builder()
                .operation("active")
                .recurring(AlertsSchedulerScheduleRecurringArgs.builder()
                    .dynamic(AlertsSchedulerScheduleRecurringDynamicArgs.builder()
                        .frequency(AlertsSchedulerScheduleRecurringDynamicFrequencyArgs.builder()
                            .weekly(AlertsSchedulerScheduleRecurringDynamicFrequencyWeeklyArgs.builder()
                                .days("Sunday")
                                .build())
                            .build())
                        .repeatEvery(2)
                        .terminationDate("2025-01-01T00:00:00.000")
                        .timeFrame(AlertsSchedulerScheduleRecurringDynamicTimeFrameArgs.builder()
                            .duration(AlertsSchedulerScheduleRecurringDynamicTimeFrameDurationArgs.builder()
                                .forOver(2)
                                .frequency("hours")
                                .build())
                            .startTime("2021-01-04T00:00:00.000")
                            .timeZone("UTC+2")
                            .build())
                        .build())
                    .build())
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: coralogix:AlertsScheduler
    properties:
      description: example
      filter:
        alerts_unique_ids:
          - ed6f3713-d827-49a2-9bb6-a8dba8b8c580
        what_expression: source logs | filter $d.cpodId:string == '122'
      schedule:
        one_time:
          timeFrame:
            endTime: 2025-01-01T00:00:50.000
            startTime: 2021-01-04T00:00:00.000
            timeZone: UTC+2
        operation: mute
  example2:
    type: coralogix:AlertsScheduler
    properties:
      description: example
      filter:
        meta_labels:
          - key: key
            value: value
        what_expression: source logs | filter $d.cpodId:string == '122'
      schedule:
        operation: active
        recurring:
          dynamic:
            frequency:
              weekly:
                days:
                  - Sunday
            repeatEvery: 2
            terminationDate: 2025-01-01T00:00:00.000
            timeFrame:
              duration:
                forOver: 2
                frequency: hours
              startTime: 2021-01-04T00:00:00.000
              timeZone: UTC+2
Copy

Create AlertsScheduler Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new AlertsScheduler(name: string, args?: AlertsSchedulerArgs, opts?: CustomResourceOptions);
@overload
def AlertsScheduler(resource_name: str,
                    args: Optional[AlertsSchedulerArgs] = None,
                    opts: Optional[ResourceOptions] = None)

@overload
def AlertsScheduler(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    description: Optional[str] = None,
                    enabled: Optional[bool] = None,
                    filter: Optional[AlertsSchedulerFilterArgs] = None,
                    meta_labels: Optional[Sequence[AlertsSchedulerMetaLabelArgs]] = None,
                    name: Optional[str] = None,
                    schedule: Optional[AlertsSchedulerScheduleArgs] = None)
func NewAlertsScheduler(ctx *Context, name string, args *AlertsSchedulerArgs, opts ...ResourceOption) (*AlertsScheduler, error)
public AlertsScheduler(string name, AlertsSchedulerArgs? args = null, CustomResourceOptions? opts = null)
public AlertsScheduler(String name, AlertsSchedulerArgs args)
public AlertsScheduler(String name, AlertsSchedulerArgs args, CustomResourceOptions options)
type: coralogix:AlertsScheduler
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args AlertsSchedulerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args AlertsSchedulerArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args AlertsSchedulerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args AlertsSchedulerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AlertsSchedulerArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var alertsSchedulerResource = new Coralogix.AlertsScheduler("alertsSchedulerResource", new()
{
    Description = "string",
    Enabled = false,
    Filter = new Coralogix.Inputs.AlertsSchedulerFilterArgs
    {
        WhatExpression = "string",
        AlertsUniqueIds = new[]
        {
            "string",
        },
        MetaLabels = new[]
        {
            new Coralogix.Inputs.AlertsSchedulerFilterMetaLabelArgs
            {
                Key = "string",
                Value = "string",
            },
        },
    },
    MetaLabels = new[]
    {
        new Coralogix.Inputs.AlertsSchedulerMetaLabelArgs
        {
            Key = "string",
            Value = "string",
        },
    },
    Name = "string",
    Schedule = new Coralogix.Inputs.AlertsSchedulerScheduleArgs
    {
        Operation = "string",
        OneTime = new Coralogix.Inputs.AlertsSchedulerScheduleOneTimeArgs
        {
            TimeFrame = new Coralogix.Inputs.AlertsSchedulerScheduleOneTimeTimeFrameArgs
            {
                StartTime = "string",
                TimeZone = "string",
                Duration = new Coralogix.Inputs.AlertsSchedulerScheduleOneTimeTimeFrameDurationArgs
                {
                    ForOver = 0,
                    Frequency = "string",
                },
                EndTime = "string",
            },
        },
        Recurring = new Coralogix.Inputs.AlertsSchedulerScheduleRecurringArgs
        {
            Dynamic = new Coralogix.Inputs.AlertsSchedulerScheduleRecurringDynamicArgs
            {
                Frequency = new Coralogix.Inputs.AlertsSchedulerScheduleRecurringDynamicFrequencyArgs
                {
                    Daily = null,
                    Monthly = new Coralogix.Inputs.AlertsSchedulerScheduleRecurringDynamicFrequencyMonthlyArgs
                    {
                        Days = new[]
                        {
                            0,
                        },
                    },
                    Weekly = new Coralogix.Inputs.AlertsSchedulerScheduleRecurringDynamicFrequencyWeeklyArgs
                    {
                        Days = new[]
                        {
                            "string",
                        },
                    },
                },
                RepeatEvery = 0,
                TimeFrame = new Coralogix.Inputs.AlertsSchedulerScheduleRecurringDynamicTimeFrameArgs
                {
                    StartTime = "string",
                    TimeZone = "string",
                    Duration = new Coralogix.Inputs.AlertsSchedulerScheduleRecurringDynamicTimeFrameDurationArgs
                    {
                        ForOver = 0,
                        Frequency = "string",
                    },
                    EndTime = "string",
                },
                TerminationDate = "string",
            },
        },
    },
});
Copy
example, err := coralogix.NewAlertsScheduler(ctx, "alertsSchedulerResource", &coralogix.AlertsSchedulerArgs{
	Description: pulumi.String("string"),
	Enabled:     pulumi.Bool(false),
	Filter: &coralogix.AlertsSchedulerFilterArgs{
		WhatExpression: pulumi.String("string"),
		AlertsUniqueIds: pulumi.StringArray{
			pulumi.String("string"),
		},
		MetaLabels: coralogix.AlertsSchedulerFilterMetaLabelArray{
			&coralogix.AlertsSchedulerFilterMetaLabelArgs{
				Key:   pulumi.String("string"),
				Value: pulumi.String("string"),
			},
		},
	},
	MetaLabels: coralogix.AlertsSchedulerMetaLabelArray{
		&coralogix.AlertsSchedulerMetaLabelArgs{
			Key:   pulumi.String("string"),
			Value: pulumi.String("string"),
		},
	},
	Name: pulumi.String("string"),
	Schedule: &coralogix.AlertsSchedulerScheduleArgs{
		Operation: pulumi.String("string"),
		OneTime: &coralogix.AlertsSchedulerScheduleOneTimeArgs{
			TimeFrame: &coralogix.AlertsSchedulerScheduleOneTimeTimeFrameArgs{
				StartTime: pulumi.String("string"),
				TimeZone:  pulumi.String("string"),
				Duration: &coralogix.AlertsSchedulerScheduleOneTimeTimeFrameDurationArgs{
					ForOver:   pulumi.Float64(0),
					Frequency: pulumi.String("string"),
				},
				EndTime: pulumi.String("string"),
			},
		},
		Recurring: &coralogix.AlertsSchedulerScheduleRecurringArgs{
			Dynamic: &coralogix.AlertsSchedulerScheduleRecurringDynamicArgs{
				Frequency: &coralogix.AlertsSchedulerScheduleRecurringDynamicFrequencyArgs{
					Daily: &coralogix.AlertsSchedulerScheduleRecurringDynamicFrequencyDailyArgs{},
					Monthly: &coralogix.AlertsSchedulerScheduleRecurringDynamicFrequencyMonthlyArgs{
						Days: pulumi.Float64Array{
							pulumi.Float64(0),
						},
					},
					Weekly: &coralogix.AlertsSchedulerScheduleRecurringDynamicFrequencyWeeklyArgs{
						Days: pulumi.StringArray{
							pulumi.String("string"),
						},
					},
				},
				RepeatEvery: pulumi.Float64(0),
				TimeFrame: &coralogix.AlertsSchedulerScheduleRecurringDynamicTimeFrameArgs{
					StartTime: pulumi.String("string"),
					TimeZone:  pulumi.String("string"),
					Duration: &coralogix.AlertsSchedulerScheduleRecurringDynamicTimeFrameDurationArgs{
						ForOver:   pulumi.Float64(0),
						Frequency: pulumi.String("string"),
					},
					EndTime: pulumi.String("string"),
				},
				TerminationDate: pulumi.String("string"),
			},
		},
	},
})
Copy
var alertsSchedulerResource = new AlertsScheduler("alertsSchedulerResource", AlertsSchedulerArgs.builder()
    .description("string")
    .enabled(false)
    .filter(AlertsSchedulerFilterArgs.builder()
        .whatExpression("string")
        .alertsUniqueIds("string")
        .metaLabels(AlertsSchedulerFilterMetaLabelArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build())
    .metaLabels(AlertsSchedulerMetaLabelArgs.builder()
        .key("string")
        .value("string")
        .build())
    .name("string")
    .schedule(AlertsSchedulerScheduleArgs.builder()
        .operation("string")
        .oneTime(AlertsSchedulerScheduleOneTimeArgs.builder()
            .timeFrame(AlertsSchedulerScheduleOneTimeTimeFrameArgs.builder()
                .startTime("string")
                .timeZone("string")
                .duration(AlertsSchedulerScheduleOneTimeTimeFrameDurationArgs.builder()
                    .forOver(0)
                    .frequency("string")
                    .build())
                .endTime("string")
                .build())
            .build())
        .recurring(AlertsSchedulerScheduleRecurringArgs.builder()
            .dynamic(AlertsSchedulerScheduleRecurringDynamicArgs.builder()
                .frequency(AlertsSchedulerScheduleRecurringDynamicFrequencyArgs.builder()
                    .daily()
                    .monthly(AlertsSchedulerScheduleRecurringDynamicFrequencyMonthlyArgs.builder()
                        .days(0)
                        .build())
                    .weekly(AlertsSchedulerScheduleRecurringDynamicFrequencyWeeklyArgs.builder()
                        .days("string")
                        .build())
                    .build())
                .repeatEvery(0)
                .timeFrame(AlertsSchedulerScheduleRecurringDynamicTimeFrameArgs.builder()
                    .startTime("string")
                    .timeZone("string")
                    .duration(AlertsSchedulerScheduleRecurringDynamicTimeFrameDurationArgs.builder()
                        .forOver(0)
                        .frequency("string")
                        .build())
                    .endTime("string")
                    .build())
                .terminationDate("string")
                .build())
            .build())
        .build())
    .build());
Copy
alerts_scheduler_resource = coralogix.AlertsScheduler("alertsSchedulerResource",
    description="string",
    enabled=False,
    filter={
        "what_expression": "string",
        "alerts_unique_ids": ["string"],
        "meta_labels": [{
            "key": "string",
            "value": "string",
        }],
    },
    meta_labels=[{
        "key": "string",
        "value": "string",
    }],
    name="string",
    schedule={
        "operation": "string",
        "one_time": {
            "time_frame": {
                "start_time": "string",
                "time_zone": "string",
                "duration": {
                    "for_over": 0,
                    "frequency": "string",
                },
                "end_time": "string",
            },
        },
        "recurring": {
            "dynamic": {
                "frequency": {
                    "daily": {},
                    "monthly": {
                        "days": [0],
                    },
                    "weekly": {
                        "days": ["string"],
                    },
                },
                "repeat_every": 0,
                "time_frame": {
                    "start_time": "string",
                    "time_zone": "string",
                    "duration": {
                        "for_over": 0,
                        "frequency": "string",
                    },
                    "end_time": "string",
                },
                "termination_date": "string",
            },
        },
    })
Copy
const alertsSchedulerResource = new coralogix.AlertsScheduler("alertsSchedulerResource", {
    description: "string",
    enabled: false,
    filter: {
        whatExpression: "string",
        alertsUniqueIds: ["string"],
        metaLabels: [{
            key: "string",
            value: "string",
        }],
    },
    metaLabels: [{
        key: "string",
        value: "string",
    }],
    name: "string",
    schedule: {
        operation: "string",
        oneTime: {
            timeFrame: {
                startTime: "string",
                timeZone: "string",
                duration: {
                    forOver: 0,
                    frequency: "string",
                },
                endTime: "string",
            },
        },
        recurring: {
            dynamic: {
                frequency: {
                    daily: {},
                    monthly: {
                        days: [0],
                    },
                    weekly: {
                        days: ["string"],
                    },
                },
                repeatEvery: 0,
                timeFrame: {
                    startTime: "string",
                    timeZone: "string",
                    duration: {
                        forOver: 0,
                        frequency: "string",
                    },
                    endTime: "string",
                },
                terminationDate: "string",
            },
        },
    },
});
Copy
type: coralogix:AlertsScheduler
properties:
    description: string
    enabled: false
    filter:
        alertsUniqueIds:
            - string
        metaLabels:
            - key: string
              value: string
        whatExpression: string
    metaLabels:
        - key: string
          value: string
    name: string
    schedule:
        oneTime:
            timeFrame:
                duration:
                    forOver: 0
                    frequency: string
                endTime: string
                startTime: string
                timeZone: string
        operation: string
        recurring:
            dynamic:
                frequency:
                    daily: {}
                    monthly:
                        days:
                            - 0
                    weekly:
                        days:
                            - string
                repeatEvery: 0
                terminationDate: string
                timeFrame:
                    duration:
                        forOver: 0
                        frequency: string
                    endTime: string
                    startTime: string
                    timeZone: string
Copy

AlertsScheduler Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The AlertsScheduler resource accepts the following input properties:

Description string
Alert Scheduler description.
Enabled bool
Alert Scheduler enabled. If set to false, the alert scheduler will be disabled. True by default.
Filter AlertsSchedulerFilter
Alert Scheduler filter. Only one of meta_labels or alerts_unique_ids can be set. If none of them set, all alerts will be affected.
MetaLabels List<AlertsSchedulerMetaLabel>
Alert Scheduler meta labels.
Name string
Alert Scheduler name.
Schedule AlertsSchedulerSchedule
Exactly one of one_time or recurring must be set.
Description string
Alert Scheduler description.
Enabled bool
Alert Scheduler enabled. If set to false, the alert scheduler will be disabled. True by default.
Filter AlertsSchedulerFilterArgs
Alert Scheduler filter. Only one of meta_labels or alerts_unique_ids can be set. If none of them set, all alerts will be affected.
MetaLabels []AlertsSchedulerMetaLabelArgs
Alert Scheduler meta labels.
Name string
Alert Scheduler name.
Schedule AlertsSchedulerScheduleArgs
Exactly one of one_time or recurring must be set.
description String
Alert Scheduler description.
enabled Boolean
Alert Scheduler enabled. If set to false, the alert scheduler will be disabled. True by default.
filter AlertsSchedulerFilter
Alert Scheduler filter. Only one of meta_labels or alerts_unique_ids can be set. If none of them set, all alerts will be affected.
metaLabels List<AlertsSchedulerMetaLabel>
Alert Scheduler meta labels.
name String
Alert Scheduler name.
schedule AlertsSchedulerSchedule
Exactly one of one_time or recurring must be set.
description string
Alert Scheduler description.
enabled boolean
Alert Scheduler enabled. If set to false, the alert scheduler will be disabled. True by default.
filter AlertsSchedulerFilter
Alert Scheduler filter. Only one of meta_labels or alerts_unique_ids can be set. If none of them set, all alerts will be affected.
metaLabels AlertsSchedulerMetaLabel[]
Alert Scheduler meta labels.
name string
Alert Scheduler name.
schedule AlertsSchedulerSchedule
Exactly one of one_time or recurring must be set.
description str
Alert Scheduler description.
enabled bool
Alert Scheduler enabled. If set to false, the alert scheduler will be disabled. True by default.
filter AlertsSchedulerFilterArgs
Alert Scheduler filter. Only one of meta_labels or alerts_unique_ids can be set. If none of them set, all alerts will be affected.
meta_labels Sequence[AlertsSchedulerMetaLabelArgs]
Alert Scheduler meta labels.
name str
Alert Scheduler name.
schedule AlertsSchedulerScheduleArgs
Exactly one of one_time or recurring must be set.
description String
Alert Scheduler description.
enabled Boolean
Alert Scheduler enabled. If set to false, the alert scheduler will be disabled. True by default.
filter Property Map
Alert Scheduler filter. Only one of meta_labels or alerts_unique_ids can be set. If none of them set, all alerts will be affected.
metaLabels List<Property Map>
Alert Scheduler meta labels.
name String
Alert Scheduler name.
schedule Property Map
Exactly one of one_time or recurring must be set.

Outputs

All input properties are implicitly available as output properties. Additionally, the AlertsScheduler resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing AlertsScheduler Resource

Get an existing AlertsScheduler resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AlertsSchedulerState, opts?: CustomResourceOptions): AlertsScheduler
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        description: Optional[str] = None,
        enabled: Optional[bool] = None,
        filter: Optional[AlertsSchedulerFilterArgs] = None,
        meta_labels: Optional[Sequence[AlertsSchedulerMetaLabelArgs]] = None,
        name: Optional[str] = None,
        schedule: Optional[AlertsSchedulerScheduleArgs] = None) -> AlertsScheduler
func GetAlertsScheduler(ctx *Context, name string, id IDInput, state *AlertsSchedulerState, opts ...ResourceOption) (*AlertsScheduler, error)
public static AlertsScheduler Get(string name, Input<string> id, AlertsSchedulerState? state, CustomResourceOptions? opts = null)
public static AlertsScheduler get(String name, Output<String> id, AlertsSchedulerState state, CustomResourceOptions options)
resources:  _:    type: coralogix:AlertsScheduler    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Description string
Alert Scheduler description.
Enabled bool
Alert Scheduler enabled. If set to false, the alert scheduler will be disabled. True by default.
Filter AlertsSchedulerFilter
Alert Scheduler filter. Only one of meta_labels or alerts_unique_ids can be set. If none of them set, all alerts will be affected.
MetaLabels List<AlertsSchedulerMetaLabel>
Alert Scheduler meta labels.
Name string
Alert Scheduler name.
Schedule AlertsSchedulerSchedule
Exactly one of one_time or recurring must be set.
Description string
Alert Scheduler description.
Enabled bool
Alert Scheduler enabled. If set to false, the alert scheduler will be disabled. True by default.
Filter AlertsSchedulerFilterArgs
Alert Scheduler filter. Only one of meta_labels or alerts_unique_ids can be set. If none of them set, all alerts will be affected.
MetaLabels []AlertsSchedulerMetaLabelArgs
Alert Scheduler meta labels.
Name string
Alert Scheduler name.
Schedule AlertsSchedulerScheduleArgs
Exactly one of one_time or recurring must be set.
description String
Alert Scheduler description.
enabled Boolean
Alert Scheduler enabled. If set to false, the alert scheduler will be disabled. True by default.
filter AlertsSchedulerFilter
Alert Scheduler filter. Only one of meta_labels or alerts_unique_ids can be set. If none of them set, all alerts will be affected.
metaLabels List<AlertsSchedulerMetaLabel>
Alert Scheduler meta labels.
name String
Alert Scheduler name.
schedule AlertsSchedulerSchedule
Exactly one of one_time or recurring must be set.
description string
Alert Scheduler description.
enabled boolean
Alert Scheduler enabled. If set to false, the alert scheduler will be disabled. True by default.
filter AlertsSchedulerFilter
Alert Scheduler filter. Only one of meta_labels or alerts_unique_ids can be set. If none of them set, all alerts will be affected.
metaLabels AlertsSchedulerMetaLabel[]
Alert Scheduler meta labels.
name string
Alert Scheduler name.
schedule AlertsSchedulerSchedule
Exactly one of one_time or recurring must be set.
description str
Alert Scheduler description.
enabled bool
Alert Scheduler enabled. If set to false, the alert scheduler will be disabled. True by default.
filter AlertsSchedulerFilterArgs
Alert Scheduler filter. Only one of meta_labels or alerts_unique_ids can be set. If none of them set, all alerts will be affected.
meta_labels Sequence[AlertsSchedulerMetaLabelArgs]
Alert Scheduler meta labels.
name str
Alert Scheduler name.
schedule AlertsSchedulerScheduleArgs
Exactly one of one_time or recurring must be set.
description String
Alert Scheduler description.
enabled Boolean
Alert Scheduler enabled. If set to false, the alert scheduler will be disabled. True by default.
filter Property Map
Alert Scheduler filter. Only one of meta_labels or alerts_unique_ids can be set. If none of them set, all alerts will be affected.
metaLabels List<Property Map>
Alert Scheduler meta labels.
name String
Alert Scheduler name.
schedule Property Map
Exactly one of one_time or recurring must be set.

Supporting Types

AlertsSchedulerFilter
, AlertsSchedulerFilterArgs

WhatExpression This property is required. string
DataPrime query expression. - DataPrime query language.
AlertsUniqueIds List<string>
MetaLabels List<AlertsSchedulerFilterMetaLabel>
WhatExpression This property is required. string
DataPrime query expression. - DataPrime query language.
AlertsUniqueIds []string
MetaLabels []AlertsSchedulerFilterMetaLabel
whatExpression This property is required. String
DataPrime query expression. - DataPrime query language.
alertsUniqueIds List<String>
metaLabels List<AlertsSchedulerFilterMetaLabel>
whatExpression This property is required. string
DataPrime query expression. - DataPrime query language.
alertsUniqueIds string[]
metaLabels AlertsSchedulerFilterMetaLabel[]
what_expression This property is required. str
DataPrime query expression. - DataPrime query language.
alerts_unique_ids Sequence[str]
meta_labels Sequence[AlertsSchedulerFilterMetaLabel]
whatExpression This property is required. String
DataPrime query expression. - DataPrime query language.
alertsUniqueIds List<String>
metaLabels List<Property Map>

AlertsSchedulerFilterMetaLabel
, AlertsSchedulerFilterMetaLabelArgs

Key This property is required. string
Value string
Key This property is required. string
Value string
key This property is required. String
value String
key This property is required. string
value string
key This property is required. str
value str
key This property is required. String
value String

AlertsSchedulerMetaLabel
, AlertsSchedulerMetaLabelArgs

Key This property is required. string
Value string
Key This property is required. string
Value string
key This property is required. String
value String
key This property is required. string
value string
key This property is required. str
value str
key This property is required. String
value String

AlertsSchedulerSchedule
, AlertsSchedulerScheduleArgs

Operation This property is required. string
The operation to perform. Can be mute or active.
OneTime AlertsSchedulerScheduleOneTime
Recurring AlertsSchedulerScheduleRecurring
Operation This property is required. string
The operation to perform. Can be mute or active.
OneTime AlertsSchedulerScheduleOneTime
Recurring AlertsSchedulerScheduleRecurring
operation This property is required. String
The operation to perform. Can be mute or active.
oneTime AlertsSchedulerScheduleOneTime
recurring AlertsSchedulerScheduleRecurring
operation This property is required. string
The operation to perform. Can be mute or active.
oneTime AlertsSchedulerScheduleOneTime
recurring AlertsSchedulerScheduleRecurring
operation This property is required. str
The operation to perform. Can be mute or active.
one_time AlertsSchedulerScheduleOneTime
recurring AlertsSchedulerScheduleRecurring
operation This property is required. String
The operation to perform. Can be mute or active.
oneTime Property Map
recurring Property Map

AlertsSchedulerScheduleOneTime
, AlertsSchedulerScheduleOneTimeArgs

timeFrame This property is required. Property Map

AlertsSchedulerScheduleOneTimeTimeFrame
, AlertsSchedulerScheduleOneTimeTimeFrameArgs

StartTime This property is required. string
TimeZone This property is required. string
Duration AlertsSchedulerScheduleOneTimeTimeFrameDuration
The duration from the start time to wait.
EndTime string
The end time of the time frame. In a isodate format. For example, 2021-01-01T00:00:00.000.
StartTime This property is required. string
TimeZone This property is required. string
Duration AlertsSchedulerScheduleOneTimeTimeFrameDuration
The duration from the start time to wait.
EndTime string
The end time of the time frame. In a isodate format. For example, 2021-01-01T00:00:00.000.
startTime This property is required. String
timeZone This property is required. String
duration AlertsSchedulerScheduleOneTimeTimeFrameDuration
The duration from the start time to wait.
endTime String
The end time of the time frame. In a isodate format. For example, 2021-01-01T00:00:00.000.
startTime This property is required. string
timeZone This property is required. string
duration AlertsSchedulerScheduleOneTimeTimeFrameDuration
The duration from the start time to wait.
endTime string
The end time of the time frame. In a isodate format. For example, 2021-01-01T00:00:00.000.
start_time This property is required. str
time_zone This property is required. str
duration AlertsSchedulerScheduleOneTimeTimeFrameDuration
The duration from the start time to wait.
end_time str
The end time of the time frame. In a isodate format. For example, 2021-01-01T00:00:00.000.
startTime This property is required. String
timeZone This property is required. String
duration Property Map
The duration from the start time to wait.
endTime String
The end time of the time frame. In a isodate format. For example, 2021-01-01T00:00:00.000.

AlertsSchedulerScheduleOneTimeTimeFrameDuration
, AlertsSchedulerScheduleOneTimeTimeFrameDurationArgs

ForOver This property is required. double
The number of time units to wait before the alert is triggered. For example, if the frequency is set to hours and the value is set to 2, the alert will be triggered after 2 hours.
Frequency This property is required. string
The time unit to wait before the alert is triggered. Can be minutes, hours or days.
ForOver This property is required. float64
The number of time units to wait before the alert is triggered. For example, if the frequency is set to hours and the value is set to 2, the alert will be triggered after 2 hours.
Frequency This property is required. string
The time unit to wait before the alert is triggered. Can be minutes, hours or days.
forOver This property is required. Double
The number of time units to wait before the alert is triggered. For example, if the frequency is set to hours and the value is set to 2, the alert will be triggered after 2 hours.
frequency This property is required. String
The time unit to wait before the alert is triggered. Can be minutes, hours or days.
forOver This property is required. number
The number of time units to wait before the alert is triggered. For example, if the frequency is set to hours and the value is set to 2, the alert will be triggered after 2 hours.
frequency This property is required. string
The time unit to wait before the alert is triggered. Can be minutes, hours or days.
for_over This property is required. float
The number of time units to wait before the alert is triggered. For example, if the frequency is set to hours and the value is set to 2, the alert will be triggered after 2 hours.
frequency This property is required. str
The time unit to wait before the alert is triggered. Can be minutes, hours or days.
forOver This property is required. Number
The number of time units to wait before the alert is triggered. For example, if the frequency is set to hours and the value is set to 2, the alert will be triggered after 2 hours.
frequency This property is required. String
The time unit to wait before the alert is triggered. Can be minutes, hours or days.

AlertsSchedulerScheduleRecurring
, AlertsSchedulerScheduleRecurringArgs

AlertsSchedulerScheduleRecurringDynamic
, AlertsSchedulerScheduleRecurringDynamicArgs

Frequency This property is required. AlertsSchedulerScheduleRecurringDynamicFrequency
RepeatEvery This property is required. double
TimeFrame This property is required. AlertsSchedulerScheduleRecurringDynamicTimeFrame
TerminationDate string
Frequency This property is required. AlertsSchedulerScheduleRecurringDynamicFrequency
RepeatEvery This property is required. float64
TimeFrame This property is required. AlertsSchedulerScheduleRecurringDynamicTimeFrame
TerminationDate string
frequency This property is required. AlertsSchedulerScheduleRecurringDynamicFrequency
repeatEvery This property is required. Double
timeFrame This property is required. AlertsSchedulerScheduleRecurringDynamicTimeFrame
terminationDate String
frequency This property is required. AlertsSchedulerScheduleRecurringDynamicFrequency
repeatEvery This property is required. number
timeFrame This property is required. AlertsSchedulerScheduleRecurringDynamicTimeFrame
terminationDate string
frequency This property is required. Property Map
repeatEvery This property is required. Number
timeFrame This property is required. Property Map
terminationDate String

AlertsSchedulerScheduleRecurringDynamicFrequency
, AlertsSchedulerScheduleRecurringDynamicFrequencyArgs

AlertsSchedulerScheduleRecurringDynamicFrequencyMonthly
, AlertsSchedulerScheduleRecurringDynamicFrequencyMonthlyArgs

Days List<double>
Days []float64
days List<Double>
days number[]
days Sequence[float]
days List<Number>

AlertsSchedulerScheduleRecurringDynamicFrequencyWeekly
, AlertsSchedulerScheduleRecurringDynamicFrequencyWeeklyArgs

Days List<string>
Days []string
days List<String>
days string[]
days Sequence[str]
days List<String>

AlertsSchedulerScheduleRecurringDynamicTimeFrame
, AlertsSchedulerScheduleRecurringDynamicTimeFrameArgs

StartTime This property is required. string
TimeZone This property is required. string
Duration AlertsSchedulerScheduleRecurringDynamicTimeFrameDuration
The duration from the start time to wait.
EndTime string
The end time of the time frame. In a isodate format. For example, 2021-01-01T00:00:00.000.
StartTime This property is required. string
TimeZone This property is required. string
Duration AlertsSchedulerScheduleRecurringDynamicTimeFrameDuration
The duration from the start time to wait.
EndTime string
The end time of the time frame. In a isodate format. For example, 2021-01-01T00:00:00.000.
startTime This property is required. String
timeZone This property is required. String
duration AlertsSchedulerScheduleRecurringDynamicTimeFrameDuration
The duration from the start time to wait.
endTime String
The end time of the time frame. In a isodate format. For example, 2021-01-01T00:00:00.000.
startTime This property is required. string
timeZone This property is required. string
duration AlertsSchedulerScheduleRecurringDynamicTimeFrameDuration
The duration from the start time to wait.
endTime string
The end time of the time frame. In a isodate format. For example, 2021-01-01T00:00:00.000.
start_time This property is required. str
time_zone This property is required. str
duration AlertsSchedulerScheduleRecurringDynamicTimeFrameDuration
The duration from the start time to wait.
end_time str
The end time of the time frame. In a isodate format. For example, 2021-01-01T00:00:00.000.
startTime This property is required. String
timeZone This property is required. String
duration Property Map
The duration from the start time to wait.
endTime String
The end time of the time frame. In a isodate format. For example, 2021-01-01T00:00:00.000.

AlertsSchedulerScheduleRecurringDynamicTimeFrameDuration
, AlertsSchedulerScheduleRecurringDynamicTimeFrameDurationArgs

ForOver This property is required. double
The number of time units to wait before the alert is triggered. For example, if the frequency is set to hours and the value is set to 2, the alert will be triggered after 2 hours.
Frequency This property is required. string
The time unit to wait before the alert is triggered. Can be minutes, hours or days.
ForOver This property is required. float64
The number of time units to wait before the alert is triggered. For example, if the frequency is set to hours and the value is set to 2, the alert will be triggered after 2 hours.
Frequency This property is required. string
The time unit to wait before the alert is triggered. Can be minutes, hours or days.
forOver This property is required. Double
The number of time units to wait before the alert is triggered. For example, if the frequency is set to hours and the value is set to 2, the alert will be triggered after 2 hours.
frequency This property is required. String
The time unit to wait before the alert is triggered. Can be minutes, hours or days.
forOver This property is required. number
The number of time units to wait before the alert is triggered. For example, if the frequency is set to hours and the value is set to 2, the alert will be triggered after 2 hours.
frequency This property is required. string
The time unit to wait before the alert is triggered. Can be minutes, hours or days.
for_over This property is required. float
The number of time units to wait before the alert is triggered. For example, if the frequency is set to hours and the value is set to 2, the alert will be triggered after 2 hours.
frequency This property is required. str
The time unit to wait before the alert is triggered. Can be minutes, hours or days.
forOver This property is required. Number
The number of time units to wait before the alert is triggered. For example, if the frequency is set to hours and the value is set to 2, the alert will be triggered after 2 hours.
frequency This property is required. String
The time unit to wait before the alert is triggered. Can be minutes, hours or days.

Package Details

Repository
coralogix coralogix/terraform-provider-coralogix
License
Notes
This Pulumi package is based on the coralogix Terraform Provider.