sysdig.MonitorAlertV2Change
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sysdig from "@pulumi/sysdig";
const sample = new sysdig.MonitorAlertV2Change("sample", {
    groupAggregation: "avg",
    groupBies: ["kube_pod_name"],
    longerTimeRangeSeconds: 3600,
    metric: "sysdig_container_cpu_used_percent",
    notificationChannels: [{
        id: 1234,
        renotifyEveryMinutes: 60,
    }],
    operator: ">",
    scopes: [
        {
            label: "kube_cluster_name",
            operator: "in",
            values: [
                "my_cluster_1",
                "my_cluster_2",
            ],
        },
        {
            label: "kube_deployment_name",
            operator: "equals",
            values: ["my_deployment"],
        },
    ],
    severity: "high",
    shorterTimeRangeSeconds: 300,
    threshold: 75,
    timeAggregation: "avg",
});
import pulumi
import pulumi_sysdig as sysdig
sample = sysdig.MonitorAlertV2Change("sample",
    group_aggregation="avg",
    group_bies=["kube_pod_name"],
    longer_time_range_seconds=3600,
    metric="sysdig_container_cpu_used_percent",
    notification_channels=[{
        "id": 1234,
        "renotify_every_minutes": 60,
    }],
    operator=">",
    scopes=[
        {
            "label": "kube_cluster_name",
            "operator": "in",
            "values": [
                "my_cluster_1",
                "my_cluster_2",
            ],
        },
        {
            "label": "kube_deployment_name",
            "operator": "equals",
            "values": ["my_deployment"],
        },
    ],
    severity="high",
    shorter_time_range_seconds=300,
    threshold=75,
    time_aggregation="avg")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/sysdig/sysdig"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sysdig.NewMonitorAlertV2Change(ctx, "sample", &sysdig.MonitorAlertV2ChangeArgs{
			GroupAggregation: pulumi.String("avg"),
			GroupBies: pulumi.StringArray{
				pulumi.String("kube_pod_name"),
			},
			LongerTimeRangeSeconds: pulumi.Float64(3600),
			Metric:                 pulumi.String("sysdig_container_cpu_used_percent"),
			NotificationChannels: sysdig.MonitorAlertV2ChangeNotificationChannelArray{
				&sysdig.MonitorAlertV2ChangeNotificationChannelArgs{
					Id:                   pulumi.Float64(1234),
					RenotifyEveryMinutes: pulumi.Float64(60),
				},
			},
			Operator: pulumi.String(">"),
			Scopes: sysdig.MonitorAlertV2ChangeScopeArray{
				&sysdig.MonitorAlertV2ChangeScopeArgs{
					Label:    pulumi.String("kube_cluster_name"),
					Operator: pulumi.String("in"),
					Values: pulumi.StringArray{
						pulumi.String("my_cluster_1"),
						pulumi.String("my_cluster_2"),
					},
				},
				&sysdig.MonitorAlertV2ChangeScopeArgs{
					Label:    pulumi.String("kube_deployment_name"),
					Operator: pulumi.String("equals"),
					Values: pulumi.StringArray{
						pulumi.String("my_deployment"),
					},
				},
			},
			Severity:                pulumi.String("high"),
			ShorterTimeRangeSeconds: pulumi.Float64(300),
			Threshold:               pulumi.Float64(75),
			TimeAggregation:         pulumi.String("avg"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sysdig = Pulumi.Sysdig;
return await Deployment.RunAsync(() => 
{
    var sample = new Sysdig.MonitorAlertV2Change("sample", new()
    {
        GroupAggregation = "avg",
        GroupBies = new[]
        {
            "kube_pod_name",
        },
        LongerTimeRangeSeconds = 3600,
        Metric = "sysdig_container_cpu_used_percent",
        NotificationChannels = new[]
        {
            new Sysdig.Inputs.MonitorAlertV2ChangeNotificationChannelArgs
            {
                Id = 1234,
                RenotifyEveryMinutes = 60,
            },
        },
        Operator = ">",
        Scopes = new[]
        {
            new Sysdig.Inputs.MonitorAlertV2ChangeScopeArgs
            {
                Label = "kube_cluster_name",
                Operator = "in",
                Values = new[]
                {
                    "my_cluster_1",
                    "my_cluster_2",
                },
            },
            new Sysdig.Inputs.MonitorAlertV2ChangeScopeArgs
            {
                Label = "kube_deployment_name",
                Operator = "equals",
                Values = new[]
                {
                    "my_deployment",
                },
            },
        },
        Severity = "high",
        ShorterTimeRangeSeconds = 300,
        Threshold = 75,
        TimeAggregation = "avg",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sysdig.MonitorAlertV2Change;
import com.pulumi.sysdig.MonitorAlertV2ChangeArgs;
import com.pulumi.sysdig.inputs.MonitorAlertV2ChangeNotificationChannelArgs;
import com.pulumi.sysdig.inputs.MonitorAlertV2ChangeScopeArgs;
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 sample = new MonitorAlertV2Change("sample", MonitorAlertV2ChangeArgs.builder()
            .groupAggregation("avg")
            .groupBies("kube_pod_name")
            .longerTimeRangeSeconds(3600)
            .metric("sysdig_container_cpu_used_percent")
            .notificationChannels(MonitorAlertV2ChangeNotificationChannelArgs.builder()
                .id(1234)
                .renotifyEveryMinutes(60)
                .build())
            .operator(">")
            .scopes(            
                MonitorAlertV2ChangeScopeArgs.builder()
                    .label("kube_cluster_name")
                    .operator("in")
                    .values(                    
                        "my_cluster_1",
                        "my_cluster_2")
                    .build(),
                MonitorAlertV2ChangeScopeArgs.builder()
                    .label("kube_deployment_name")
                    .operator("equals")
                    .values("my_deployment")
                    .build())
            .severity("high")
            .shorterTimeRangeSeconds(300)
            .threshold(75)
            .timeAggregation("avg")
            .build());
    }
}
resources:
  sample:
    type: sysdig:MonitorAlertV2Change
    properties:
      groupAggregation: avg
      groupBies:
        - kube_pod_name
      longerTimeRangeSeconds: 3600
      metric: sysdig_container_cpu_used_percent
      notificationChannels:
        - id: 1234
          renotifyEveryMinutes: 60
      operator: '>'
      scopes:
        - label: kube_cluster_name
          operator: in
          values:
            - my_cluster_1
            - my_cluster_2
        - label: kube_deployment_name
          operator: equals
          values:
            - my_deployment
      severity: high
      shorterTimeRangeSeconds: 300
      threshold: 75
      timeAggregation: avg
Create MonitorAlertV2Change Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MonitorAlertV2Change(name: string, args: MonitorAlertV2ChangeArgs, opts?: CustomResourceOptions);@overload
def MonitorAlertV2Change(resource_name: str,
                         args: MonitorAlertV2ChangeArgs,
                         opts: Optional[ResourceOptions] = None)
@overload
def MonitorAlertV2Change(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         metric: Optional[str] = None,
                         longer_time_range_seconds: Optional[float] = None,
                         time_aggregation: Optional[str] = None,
                         threshold: Optional[float] = None,
                         shorter_time_range_seconds: Optional[float] = None,
                         group_aggregation: Optional[str] = None,
                         operator: Optional[str] = None,
                         links: Optional[Sequence[MonitorAlertV2ChangeLinkArgs]] = None,
                         group_bies: Optional[Sequence[str]] = None,
                         name: Optional[str] = None,
                         custom_notification: Optional[MonitorAlertV2ChangeCustomNotificationArgs] = None,
                         capture: Optional[MonitorAlertV2ChangeCaptureArgs] = None,
                         labels: Optional[Mapping[str, str]] = None,
                         notification_channels: Optional[Sequence[MonitorAlertV2ChangeNotificationChannelArgs]] = None,
                         monitor_alert_v2_change_id: Optional[str] = None,
                         scopes: Optional[Sequence[MonitorAlertV2ChangeScopeArgs]] = None,
                         severity: Optional[str] = None,
                         group: Optional[str] = None,
                         enabled: Optional[bool] = None,
                         description: Optional[str] = None,
                         timeouts: Optional[MonitorAlertV2ChangeTimeoutsArgs] = None,
                         unreported_alert_notifications_retention_seconds: Optional[float] = None,
                         warning_threshold: Optional[str] = None)func NewMonitorAlertV2Change(ctx *Context, name string, args MonitorAlertV2ChangeArgs, opts ...ResourceOption) (*MonitorAlertV2Change, error)public MonitorAlertV2Change(string name, MonitorAlertV2ChangeArgs args, CustomResourceOptions? opts = null)
public MonitorAlertV2Change(String name, MonitorAlertV2ChangeArgs args)
public MonitorAlertV2Change(String name, MonitorAlertV2ChangeArgs args, CustomResourceOptions options)
type: sysdig:MonitorAlertV2Change
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 MonitorAlertV2ChangeArgs
- 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 MonitorAlertV2ChangeArgs
- 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 MonitorAlertV2ChangeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MonitorAlertV2ChangeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MonitorAlertV2ChangeArgs
- 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 monitorAlertV2ChangeResource = new Sysdig.MonitorAlertV2Change("monitorAlertV2ChangeResource", new()
{
    Metric = "string",
    LongerTimeRangeSeconds = 0,
    TimeAggregation = "string",
    Threshold = 0,
    ShorterTimeRangeSeconds = 0,
    GroupAggregation = "string",
    Operator = "string",
    Links = new[]
    {
        new Sysdig.Inputs.MonitorAlertV2ChangeLinkArgs
        {
            Type = "string",
            Href = "string",
            Id = "string",
        },
    },
    GroupBies = new[]
    {
        "string",
    },
    Name = "string",
    CustomNotification = new Sysdig.Inputs.MonitorAlertV2ChangeCustomNotificationArgs
    {
        Append = "string",
        Prepend = "string",
        Subject = "string",
    },
    Capture = new Sysdig.Inputs.MonitorAlertV2ChangeCaptureArgs
    {
        Filename = "string",
        DurationSeconds = 0,
        Enabled = false,
        Filter = "string",
        Storage = "string",
    },
    Labels = 
    {
        { "string", "string" },
    },
    NotificationChannels = new[]
    {
        new Sysdig.Inputs.MonitorAlertV2ChangeNotificationChannelArgs
        {
            Id = 0,
            MainThreshold = false,
            NotifyOnResolve = false,
            RenotifyEveryMinutes = 0,
            WarningThreshold = false,
        },
    },
    MonitorAlertV2ChangeId = "string",
    Scopes = new[]
    {
        new Sysdig.Inputs.MonitorAlertV2ChangeScopeArgs
        {
            Label = "string",
            Operator = "string",
            Values = new[]
            {
                "string",
            },
        },
    },
    Severity = "string",
    Group = "string",
    Enabled = false,
    Description = "string",
    Timeouts = new Sysdig.Inputs.MonitorAlertV2ChangeTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Read = "string",
        Update = "string",
    },
    UnreportedAlertNotificationsRetentionSeconds = 0,
    WarningThreshold = "string",
});
example, err := sysdig.NewMonitorAlertV2Change(ctx, "monitorAlertV2ChangeResource", &sysdig.MonitorAlertV2ChangeArgs{
	Metric:                  pulumi.String("string"),
	LongerTimeRangeSeconds:  pulumi.Float64(0),
	TimeAggregation:         pulumi.String("string"),
	Threshold:               pulumi.Float64(0),
	ShorterTimeRangeSeconds: pulumi.Float64(0),
	GroupAggregation:        pulumi.String("string"),
	Operator:                pulumi.String("string"),
	Links: sysdig.MonitorAlertV2ChangeLinkArray{
		&sysdig.MonitorAlertV2ChangeLinkArgs{
			Type: pulumi.String("string"),
			Href: pulumi.String("string"),
			Id:   pulumi.String("string"),
		},
	},
	GroupBies: pulumi.StringArray{
		pulumi.String("string"),
	},
	Name: pulumi.String("string"),
	CustomNotification: &sysdig.MonitorAlertV2ChangeCustomNotificationArgs{
		Append:  pulumi.String("string"),
		Prepend: pulumi.String("string"),
		Subject: pulumi.String("string"),
	},
	Capture: &sysdig.MonitorAlertV2ChangeCaptureArgs{
		Filename:        pulumi.String("string"),
		DurationSeconds: pulumi.Float64(0),
		Enabled:         pulumi.Bool(false),
		Filter:          pulumi.String("string"),
		Storage:         pulumi.String("string"),
	},
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	NotificationChannels: sysdig.MonitorAlertV2ChangeNotificationChannelArray{
		&sysdig.MonitorAlertV2ChangeNotificationChannelArgs{
			Id:                   pulumi.Float64(0),
			MainThreshold:        pulumi.Bool(false),
			NotifyOnResolve:      pulumi.Bool(false),
			RenotifyEveryMinutes: pulumi.Float64(0),
			WarningThreshold:     pulumi.Bool(false),
		},
	},
	MonitorAlertV2ChangeId: pulumi.String("string"),
	Scopes: sysdig.MonitorAlertV2ChangeScopeArray{
		&sysdig.MonitorAlertV2ChangeScopeArgs{
			Label:    pulumi.String("string"),
			Operator: pulumi.String("string"),
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	Severity:    pulumi.String("string"),
	Group:       pulumi.String("string"),
	Enabled:     pulumi.Bool(false),
	Description: pulumi.String("string"),
	Timeouts: &sysdig.MonitorAlertV2ChangeTimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
		Read:   pulumi.String("string"),
		Update: pulumi.String("string"),
	},
	UnreportedAlertNotificationsRetentionSeconds: pulumi.Float64(0),
	WarningThreshold: pulumi.String("string"),
})
var monitorAlertV2ChangeResource = new MonitorAlertV2Change("monitorAlertV2ChangeResource", MonitorAlertV2ChangeArgs.builder()
    .metric("string")
    .longerTimeRangeSeconds(0.0)
    .timeAggregation("string")
    .threshold(0.0)
    .shorterTimeRangeSeconds(0.0)
    .groupAggregation("string")
    .operator("string")
    .links(MonitorAlertV2ChangeLinkArgs.builder()
        .type("string")
        .href("string")
        .id("string")
        .build())
    .groupBies("string")
    .name("string")
    .customNotification(MonitorAlertV2ChangeCustomNotificationArgs.builder()
        .append("string")
        .prepend("string")
        .subject("string")
        .build())
    .capture(MonitorAlertV2ChangeCaptureArgs.builder()
        .filename("string")
        .durationSeconds(0.0)
        .enabled(false)
        .filter("string")
        .storage("string")
        .build())
    .labels(Map.of("string", "string"))
    .notificationChannels(MonitorAlertV2ChangeNotificationChannelArgs.builder()
        .id(0.0)
        .mainThreshold(false)
        .notifyOnResolve(false)
        .renotifyEveryMinutes(0.0)
        .warningThreshold(false)
        .build())
    .monitorAlertV2ChangeId("string")
    .scopes(MonitorAlertV2ChangeScopeArgs.builder()
        .label("string")
        .operator("string")
        .values("string")
        .build())
    .severity("string")
    .group("string")
    .enabled(false)
    .description("string")
    .timeouts(MonitorAlertV2ChangeTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .read("string")
        .update("string")
        .build())
    .unreportedAlertNotificationsRetentionSeconds(0.0)
    .warningThreshold("string")
    .build());
monitor_alert_v2_change_resource = sysdig.MonitorAlertV2Change("monitorAlertV2ChangeResource",
    metric="string",
    longer_time_range_seconds=0,
    time_aggregation="string",
    threshold=0,
    shorter_time_range_seconds=0,
    group_aggregation="string",
    operator="string",
    links=[{
        "type": "string",
        "href": "string",
        "id": "string",
    }],
    group_bies=["string"],
    name="string",
    custom_notification={
        "append": "string",
        "prepend": "string",
        "subject": "string",
    },
    capture={
        "filename": "string",
        "duration_seconds": 0,
        "enabled": False,
        "filter": "string",
        "storage": "string",
    },
    labels={
        "string": "string",
    },
    notification_channels=[{
        "id": 0,
        "main_threshold": False,
        "notify_on_resolve": False,
        "renotify_every_minutes": 0,
        "warning_threshold": False,
    }],
    monitor_alert_v2_change_id="string",
    scopes=[{
        "label": "string",
        "operator": "string",
        "values": ["string"],
    }],
    severity="string",
    group="string",
    enabled=False,
    description="string",
    timeouts={
        "create": "string",
        "delete": "string",
        "read": "string",
        "update": "string",
    },
    unreported_alert_notifications_retention_seconds=0,
    warning_threshold="string")
const monitorAlertV2ChangeResource = new sysdig.MonitorAlertV2Change("monitorAlertV2ChangeResource", {
    metric: "string",
    longerTimeRangeSeconds: 0,
    timeAggregation: "string",
    threshold: 0,
    shorterTimeRangeSeconds: 0,
    groupAggregation: "string",
    operator: "string",
    links: [{
        type: "string",
        href: "string",
        id: "string",
    }],
    groupBies: ["string"],
    name: "string",
    customNotification: {
        append: "string",
        prepend: "string",
        subject: "string",
    },
    capture: {
        filename: "string",
        durationSeconds: 0,
        enabled: false,
        filter: "string",
        storage: "string",
    },
    labels: {
        string: "string",
    },
    notificationChannels: [{
        id: 0,
        mainThreshold: false,
        notifyOnResolve: false,
        renotifyEveryMinutes: 0,
        warningThreshold: false,
    }],
    monitorAlertV2ChangeId: "string",
    scopes: [{
        label: "string",
        operator: "string",
        values: ["string"],
    }],
    severity: "string",
    group: "string",
    enabled: false,
    description: "string",
    timeouts: {
        create: "string",
        "delete": "string",
        read: "string",
        update: "string",
    },
    unreportedAlertNotificationsRetentionSeconds: 0,
    warningThreshold: "string",
});
type: sysdig:MonitorAlertV2Change
properties:
    capture:
        durationSeconds: 0
        enabled: false
        filename: string
        filter: string
        storage: string
    customNotification:
        append: string
        prepend: string
        subject: string
    description: string
    enabled: false
    group: string
    groupAggregation: string
    groupBies:
        - string
    labels:
        string: string
    links:
        - href: string
          id: string
          type: string
    longerTimeRangeSeconds: 0
    metric: string
    monitorAlertV2ChangeId: string
    name: string
    notificationChannels:
        - id: 0
          mainThreshold: false
          notifyOnResolve: false
          renotifyEveryMinutes: 0
          warningThreshold: false
    operator: string
    scopes:
        - label: string
          operator: string
          values:
            - string
    severity: string
    shorterTimeRangeSeconds: 0
    threshold: 0
    timeAggregation: string
    timeouts:
        create: string
        delete: string
        read: string
        update: string
    unreportedAlertNotificationsRetentionSeconds: 0
    warningThreshold: string
MonitorAlertV2Change 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 MonitorAlertV2Change resource accepts the following input properties:
- GroupAggregation string
- LongerTime doubleRange Seconds 
- Metric string
- Operator string
- ShorterTime doubleRange Seconds 
- Threshold double
- TimeAggregation string
- Capture
MonitorAlert V2Change Capture 
- CustomNotification MonitorAlert V2Change Custom Notification 
- Description string
- Enabled bool
- Group string
- GroupBies List<string>
- Labels Dictionary<string, string>
- Links
List<MonitorAlert V2Change Link> 
- MonitorAlert stringV2Change Id 
- ID of the alert created.
- Name string
- NotificationChannels List<MonitorAlert V2Change Notification Channel> 
- Scopes
List<MonitorAlert V2Change Scope> 
- Severity string
- Timeouts
MonitorAlert V2Change Timeouts 
- UnreportedAlert doubleNotifications Retention Seconds 
- WarningThreshold string
- GroupAggregation string
- LongerTime float64Range Seconds 
- Metric string
- Operator string
- ShorterTime float64Range Seconds 
- Threshold float64
- TimeAggregation string
- Capture
MonitorAlert V2Change Capture Args 
- CustomNotification MonitorAlert V2Change Custom Notification Args 
- Description string
- Enabled bool
- Group string
- GroupBies []string
- Labels map[string]string
- Links
[]MonitorAlert V2Change Link Args 
- MonitorAlert stringV2Change Id 
- ID of the alert created.
- Name string
- NotificationChannels []MonitorAlert V2Change Notification Channel Args 
- Scopes
[]MonitorAlert V2Change Scope Args 
- Severity string
- Timeouts
MonitorAlert V2Change Timeouts Args 
- UnreportedAlert float64Notifications Retention Seconds 
- WarningThreshold string
- groupAggregation String
- longerTime DoubleRange Seconds 
- metric String
- operator String
- shorterTime DoubleRange Seconds 
- threshold Double
- timeAggregation String
- capture
MonitorAlert V2Change Capture 
- customNotification MonitorAlert V2Change Custom Notification 
- description String
- enabled Boolean
- group String
- groupBies List<String>
- labels Map<String,String>
- links
List<MonitorAlert V2Change Link> 
- monitorAlert StringV2Change Id 
- ID of the alert created.
- name String
- notificationChannels List<MonitorAlert V2Change Notification Channel> 
- scopes
List<MonitorAlert V2Change Scope> 
- severity String
- timeouts
MonitorAlert V2Change Timeouts 
- unreportedAlert DoubleNotifications Retention Seconds 
- warningThreshold String
- groupAggregation string
- longerTime numberRange Seconds 
- metric string
- operator string
- shorterTime numberRange Seconds 
- threshold number
- timeAggregation string
- capture
MonitorAlert V2Change Capture 
- customNotification MonitorAlert V2Change Custom Notification 
- description string
- enabled boolean
- group string
- groupBies string[]
- labels {[key: string]: string}
- links
MonitorAlert V2Change Link[] 
- monitorAlert stringV2Change Id 
- ID of the alert created.
- name string
- notificationChannels MonitorAlert V2Change Notification Channel[] 
- scopes
MonitorAlert V2Change Scope[] 
- severity string
- timeouts
MonitorAlert V2Change Timeouts 
- unreportedAlert numberNotifications Retention Seconds 
- warningThreshold string
- group_aggregation str
- longer_time_ floatrange_ seconds 
- metric str
- operator str
- shorter_time_ floatrange_ seconds 
- threshold float
- time_aggregation str
- capture
MonitorAlert V2Change Capture Args 
- custom_notification MonitorAlert V2Change Custom Notification Args 
- description str
- enabled bool
- group str
- group_bies Sequence[str]
- labels Mapping[str, str]
- links
Sequence[MonitorAlert V2Change Link Args] 
- monitor_alert_ strv2_ change_ id 
- ID of the alert created.
- name str
- notification_channels Sequence[MonitorAlert V2Change Notification Channel Args] 
- scopes
Sequence[MonitorAlert V2Change Scope Args] 
- severity str
- timeouts
MonitorAlert V2Change Timeouts Args 
- unreported_alert_ floatnotifications_ retention_ seconds 
- warning_threshold str
- groupAggregation String
- longerTime NumberRange Seconds 
- metric String
- operator String
- shorterTime NumberRange Seconds 
- threshold Number
- timeAggregation String
- capture Property Map
- customNotification Property Map
- description String
- enabled Boolean
- group String
- groupBies List<String>
- labels Map<String>
- links List<Property Map>
- monitorAlert StringV2Change Id 
- ID of the alert created.
- name String
- notificationChannels List<Property Map>
- scopes List<Property Map>
- severity String
- timeouts Property Map
- unreportedAlert NumberNotifications Retention Seconds 
- warningThreshold String
Outputs
All input properties are implicitly available as output properties. Additionally, the MonitorAlertV2Change resource produces the following output properties:
Look up Existing MonitorAlertV2Change Resource
Get an existing MonitorAlertV2Change 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?: MonitorAlertV2ChangeState, opts?: CustomResourceOptions): MonitorAlertV2Change@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        capture: Optional[MonitorAlertV2ChangeCaptureArgs] = None,
        custom_notification: Optional[MonitorAlertV2ChangeCustomNotificationArgs] = None,
        description: Optional[str] = None,
        enabled: Optional[bool] = None,
        group: Optional[str] = None,
        group_aggregation: Optional[str] = None,
        group_bies: Optional[Sequence[str]] = None,
        labels: Optional[Mapping[str, str]] = None,
        links: Optional[Sequence[MonitorAlertV2ChangeLinkArgs]] = None,
        longer_time_range_seconds: Optional[float] = None,
        metric: Optional[str] = None,
        monitor_alert_v2_change_id: Optional[str] = None,
        name: Optional[str] = None,
        notification_channels: Optional[Sequence[MonitorAlertV2ChangeNotificationChannelArgs]] = None,
        operator: Optional[str] = None,
        scopes: Optional[Sequence[MonitorAlertV2ChangeScopeArgs]] = None,
        severity: Optional[str] = None,
        shorter_time_range_seconds: Optional[float] = None,
        team: Optional[float] = None,
        threshold: Optional[float] = None,
        time_aggregation: Optional[str] = None,
        timeouts: Optional[MonitorAlertV2ChangeTimeoutsArgs] = None,
        unreported_alert_notifications_retention_seconds: Optional[float] = None,
        version: Optional[float] = None,
        warning_threshold: Optional[str] = None) -> MonitorAlertV2Changefunc GetMonitorAlertV2Change(ctx *Context, name string, id IDInput, state *MonitorAlertV2ChangeState, opts ...ResourceOption) (*MonitorAlertV2Change, error)public static MonitorAlertV2Change Get(string name, Input<string> id, MonitorAlertV2ChangeState? state, CustomResourceOptions? opts = null)public static MonitorAlertV2Change get(String name, Output<String> id, MonitorAlertV2ChangeState state, CustomResourceOptions options)resources:  _:    type: sysdig:MonitorAlertV2Change    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.
- Capture
MonitorAlert V2Change Capture 
- CustomNotification MonitorAlert V2Change Custom Notification 
- Description string
- Enabled bool
- Group string
- GroupAggregation string
- GroupBies List<string>
- Labels Dictionary<string, string>
- Links
List<MonitorAlert V2Change Link> 
- LongerTime doubleRange Seconds 
- Metric string
- MonitorAlert stringV2Change Id 
- ID of the alert created.
- Name string
- NotificationChannels List<MonitorAlert V2Change Notification Channel> 
- Operator string
- Scopes
List<MonitorAlert V2Change Scope> 
- Severity string
- ShorterTime doubleRange Seconds 
- Team double
- Team ID that owns the alert.
- Threshold double
- TimeAggregation string
- Timeouts
MonitorAlert V2Change Timeouts 
- UnreportedAlert doubleNotifications Retention Seconds 
- Version double
- Current version of the resource in Sysdig Monitor.
- WarningThreshold string
- Capture
MonitorAlert V2Change Capture Args 
- CustomNotification MonitorAlert V2Change Custom Notification Args 
- Description string
- Enabled bool
- Group string
- GroupAggregation string
- GroupBies []string
- Labels map[string]string
- Links
[]MonitorAlert V2Change Link Args 
- LongerTime float64Range Seconds 
- Metric string
- MonitorAlert stringV2Change Id 
- ID of the alert created.
- Name string
- NotificationChannels []MonitorAlert V2Change Notification Channel Args 
- Operator string
- Scopes
[]MonitorAlert V2Change Scope Args 
- Severity string
- ShorterTime float64Range Seconds 
- Team float64
- Team ID that owns the alert.
- Threshold float64
- TimeAggregation string
- Timeouts
MonitorAlert V2Change Timeouts Args 
- UnreportedAlert float64Notifications Retention Seconds 
- Version float64
- Current version of the resource in Sysdig Monitor.
- WarningThreshold string
- capture
MonitorAlert V2Change Capture 
- customNotification MonitorAlert V2Change Custom Notification 
- description String
- enabled Boolean
- group String
- groupAggregation String
- groupBies List<String>
- labels Map<String,String>
- links
List<MonitorAlert V2Change Link> 
- longerTime DoubleRange Seconds 
- metric String
- monitorAlert StringV2Change Id 
- ID of the alert created.
- name String
- notificationChannels List<MonitorAlert V2Change Notification Channel> 
- operator String
- scopes
List<MonitorAlert V2Change Scope> 
- severity String
- shorterTime DoubleRange Seconds 
- team Double
- Team ID that owns the alert.
- threshold Double
- timeAggregation String
- timeouts
MonitorAlert V2Change Timeouts 
- unreportedAlert DoubleNotifications Retention Seconds 
- version Double
- Current version of the resource in Sysdig Monitor.
- warningThreshold String
- capture
MonitorAlert V2Change Capture 
- customNotification MonitorAlert V2Change Custom Notification 
- description string
- enabled boolean
- group string
- groupAggregation string
- groupBies string[]
- labels {[key: string]: string}
- links
MonitorAlert V2Change Link[] 
- longerTime numberRange Seconds 
- metric string
- monitorAlert stringV2Change Id 
- ID of the alert created.
- name string
- notificationChannels MonitorAlert V2Change Notification Channel[] 
- operator string
- scopes
MonitorAlert V2Change Scope[] 
- severity string
- shorterTime numberRange Seconds 
- team number
- Team ID that owns the alert.
- threshold number
- timeAggregation string
- timeouts
MonitorAlert V2Change Timeouts 
- unreportedAlert numberNotifications Retention Seconds 
- version number
- Current version of the resource in Sysdig Monitor.
- warningThreshold string
- capture
MonitorAlert V2Change Capture Args 
- custom_notification MonitorAlert V2Change Custom Notification Args 
- description str
- enabled bool
- group str
- group_aggregation str
- group_bies Sequence[str]
- labels Mapping[str, str]
- links
Sequence[MonitorAlert V2Change Link Args] 
- longer_time_ floatrange_ seconds 
- metric str
- monitor_alert_ strv2_ change_ id 
- ID of the alert created.
- name str
- notification_channels Sequence[MonitorAlert V2Change Notification Channel Args] 
- operator str
- scopes
Sequence[MonitorAlert V2Change Scope Args] 
- severity str
- shorter_time_ floatrange_ seconds 
- team float
- Team ID that owns the alert.
- threshold float
- time_aggregation str
- timeouts
MonitorAlert V2Change Timeouts Args 
- unreported_alert_ floatnotifications_ retention_ seconds 
- version float
- Current version of the resource in Sysdig Monitor.
- warning_threshold str
- capture Property Map
- customNotification Property Map
- description String
- enabled Boolean
- group String
- groupAggregation String
- groupBies List<String>
- labels Map<String>
- links List<Property Map>
- longerTime NumberRange Seconds 
- metric String
- monitorAlert StringV2Change Id 
- ID of the alert created.
- name String
- notificationChannels List<Property Map>
- operator String
- scopes List<Property Map>
- severity String
- shorterTime NumberRange Seconds 
- team Number
- Team ID that owns the alert.
- threshold Number
- timeAggregation String
- timeouts Property Map
- unreportedAlert NumberNotifications Retention Seconds 
- version Number
- Current version of the resource in Sysdig Monitor.
- warningThreshold String
Supporting Types
MonitorAlertV2ChangeCapture, MonitorAlertV2ChangeCaptureArgs        
- Filename string
- DurationSeconds double
- Enabled bool
- Boolean that defines if the alert is enabled or not. Default: true.
- Filter string
- Storage string
- Filename string
- DurationSeconds float64
- Enabled bool
- Boolean that defines if the alert is enabled or not. Default: true.
- Filter string
- Storage string
- filename String
- durationSeconds Double
- enabled Boolean
- Boolean that defines if the alert is enabled or not. Default: true.
- filter String
- storage String
- filename string
- durationSeconds number
- enabled boolean
- Boolean that defines if the alert is enabled or not. Default: true.
- filter string
- storage string
- filename str
- duration_seconds float
- enabled bool
- Boolean that defines if the alert is enabled or not. Default: true.
- filter str
- storage str
- filename String
- durationSeconds Number
- enabled Boolean
- Boolean that defines if the alert is enabled or not. Default: true.
- filter String
- storage String
MonitorAlertV2ChangeCustomNotification, MonitorAlertV2ChangeCustomNotificationArgs          
MonitorAlertV2ChangeLink, MonitorAlertV2ChangeLinkArgs        
MonitorAlertV2ChangeNotificationChannel, MonitorAlertV2ChangeNotificationChannelArgs          
- Id double
- The ID of the notification channel.
- MainThreshold bool
- Whether this notification channel is used for the main threshold of the alert. Default: true.
- NotifyOn boolResolve 
- Wether to send a notification when the alert is resolved. Default: true.
- RenotifyEvery doubleMinutes 
- the amount of minutes to wait before re sending the notification to this channel. 0means no renotification enabled. Default:0.
- Type string
- Type of link. Must be runbook, for generic links, ordashboard, for internal links to existing dashboards.
- WarningThreshold bool
- Whether this notification channel is used for the warning threshold of the alert. Default: false.
- Id float64
- The ID of the notification channel.
- MainThreshold bool
- Whether this notification channel is used for the main threshold of the alert. Default: true.
- NotifyOn boolResolve 
- Wether to send a notification when the alert is resolved. Default: true.
- RenotifyEvery float64Minutes 
- the amount of minutes to wait before re sending the notification to this channel. 0means no renotification enabled. Default:0.
- Type string
- Type of link. Must be runbook, for generic links, ordashboard, for internal links to existing dashboards.
- WarningThreshold bool
- Whether this notification channel is used for the warning threshold of the alert. Default: false.
- id Double
- The ID of the notification channel.
- mainThreshold Boolean
- Whether this notification channel is used for the main threshold of the alert. Default: true.
- notifyOn BooleanResolve 
- Wether to send a notification when the alert is resolved. Default: true.
- renotifyEvery DoubleMinutes 
- the amount of minutes to wait before re sending the notification to this channel. 0means no renotification enabled. Default:0.
- type String
- Type of link. Must be runbook, for generic links, ordashboard, for internal links to existing dashboards.
- warningThreshold Boolean
- Whether this notification channel is used for the warning threshold of the alert. Default: false.
- id number
- The ID of the notification channel.
- mainThreshold boolean
- Whether this notification channel is used for the main threshold of the alert. Default: true.
- notifyOn booleanResolve 
- Wether to send a notification when the alert is resolved. Default: true.
- renotifyEvery numberMinutes 
- the amount of minutes to wait before re sending the notification to this channel. 0means no renotification enabled. Default:0.
- type string
- Type of link. Must be runbook, for generic links, ordashboard, for internal links to existing dashboards.
- warningThreshold boolean
- Whether this notification channel is used for the warning threshold of the alert. Default: false.
- id float
- The ID of the notification channel.
- main_threshold bool
- Whether this notification channel is used for the main threshold of the alert. Default: true.
- notify_on_ boolresolve 
- Wether to send a notification when the alert is resolved. Default: true.
- renotify_every_ floatminutes 
- the amount of minutes to wait before re sending the notification to this channel. 0means no renotification enabled. Default:0.
- type str
- Type of link. Must be runbook, for generic links, ordashboard, for internal links to existing dashboards.
- warning_threshold bool
- Whether this notification channel is used for the warning threshold of the alert. Default: false.
- id Number
- The ID of the notification channel.
- mainThreshold Boolean
- Whether this notification channel is used for the main threshold of the alert. Default: true.
- notifyOn BooleanResolve 
- Wether to send a notification when the alert is resolved. Default: true.
- renotifyEvery NumberMinutes 
- the amount of minutes to wait before re sending the notification to this channel. 0means no renotification enabled. Default:0.
- type String
- Type of link. Must be runbook, for generic links, ordashboard, for internal links to existing dashboards.
- warningThreshold Boolean
- Whether this notification channel is used for the warning threshold of the alert. Default: false.
MonitorAlertV2ChangeScope, MonitorAlertV2ChangeScopeArgs        
MonitorAlertV2ChangeTimeouts, MonitorAlertV2ChangeTimeoutsArgs        
Import
Percentage of Change alerts can be imported using the alert ID, e.g.
$ pulumi import sysdig:index/monitorAlertV2Change:MonitorAlertV2Change example 12345
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- sysdig sysdiglabs/terraform-provider-sysdig
- License
- Notes
- This Pulumi package is based on the sysdigTerraform Provider.