1. Packages
  2. Sumo Logic
  3. API Docs
  4. MutingSchedule
Sumo Logic v0.22.1 published on Sunday, Jun 9, 2024 by Pulumi

sumologic.MutingSchedule

Explore with Pulumi AI

sumologic logo
Sumo Logic v0.22.1 published on Sunday, Jun 9, 2024 by Pulumi

    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,
        },
    });
    
    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=sumologic.MutingScheduleMonitorArgs(
            all=True,
        ),
        schedule=sumologic.MutingScheduleScheduleArgs(
            timezone="America/Los_Angeles",
            start_date="2023-08-05",
            start_time="00:00",
            duration=60,
        ))
    
    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
    	})
    }
    
    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,
            },
        });
    
    });
    
    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());
    
        }
    }
    
    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
    

    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",
        },
    });
    
    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=sumologic.MutingScheduleMonitorArgs(
            ids=["0000000000000002"],
        ),
        schedule=sumologic.MutingScheduleScheduleArgs(
            timezone="America/Los_Angeles",
            start_date="2023-08-05",
            start_time="00:00",
            duration=60,
            rrule="FREQ=DAILY;INTERVAL=1;BYHOUR=9,17",
        ))
    
    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
    	})
    }
    
    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",
            },
        });
    
    });
    
    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());
    
        }
    }
    
    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
    

    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",
        },
    });
    
    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=sumologic.MutingScheduleMonitorArgs(
            all=True,
        ),
        notification_groups=[sumologic.MutingScheduleNotificationGroupArgs(
            group_key="region",
            group_values=["us-east-1"],
        )],
        schedule=sumologic.MutingScheduleScheduleArgs(
            timezone="America/Los_Angeles",
            start_date="2023-08-05",
            start_time="00:00",
            duration=60,
            rrule="FREQ=MONTHLY;INTERVAL=1;BYDAY=+3SA",
        ))
    
    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
    	})
    }
    
    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",
            },
        });
    
    });
    
    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());
    
        }
    }
    
    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
    

    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 string
    The unique name of the resource.
    args MutingScheduleArgs
    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 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 string
    The unique name of the resource.
    args MutingScheduleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MutingScheduleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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,
    });
    
    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),
    })
    
    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());
    
    muting_schedule_resource = sumologic.MutingSchedule("mutingScheduleResource",
        schedule=sumologic.MutingScheduleScheduleArgs(
            duration=0,
            start_date="string",
            start_time="string",
            timezone="string",
            rrule="string",
        ),
        modified_at="string",
        monitor=sumologic.MutingScheduleMonitorArgs(
            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=[sumologic.MutingScheduleNotificationGroupArgs(
            group_key="string",
            group_values=["string"],
        )],
        parent_id="string",
        created_at="string",
        type="string",
        version=0)
    
    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,
    });
    
    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
    

    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

    The MutingSchedule resource accepts the following input properties:

    Schedule 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 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 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 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 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 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)
    Resource lookup is not supported in YAML
    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.
    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
    Ids List<string>
    All bool
    Ids []string
    all Boolean
    ids List<String>
    all boolean
    ids string[]
    all bool
    ids Sequence[str]
    all Boolean
    ids List<String>

    MutingScheduleNotificationGroup, MutingScheduleNotificationGroupArgs

    GroupKey string
    GroupValues List<string>
    GroupKey string
    GroupValues []string
    groupKey String
    groupValues List<String>
    groupKey string
    groupValues string[]
    group_key str
    group_values Sequence[str]
    groupKey String
    groupValues List<String>

    MutingScheduleSchedule, MutingScheduleScheduleArgs

    Duration int
    StartDate string
    StartTime string
    Timezone string
    Rrule string
    Duration int
    StartDate string
    StartTime string
    Timezone string
    Rrule string
    duration Integer
    startDate String
    startTime String
    timezone String
    rrule String
    duration number
    startDate string
    startTime string
    timezone string
    rrule string
    duration Number
    startDate String
    startTime String
    timezone String
    rrule String

    Package Details

    Repository
    Sumo Logic pulumi/pulumi-sumologic
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sumologic Terraform Provider.
    sumologic logo
    Sumo Logic v0.22.1 published on Sunday, Jun 9, 2024 by Pulumi