1. Packages
  2. Sumologic Provider
  3. API Docs
  4. MutingSchedule
Sumo Logic v1.0.7 published on Friday, Apr 11, 2025 by Pulumi

sumologic.MutingSchedule

Explore with Pulumi AI

Provides the ability to create, read, delete, and update MutingSchedule.

Example One-Time Muting Schedule From 12AM to 1AM on 2023-08-05 for All Monitors

import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";

const mutingSchedule = new sumologic.MutingSchedule("muting_schedule", {
    name: "One-Time Schedule for All Monitors",
    type: "MutingSchedulesLibraryMutingSchedule",
    contentType: "MutingSchedule",
    monitor: {
        all: true,
    },
    schedule: {
        timezone: "America/Los_Angeles",
        startDate: "2023-08-05",
        startTime: "00:00",
        duration: 60,
    },
});
Copy
import pulumi
import pulumi_sumologic as sumologic

muting_schedule = sumologic.MutingSchedule("muting_schedule",
    name="One-Time Schedule for All Monitors",
    type="MutingSchedulesLibraryMutingSchedule",
    content_type="MutingSchedule",
    monitor={
        "all": True,
    },
    schedule={
        "timezone": "America/Los_Angeles",
        "start_date": "2023-08-05",
        "start_time": "00:00",
        "duration": 60,
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-sumologic/sdk/go/sumologic"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sumologic.NewMutingSchedule(ctx, "muting_schedule", &sumologic.MutingScheduleArgs{
			Name:        pulumi.String("One-Time Schedule for All Monitors"),
			Type:        pulumi.String("MutingSchedulesLibraryMutingSchedule"),
			ContentType: pulumi.String("MutingSchedule"),
			Monitor: &sumologic.MutingScheduleMonitorArgs{
				All: pulumi.Bool(true),
			},
			Schedule: &sumologic.MutingScheduleScheduleArgs{
				Timezone:  pulumi.String("America/Los_Angeles"),
				StartDate: pulumi.String("2023-08-05"),
				StartTime: pulumi.String("00:00"),
				Duration:  pulumi.Int(60),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using SumoLogic = Pulumi.SumoLogic;

return await Deployment.RunAsync(() => 
{
    var mutingSchedule = new SumoLogic.MutingSchedule("muting_schedule", new()
    {
        Name = "One-Time Schedule for All Monitors",
        Type = "MutingSchedulesLibraryMutingSchedule",
        ContentType = "MutingSchedule",
        Monitor = new SumoLogic.Inputs.MutingScheduleMonitorArgs
        {
            All = true,
        },
        Schedule = new SumoLogic.Inputs.MutingScheduleScheduleArgs
        {
            Timezone = "America/Los_Angeles",
            StartDate = "2023-08-05",
            StartTime = "00:00",
            Duration = 60,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sumologic.MutingSchedule;
import com.pulumi.sumologic.MutingScheduleArgs;
import com.pulumi.sumologic.inputs.MutingScheduleMonitorArgs;
import com.pulumi.sumologic.inputs.MutingScheduleScheduleArgs;
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 mutingSchedule = new MutingSchedule("mutingSchedule", MutingScheduleArgs.builder()
            .name("One-Time Schedule for All Monitors")
            .type("MutingSchedulesLibraryMutingSchedule")
            .contentType("MutingSchedule")
            .monitor(MutingScheduleMonitorArgs.builder()
                .all(true)
                .build())
            .schedule(MutingScheduleScheduleArgs.builder()
                .timezone("America/Los_Angeles")
                .startDate("2023-08-05")
                .startTime("00:00")
                .duration(60)
                .build())
            .build());

    }
}
Copy
resources:
  mutingSchedule:
    type: sumologic:MutingSchedule
    name: muting_schedule
    properties:
      name: One-Time Schedule for All Monitors
      type: MutingSchedulesLibraryMutingSchedule
      contentType: MutingSchedule
      monitor:
        all: true
      schedule:
        timezone: America/Los_Angeles
        startDate: 2023-08-05
        startTime: 00:00
        duration: 60
Copy

Example Daily Muting Schedule From 9AM to 10AM and 5PM to 6PM Starting On 2023-08-05 for a Monitor or Folder

import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";

const mutingSchedule = new sumologic.MutingSchedule("muting_schedule", {
    name: "Daily schedule at 9am and 5pm for 30 minutes for all monitors",
    type: "MutingSchedulesLibraryMutingSchedule",
    contentType: "MutingSchedule",
    monitor: {
        ids: ["0000000000000002"],
    },
    schedule: {
        timezone: "America/Los_Angeles",
        startDate: "2023-08-05",
        startTime: "00:00",
        duration: 60,
        rrule: "FREQ=DAILY;INTERVAL=1;BYHOUR=9,17",
    },
});
Copy
import pulumi
import pulumi_sumologic as sumologic

muting_schedule = sumologic.MutingSchedule("muting_schedule",
    name="Daily schedule at 9am and 5pm for 30 minutes for all monitors",
    type="MutingSchedulesLibraryMutingSchedule",
    content_type="MutingSchedule",
    monitor={
        "ids": ["0000000000000002"],
    },
    schedule={
        "timezone": "America/Los_Angeles",
        "start_date": "2023-08-05",
        "start_time": "00:00",
        "duration": 60,
        "rrule": "FREQ=DAILY;INTERVAL=1;BYHOUR=9,17",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-sumologic/sdk/go/sumologic"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sumologic.NewMutingSchedule(ctx, "muting_schedule", &sumologic.MutingScheduleArgs{
			Name:        pulumi.String("Daily schedule at 9am and 5pm for 30 minutes for all monitors"),
			Type:        pulumi.String("MutingSchedulesLibraryMutingSchedule"),
			ContentType: pulumi.String("MutingSchedule"),
			Monitor: &sumologic.MutingScheduleMonitorArgs{
				Ids: pulumi.StringArray{
					pulumi.String("0000000000000002"),
				},
			},
			Schedule: &sumologic.MutingScheduleScheduleArgs{
				Timezone:  pulumi.String("America/Los_Angeles"),
				StartDate: pulumi.String("2023-08-05"),
				StartTime: pulumi.String("00:00"),
				Duration:  pulumi.Int(60),
				Rrule:     pulumi.String("FREQ=DAILY;INTERVAL=1;BYHOUR=9,17"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using SumoLogic = Pulumi.SumoLogic;

return await Deployment.RunAsync(() => 
{
    var mutingSchedule = new SumoLogic.MutingSchedule("muting_schedule", new()
    {
        Name = "Daily schedule at 9am and 5pm for 30 minutes for all monitors",
        Type = "MutingSchedulesLibraryMutingSchedule",
        ContentType = "MutingSchedule",
        Monitor = new SumoLogic.Inputs.MutingScheduleMonitorArgs
        {
            Ids = new[]
            {
                "0000000000000002",
            },
        },
        Schedule = new SumoLogic.Inputs.MutingScheduleScheduleArgs
        {
            Timezone = "America/Los_Angeles",
            StartDate = "2023-08-05",
            StartTime = "00:00",
            Duration = 60,
            Rrule = "FREQ=DAILY;INTERVAL=1;BYHOUR=9,17",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sumologic.MutingSchedule;
import com.pulumi.sumologic.MutingScheduleArgs;
import com.pulumi.sumologic.inputs.MutingScheduleMonitorArgs;
import com.pulumi.sumologic.inputs.MutingScheduleScheduleArgs;
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 mutingSchedule = new MutingSchedule("mutingSchedule", MutingScheduleArgs.builder()
            .name("Daily schedule at 9am and 5pm for 30 minutes for all monitors")
            .type("MutingSchedulesLibraryMutingSchedule")
            .contentType("MutingSchedule")
            .monitor(MutingScheduleMonitorArgs.builder()
                .ids("0000000000000002")
                .build())
            .schedule(MutingScheduleScheduleArgs.builder()
                .timezone("America/Los_Angeles")
                .startDate("2023-08-05")
                .startTime("00:00")
                .duration(60)
                .rrule("FREQ=DAILY;INTERVAL=1;BYHOUR=9,17")
                .build())
            .build());

    }
}
Copy
resources:
  mutingSchedule:
    type: sumologic:MutingSchedule
    name: muting_schedule
    properties:
      name: Daily schedule at 9am and 5pm for 30 minutes for all monitors
      type: MutingSchedulesLibraryMutingSchedule
      contentType: MutingSchedule
      monitor:
        ids:
          - '0000000000000002'
      schedule:
        timezone: America/Los_Angeles
        startDate: 2023-08-05
        startTime: 00:00
        duration: 60
        rrule: FREQ=DAILY;INTERVAL=1;BYHOUR=9,17
Copy

Example Muting Schedule for an Alert Group on All Monitors Every 3rd Saturday from 12AM to 1AM

import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";

const mutingSchedule = new sumologic.MutingSchedule("muting_schedule", {
    name: "Muting alerts from us-east-1 every 3rd saturday from 12AM to 1AM",
    type: "MutingSchedulesLibraryMutingSchedule",
    contentType: "MutingSchedule",
    monitor: {
        all: true,
    },
    notificationGroups: [{
        groupKey: "region",
        groupValues: ["us-east-1"],
    }],
    schedule: {
        timezone: "America/Los_Angeles",
        startDate: "2023-08-05",
        startTime: "00:00",
        duration: 60,
        rrule: "FREQ=MONTHLY;INTERVAL=1;BYDAY=+3SA",
    },
});
Copy
import pulumi
import pulumi_sumologic as sumologic

muting_schedule = sumologic.MutingSchedule("muting_schedule",
    name="Muting alerts from us-east-1 every 3rd saturday from 12AM to 1AM",
    type="MutingSchedulesLibraryMutingSchedule",
    content_type="MutingSchedule",
    monitor={
        "all": True,
    },
    notification_groups=[{
        "group_key": "region",
        "group_values": ["us-east-1"],
    }],
    schedule={
        "timezone": "America/Los_Angeles",
        "start_date": "2023-08-05",
        "start_time": "00:00",
        "duration": 60,
        "rrule": "FREQ=MONTHLY;INTERVAL=1;BYDAY=+3SA",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-sumologic/sdk/go/sumologic"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sumologic.NewMutingSchedule(ctx, "muting_schedule", &sumologic.MutingScheduleArgs{
			Name:        pulumi.String("Muting alerts from us-east-1 every 3rd saturday from 12AM to 1AM"),
			Type:        pulumi.String("MutingSchedulesLibraryMutingSchedule"),
			ContentType: pulumi.String("MutingSchedule"),
			Monitor: &sumologic.MutingScheduleMonitorArgs{
				All: pulumi.Bool(true),
			},
			NotificationGroups: sumologic.MutingScheduleNotificationGroupArray{
				&sumologic.MutingScheduleNotificationGroupArgs{
					GroupKey: pulumi.String("region"),
					GroupValues: pulumi.StringArray{
						pulumi.String("us-east-1"),
					},
				},
			},
			Schedule: &sumologic.MutingScheduleScheduleArgs{
				Timezone:  pulumi.String("America/Los_Angeles"),
				StartDate: pulumi.String("2023-08-05"),
				StartTime: pulumi.String("00:00"),
				Duration:  pulumi.Int(60),
				Rrule:     pulumi.String("FREQ=MONTHLY;INTERVAL=1;BYDAY=+3SA"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using SumoLogic = Pulumi.SumoLogic;

return await Deployment.RunAsync(() => 
{
    var mutingSchedule = new SumoLogic.MutingSchedule("muting_schedule", new()
    {
        Name = "Muting alerts from us-east-1 every 3rd saturday from 12AM to 1AM",
        Type = "MutingSchedulesLibraryMutingSchedule",
        ContentType = "MutingSchedule",
        Monitor = new SumoLogic.Inputs.MutingScheduleMonitorArgs
        {
            All = true,
        },
        NotificationGroups = new[]
        {
            new SumoLogic.Inputs.MutingScheduleNotificationGroupArgs
            {
                GroupKey = "region",
                GroupValues = new[]
                {
                    "us-east-1",
                },
            },
        },
        Schedule = new SumoLogic.Inputs.MutingScheduleScheduleArgs
        {
            Timezone = "America/Los_Angeles",
            StartDate = "2023-08-05",
            StartTime = "00:00",
            Duration = 60,
            Rrule = "FREQ=MONTHLY;INTERVAL=1;BYDAY=+3SA",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sumologic.MutingSchedule;
import com.pulumi.sumologic.MutingScheduleArgs;
import com.pulumi.sumologic.inputs.MutingScheduleMonitorArgs;
import com.pulumi.sumologic.inputs.MutingScheduleNotificationGroupArgs;
import com.pulumi.sumologic.inputs.MutingScheduleScheduleArgs;
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 mutingSchedule = new MutingSchedule("mutingSchedule", MutingScheduleArgs.builder()
            .name("Muting alerts from us-east-1 every 3rd saturday from 12AM to 1AM")
            .type("MutingSchedulesLibraryMutingSchedule")
            .contentType("MutingSchedule")
            .monitor(MutingScheduleMonitorArgs.builder()
                .all(true)
                .build())
            .notificationGroups(MutingScheduleNotificationGroupArgs.builder()
                .groupKey("region")
                .groupValues("us-east-1")
                .build())
            .schedule(MutingScheduleScheduleArgs.builder()
                .timezone("America/Los_Angeles")
                .startDate("2023-08-05")
                .startTime("00:00")
                .duration(60)
                .rrule("FREQ=MONTHLY;INTERVAL=1;BYDAY=+3SA")
                .build())
            .build());

    }
}
Copy
resources:
  mutingSchedule:
    type: sumologic:MutingSchedule
    name: muting_schedule
    properties:
      name: Muting alerts from us-east-1 every 3rd saturday from 12AM to 1AM
      type: MutingSchedulesLibraryMutingSchedule
      contentType: MutingSchedule
      monitor:
        all: true
      notificationGroups:
        - groupKey: region
          groupValues:
            - us-east-1
      schedule:
        timezone: America/Los_Angeles
        startDate: 2023-08-05
        startTime: 00:00
        duration: 60
        rrule: FREQ=MONTHLY;INTERVAL=1;BYDAY=+3SA
Copy

Create MutingSchedule Resource

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

Constructor syntax

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

@overload
def MutingSchedule(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   schedule: Optional[MutingScheduleScheduleArgs] = None,
                   modified_at: Optional[str] = None,
                   monitor: Optional[MutingScheduleMonitorArgs] = None,
                   description: Optional[str] = None,
                   is_mutable: Optional[bool] = None,
                   is_system: Optional[bool] = None,
                   content_type: Optional[str] = None,
                   modified_by: Optional[str] = None,
                   created_by: Optional[str] = None,
                   name: Optional[str] = None,
                   notification_groups: Optional[Sequence[MutingScheduleNotificationGroupArgs]] = None,
                   parent_id: Optional[str] = None,
                   created_at: Optional[str] = None,
                   type: Optional[str] = None,
                   version: Optional[int] = None)
func NewMutingSchedule(ctx *Context, name string, args MutingScheduleArgs, opts ...ResourceOption) (*MutingSchedule, error)
public MutingSchedule(string name, MutingScheduleArgs args, CustomResourceOptions? opts = null)
public MutingSchedule(String name, MutingScheduleArgs args)
public MutingSchedule(String name, MutingScheduleArgs args, CustomResourceOptions options)
type: sumologic:MutingSchedule
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 This property is required. MutingScheduleArgs
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 This property is required. MutingScheduleArgs
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 This property is required. MutingScheduleArgs
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 This property is required. MutingScheduleArgs
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. MutingScheduleArgs
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 mutingScheduleResource = new SumoLogic.MutingSchedule("mutingScheduleResource", new()
{
    Schedule = new SumoLogic.Inputs.MutingScheduleScheduleArgs
    {
        Duration = 0,
        StartDate = "string",
        StartTime = "string",
        Timezone = "string",
        Rrule = "string",
    },
    ModifiedAt = "string",
    Monitor = new SumoLogic.Inputs.MutingScheduleMonitorArgs
    {
        All = false,
        Ids = new[]
        {
            "string",
        },
    },
    Description = "string",
    IsMutable = false,
    IsSystem = false,
    ContentType = "string",
    ModifiedBy = "string",
    CreatedBy = "string",
    Name = "string",
    NotificationGroups = new[]
    {
        new SumoLogic.Inputs.MutingScheduleNotificationGroupArgs
        {
            GroupKey = "string",
            GroupValues = new[]
            {
                "string",
            },
        },
    },
    ParentId = "string",
    CreatedAt = "string",
    Type = "string",
    Version = 0,
});
Copy
example, err := sumologic.NewMutingSchedule(ctx, "mutingScheduleResource", &sumologic.MutingScheduleArgs{
	Schedule: &sumologic.MutingScheduleScheduleArgs{
		Duration:  pulumi.Int(0),
		StartDate: pulumi.String("string"),
		StartTime: pulumi.String("string"),
		Timezone:  pulumi.String("string"),
		Rrule:     pulumi.String("string"),
	},
	ModifiedAt: pulumi.String("string"),
	Monitor: &sumologic.MutingScheduleMonitorArgs{
		All: pulumi.Bool(false),
		Ids: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	Description: pulumi.String("string"),
	IsMutable:   pulumi.Bool(false),
	IsSystem:    pulumi.Bool(false),
	ContentType: pulumi.String("string"),
	ModifiedBy:  pulumi.String("string"),
	CreatedBy:   pulumi.String("string"),
	Name:        pulumi.String("string"),
	NotificationGroups: sumologic.MutingScheduleNotificationGroupArray{
		&sumologic.MutingScheduleNotificationGroupArgs{
			GroupKey: pulumi.String("string"),
			GroupValues: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	ParentId:  pulumi.String("string"),
	CreatedAt: pulumi.String("string"),
	Type:      pulumi.String("string"),
	Version:   pulumi.Int(0),
})
Copy
var mutingScheduleResource = new MutingSchedule("mutingScheduleResource", MutingScheduleArgs.builder()
    .schedule(MutingScheduleScheduleArgs.builder()
        .duration(0)
        .startDate("string")
        .startTime("string")
        .timezone("string")
        .rrule("string")
        .build())
    .modifiedAt("string")
    .monitor(MutingScheduleMonitorArgs.builder()
        .all(false)
        .ids("string")
        .build())
    .description("string")
    .isMutable(false)
    .isSystem(false)
    .contentType("string")
    .modifiedBy("string")
    .createdBy("string")
    .name("string")
    .notificationGroups(MutingScheduleNotificationGroupArgs.builder()
        .groupKey("string")
        .groupValues("string")
        .build())
    .parentId("string")
    .createdAt("string")
    .type("string")
    .version(0)
    .build());
Copy
muting_schedule_resource = sumologic.MutingSchedule("mutingScheduleResource",
    schedule={
        "duration": 0,
        "start_date": "string",
        "start_time": "string",
        "timezone": "string",
        "rrule": "string",
    },
    modified_at="string",
    monitor={
        "all": False,
        "ids": ["string"],
    },
    description="string",
    is_mutable=False,
    is_system=False,
    content_type="string",
    modified_by="string",
    created_by="string",
    name="string",
    notification_groups=[{
        "group_key": "string",
        "group_values": ["string"],
    }],
    parent_id="string",
    created_at="string",
    type="string",
    version=0)
Copy
const mutingScheduleResource = new sumologic.MutingSchedule("mutingScheduleResource", {
    schedule: {
        duration: 0,
        startDate: "string",
        startTime: "string",
        timezone: "string",
        rrule: "string",
    },
    modifiedAt: "string",
    monitor: {
        all: false,
        ids: ["string"],
    },
    description: "string",
    isMutable: false,
    isSystem: false,
    contentType: "string",
    modifiedBy: "string",
    createdBy: "string",
    name: "string",
    notificationGroups: [{
        groupKey: "string",
        groupValues: ["string"],
    }],
    parentId: "string",
    createdAt: "string",
    type: "string",
    version: 0,
});
Copy
type: sumologic:MutingSchedule
properties:
    contentType: string
    createdAt: string
    createdBy: string
    description: string
    isMutable: false
    isSystem: false
    modifiedAt: string
    modifiedBy: string
    monitor:
        all: false
        ids:
            - string
    name: string
    notificationGroups:
        - groupKey: string
          groupValues:
            - string
    parentId: string
    schedule:
        duration: 0
        rrule: string
        startDate: string
        startTime: string
        timezone: string
    type: string
    version: 0
Copy

MutingSchedule 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 MutingSchedule resource accepts the following input properties:

Schedule This property is required. Pulumi.SumoLogic.Inputs.MutingScheduleSchedule
Schedule definition. See Schedule Definition for more details.
ContentType string
The type of the content object. Valid value: MutingSchedule
CreatedAt string
CreatedBy string
Description string
Description of the muting schedule.
IsMutable bool
IsSystem bool
ModifiedAt string
ModifiedBy string
Monitor Pulumi.SumoLogic.Inputs.MutingScheduleMonitor
Monitor scope that the schedule applies to. See Monitor Scope for more details.
Name string
Name of the muting schedule.
NotificationGroups List<Pulumi.SumoLogic.Inputs.MutingScheduleNotificationGroup>
Alert group scope that the schedule applies to. See Group Scope for more details.
ParentId string
Type string
The type of object model. Valid value: MutingSchedulesLibraryMutingSchedule
Version int
Schedule This property is required. MutingScheduleScheduleArgs
Schedule definition. See Schedule Definition for more details.
ContentType string
The type of the content object. Valid value: MutingSchedule
CreatedAt string
CreatedBy string
Description string
Description of the muting schedule.
IsMutable bool
IsSystem bool
ModifiedAt string
ModifiedBy string
Monitor MutingScheduleMonitorArgs
Monitor scope that the schedule applies to. See Monitor Scope for more details.
Name string
Name of the muting schedule.
NotificationGroups []MutingScheduleNotificationGroupArgs
Alert group scope that the schedule applies to. See Group Scope for more details.
ParentId string
Type string
The type of object model. Valid value: MutingSchedulesLibraryMutingSchedule
Version int
schedule This property is required. MutingScheduleSchedule
Schedule definition. See Schedule Definition for more details.
contentType String
The type of the content object. Valid value: MutingSchedule
createdAt String
createdBy String
description String
Description of the muting schedule.
isMutable Boolean
isSystem Boolean
modifiedAt String
modifiedBy String
monitor MutingScheduleMonitor
Monitor scope that the schedule applies to. See Monitor Scope for more details.
name String
Name of the muting schedule.
notificationGroups List<MutingScheduleNotificationGroup>
Alert group scope that the schedule applies to. See Group Scope for more details.
parentId String
type String
The type of object model. Valid value: MutingSchedulesLibraryMutingSchedule
version Integer
schedule This property is required. MutingScheduleSchedule
Schedule definition. See Schedule Definition for more details.
contentType string
The type of the content object. Valid value: MutingSchedule
createdAt string
createdBy string
description string
Description of the muting schedule.
isMutable boolean
isSystem boolean
modifiedAt string
modifiedBy string
monitor MutingScheduleMonitor
Monitor scope that the schedule applies to. See Monitor Scope for more details.
name string
Name of the muting schedule.
notificationGroups MutingScheduleNotificationGroup[]
Alert group scope that the schedule applies to. See Group Scope for more details.
parentId string
type string
The type of object model. Valid value: MutingSchedulesLibraryMutingSchedule
version number
schedule This property is required. MutingScheduleScheduleArgs
Schedule definition. See Schedule Definition for more details.
content_type str
The type of the content object. Valid value: MutingSchedule
created_at str
created_by str
description str
Description of the muting schedule.
is_mutable bool
is_system bool
modified_at str
modified_by str
monitor MutingScheduleMonitorArgs
Monitor scope that the schedule applies to. See Monitor Scope for more details.
name str
Name of the muting schedule.
notification_groups Sequence[MutingScheduleNotificationGroupArgs]
Alert group scope that the schedule applies to. See Group Scope for more details.
parent_id str
type str
The type of object model. Valid value: MutingSchedulesLibraryMutingSchedule
version int
schedule This property is required. Property Map
Schedule definition. See Schedule Definition for more details.
contentType String
The type of the content object. Valid value: MutingSchedule
createdAt String
createdBy String
description String
Description of the muting schedule.
isMutable Boolean
isSystem Boolean
modifiedAt String
modifiedBy String
monitor Property Map
Monitor scope that the schedule applies to. See Monitor Scope for more details.
name String
Name of the muting schedule.
notificationGroups List<Property Map>
Alert group scope that the schedule applies to. See Group Scope for more details.
parentId String
type String
The type of object model. Valid value: MutingSchedulesLibraryMutingSchedule
version Number

Outputs

All input properties are implicitly available as output properties. Additionally, the MutingSchedule 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 MutingSchedule Resource

Get an existing MutingSchedule 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?: MutingScheduleState, opts?: CustomResourceOptions): MutingSchedule
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        content_type: Optional[str] = None,
        created_at: Optional[str] = None,
        created_by: Optional[str] = None,
        description: Optional[str] = None,
        is_mutable: Optional[bool] = None,
        is_system: Optional[bool] = None,
        modified_at: Optional[str] = None,
        modified_by: Optional[str] = None,
        monitor: Optional[MutingScheduleMonitorArgs] = None,
        name: Optional[str] = None,
        notification_groups: Optional[Sequence[MutingScheduleNotificationGroupArgs]] = None,
        parent_id: Optional[str] = None,
        schedule: Optional[MutingScheduleScheduleArgs] = None,
        type: Optional[str] = None,
        version: Optional[int] = None) -> MutingSchedule
func GetMutingSchedule(ctx *Context, name string, id IDInput, state *MutingScheduleState, opts ...ResourceOption) (*MutingSchedule, error)
public static MutingSchedule Get(string name, Input<string> id, MutingScheduleState? state, CustomResourceOptions? opts = null)
public static MutingSchedule get(String name, Output<String> id, MutingScheduleState state, CustomResourceOptions options)
resources:  _:    type: sumologic:MutingSchedule    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:
ContentType string
The type of the content object. Valid value: MutingSchedule
CreatedAt string
CreatedBy string
Description string
Description of the muting schedule.
IsMutable bool
IsSystem bool
ModifiedAt string
ModifiedBy string
Monitor Pulumi.SumoLogic.Inputs.MutingScheduleMonitor
Monitor scope that the schedule applies to. See Monitor Scope for more details.
Name string
Name of the muting schedule.
NotificationGroups List<Pulumi.SumoLogic.Inputs.MutingScheduleNotificationGroup>
Alert group scope that the schedule applies to. See Group Scope for more details.
ParentId string
Schedule Pulumi.SumoLogic.Inputs.MutingScheduleSchedule
Schedule definition. See Schedule Definition for more details.
Type string
The type of object model. Valid value: MutingSchedulesLibraryMutingSchedule
Version int
ContentType string
The type of the content object. Valid value: MutingSchedule
CreatedAt string
CreatedBy string
Description string
Description of the muting schedule.
IsMutable bool
IsSystem bool
ModifiedAt string
ModifiedBy string
Monitor MutingScheduleMonitorArgs
Monitor scope that the schedule applies to. See Monitor Scope for more details.
Name string
Name of the muting schedule.
NotificationGroups []MutingScheduleNotificationGroupArgs
Alert group scope that the schedule applies to. See Group Scope for more details.
ParentId string
Schedule MutingScheduleScheduleArgs
Schedule definition. See Schedule Definition for more details.
Type string
The type of object model. Valid value: MutingSchedulesLibraryMutingSchedule
Version int
contentType String
The type of the content object. Valid value: MutingSchedule
createdAt String
createdBy String
description String
Description of the muting schedule.
isMutable Boolean
isSystem Boolean
modifiedAt String
modifiedBy String
monitor MutingScheduleMonitor
Monitor scope that the schedule applies to. See Monitor Scope for more details.
name String
Name of the muting schedule.
notificationGroups List<MutingScheduleNotificationGroup>
Alert group scope that the schedule applies to. See Group Scope for more details.
parentId String
schedule MutingScheduleSchedule
Schedule definition. See Schedule Definition for more details.
type String
The type of object model. Valid value: MutingSchedulesLibraryMutingSchedule
version Integer
contentType string
The type of the content object. Valid value: MutingSchedule
createdAt string
createdBy string
description string
Description of the muting schedule.
isMutable boolean
isSystem boolean
modifiedAt string
modifiedBy string
monitor MutingScheduleMonitor
Monitor scope that the schedule applies to. See Monitor Scope for more details.
name string
Name of the muting schedule.
notificationGroups MutingScheduleNotificationGroup[]
Alert group scope that the schedule applies to. See Group Scope for more details.
parentId string
schedule MutingScheduleSchedule
Schedule definition. See Schedule Definition for more details.
type string
The type of object model. Valid value: MutingSchedulesLibraryMutingSchedule
version number
content_type str
The type of the content object. Valid value: MutingSchedule
created_at str
created_by str
description str
Description of the muting schedule.
is_mutable bool
is_system bool
modified_at str
modified_by str
monitor MutingScheduleMonitorArgs
Monitor scope that the schedule applies to. See Monitor Scope for more details.
name str
Name of the muting schedule.
notification_groups Sequence[MutingScheduleNotificationGroupArgs]
Alert group scope that the schedule applies to. See Group Scope for more details.
parent_id str
schedule MutingScheduleScheduleArgs
Schedule definition. See Schedule Definition for more details.
type str
The type of object model. Valid value: MutingSchedulesLibraryMutingSchedule
version int
contentType String
The type of the content object. Valid value: MutingSchedule
createdAt String
createdBy String
description String
Description of the muting schedule.
isMutable Boolean
isSystem Boolean
modifiedAt String
modifiedBy String
monitor Property Map
Monitor scope that the schedule applies to. See Monitor Scope for more details.
name String
Name of the muting schedule.
notificationGroups List<Property Map>
Alert group scope that the schedule applies to. See Group Scope for more details.
parentId String
schedule Property Map
Schedule definition. See Schedule Definition for more details.
type String
The type of object model. Valid value: MutingSchedulesLibraryMutingSchedule
version Number

Supporting Types

MutingScheduleMonitor
, MutingScheduleMonitorArgs

All bool
True if the schedule applies to all monitors
Ids List<string>
List of monitor Ids in hex. Must be empty if all is true.
All bool
True if the schedule applies to all monitors
Ids []string
List of monitor Ids in hex. Must be empty if all is true.
all Boolean
True if the schedule applies to all monitors
ids List<String>
List of monitor Ids in hex. Must be empty if all is true.
all boolean
True if the schedule applies to all monitors
ids string[]
List of monitor Ids in hex. Must be empty if all is true.
all bool
True if the schedule applies to all monitors
ids Sequence[str]
List of monitor Ids in hex. Must be empty if all is true.
all Boolean
True if the schedule applies to all monitors
ids List<String>
List of monitor Ids in hex. Must be empty if all is true.

MutingScheduleNotificationGroup
, MutingScheduleNotificationGroupArgs

GroupKey This property is required. string
Field name of an alert group defined in monitors. See Alert Grouping for more details.
GroupValues This property is required. List<string>
Values of alert groups generated by monitors
GroupKey This property is required. string
Field name of an alert group defined in monitors. See Alert Grouping for more details.
GroupValues This property is required. []string
Values of alert groups generated by monitors
groupKey This property is required. String
Field name of an alert group defined in monitors. See Alert Grouping for more details.
groupValues This property is required. List<String>
Values of alert groups generated by monitors
groupKey This property is required. string
Field name of an alert group defined in monitors. See Alert Grouping for more details.
groupValues This property is required. string[]
Values of alert groups generated by monitors
group_key This property is required. str
Field name of an alert group defined in monitors. See Alert Grouping for more details.
group_values This property is required. Sequence[str]
Values of alert groups generated by monitors
groupKey This property is required. String
Field name of an alert group defined in monitors. See Alert Grouping for more details.
groupValues This property is required. List<String>
Values of alert groups generated by monitors

MutingScheduleSchedule
, MutingScheduleScheduleArgs

Duration This property is required. int
Duration of the muting in minutes
StartDate This property is required. string
Schedule start date in the format of yyyy-mm-dd
StartTime This property is required. string
Schedule start time in the format of hh:mm
Timezone This property is required. string
Time zone for the schedule per IANA Time Zone Database.
Rrule string
Recurrence Rule. See https://freetools.textmagic.com/rrule-generator for more details.
Duration This property is required. int
Duration of the muting in minutes
StartDate This property is required. string
Schedule start date in the format of yyyy-mm-dd
StartTime This property is required. string
Schedule start time in the format of hh:mm
Timezone This property is required. string
Time zone for the schedule per IANA Time Zone Database.
Rrule string
Recurrence Rule. See https://freetools.textmagic.com/rrule-generator for more details.
duration This property is required. Integer
Duration of the muting in minutes
startDate This property is required. String
Schedule start date in the format of yyyy-mm-dd
startTime This property is required. String
Schedule start time in the format of hh:mm
timezone This property is required. String
Time zone for the schedule per IANA Time Zone Database.
rrule String
Recurrence Rule. See https://freetools.textmagic.com/rrule-generator for more details.
duration This property is required. number
Duration of the muting in minutes
startDate This property is required. string
Schedule start date in the format of yyyy-mm-dd
startTime This property is required. string
Schedule start time in the format of hh:mm
timezone This property is required. string
Time zone for the schedule per IANA Time Zone Database.
rrule string
Recurrence Rule. See https://freetools.textmagic.com/rrule-generator for more details.
duration This property is required. int
Duration of the muting in minutes
start_date This property is required. str
Schedule start date in the format of yyyy-mm-dd
start_time This property is required. str
Schedule start time in the format of hh:mm
timezone This property is required. str
Time zone for the schedule per IANA Time Zone Database.
rrule str
Recurrence Rule. See https://freetools.textmagic.com/rrule-generator for more details.
duration This property is required. Number
Duration of the muting in minutes
startDate This property is required. String
Schedule start date in the format of yyyy-mm-dd
startTime This property is required. String
Schedule start time in the format of hh:mm
timezone This property is required. String
Time zone for the schedule per IANA Time Zone Database.
rrule String
Recurrence Rule. See https://freetools.textmagic.com/rrule-generator for more details.

Package Details

Repository
Sumo Logic pulumi/pulumi-sumologic
License
Apache-2.0
Notes
This Pulumi package is based on the sumologic Terraform Provider.