1. Packages
  2. Packages
  3. Dynatrace
  4. API Docs
  5. AutomationSchedulingRule
Viewing docs for Dynatrace v0.36.0
published on Tuesday, Jun 9, 2026 by Pulumiverse
dynatrace logo
Viewing docs for Dynatrace v0.36.0
published on Tuesday, Jun 9, 2026 by Pulumiverse

    Dynatrace SaaS only

    To utilize this resource, please define the environment variables DT_CLIENT_ID, DT_CLIENT_SECRET, DT_ACCOUNT_ID with an OAuth client including the following permissions: View rules (automation:rules:read) and Create and edit rules (automation:rules:write).

    This resource is excluded by default in the export utility, please explicitly specify the resource to retrieve existing configuration.

    Dynatrace Documentation

    • Dynatrace Workflows - https://www.dynatrace.com/support/help/platform-modules/cloud-automation/workflows

    Resource Examples

    Create AutomationSchedulingRule Resource

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

    Constructor syntax

    new AutomationSchedulingRule(name: string, args: AutomationSchedulingRuleArgs, opts?: CustomResourceOptions);
    @overload
    def AutomationSchedulingRule(resource_name: str,
                                 args: AutomationSchedulingRuleArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def AutomationSchedulingRule(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 title: Optional[str] = None,
                                 business_calendar: Optional[str] = None,
                                 description: Optional[str] = None,
                                 fixed_offset: Optional[AutomationSchedulingRuleFixedOffsetArgs] = None,
                                 grouping: Optional[AutomationSchedulingRuleGroupingArgs] = None,
                                 recurrence: Optional[AutomationSchedulingRuleRecurrenceArgs] = None,
                                 relative_offset: Optional[AutomationSchedulingRuleRelativeOffsetArgs] = None)
    func NewAutomationSchedulingRule(ctx *Context, name string, args AutomationSchedulingRuleArgs, opts ...ResourceOption) (*AutomationSchedulingRule, error)
    public AutomationSchedulingRule(string name, AutomationSchedulingRuleArgs args, CustomResourceOptions? opts = null)
    public AutomationSchedulingRule(String name, AutomationSchedulingRuleArgs args)
    public AutomationSchedulingRule(String name, AutomationSchedulingRuleArgs args, CustomResourceOptions options)
    
    type: dynatrace:AutomationSchedulingRule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "dynatrace_automationschedulingrule" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AutomationSchedulingRuleArgs
    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 AutomationSchedulingRuleArgs
    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 AutomationSchedulingRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AutomationSchedulingRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AutomationSchedulingRuleArgs
    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 automationSchedulingRuleResource = new Dynatrace.AutomationSchedulingRule("automationSchedulingRuleResource", new()
    {
        Title = "string",
        BusinessCalendar = "string",
        Description = "string",
        FixedOffset = new Dynatrace.Inputs.AutomationSchedulingRuleFixedOffsetArgs
        {
            Offset = 0,
            Rule = "string",
        },
        Grouping = new Dynatrace.Inputs.AutomationSchedulingRuleGroupingArgs
        {
            Combines = new[]
            {
                "string",
            },
            Intersects = new[]
            {
                "string",
            },
            Subtracts = new[]
            {
                "string",
            },
        },
        Recurrence = new Dynatrace.Inputs.AutomationSchedulingRuleRecurrenceArgs
        {
            Datestart = "string",
            Frequency = "string",
            Workdays = "string",
            DaysInMonths = new[]
            {
                0,
            },
            DaysInYears = new[]
            {
                0,
            },
            Easters = new[]
            {
                0,
            },
            Interval = 0,
            Months = new[]
            {
                0,
            },
            Weekdays = new[]
            {
                "string",
            },
            Weeks = new[]
            {
                0,
            },
        },
        RelativeOffset = new Dynatrace.Inputs.AutomationSchedulingRuleRelativeOffsetArgs
        {
            Direction = "string",
            SourceRule = "string",
            TargetRule = "string",
        },
    });
    
    example, err := dynatrace.NewAutomationSchedulingRule(ctx, "automationSchedulingRuleResource", &dynatrace.AutomationSchedulingRuleArgs{
    	Title:            pulumi.String("string"),
    	BusinessCalendar: pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	FixedOffset: &dynatrace.AutomationSchedulingRuleFixedOffsetArgs{
    		Offset: pulumi.Int(0),
    		Rule:   pulumi.String("string"),
    	},
    	Grouping: &dynatrace.AutomationSchedulingRuleGroupingArgs{
    		Combines: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Intersects: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Subtracts: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	Recurrence: &dynatrace.AutomationSchedulingRuleRecurrenceArgs{
    		Datestart: pulumi.String("string"),
    		Frequency: pulumi.String("string"),
    		Workdays:  pulumi.String("string"),
    		DaysInMonths: pulumi.IntArray{
    			pulumi.Int(0),
    		},
    		DaysInYears: pulumi.IntArray{
    			pulumi.Int(0),
    		},
    		Easters: pulumi.IntArray{
    			pulumi.Int(0),
    		},
    		Interval: pulumi.Int(0),
    		Months: pulumi.IntArray{
    			pulumi.Int(0),
    		},
    		Weekdays: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Weeks: pulumi.IntArray{
    			pulumi.Int(0),
    		},
    	},
    	RelativeOffset: &dynatrace.AutomationSchedulingRuleRelativeOffsetArgs{
    		Direction:  pulumi.String("string"),
    		SourceRule: pulumi.String("string"),
    		TargetRule: pulumi.String("string"),
    	},
    })
    
    resource "dynatrace_automationschedulingrule" "automationSchedulingRuleResource" {
      title             = "string"
      business_calendar = "string"
      description       = "string"
      fixed_offset = {
        offset = 0
        rule   = "string"
      }
      grouping = {
        combines   = ["string"]
        intersects = ["string"]
        subtracts  = ["string"]
      }
      recurrence = {
        datestart      = "string"
        frequency      = "string"
        workdays       = "string"
        days_in_months = [0]
        days_in_years  = [0]
        easters        = [0]
        interval       = 0
        months         = [0]
        weekdays       = ["string"]
        weeks          = [0]
      }
      relative_offset = {
        direction   = "string"
        source_rule = "string"
        target_rule = "string"
      }
    }
    
    var automationSchedulingRuleResource = new AutomationSchedulingRule("automationSchedulingRuleResource", AutomationSchedulingRuleArgs.builder()
        .title("string")
        .businessCalendar("string")
        .description("string")
        .fixedOffset(AutomationSchedulingRuleFixedOffsetArgs.builder()
            .offset(0)
            .rule("string")
            .build())
        .grouping(AutomationSchedulingRuleGroupingArgs.builder()
            .combines("string")
            .intersects("string")
            .subtracts("string")
            .build())
        .recurrence(AutomationSchedulingRuleRecurrenceArgs.builder()
            .datestart("string")
            .frequency("string")
            .workdays("string")
            .daysInMonths(0)
            .daysInYears(0)
            .easters(0)
            .interval(0)
            .months(0)
            .weekdays("string")
            .weeks(0)
            .build())
        .relativeOffset(AutomationSchedulingRuleRelativeOffsetArgs.builder()
            .direction("string")
            .sourceRule("string")
            .targetRule("string")
            .build())
        .build());
    
    automation_scheduling_rule_resource = dynatrace.AutomationSchedulingRule("automationSchedulingRuleResource",
        title="string",
        business_calendar="string",
        description="string",
        fixed_offset={
            "offset": 0,
            "rule": "string",
        },
        grouping={
            "combines": ["string"],
            "intersects": ["string"],
            "subtracts": ["string"],
        },
        recurrence={
            "datestart": "string",
            "frequency": "string",
            "workdays": "string",
            "days_in_months": [0],
            "days_in_years": [0],
            "easters": [0],
            "interval": 0,
            "months": [0],
            "weekdays": ["string"],
            "weeks": [0],
        },
        relative_offset={
            "direction": "string",
            "source_rule": "string",
            "target_rule": "string",
        })
    
    const automationSchedulingRuleResource = new dynatrace.AutomationSchedulingRule("automationSchedulingRuleResource", {
        title: "string",
        businessCalendar: "string",
        description: "string",
        fixedOffset: {
            offset: 0,
            rule: "string",
        },
        grouping: {
            combines: ["string"],
            intersects: ["string"],
            subtracts: ["string"],
        },
        recurrence: {
            datestart: "string",
            frequency: "string",
            workdays: "string",
            daysInMonths: [0],
            daysInYears: [0],
            easters: [0],
            interval: 0,
            months: [0],
            weekdays: ["string"],
            weeks: [0],
        },
        relativeOffset: {
            direction: "string",
            sourceRule: "string",
            targetRule: "string",
        },
    });
    
    type: dynatrace:AutomationSchedulingRule
    properties:
        businessCalendar: string
        description: string
        fixedOffset:
            offset: 0
            rule: string
        grouping:
            combines:
                - string
            intersects:
                - string
            subtracts:
                - string
        recurrence:
            datestart: string
            daysInMonths:
                - 0
            daysInYears:
                - 0
            easters:
                - 0
            frequency: string
            interval: 0
            months:
                - 0
            weekdays:
                - string
            weeks:
                - 0
            workdays: string
        relativeOffset:
            direction: string
            sourceRule: string
            targetRule: string
        title: string
    

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

    title string
    The title / name of the scheduling rule
    business_calendar string
    description string
    An optional description for the scheduling rule
    fixed_offset object
    grouping object
    recurrence object
    relative_offset object
    title String
    The title / name of the scheduling rule
    businessCalendar String
    description String
    An optional description for the scheduling rule
    fixedOffset Property Map
    grouping Property Map
    recurrence Property Map
    relativeOffset Property Map

    Outputs

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

    Get an existing AutomationSchedulingRule 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?: AutomationSchedulingRuleState, opts?: CustomResourceOptions): AutomationSchedulingRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            business_calendar: Optional[str] = None,
            description: Optional[str] = None,
            fixed_offset: Optional[AutomationSchedulingRuleFixedOffsetArgs] = None,
            grouping: Optional[AutomationSchedulingRuleGroupingArgs] = None,
            recurrence: Optional[AutomationSchedulingRuleRecurrenceArgs] = None,
            relative_offset: Optional[AutomationSchedulingRuleRelativeOffsetArgs] = None,
            title: Optional[str] = None) -> AutomationSchedulingRule
    func GetAutomationSchedulingRule(ctx *Context, name string, id IDInput, state *AutomationSchedulingRuleState, opts ...ResourceOption) (*AutomationSchedulingRule, error)
    public static AutomationSchedulingRule Get(string name, Input<string> id, AutomationSchedulingRuleState? state, CustomResourceOptions? opts = null)
    public static AutomationSchedulingRule get(String name, Output<String> id, AutomationSchedulingRuleState state, CustomResourceOptions options)
    resources:  _:    type: dynatrace:AutomationSchedulingRule    get:      id: ${id}
    import {
      to = dynatrace_automationschedulingrule.example
      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.
    The following state arguments are supported:
    business_calendar string
    description string
    An optional description for the scheduling rule
    fixed_offset object
    grouping object
    recurrence object
    relative_offset object
    title string
    The title / name of the scheduling rule
    businessCalendar String
    description String
    An optional description for the scheduling rule
    fixedOffset Property Map
    grouping Property Map
    recurrence Property Map
    relativeOffset Property Map
    title String
    The title / name of the scheduling rule

    Supporting Types

    AutomationSchedulingRuleFixedOffset, AutomationSchedulingRuleFixedOffsetArgs

    Offset int
    Every day of the scheduling rule referred to with rule will be offset by this amount of days
    Rule string
    Refers to a scheduling rule for which to produce valid days with an offset
    Offset int
    Every day of the scheduling rule referred to with rule will be offset by this amount of days
    Rule string
    Refers to a scheduling rule for which to produce valid days with an offset
    offset number
    Every day of the scheduling rule referred to with rule will be offset by this amount of days
    rule string
    Refers to a scheduling rule for which to produce valid days with an offset
    offset Integer
    Every day of the scheduling rule referred to with rule will be offset by this amount of days
    rule String
    Refers to a scheduling rule for which to produce valid days with an offset
    offset number
    Every day of the scheduling rule referred to with rule will be offset by this amount of days
    rule string
    Refers to a scheduling rule for which to produce valid days with an offset
    offset int
    Every day of the scheduling rule referred to with rule will be offset by this amount of days
    rule str
    Refers to a scheduling rule for which to produce valid days with an offset
    offset Number
    Every day of the scheduling rule referred to with rule will be offset by this amount of days
    rule String
    Refers to a scheduling rule for which to produce valid days with an offset

    AutomationSchedulingRuleGrouping, AutomationSchedulingRuleGroupingArgs

    Combines List<string>
    The IDs of scheduling rules determining the days the schedule should apply to
    Intersects List<string>
    The IDs of scheduling rules determining the days the schedule is allowed apply to. If specified, only days that are covered by combine and intersect are valid days for the schedule
    Subtracts List<string>
    The IDs of scheduling rules determing the days the schedule must not apply. If specified it reduces down the set of days covered by combine and intersect
    Combines []string
    The IDs of scheduling rules determining the days the schedule should apply to
    Intersects []string
    The IDs of scheduling rules determining the days the schedule is allowed apply to. If specified, only days that are covered by combine and intersect are valid days for the schedule
    Subtracts []string
    The IDs of scheduling rules determing the days the schedule must not apply. If specified it reduces down the set of days covered by combine and intersect
    combines list(string)
    The IDs of scheduling rules determining the days the schedule should apply to
    intersects list(string)
    The IDs of scheduling rules determining the days the schedule is allowed apply to. If specified, only days that are covered by combine and intersect are valid days for the schedule
    subtracts list(string)
    The IDs of scheduling rules determing the days the schedule must not apply. If specified it reduces down the set of days covered by combine and intersect
    combines List<String>
    The IDs of scheduling rules determining the days the schedule should apply to
    intersects List<String>
    The IDs of scheduling rules determining the days the schedule is allowed apply to. If specified, only days that are covered by combine and intersect are valid days for the schedule
    subtracts List<String>
    The IDs of scheduling rules determing the days the schedule must not apply. If specified it reduces down the set of days covered by combine and intersect
    combines string[]
    The IDs of scheduling rules determining the days the schedule should apply to
    intersects string[]
    The IDs of scheduling rules determining the days the schedule is allowed apply to. If specified, only days that are covered by combine and intersect are valid days for the schedule
    subtracts string[]
    The IDs of scheduling rules determing the days the schedule must not apply. If specified it reduces down the set of days covered by combine and intersect
    combines Sequence[str]
    The IDs of scheduling rules determining the days the schedule should apply to
    intersects Sequence[str]
    The IDs of scheduling rules determining the days the schedule is allowed apply to. If specified, only days that are covered by combine and intersect are valid days for the schedule
    subtracts Sequence[str]
    The IDs of scheduling rules determing the days the schedule must not apply. If specified it reduces down the set of days covered by combine and intersect
    combines List<String>
    The IDs of scheduling rules determining the days the schedule should apply to
    intersects List<String>
    The IDs of scheduling rules determining the days the schedule is allowed apply to. If specified, only days that are covered by combine and intersect are valid days for the schedule
    subtracts List<String>
    The IDs of scheduling rules determing the days the schedule must not apply. If specified it reduces down the set of days covered by combine and intersect

    AutomationSchedulingRuleRecurrence, AutomationSchedulingRuleRecurrenceArgs

    Datestart string
    The recurrence start. Example: 2017-07-04 represents July 4th 2017
    Frequency string
    Possible values are YEARLY, MONTHLY, WEEKLY, DAILY, HOURLY, MINUTELY and SECONDLY. Example: frequency = DAILY and interval = 2 schedules for every other day
    Workdays string
    Possible values are WORKING (Work days), HOLIDAYS (Holidays) and OFF (Weekends + Holidays)
    DaysInMonths List<int>
    Restricts the recurrence to specific days within a month. 1, 2, 3, ... refers to the first, second, third day in the month. You can also specify negative values to refer to values relative to the last day. -1 refers to the last day, -2 refers to the second to the last day, ...
    DaysInYears List<int>
    Restricts the recurrence to specific days within a year. 1, 2, 3, ... refers to the first, second, third day of the year. You can also specify negative values to refer to values relative to the last day. -1 refers to the last day, -2 refers to the second to the last day, ...
    Easters List<int>
    Restricts the recurrence to specific days relative to Easter Sunday. 0 will yield the Easter Sunday itself
    Interval int
    The interval between each iteration. Default: 1. Example: frequency = DAILY and interval = 2 schedules for every other day
    Months List<int>
    Restricts the recurrence to specific months. 1 for January, 2 for February, ..., 12 for December
    Weekdays List<string>
    Restricts the recurrence to specific week days. Possible values are MO, TU, WE, TH, FR, SA and SU
    Weeks List<int>
    Restricts the recurrence to specific weeks within a year. 1, 2, 3, ... refers to the first, second, third week of the year. You can also specify negative values to refer to values relative to the last week. -1 refers to the last week, -2 refers to the second to the last week, ...
    Datestart string
    The recurrence start. Example: 2017-07-04 represents July 4th 2017
    Frequency string
    Possible values are YEARLY, MONTHLY, WEEKLY, DAILY, HOURLY, MINUTELY and SECONDLY. Example: frequency = DAILY and interval = 2 schedules for every other day
    Workdays string
    Possible values are WORKING (Work days), HOLIDAYS (Holidays) and OFF (Weekends + Holidays)
    DaysInMonths []int
    Restricts the recurrence to specific days within a month. 1, 2, 3, ... refers to the first, second, third day in the month. You can also specify negative values to refer to values relative to the last day. -1 refers to the last day, -2 refers to the second to the last day, ...
    DaysInYears []int
    Restricts the recurrence to specific days within a year. 1, 2, 3, ... refers to the first, second, third day of the year. You can also specify negative values to refer to values relative to the last day. -1 refers to the last day, -2 refers to the second to the last day, ...
    Easters []int
    Restricts the recurrence to specific days relative to Easter Sunday. 0 will yield the Easter Sunday itself
    Interval int
    The interval between each iteration. Default: 1. Example: frequency = DAILY and interval = 2 schedules for every other day
    Months []int
    Restricts the recurrence to specific months. 1 for January, 2 for February, ..., 12 for December
    Weekdays []string
    Restricts the recurrence to specific week days. Possible values are MO, TU, WE, TH, FR, SA and SU
    Weeks []int
    Restricts the recurrence to specific weeks within a year. 1, 2, 3, ... refers to the first, second, third week of the year. You can also specify negative values to refer to values relative to the last week. -1 refers to the last week, -2 refers to the second to the last week, ...
    datestart string
    The recurrence start. Example: 2017-07-04 represents July 4th 2017
    frequency string
    Possible values are YEARLY, MONTHLY, WEEKLY, DAILY, HOURLY, MINUTELY and SECONDLY. Example: frequency = DAILY and interval = 2 schedules for every other day
    workdays string
    Possible values are WORKING (Work days), HOLIDAYS (Holidays) and OFF (Weekends + Holidays)
    days_in_months list(number)
    Restricts the recurrence to specific days within a month. 1, 2, 3, ... refers to the first, second, third day in the month. You can also specify negative values to refer to values relative to the last day. -1 refers to the last day, -2 refers to the second to the last day, ...
    days_in_years list(number)
    Restricts the recurrence to specific days within a year. 1, 2, 3, ... refers to the first, second, third day of the year. You can also specify negative values to refer to values relative to the last day. -1 refers to the last day, -2 refers to the second to the last day, ...
    easters list(number)
    Restricts the recurrence to specific days relative to Easter Sunday. 0 will yield the Easter Sunday itself
    interval number
    The interval between each iteration. Default: 1. Example: frequency = DAILY and interval = 2 schedules for every other day
    months list(number)
    Restricts the recurrence to specific months. 1 for January, 2 for February, ..., 12 for December
    weekdays list(string)
    Restricts the recurrence to specific week days. Possible values are MO, TU, WE, TH, FR, SA and SU
    weeks list(number)
    Restricts the recurrence to specific weeks within a year. 1, 2, 3, ... refers to the first, second, third week of the year. You can also specify negative values to refer to values relative to the last week. -1 refers to the last week, -2 refers to the second to the last week, ...
    datestart String
    The recurrence start. Example: 2017-07-04 represents July 4th 2017
    frequency String
    Possible values are YEARLY, MONTHLY, WEEKLY, DAILY, HOURLY, MINUTELY and SECONDLY. Example: frequency = DAILY and interval = 2 schedules for every other day
    workdays String
    Possible values are WORKING (Work days), HOLIDAYS (Holidays) and OFF (Weekends + Holidays)
    daysInMonths List<Integer>
    Restricts the recurrence to specific days within a month. 1, 2, 3, ... refers to the first, second, third day in the month. You can also specify negative values to refer to values relative to the last day. -1 refers to the last day, -2 refers to the second to the last day, ...
    daysInYears List<Integer>
    Restricts the recurrence to specific days within a year. 1, 2, 3, ... refers to the first, second, third day of the year. You can also specify negative values to refer to values relative to the last day. -1 refers to the last day, -2 refers to the second to the last day, ...
    easters List<Integer>
    Restricts the recurrence to specific days relative to Easter Sunday. 0 will yield the Easter Sunday itself
    interval Integer
    The interval between each iteration. Default: 1. Example: frequency = DAILY and interval = 2 schedules for every other day
    months List<Integer>
    Restricts the recurrence to specific months. 1 for January, 2 for February, ..., 12 for December
    weekdays List<String>
    Restricts the recurrence to specific week days. Possible values are MO, TU, WE, TH, FR, SA and SU
    weeks List<Integer>
    Restricts the recurrence to specific weeks within a year. 1, 2, 3, ... refers to the first, second, third week of the year. You can also specify negative values to refer to values relative to the last week. -1 refers to the last week, -2 refers to the second to the last week, ...
    datestart string
    The recurrence start. Example: 2017-07-04 represents July 4th 2017
    frequency string
    Possible values are YEARLY, MONTHLY, WEEKLY, DAILY, HOURLY, MINUTELY and SECONDLY. Example: frequency = DAILY and interval = 2 schedules for every other day
    workdays string
    Possible values are WORKING (Work days), HOLIDAYS (Holidays) and OFF (Weekends + Holidays)
    daysInMonths number[]
    Restricts the recurrence to specific days within a month. 1, 2, 3, ... refers to the first, second, third day in the month. You can also specify negative values to refer to values relative to the last day. -1 refers to the last day, -2 refers to the second to the last day, ...
    daysInYears number[]
    Restricts the recurrence to specific days within a year. 1, 2, 3, ... refers to the first, second, third day of the year. You can also specify negative values to refer to values relative to the last day. -1 refers to the last day, -2 refers to the second to the last day, ...
    easters number[]
    Restricts the recurrence to specific days relative to Easter Sunday. 0 will yield the Easter Sunday itself
    interval number
    The interval between each iteration. Default: 1. Example: frequency = DAILY and interval = 2 schedules for every other day
    months number[]
    Restricts the recurrence to specific months. 1 for January, 2 for February, ..., 12 for December
    weekdays string[]
    Restricts the recurrence to specific week days. Possible values are MO, TU, WE, TH, FR, SA and SU
    weeks number[]
    Restricts the recurrence to specific weeks within a year. 1, 2, 3, ... refers to the first, second, third week of the year. You can also specify negative values to refer to values relative to the last week. -1 refers to the last week, -2 refers to the second to the last week, ...
    datestart str
    The recurrence start. Example: 2017-07-04 represents July 4th 2017
    frequency str
    Possible values are YEARLY, MONTHLY, WEEKLY, DAILY, HOURLY, MINUTELY and SECONDLY. Example: frequency = DAILY and interval = 2 schedules for every other day
    workdays str
    Possible values are WORKING (Work days), HOLIDAYS (Holidays) and OFF (Weekends + Holidays)
    days_in_months Sequence[int]
    Restricts the recurrence to specific days within a month. 1, 2, 3, ... refers to the first, second, third day in the month. You can also specify negative values to refer to values relative to the last day. -1 refers to the last day, -2 refers to the second to the last day, ...
    days_in_years Sequence[int]
    Restricts the recurrence to specific days within a year. 1, 2, 3, ... refers to the first, second, third day of the year. You can also specify negative values to refer to values relative to the last day. -1 refers to the last day, -2 refers to the second to the last day, ...
    easters Sequence[int]
    Restricts the recurrence to specific days relative to Easter Sunday. 0 will yield the Easter Sunday itself
    interval int
    The interval between each iteration. Default: 1. Example: frequency = DAILY and interval = 2 schedules for every other day
    months Sequence[int]
    Restricts the recurrence to specific months. 1 for January, 2 for February, ..., 12 for December
    weekdays Sequence[str]
    Restricts the recurrence to specific week days. Possible values are MO, TU, WE, TH, FR, SA and SU
    weeks Sequence[int]
    Restricts the recurrence to specific weeks within a year. 1, 2, 3, ... refers to the first, second, third week of the year. You can also specify negative values to refer to values relative to the last week. -1 refers to the last week, -2 refers to the second to the last week, ...
    datestart String
    The recurrence start. Example: 2017-07-04 represents July 4th 2017
    frequency String
    Possible values are YEARLY, MONTHLY, WEEKLY, DAILY, HOURLY, MINUTELY and SECONDLY. Example: frequency = DAILY and interval = 2 schedules for every other day
    workdays String
    Possible values are WORKING (Work days), HOLIDAYS (Holidays) and OFF (Weekends + Holidays)
    daysInMonths List<Number>
    Restricts the recurrence to specific days within a month. 1, 2, 3, ... refers to the first, second, third day in the month. You can also specify negative values to refer to values relative to the last day. -1 refers to the last day, -2 refers to the second to the last day, ...
    daysInYears List<Number>
    Restricts the recurrence to specific days within a year. 1, 2, 3, ... refers to the first, second, third day of the year. You can also specify negative values to refer to values relative to the last day. -1 refers to the last day, -2 refers to the second to the last day, ...
    easters List<Number>
    Restricts the recurrence to specific days relative to Easter Sunday. 0 will yield the Easter Sunday itself
    interval Number
    The interval between each iteration. Default: 1. Example: frequency = DAILY and interval = 2 schedules for every other day
    months List<Number>
    Restricts the recurrence to specific months. 1 for January, 2 for February, ..., 12 for December
    weekdays List<String>
    Restricts the recurrence to specific week days. Possible values are MO, TU, WE, TH, FR, SA and SU
    weeks List<Number>
    Restricts the recurrence to specific weeks within a year. 1, 2, 3, ... refers to the first, second, third week of the year. You can also specify negative values to refer to values relative to the last week. -1 refers to the last week, -2 refers to the second to the last week, ...

    AutomationSchedulingRuleRelativeOffset, AutomationSchedulingRuleRelativeOffsetArgs

    Direction string
    SourceRule string
    TargetRule string
    Direction string
    SourceRule string
    TargetRule string
    direction string
    source_rule string
    target_rule string
    direction String
    sourceRule String
    targetRule String
    direction string
    sourceRule string
    targetRule string
    direction String
    sourceRule String
    targetRule String

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Viewing docs for Dynatrace v0.36.0
    published on Tuesday, Jun 9, 2026 by Pulumiverse

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial