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());
}
}
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
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 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 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 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 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 String
- The unique name of the resource.
- args 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",
},
},
},
});
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"),
},
},
},
})
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());
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",
},
},
})
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",
},
},
},
});
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
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
Alerts
Scheduler Filter - Alert Scheduler filter. Only one of
meta_labels
oralerts_unique_ids
can be set. If none of them set, all alerts will be affected. - Meta
Labels List<AlertsScheduler Meta Label> - Alert Scheduler meta labels.
- Name string
- Alert Scheduler name.
- Schedule
Alerts
Scheduler Schedule - Exactly one of
one_time
orrecurring
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
Alerts
Scheduler Filter Args - Alert Scheduler filter. Only one of
meta_labels
oralerts_unique_ids
can be set. If none of them set, all alerts will be affected. - Meta
Labels []AlertsScheduler Meta Label Args - Alert Scheduler meta labels.
- Name string
- Alert Scheduler name.
- Schedule
Alerts
Scheduler Schedule Args - Exactly one of
one_time
orrecurring
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
Alerts
Scheduler Filter - Alert Scheduler filter. Only one of
meta_labels
oralerts_unique_ids
can be set. If none of them set, all alerts will be affected. - meta
Labels List<AlertsScheduler Meta Label> - Alert Scheduler meta labels.
- name String
- Alert Scheduler name.
- schedule
Alerts
Scheduler Schedule - Exactly one of
one_time
orrecurring
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
Alerts
Scheduler Filter - Alert Scheduler filter. Only one of
meta_labels
oralerts_unique_ids
can be set. If none of them set, all alerts will be affected. - meta
Labels AlertsScheduler Meta Label[] - Alert Scheduler meta labels.
- name string
- Alert Scheduler name.
- schedule
Alerts
Scheduler Schedule - Exactly one of
one_time
orrecurring
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
Alerts
Scheduler Filter Args - Alert Scheduler filter. Only one of
meta_labels
oralerts_unique_ids
can be set. If none of them set, all alerts will be affected. - meta_
labels Sequence[AlertsScheduler Meta Label Args] - Alert Scheduler meta labels.
- name str
- Alert Scheduler name.
- schedule
Alerts
Scheduler Schedule Args - Exactly one of
one_time
orrecurring
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
oralerts_unique_ids
can be set. If none of them set, all alerts will be affected. - meta
Labels List<Property Map> - Alert Scheduler meta labels.
- name String
- Alert Scheduler name.
- schedule Property Map
- Exactly one of
one_time
orrecurring
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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Description string
- Alert Scheduler description.
- Enabled bool
- Alert Scheduler enabled. If set to
false
, the alert scheduler will be disabled. True by default. - Filter
Alerts
Scheduler Filter - Alert Scheduler filter. Only one of
meta_labels
oralerts_unique_ids
can be set. If none of them set, all alerts will be affected. - Meta
Labels List<AlertsScheduler Meta Label> - Alert Scheduler meta labels.
- Name string
- Alert Scheduler name.
- Schedule
Alerts
Scheduler Schedule - Exactly one of
one_time
orrecurring
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
Alerts
Scheduler Filter Args - Alert Scheduler filter. Only one of
meta_labels
oralerts_unique_ids
can be set. If none of them set, all alerts will be affected. - Meta
Labels []AlertsScheduler Meta Label Args - Alert Scheduler meta labels.
- Name string
- Alert Scheduler name.
- Schedule
Alerts
Scheduler Schedule Args - Exactly one of
one_time
orrecurring
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
Alerts
Scheduler Filter - Alert Scheduler filter. Only one of
meta_labels
oralerts_unique_ids
can be set. If none of them set, all alerts will be affected. - meta
Labels List<AlertsScheduler Meta Label> - Alert Scheduler meta labels.
- name String
- Alert Scheduler name.
- schedule
Alerts
Scheduler Schedule - Exactly one of
one_time
orrecurring
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
Alerts
Scheduler Filter - Alert Scheduler filter. Only one of
meta_labels
oralerts_unique_ids
can be set. If none of them set, all alerts will be affected. - meta
Labels AlertsScheduler Meta Label[] - Alert Scheduler meta labels.
- name string
- Alert Scheduler name.
- schedule
Alerts
Scheduler Schedule - Exactly one of
one_time
orrecurring
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
Alerts
Scheduler Filter Args - Alert Scheduler filter. Only one of
meta_labels
oralerts_unique_ids
can be set. If none of them set, all alerts will be affected. - meta_
labels Sequence[AlertsScheduler Meta Label Args] - Alert Scheduler meta labels.
- name str
- Alert Scheduler name.
- schedule
Alerts
Scheduler Schedule Args - Exactly one of
one_time
orrecurring
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
oralerts_unique_ids
can be set. If none of them set, all alerts will be affected. - meta
Labels List<Property Map> - Alert Scheduler meta labels.
- name String
- Alert Scheduler name.
- schedule Property Map
- Exactly one of
one_time
orrecurring
must be set.
Supporting Types
AlertsSchedulerFilter, AlertsSchedulerFilterArgs
- What
Expression string - DataPrime query expression. - DataPrime query language.
- Alerts
Unique List<string>Ids - Meta
Labels List<AlertsScheduler Filter Meta Label>
- What
Expression string - DataPrime query expression. - DataPrime query language.
- Alerts
Unique []stringIds - Meta
Labels []AlertsScheduler Filter Meta Label
- what
Expression String - DataPrime query expression. - DataPrime query language.
- alerts
Unique List<String>Ids - meta
Labels List<AlertsScheduler Filter Meta Label>
- what
Expression string - DataPrime query expression. - DataPrime query language.
- alerts
Unique string[]Ids - meta
Labels AlertsScheduler Filter Meta Label[]
- what_
expression str - DataPrime query expression. - DataPrime query language.
- alerts_
unique_ Sequence[str]ids - meta_
labels Sequence[AlertsScheduler Filter Meta Label]
- what
Expression String - DataPrime query expression. - DataPrime query language.
- alerts
Unique List<String>Ids - meta
Labels List<Property Map>
AlertsSchedulerFilterMetaLabel, AlertsSchedulerFilterMetaLabelArgs
AlertsSchedulerMetaLabel, AlertsSchedulerMetaLabelArgs
AlertsSchedulerSchedule, AlertsSchedulerScheduleArgs
- Operation string
- The operation to perform. Can be
mute
oractive
. - One
Time AlertsScheduler Schedule One Time - Recurring
Alerts
Scheduler Schedule Recurring
- Operation string
- The operation to perform. Can be
mute
oractive
. - One
Time AlertsScheduler Schedule One Time - Recurring
Alerts
Scheduler Schedule Recurring
- operation String
- The operation to perform. Can be
mute
oractive
. - one
Time AlertsScheduler Schedule One Time - recurring
Alerts
Scheduler Schedule Recurring
- operation string
- The operation to perform. Can be
mute
oractive
. - one
Time AlertsScheduler Schedule One Time - recurring
Alerts
Scheduler Schedule Recurring
- operation str
- The operation to perform. Can be
mute
oractive
. - one_
time AlertsScheduler Schedule One Time - recurring
Alerts
Scheduler Schedule Recurring
- operation String
- The operation to perform. Can be
mute
oractive
. - one
Time Property Map - recurring Property Map
AlertsSchedulerScheduleOneTime, AlertsSchedulerScheduleOneTimeArgs
AlertsSchedulerScheduleOneTimeTimeFrame, AlertsSchedulerScheduleOneTimeTimeFrameArgs
- Start
Time string - Time
Zone string - Duration
Alerts
Scheduler Schedule One Time Time Frame Duration - The duration from the start time to wait.
- End
Time string - The end time of the time frame. In a isodate format. For example,
2021-01-01T00:00:00.000
.
- Start
Time string - Time
Zone string - Duration
Alerts
Scheduler Schedule One Time Time Frame Duration - The duration from the start time to wait.
- End
Time string - The end time of the time frame. In a isodate format. For example,
2021-01-01T00:00:00.000
.
- start
Time String - time
Zone String - duration
Alerts
Scheduler Schedule One Time Time Frame Duration - The duration from the start time to wait.
- end
Time String - The end time of the time frame. In a isodate format. For example,
2021-01-01T00:00:00.000
.
- start
Time string - time
Zone string - duration
Alerts
Scheduler Schedule One Time Time Frame Duration - The duration from the start time to wait.
- end
Time string - The end time of the time frame. In a isodate format. For example,
2021-01-01T00:00:00.000
.
- start_
time str - time_
zone str - duration
Alerts
Scheduler Schedule One Time Time Frame Duration - 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
.
- start
Time String - time
Zone String - duration Property Map
- The duration from the start time to wait.
- end
Time String - The end time of the time frame. In a isodate format. For example,
2021-01-01T00:00:00.000
.
AlertsSchedulerScheduleOneTimeTimeFrameDuration, AlertsSchedulerScheduleOneTimeTimeFrameDurationArgs
AlertsSchedulerScheduleRecurring, AlertsSchedulerScheduleRecurringArgs
AlertsSchedulerScheduleRecurringDynamic, AlertsSchedulerScheduleRecurringDynamicArgs
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
- Start
Time string - Time
Zone string - Duration
Alerts
Scheduler Schedule Recurring Dynamic Time Frame Duration - The duration from the start time to wait.
- End
Time string - The end time of the time frame. In a isodate format. For example,
2021-01-01T00:00:00.000
.
- Start
Time string - Time
Zone string - Duration
Alerts
Scheduler Schedule Recurring Dynamic Time Frame Duration - The duration from the start time to wait.
- End
Time string - The end time of the time frame. In a isodate format. For example,
2021-01-01T00:00:00.000
.
- start
Time String - time
Zone String - duration
Alerts
Scheduler Schedule Recurring Dynamic Time Frame Duration - The duration from the start time to wait.
- end
Time String - The end time of the time frame. In a isodate format. For example,
2021-01-01T00:00:00.000
.
- start
Time string - time
Zone string - duration
Alerts
Scheduler Schedule Recurring Dynamic Time Frame Duration - The duration from the start time to wait.
- end
Time string - The end time of the time frame. In a isodate format. For example,
2021-01-01T00:00:00.000
.
- start_
time str - time_
zone str - duration
Alerts
Scheduler Schedule Recurring Dynamic Time Frame Duration - 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
.
- start
Time String - time
Zone String - duration Property Map
- The duration from the start time to wait.
- end
Time String - The end time of the time frame. In a isodate format. For example,
2021-01-01T00:00:00.000
.
AlertsSchedulerScheduleRecurringDynamicTimeFrameDuration, AlertsSchedulerScheduleRecurringDynamicTimeFrameDurationArgs
Package Details
- Repository
- coralogix coralogix/terraform-provider-coralogix
- License
- Notes
- This Pulumi package is based on the
coralogix
Terraform Provider.