dynatrace.AutomationSchedulingRule
Explore with Pulumi AI
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
Recurrence Rule
import * as pulumi from "@pulumi/pulumi";
import * as dynatrace from "@pulumiverse/dynatrace";
const calendar = new dynatrace.AutomationBusinessCalendar("calendar", {
description: "#name#",
title: "#name#",
validFrom: "2023-07-31",
validTo: "2033-07-31",
weekDays: [
1,
2,
3,
4,
5,
],
weekStart: 1,
holidays: {
holidays: [
{
date: "2023-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2023-10-26",
title: "Nationalfeiertag",
},
{
date: "2023-11-01",
title: "Allerheiligen",
},
{
date: "2023-12-08",
title: "Mariä Empfängnis",
},
{
date: "2023-12-25",
title: "Christtag",
},
{
date: "2023-12-26",
title: "Stefanitag",
},
{
date: "2024-01-01",
title: "Neujahr",
},
{
date: "2024-01-06",
title: "Heilige Drei Könige",
},
{
date: "2024-04-01",
title: "Ostermontag",
},
{
date: "2024-05-01",
title: "Staatsfeiertag",
},
{
date: "2024-05-09",
title: "Christi Himmelfahrt",
},
{
date: "2024-05-20",
title: "Pfingstmontag",
},
{
date: "2024-05-30",
title: "Fronleichnam",
},
{
date: "2024-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2024-10-26",
title: "Nationalfeiertag",
},
{
date: "2024-11-01",
title: "Allerheiligen",
},
{
date: "2024-12-08",
title: "Mariä Empfängnis",
},
{
date: "2024-12-25",
title: "Christtag",
},
{
date: "2024-12-26",
title: "Stefanitag",
},
{
date: "2025-01-01",
title: "Neujahr",
},
{
date: "2025-01-06",
title: "Heilige Drei Könige",
},
{
date: "2025-04-21",
title: "Ostermontag",
},
{
date: "2025-05-01",
title: "Staatsfeiertag",
},
{
date: "2025-05-29",
title: "Christi Himmelfahrt",
},
{
date: "2025-06-09",
title: "Pfingstmontag",
},
{
date: "2025-06-19",
title: "Fronleichnam",
},
{
date: "2025-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2025-10-26",
title: "Nationalfeiertag",
},
{
date: "2025-11-01",
title: "Allerheiligen",
},
{
date: "2025-12-08",
title: "Mariä Empfängnis",
},
{
date: "2025-12-25",
title: "Christtag",
},
{
date: "2025-12-26",
title: "Stefanitag",
},
{
date: "2026-01-01",
title: "Neujahr",
},
{
date: "2026-01-06",
title: "Heilige Drei Könige",
},
{
date: "2026-04-06",
title: "Ostermontag",
},
{
date: "2026-05-01",
title: "Staatsfeiertag",
},
{
date: "2026-05-14",
title: "Christi Himmelfahrt",
},
{
date: "2026-05-25",
title: "Pfingstmontag",
},
{
date: "2026-06-04",
title: "Fronleichnam",
},
{
date: "2026-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2026-10-26",
title: "Nationalfeiertag",
},
{
date: "2026-11-01",
title: "Allerheiligen",
},
{
date: "2026-12-08",
title: "Mariä Empfängnis",
},
{
date: "2026-12-25",
title: "Christtag",
},
{
date: "2026-12-26",
title: "Stefanitag",
},
{
date: "2027-01-01",
title: "Neujahr",
},
{
date: "2027-01-06",
title: "Heilige Drei Könige",
},
{
date: "2027-03-29",
title: "Ostermontag",
},
{
date: "2027-05-01",
title: "Staatsfeiertag",
},
{
date: "2027-05-06",
title: "Christi Himmelfahrt",
},
{
date: "2027-05-17",
title: "Pfingstmontag",
},
{
date: "2027-05-27",
title: "Fronleichnam",
},
{
date: "2027-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2027-10-26",
title: "Nationalfeiertag",
},
{
date: "2027-11-01",
title: "Allerheiligen",
},
{
date: "2027-12-08",
title: "Mariä Empfängnis",
},
{
date: "2027-12-25",
title: "Christtag",
},
{
date: "2027-12-26",
title: "Stefanitag",
},
{
date: "2028-01-01",
title: "Neujahr",
},
{
date: "2028-01-06",
title: "Heilige Drei Könige",
},
{
date: "2028-04-17",
title: "Ostermontag",
},
{
date: "2028-05-01",
title: "Staatsfeiertag",
},
{
date: "2028-05-25",
title: "Christi Himmelfahrt",
},
{
date: "2028-06-05",
title: "Pfingstmontag",
},
{
date: "2028-06-15",
title: "Fronleichnam",
},
{
date: "2028-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2028-10-26",
title: "Nationalfeiertag",
},
{
date: "2028-11-01",
title: "Allerheiligen",
},
{
date: "2028-12-08",
title: "Mariä Empfängnis",
},
{
date: "2028-12-25",
title: "Christtag",
},
{
date: "2028-12-26",
title: "Stefanitag",
},
{
date: "2029-01-01",
title: "Neujahr",
},
{
date: "2029-01-06",
title: "Heilige Drei Könige",
},
{
date: "2029-04-02",
title: "Ostermontag",
},
{
date: "2029-05-01",
title: "Staatsfeiertag",
},
{
date: "2029-05-10",
title: "Christi Himmelfahrt",
},
{
date: "2029-05-21",
title: "Pfingstmontag",
},
{
date: "2029-05-31",
title: "Fronleichnam",
},
{
date: "2029-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2029-10-26",
title: "Nationalfeiertag",
},
{
date: "2029-11-01",
title: "Allerheiligen",
},
{
date: "2029-12-08",
title: "Mariä Empfängnis",
},
{
date: "2029-12-25",
title: "Christtag",
},
{
date: "2029-12-26",
title: "Stefanitag",
},
{
date: "2030-01-01",
title: "Neujahr",
},
{
date: "2030-01-06",
title: "Heilige Drei Könige",
},
{
date: "2030-04-22",
title: "Ostermontag",
},
{
date: "2030-05-01",
title: "Staatsfeiertag",
},
{
date: "2030-05-30",
title: "Christi Himmelfahrt",
},
{
date: "2030-06-10",
title: "Pfingstmontag",
},
{
date: "2030-06-20",
title: "Fronleichnam",
},
{
date: "2030-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2030-10-26",
title: "Nationalfeiertag",
},
{
date: "2030-11-01",
title: "Allerheiligen",
},
{
date: "2030-12-08",
title: "Mariä Empfängnis",
},
{
date: "2030-12-25",
title: "Christtag",
},
{
date: "2030-12-26",
title: "Stefanitag",
},
{
date: "2031-01-01",
title: "Neujahr",
},
{
date: "2031-01-06",
title: "Heilige Drei Könige",
},
{
date: "2031-04-14",
title: "Ostermontag",
},
{
date: "2031-05-01",
title: "Staatsfeiertag",
},
{
date: "2031-05-22",
title: "Christi Himmelfahrt",
},
{
date: "2031-06-02",
title: "Pfingstmontag",
},
{
date: "2031-06-12",
title: "Fronleichnam",
},
{
date: "2031-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2031-10-26",
title: "Nationalfeiertag",
},
{
date: "2031-11-01",
title: "Allerheiligen",
},
{
date: "2031-12-08",
title: "Mariä Empfängnis",
},
{
date: "2031-12-25",
title: "Christtag",
},
{
date: "2031-12-26",
title: "Stefanitag",
},
{
date: "2032-01-01",
title: "Neujahr",
},
{
date: "2032-01-06",
title: "Heilige Drei Könige",
},
{
date: "2032-03-29",
title: "Ostermontag",
},
{
date: "2032-05-01",
title: "Staatsfeiertag",
},
{
date: "2032-05-06",
title: "Christi Himmelfahrt",
},
{
date: "2032-05-17",
title: "Pfingstmontag",
},
{
date: "2032-05-27",
title: "Fronleichnam",
},
{
date: "2032-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2032-10-26",
title: "Nationalfeiertag",
},
{
date: "2032-11-01",
title: "Allerheiligen",
},
{
date: "2032-12-08",
title: "Mariä Empfängnis",
},
{
date: "2032-12-25",
title: "Christtag",
},
{
date: "2032-12-26",
title: "Stefanitag",
},
{
date: "2033-01-01",
title: "Neujahr",
},
{
date: "2033-01-06",
title: "Heilige Drei Könige",
},
{
date: "2033-04-18",
title: "Ostermontag",
},
{
date: "2033-05-01",
title: "Staatsfeiertag",
},
{
date: "2033-05-26",
title: "Christi Himmelfahrt",
},
{
date: "2033-06-06",
title: "Pfingstmontag",
},
{
date: "2033-06-16",
title: "Fronleichnam",
},
{
date: "2023-07-31",
title: "Reini Day",
},
{
date: "2024-07-31",
title: "Reini Day",
},
{
date: "2025-07-31",
title: "Reini Day",
},
{
date: "2026-07-31",
title: "Reini Day",
},
{
date: "2027-07-31",
title: "Reini Day",
},
{
date: "2028-07-31",
title: "Reini Day",
},
{
date: "2029-07-31",
title: "Reini Day",
},
{
date: "2030-07-31",
title: "Reini Day",
},
{
date: "2031-07-31",
title: "Reini Day",
},
{
date: "2032-07-31",
title: "Reini Day",
},
{
date: "2033-07-31",
title: "Reini Day",
},
],
},
});
const _name_ = new dynatrace.AutomationSchedulingRule("#name#", {
businessCalendar: calendar.id,
title: "#name#",
recurrence: {
datestart: "2023-07-31",
daysInMonths: [-1],
daysInYears: [
-2,
-1,
1,
2,
3,
],
frequency: "WEEKLY",
interval: 33,
months: [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
],
weekdays: [
"MO",
"TU",
"WE",
],
weeks: [
-2,
-1,
1,
2,
3,
],
workdays: "WORKING",
},
});
import pulumi
import pulumiverse_dynatrace as dynatrace
calendar = dynatrace.AutomationBusinessCalendar("calendar",
description="#name#",
title="#name#",
valid_from="2023-07-31",
valid_to="2033-07-31",
week_days=[
1,
2,
3,
4,
5,
],
week_start=1,
holidays={
"holidays": [
{
"date": "2023-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2023-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2023-11-01",
"title": "Allerheiligen",
},
{
"date": "2023-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2023-12-25",
"title": "Christtag",
},
{
"date": "2023-12-26",
"title": "Stefanitag",
},
{
"date": "2024-01-01",
"title": "Neujahr",
},
{
"date": "2024-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2024-04-01",
"title": "Ostermontag",
},
{
"date": "2024-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2024-05-09",
"title": "Christi Himmelfahrt",
},
{
"date": "2024-05-20",
"title": "Pfingstmontag",
},
{
"date": "2024-05-30",
"title": "Fronleichnam",
},
{
"date": "2024-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2024-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2024-11-01",
"title": "Allerheiligen",
},
{
"date": "2024-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2024-12-25",
"title": "Christtag",
},
{
"date": "2024-12-26",
"title": "Stefanitag",
},
{
"date": "2025-01-01",
"title": "Neujahr",
},
{
"date": "2025-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2025-04-21",
"title": "Ostermontag",
},
{
"date": "2025-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2025-05-29",
"title": "Christi Himmelfahrt",
},
{
"date": "2025-06-09",
"title": "Pfingstmontag",
},
{
"date": "2025-06-19",
"title": "Fronleichnam",
},
{
"date": "2025-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2025-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2025-11-01",
"title": "Allerheiligen",
},
{
"date": "2025-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2025-12-25",
"title": "Christtag",
},
{
"date": "2025-12-26",
"title": "Stefanitag",
},
{
"date": "2026-01-01",
"title": "Neujahr",
},
{
"date": "2026-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2026-04-06",
"title": "Ostermontag",
},
{
"date": "2026-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2026-05-14",
"title": "Christi Himmelfahrt",
},
{
"date": "2026-05-25",
"title": "Pfingstmontag",
},
{
"date": "2026-06-04",
"title": "Fronleichnam",
},
{
"date": "2026-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2026-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2026-11-01",
"title": "Allerheiligen",
},
{
"date": "2026-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2026-12-25",
"title": "Christtag",
},
{
"date": "2026-12-26",
"title": "Stefanitag",
},
{
"date": "2027-01-01",
"title": "Neujahr",
},
{
"date": "2027-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2027-03-29",
"title": "Ostermontag",
},
{
"date": "2027-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2027-05-06",
"title": "Christi Himmelfahrt",
},
{
"date": "2027-05-17",
"title": "Pfingstmontag",
},
{
"date": "2027-05-27",
"title": "Fronleichnam",
},
{
"date": "2027-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2027-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2027-11-01",
"title": "Allerheiligen",
},
{
"date": "2027-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2027-12-25",
"title": "Christtag",
},
{
"date": "2027-12-26",
"title": "Stefanitag",
},
{
"date": "2028-01-01",
"title": "Neujahr",
},
{
"date": "2028-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2028-04-17",
"title": "Ostermontag",
},
{
"date": "2028-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2028-05-25",
"title": "Christi Himmelfahrt",
},
{
"date": "2028-06-05",
"title": "Pfingstmontag",
},
{
"date": "2028-06-15",
"title": "Fronleichnam",
},
{
"date": "2028-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2028-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2028-11-01",
"title": "Allerheiligen",
},
{
"date": "2028-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2028-12-25",
"title": "Christtag",
},
{
"date": "2028-12-26",
"title": "Stefanitag",
},
{
"date": "2029-01-01",
"title": "Neujahr",
},
{
"date": "2029-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2029-04-02",
"title": "Ostermontag",
},
{
"date": "2029-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2029-05-10",
"title": "Christi Himmelfahrt",
},
{
"date": "2029-05-21",
"title": "Pfingstmontag",
},
{
"date": "2029-05-31",
"title": "Fronleichnam",
},
{
"date": "2029-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2029-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2029-11-01",
"title": "Allerheiligen",
},
{
"date": "2029-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2029-12-25",
"title": "Christtag",
},
{
"date": "2029-12-26",
"title": "Stefanitag",
},
{
"date": "2030-01-01",
"title": "Neujahr",
},
{
"date": "2030-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2030-04-22",
"title": "Ostermontag",
},
{
"date": "2030-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2030-05-30",
"title": "Christi Himmelfahrt",
},
{
"date": "2030-06-10",
"title": "Pfingstmontag",
},
{
"date": "2030-06-20",
"title": "Fronleichnam",
},
{
"date": "2030-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2030-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2030-11-01",
"title": "Allerheiligen",
},
{
"date": "2030-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2030-12-25",
"title": "Christtag",
},
{
"date": "2030-12-26",
"title": "Stefanitag",
},
{
"date": "2031-01-01",
"title": "Neujahr",
},
{
"date": "2031-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2031-04-14",
"title": "Ostermontag",
},
{
"date": "2031-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2031-05-22",
"title": "Christi Himmelfahrt",
},
{
"date": "2031-06-02",
"title": "Pfingstmontag",
},
{
"date": "2031-06-12",
"title": "Fronleichnam",
},
{
"date": "2031-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2031-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2031-11-01",
"title": "Allerheiligen",
},
{
"date": "2031-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2031-12-25",
"title": "Christtag",
},
{
"date": "2031-12-26",
"title": "Stefanitag",
},
{
"date": "2032-01-01",
"title": "Neujahr",
},
{
"date": "2032-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2032-03-29",
"title": "Ostermontag",
},
{
"date": "2032-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2032-05-06",
"title": "Christi Himmelfahrt",
},
{
"date": "2032-05-17",
"title": "Pfingstmontag",
},
{
"date": "2032-05-27",
"title": "Fronleichnam",
},
{
"date": "2032-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2032-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2032-11-01",
"title": "Allerheiligen",
},
{
"date": "2032-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2032-12-25",
"title": "Christtag",
},
{
"date": "2032-12-26",
"title": "Stefanitag",
},
{
"date": "2033-01-01",
"title": "Neujahr",
},
{
"date": "2033-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2033-04-18",
"title": "Ostermontag",
},
{
"date": "2033-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2033-05-26",
"title": "Christi Himmelfahrt",
},
{
"date": "2033-06-06",
"title": "Pfingstmontag",
},
{
"date": "2033-06-16",
"title": "Fronleichnam",
},
{
"date": "2023-07-31",
"title": "Reini Day",
},
{
"date": "2024-07-31",
"title": "Reini Day",
},
{
"date": "2025-07-31",
"title": "Reini Day",
},
{
"date": "2026-07-31",
"title": "Reini Day",
},
{
"date": "2027-07-31",
"title": "Reini Day",
},
{
"date": "2028-07-31",
"title": "Reini Day",
},
{
"date": "2029-07-31",
"title": "Reini Day",
},
{
"date": "2030-07-31",
"title": "Reini Day",
},
{
"date": "2031-07-31",
"title": "Reini Day",
},
{
"date": "2032-07-31",
"title": "Reini Day",
},
{
"date": "2033-07-31",
"title": "Reini Day",
},
],
})
_name_ = dynatrace.AutomationSchedulingRule("#name#",
business_calendar=calendar.id,
title="#name#",
recurrence={
"datestart": "2023-07-31",
"days_in_months": [-1],
"days_in_years": [
-2,
-1,
1,
2,
3,
],
"frequency": "WEEKLY",
"interval": 33,
"months": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
],
"weekdays": [
"MO",
"TU",
"WE",
],
"weeks": [
-2,
-1,
1,
2,
3,
],
"workdays": "WORKING",
})
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
calendar, err := dynatrace.NewAutomationBusinessCalendar(ctx, "calendar", &dynatrace.AutomationBusinessCalendarArgs{
Description: pulumi.String("#name#"),
Title: pulumi.String("#name#"),
ValidFrom: pulumi.String("2023-07-31"),
ValidTo: pulumi.String("2033-07-31"),
WeekDays: pulumi.IntArray{
pulumi.Int(1),
pulumi.Int(2),
pulumi.Int(3),
pulumi.Int(4),
pulumi.Int(5),
},
WeekStart: pulumi.Int(1),
Holidays: &dynatrace.AutomationBusinessCalendarHolidaysArgs{
Holidays: dynatrace.AutomationBusinessCalendarHolidaysHolidayArray{
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-04-01"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-05-09"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-05-20"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-05-30"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-04-21"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-05-29"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-06-09"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-06-19"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-04-06"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-05-14"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-05-25"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-06-04"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-03-29"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-05-06"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-05-17"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-05-27"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-04-17"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-05-25"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-06-05"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-06-15"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-04-02"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-05-10"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-05-21"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-05-31"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-04-22"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-05-30"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-06-10"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-06-20"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-04-14"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-05-22"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-06-02"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-06-12"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-03-29"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-05-06"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-05-17"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-05-27"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-04-18"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-05-26"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-06-06"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-06-16"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-07-31"),
Title: pulumi.String("Reini Day"),
},
},
},
})
if err != nil {
return err
}
_, err = dynatrace.NewAutomationSchedulingRule(ctx, "#name#", &dynatrace.AutomationSchedulingRuleArgs{
BusinessCalendar: calendar.ID(),
Title: pulumi.String("#name#"),
Recurrence: &dynatrace.AutomationSchedulingRuleRecurrenceArgs{
Datestart: pulumi.String("2023-07-31"),
DaysInMonths: pulumi.IntArray{
pulumi.Int(-1),
},
DaysInYears: pulumi.IntArray{
pulumi.Int(-2),
pulumi.Int(-1),
pulumi.Int(1),
pulumi.Int(2),
pulumi.Int(3),
},
Frequency: pulumi.String("WEEKLY"),
Interval: pulumi.Int(33),
Months: pulumi.IntArray{
pulumi.Int(1),
pulumi.Int(2),
pulumi.Int(3),
pulumi.Int(4),
pulumi.Int(5),
pulumi.Int(6),
pulumi.Int(7),
pulumi.Int(8),
pulumi.Int(9),
pulumi.Int(10),
pulumi.Int(11),
pulumi.Int(12),
},
Weekdays: pulumi.StringArray{
pulumi.String("MO"),
pulumi.String("TU"),
pulumi.String("WE"),
},
Weeks: pulumi.IntArray{
pulumi.Int(-2),
pulumi.Int(-1),
pulumi.Int(1),
pulumi.Int(2),
pulumi.Int(3),
},
Workdays: pulumi.String("WORKING"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Dynatrace = Pulumiverse.Dynatrace;
return await Deployment.RunAsync(() =>
{
var calendar = new Dynatrace.AutomationBusinessCalendar("calendar", new()
{
Description = "#name#",
Title = "#name#",
ValidFrom = "2023-07-31",
ValidTo = "2033-07-31",
WeekDays = new[]
{
1,
2,
3,
4,
5,
},
WeekStart = 1,
Holidays = new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysArgs
{
Holidays = new[]
{
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-04-01",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-05-09",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-05-20",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-05-30",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-04-21",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-05-29",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-06-09",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-06-19",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-04-06",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-05-14",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-05-25",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-06-04",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-03-29",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-05-06",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-05-17",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-05-27",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-04-17",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-05-25",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-06-05",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-06-15",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-04-02",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-05-10",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-05-21",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-05-31",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-04-22",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-05-30",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-06-10",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-06-20",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-04-14",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-05-22",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-06-02",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-06-12",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-03-29",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-05-06",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-05-17",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-05-27",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-04-18",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-05-26",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-06-06",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-06-16",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-07-31",
Title = "Reini Day",
},
},
},
});
var _name_ = new Dynatrace.AutomationSchedulingRule("#name#", new()
{
BusinessCalendar = calendar.Id,
Title = "#name#",
Recurrence = new Dynatrace.Inputs.AutomationSchedulingRuleRecurrenceArgs
{
Datestart = "2023-07-31",
DaysInMonths = new[]
{
-1,
},
DaysInYears = new[]
{
-2,
-1,
1,
2,
3,
},
Frequency = "WEEKLY",
Interval = 33,
Months = new[]
{
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
},
Weekdays = new[]
{
"MO",
"TU",
"WE",
},
Weeks = new[]
{
-2,
-1,
1,
2,
3,
},
Workdays = "WORKING",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dynatrace.AutomationBusinessCalendar;
import com.pulumi.dynatrace.AutomationBusinessCalendarArgs;
import com.pulumi.dynatrace.inputs.AutomationBusinessCalendarHolidaysArgs;
import com.pulumi.dynatrace.AutomationSchedulingRule;
import com.pulumi.dynatrace.AutomationSchedulingRuleArgs;
import com.pulumi.dynatrace.inputs.AutomationSchedulingRuleRecurrenceArgs;
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 calendar = new AutomationBusinessCalendar("calendar", AutomationBusinessCalendarArgs.builder()
.description("#name#")
.title("#name#")
.validFrom("2023-07-31")
.validTo("2033-07-31")
.weekDays(
1,
2,
3,
4,
5)
.weekStart(1)
.holidays(AutomationBusinessCalendarHolidaysArgs.builder()
.holidays(
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-04-01")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-05-09")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-05-20")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-05-30")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-04-21")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-05-29")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-06-09")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-06-19")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-04-06")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-05-14")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-05-25")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-06-04")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-03-29")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-05-06")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-05-17")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-05-27")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-04-17")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-05-25")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-06-05")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-06-15")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-04-02")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-05-10")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-05-21")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-05-31")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-04-22")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-05-30")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-06-10")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-06-20")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-04-14")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-05-22")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-06-02")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-06-12")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-03-29")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-05-06")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-05-17")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-05-27")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-04-18")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-05-26")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-06-06")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-06-16")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-07-31")
.title("Reini Day")
.build())
.build())
.build());
var _name_ = new AutomationSchedulingRule("#name#", AutomationSchedulingRuleArgs.builder()
.businessCalendar(calendar.id())
.title("#name#")
.recurrence(AutomationSchedulingRuleRecurrenceArgs.builder()
.datestart("2023-07-31")
.daysInMonths(-1)
.daysInYears(
-2,
-1,
1,
2,
3)
.frequency("WEEKLY")
.interval(33)
.months(
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12)
.weekdays(
"MO",
"TU",
"WE")
.weeks(
-2,
-1,
1,
2,
3)
.workdays("WORKING")
.build())
.build());
}
}
resources:
calendar:
type: dynatrace:AutomationBusinessCalendar
properties:
description: '#name#'
title: '#name#'
validFrom: 2023-07-31
validTo: 2033-07-31
weekDays:
- 1
- 2
- 3
- 4
- 5
weekStart: 1
holidays:
holidays:
- date: 2023-08-15
title: Mariä Himmelfahrt
- date: 2023-10-26
title: Nationalfeiertag
- date: 2023-11-01
title: Allerheiligen
- date: 2023-12-08
title: Mariä Empfängnis
- date: 2023-12-25
title: Christtag
- date: 2023-12-26
title: Stefanitag
- date: 2024-01-01
title: Neujahr
- date: 2024-01-06
title: Heilige Drei Könige
- date: 2024-04-01
title: Ostermontag
- date: 2024-05-01
title: Staatsfeiertag
- date: 2024-05-09
title: Christi Himmelfahrt
- date: 2024-05-20
title: Pfingstmontag
- date: 2024-05-30
title: Fronleichnam
- date: 2024-08-15
title: Mariä Himmelfahrt
- date: 2024-10-26
title: Nationalfeiertag
- date: 2024-11-01
title: Allerheiligen
- date: 2024-12-08
title: Mariä Empfängnis
- date: 2024-12-25
title: Christtag
- date: 2024-12-26
title: Stefanitag
- date: 2025-01-01
title: Neujahr
- date: 2025-01-06
title: Heilige Drei Könige
- date: 2025-04-21
title: Ostermontag
- date: 2025-05-01
title: Staatsfeiertag
- date: 2025-05-29
title: Christi Himmelfahrt
- date: 2025-06-09
title: Pfingstmontag
- date: 2025-06-19
title: Fronleichnam
- date: 2025-08-15
title: Mariä Himmelfahrt
- date: 2025-10-26
title: Nationalfeiertag
- date: 2025-11-01
title: Allerheiligen
- date: 2025-12-08
title: Mariä Empfängnis
- date: 2025-12-25
title: Christtag
- date: 2025-12-26
title: Stefanitag
- date: 2026-01-01
title: Neujahr
- date: 2026-01-06
title: Heilige Drei Könige
- date: 2026-04-06
title: Ostermontag
- date: 2026-05-01
title: Staatsfeiertag
- date: 2026-05-14
title: Christi Himmelfahrt
- date: 2026-05-25
title: Pfingstmontag
- date: 2026-06-04
title: Fronleichnam
- date: 2026-08-15
title: Mariä Himmelfahrt
- date: 2026-10-26
title: Nationalfeiertag
- date: 2026-11-01
title: Allerheiligen
- date: 2026-12-08
title: Mariä Empfängnis
- date: 2026-12-25
title: Christtag
- date: 2026-12-26
title: Stefanitag
- date: 2027-01-01
title: Neujahr
- date: 2027-01-06
title: Heilige Drei Könige
- date: 2027-03-29
title: Ostermontag
- date: 2027-05-01
title: Staatsfeiertag
- date: 2027-05-06
title: Christi Himmelfahrt
- date: 2027-05-17
title: Pfingstmontag
- date: 2027-05-27
title: Fronleichnam
- date: 2027-08-15
title: Mariä Himmelfahrt
- date: 2027-10-26
title: Nationalfeiertag
- date: 2027-11-01
title: Allerheiligen
- date: 2027-12-08
title: Mariä Empfängnis
- date: 2027-12-25
title: Christtag
- date: 2027-12-26
title: Stefanitag
- date: 2028-01-01
title: Neujahr
- date: 2028-01-06
title: Heilige Drei Könige
- date: 2028-04-17
title: Ostermontag
- date: 2028-05-01
title: Staatsfeiertag
- date: 2028-05-25
title: Christi Himmelfahrt
- date: 2028-06-05
title: Pfingstmontag
- date: 2028-06-15
title: Fronleichnam
- date: 2028-08-15
title: Mariä Himmelfahrt
- date: 2028-10-26
title: Nationalfeiertag
- date: 2028-11-01
title: Allerheiligen
- date: 2028-12-08
title: Mariä Empfängnis
- date: 2028-12-25
title: Christtag
- date: 2028-12-26
title: Stefanitag
- date: 2029-01-01
title: Neujahr
- date: 2029-01-06
title: Heilige Drei Könige
- date: 2029-04-02
title: Ostermontag
- date: 2029-05-01
title: Staatsfeiertag
- date: 2029-05-10
title: Christi Himmelfahrt
- date: 2029-05-21
title: Pfingstmontag
- date: 2029-05-31
title: Fronleichnam
- date: 2029-08-15
title: Mariä Himmelfahrt
- date: 2029-10-26
title: Nationalfeiertag
- date: 2029-11-01
title: Allerheiligen
- date: 2029-12-08
title: Mariä Empfängnis
- date: 2029-12-25
title: Christtag
- date: 2029-12-26
title: Stefanitag
- date: 2030-01-01
title: Neujahr
- date: 2030-01-06
title: Heilige Drei Könige
- date: 2030-04-22
title: Ostermontag
- date: 2030-05-01
title: Staatsfeiertag
- date: 2030-05-30
title: Christi Himmelfahrt
- date: 2030-06-10
title: Pfingstmontag
- date: 2030-06-20
title: Fronleichnam
- date: 2030-08-15
title: Mariä Himmelfahrt
- date: 2030-10-26
title: Nationalfeiertag
- date: 2030-11-01
title: Allerheiligen
- date: 2030-12-08
title: Mariä Empfängnis
- date: 2030-12-25
title: Christtag
- date: 2030-12-26
title: Stefanitag
- date: 2031-01-01
title: Neujahr
- date: 2031-01-06
title: Heilige Drei Könige
- date: 2031-04-14
title: Ostermontag
- date: 2031-05-01
title: Staatsfeiertag
- date: 2031-05-22
title: Christi Himmelfahrt
- date: 2031-06-02
title: Pfingstmontag
- date: 2031-06-12
title: Fronleichnam
- date: 2031-08-15
title: Mariä Himmelfahrt
- date: 2031-10-26
title: Nationalfeiertag
- date: 2031-11-01
title: Allerheiligen
- date: 2031-12-08
title: Mariä Empfängnis
- date: 2031-12-25
title: Christtag
- date: 2031-12-26
title: Stefanitag
- date: 2032-01-01
title: Neujahr
- date: 2032-01-06
title: Heilige Drei Könige
- date: 2032-03-29
title: Ostermontag
- date: 2032-05-01
title: Staatsfeiertag
- date: 2032-05-06
title: Christi Himmelfahrt
- date: 2032-05-17
title: Pfingstmontag
- date: 2032-05-27
title: Fronleichnam
- date: 2032-08-15
title: Mariä Himmelfahrt
- date: 2032-10-26
title: Nationalfeiertag
- date: 2032-11-01
title: Allerheiligen
- date: 2032-12-08
title: Mariä Empfängnis
- date: 2032-12-25
title: Christtag
- date: 2032-12-26
title: Stefanitag
- date: 2033-01-01
title: Neujahr
- date: 2033-01-06
title: Heilige Drei Könige
- date: 2033-04-18
title: Ostermontag
- date: 2033-05-01
title: Staatsfeiertag
- date: 2033-05-26
title: Christi Himmelfahrt
- date: 2033-06-06
title: Pfingstmontag
- date: 2033-06-16
title: Fronleichnam
- date: 2023-07-31
title: Reini Day
- date: 2024-07-31
title: Reini Day
- date: 2025-07-31
title: Reini Day
- date: 2026-07-31
title: Reini Day
- date: 2027-07-31
title: Reini Day
- date: 2028-07-31
title: Reini Day
- date: 2029-07-31
title: Reini Day
- date: 2030-07-31
title: Reini Day
- date: 2031-07-31
title: Reini Day
- date: 2032-07-31
title: Reini Day
- date: 2033-07-31
title: Reini Day
'#name#':
type: dynatrace:AutomationSchedulingRule
properties:
businessCalendar: ${calendar.id}
title: '#name#'
recurrence:
datestart: 2023-07-31
daysInMonths:
- -1
daysInYears:
- -2
- -1
- 1
- 2
- 3
frequency: WEEKLY
interval: 33
months:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
weekdays:
- MO
- TU
- WE
weeks:
- -2
- -1
- 1
- 2
- 3
workdays: WORKING
Fixed Offset Rule
import * as pulumi from "@pulumi/pulumi";
import * as dynatrace from "@pulumiverse/dynatrace";
const calendar = new dynatrace.AutomationBusinessCalendar("calendar", {
description: "#name#",
title: "#name#",
validFrom: "2023-07-31",
validTo: "2033-07-31",
weekDays: [
1,
2,
3,
4,
5,
],
weekStart: 1,
holidays: {
holidays: [
{
date: "2023-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2023-10-26",
title: "Nationalfeiertag",
},
{
date: "2023-11-01",
title: "Allerheiligen",
},
{
date: "2023-12-08",
title: "Mariä Empfängnis",
},
{
date: "2023-12-25",
title: "Christtag",
},
{
date: "2023-12-26",
title: "Stefanitag",
},
{
date: "2024-01-01",
title: "Neujahr",
},
{
date: "2024-01-06",
title: "Heilige Drei Könige",
},
{
date: "2024-04-01",
title: "Ostermontag",
},
{
date: "2024-05-01",
title: "Staatsfeiertag",
},
{
date: "2024-05-09",
title: "Christi Himmelfahrt",
},
{
date: "2024-05-20",
title: "Pfingstmontag",
},
{
date: "2024-05-30",
title: "Fronleichnam",
},
{
date: "2024-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2024-10-26",
title: "Nationalfeiertag",
},
{
date: "2024-11-01",
title: "Allerheiligen",
},
{
date: "2024-12-08",
title: "Mariä Empfängnis",
},
{
date: "2024-12-25",
title: "Christtag",
},
{
date: "2024-12-26",
title: "Stefanitag",
},
{
date: "2025-01-01",
title: "Neujahr",
},
{
date: "2025-01-06",
title: "Heilige Drei Könige",
},
{
date: "2025-04-21",
title: "Ostermontag",
},
{
date: "2025-05-01",
title: "Staatsfeiertag",
},
{
date: "2025-05-29",
title: "Christi Himmelfahrt",
},
{
date: "2025-06-09",
title: "Pfingstmontag",
},
{
date: "2025-06-19",
title: "Fronleichnam",
},
{
date: "2025-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2025-10-26",
title: "Nationalfeiertag",
},
{
date: "2025-11-01",
title: "Allerheiligen",
},
{
date: "2025-12-08",
title: "Mariä Empfängnis",
},
{
date: "2025-12-25",
title: "Christtag",
},
{
date: "2025-12-26",
title: "Stefanitag",
},
{
date: "2026-01-01",
title: "Neujahr",
},
{
date: "2026-01-06",
title: "Heilige Drei Könige",
},
{
date: "2026-04-06",
title: "Ostermontag",
},
{
date: "2026-05-01",
title: "Staatsfeiertag",
},
{
date: "2026-05-14",
title: "Christi Himmelfahrt",
},
{
date: "2026-05-25",
title: "Pfingstmontag",
},
{
date: "2026-06-04",
title: "Fronleichnam",
},
{
date: "2026-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2026-10-26",
title: "Nationalfeiertag",
},
{
date: "2026-11-01",
title: "Allerheiligen",
},
{
date: "2026-12-08",
title: "Mariä Empfängnis",
},
{
date: "2026-12-25",
title: "Christtag",
},
{
date: "2026-12-26",
title: "Stefanitag",
},
{
date: "2027-01-01",
title: "Neujahr",
},
{
date: "2027-01-06",
title: "Heilige Drei Könige",
},
{
date: "2027-03-29",
title: "Ostermontag",
},
{
date: "2027-05-01",
title: "Staatsfeiertag",
},
{
date: "2027-05-06",
title: "Christi Himmelfahrt",
},
{
date: "2027-05-17",
title: "Pfingstmontag",
},
{
date: "2027-05-27",
title: "Fronleichnam",
},
{
date: "2027-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2027-10-26",
title: "Nationalfeiertag",
},
{
date: "2027-11-01",
title: "Allerheiligen",
},
{
date: "2027-12-08",
title: "Mariä Empfängnis",
},
{
date: "2027-12-25",
title: "Christtag",
},
{
date: "2027-12-26",
title: "Stefanitag",
},
{
date: "2028-01-01",
title: "Neujahr",
},
{
date: "2028-01-06",
title: "Heilige Drei Könige",
},
{
date: "2028-04-17",
title: "Ostermontag",
},
{
date: "2028-05-01",
title: "Staatsfeiertag",
},
{
date: "2028-05-25",
title: "Christi Himmelfahrt",
},
{
date: "2028-06-05",
title: "Pfingstmontag",
},
{
date: "2028-06-15",
title: "Fronleichnam",
},
{
date: "2028-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2028-10-26",
title: "Nationalfeiertag",
},
{
date: "2028-11-01",
title: "Allerheiligen",
},
{
date: "2028-12-08",
title: "Mariä Empfängnis",
},
{
date: "2028-12-25",
title: "Christtag",
},
{
date: "2028-12-26",
title: "Stefanitag",
},
{
date: "2029-01-01",
title: "Neujahr",
},
{
date: "2029-01-06",
title: "Heilige Drei Könige",
},
{
date: "2029-04-02",
title: "Ostermontag",
},
{
date: "2029-05-01",
title: "Staatsfeiertag",
},
{
date: "2029-05-10",
title: "Christi Himmelfahrt",
},
{
date: "2029-05-21",
title: "Pfingstmontag",
},
{
date: "2029-05-31",
title: "Fronleichnam",
},
{
date: "2029-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2029-10-26",
title: "Nationalfeiertag",
},
{
date: "2029-11-01",
title: "Allerheiligen",
},
{
date: "2029-12-08",
title: "Mariä Empfängnis",
},
{
date: "2029-12-25",
title: "Christtag",
},
{
date: "2029-12-26",
title: "Stefanitag",
},
{
date: "2030-01-01",
title: "Neujahr",
},
{
date: "2030-01-06",
title: "Heilige Drei Könige",
},
{
date: "2030-04-22",
title: "Ostermontag",
},
{
date: "2030-05-01",
title: "Staatsfeiertag",
},
{
date: "2030-05-30",
title: "Christi Himmelfahrt",
},
{
date: "2030-06-10",
title: "Pfingstmontag",
},
{
date: "2030-06-20",
title: "Fronleichnam",
},
{
date: "2030-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2030-10-26",
title: "Nationalfeiertag",
},
{
date: "2030-11-01",
title: "Allerheiligen",
},
{
date: "2030-12-08",
title: "Mariä Empfängnis",
},
{
date: "2030-12-25",
title: "Christtag",
},
{
date: "2030-12-26",
title: "Stefanitag",
},
{
date: "2031-01-01",
title: "Neujahr",
},
{
date: "2031-01-06",
title: "Heilige Drei Könige",
},
{
date: "2031-04-14",
title: "Ostermontag",
},
{
date: "2031-05-01",
title: "Staatsfeiertag",
},
{
date: "2031-05-22",
title: "Christi Himmelfahrt",
},
{
date: "2031-06-02",
title: "Pfingstmontag",
},
{
date: "2031-06-12",
title: "Fronleichnam",
},
{
date: "2031-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2031-10-26",
title: "Nationalfeiertag",
},
{
date: "2031-11-01",
title: "Allerheiligen",
},
{
date: "2031-12-08",
title: "Mariä Empfängnis",
},
{
date: "2031-12-25",
title: "Christtag",
},
{
date: "2031-12-26",
title: "Stefanitag",
},
{
date: "2032-01-01",
title: "Neujahr",
},
{
date: "2032-01-06",
title: "Heilige Drei Könige",
},
{
date: "2032-03-29",
title: "Ostermontag",
},
{
date: "2032-05-01",
title: "Staatsfeiertag",
},
{
date: "2032-05-06",
title: "Christi Himmelfahrt",
},
{
date: "2032-05-17",
title: "Pfingstmontag",
},
{
date: "2032-05-27",
title: "Fronleichnam",
},
{
date: "2032-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2032-10-26",
title: "Nationalfeiertag",
},
{
date: "2032-11-01",
title: "Allerheiligen",
},
{
date: "2032-12-08",
title: "Mariä Empfängnis",
},
{
date: "2032-12-25",
title: "Christtag",
},
{
date: "2032-12-26",
title: "Stefanitag",
},
{
date: "2033-01-01",
title: "Neujahr",
},
{
date: "2033-01-06",
title: "Heilige Drei Könige",
},
{
date: "2033-04-18",
title: "Ostermontag",
},
{
date: "2033-05-01",
title: "Staatsfeiertag",
},
{
date: "2033-05-26",
title: "Christi Himmelfahrt",
},
{
date: "2033-06-06",
title: "Pfingstmontag",
},
{
date: "2033-06-16",
title: "Fronleichnam",
},
{
date: "2023-07-31",
title: "Reini Day",
},
{
date: "2024-07-31",
title: "Reini Day",
},
{
date: "2025-07-31",
title: "Reini Day",
},
{
date: "2026-07-31",
title: "Reini Day",
},
{
date: "2027-07-31",
title: "Reini Day",
},
{
date: "2028-07-31",
title: "Reini Day",
},
{
date: "2029-07-31",
title: "Reini Day",
},
{
date: "2030-07-31",
title: "Reini Day",
},
{
date: "2031-07-31",
title: "Reini Day",
},
{
date: "2032-07-31",
title: "Reini Day",
},
{
date: "2033-07-31",
title: "Reini Day",
},
],
},
});
const base = new dynatrace.AutomationSchedulingRule("base", {
businessCalendar: calendar.id,
title: "#name#",
recurrence: {
datestart: "2023-07-31",
daysInMonths: [-1],
daysInYears: [
-2,
-1,
1,
2,
3,
],
frequency: "WEEKLY",
interval: 33,
months: [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
],
weekdays: [
"MO",
"TU",
"WE",
],
weeks: [
-2,
-1,
1,
2,
3,
],
workdays: "WORKING",
},
});
const _name_ = new dynatrace.AutomationSchedulingRule("#name#", {
title: "#name#",
fixedOffset: {
offset: 50,
rule: base.id,
},
});
import pulumi
import pulumiverse_dynatrace as dynatrace
calendar = dynatrace.AutomationBusinessCalendar("calendar",
description="#name#",
title="#name#",
valid_from="2023-07-31",
valid_to="2033-07-31",
week_days=[
1,
2,
3,
4,
5,
],
week_start=1,
holidays={
"holidays": [
{
"date": "2023-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2023-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2023-11-01",
"title": "Allerheiligen",
},
{
"date": "2023-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2023-12-25",
"title": "Christtag",
},
{
"date": "2023-12-26",
"title": "Stefanitag",
},
{
"date": "2024-01-01",
"title": "Neujahr",
},
{
"date": "2024-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2024-04-01",
"title": "Ostermontag",
},
{
"date": "2024-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2024-05-09",
"title": "Christi Himmelfahrt",
},
{
"date": "2024-05-20",
"title": "Pfingstmontag",
},
{
"date": "2024-05-30",
"title": "Fronleichnam",
},
{
"date": "2024-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2024-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2024-11-01",
"title": "Allerheiligen",
},
{
"date": "2024-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2024-12-25",
"title": "Christtag",
},
{
"date": "2024-12-26",
"title": "Stefanitag",
},
{
"date": "2025-01-01",
"title": "Neujahr",
},
{
"date": "2025-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2025-04-21",
"title": "Ostermontag",
},
{
"date": "2025-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2025-05-29",
"title": "Christi Himmelfahrt",
},
{
"date": "2025-06-09",
"title": "Pfingstmontag",
},
{
"date": "2025-06-19",
"title": "Fronleichnam",
},
{
"date": "2025-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2025-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2025-11-01",
"title": "Allerheiligen",
},
{
"date": "2025-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2025-12-25",
"title": "Christtag",
},
{
"date": "2025-12-26",
"title": "Stefanitag",
},
{
"date": "2026-01-01",
"title": "Neujahr",
},
{
"date": "2026-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2026-04-06",
"title": "Ostermontag",
},
{
"date": "2026-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2026-05-14",
"title": "Christi Himmelfahrt",
},
{
"date": "2026-05-25",
"title": "Pfingstmontag",
},
{
"date": "2026-06-04",
"title": "Fronleichnam",
},
{
"date": "2026-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2026-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2026-11-01",
"title": "Allerheiligen",
},
{
"date": "2026-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2026-12-25",
"title": "Christtag",
},
{
"date": "2026-12-26",
"title": "Stefanitag",
},
{
"date": "2027-01-01",
"title": "Neujahr",
},
{
"date": "2027-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2027-03-29",
"title": "Ostermontag",
},
{
"date": "2027-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2027-05-06",
"title": "Christi Himmelfahrt",
},
{
"date": "2027-05-17",
"title": "Pfingstmontag",
},
{
"date": "2027-05-27",
"title": "Fronleichnam",
},
{
"date": "2027-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2027-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2027-11-01",
"title": "Allerheiligen",
},
{
"date": "2027-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2027-12-25",
"title": "Christtag",
},
{
"date": "2027-12-26",
"title": "Stefanitag",
},
{
"date": "2028-01-01",
"title": "Neujahr",
},
{
"date": "2028-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2028-04-17",
"title": "Ostermontag",
},
{
"date": "2028-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2028-05-25",
"title": "Christi Himmelfahrt",
},
{
"date": "2028-06-05",
"title": "Pfingstmontag",
},
{
"date": "2028-06-15",
"title": "Fronleichnam",
},
{
"date": "2028-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2028-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2028-11-01",
"title": "Allerheiligen",
},
{
"date": "2028-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2028-12-25",
"title": "Christtag",
},
{
"date": "2028-12-26",
"title": "Stefanitag",
},
{
"date": "2029-01-01",
"title": "Neujahr",
},
{
"date": "2029-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2029-04-02",
"title": "Ostermontag",
},
{
"date": "2029-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2029-05-10",
"title": "Christi Himmelfahrt",
},
{
"date": "2029-05-21",
"title": "Pfingstmontag",
},
{
"date": "2029-05-31",
"title": "Fronleichnam",
},
{
"date": "2029-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2029-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2029-11-01",
"title": "Allerheiligen",
},
{
"date": "2029-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2029-12-25",
"title": "Christtag",
},
{
"date": "2029-12-26",
"title": "Stefanitag",
},
{
"date": "2030-01-01",
"title": "Neujahr",
},
{
"date": "2030-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2030-04-22",
"title": "Ostermontag",
},
{
"date": "2030-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2030-05-30",
"title": "Christi Himmelfahrt",
},
{
"date": "2030-06-10",
"title": "Pfingstmontag",
},
{
"date": "2030-06-20",
"title": "Fronleichnam",
},
{
"date": "2030-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2030-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2030-11-01",
"title": "Allerheiligen",
},
{
"date": "2030-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2030-12-25",
"title": "Christtag",
},
{
"date": "2030-12-26",
"title": "Stefanitag",
},
{
"date": "2031-01-01",
"title": "Neujahr",
},
{
"date": "2031-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2031-04-14",
"title": "Ostermontag",
},
{
"date": "2031-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2031-05-22",
"title": "Christi Himmelfahrt",
},
{
"date": "2031-06-02",
"title": "Pfingstmontag",
},
{
"date": "2031-06-12",
"title": "Fronleichnam",
},
{
"date": "2031-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2031-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2031-11-01",
"title": "Allerheiligen",
},
{
"date": "2031-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2031-12-25",
"title": "Christtag",
},
{
"date": "2031-12-26",
"title": "Stefanitag",
},
{
"date": "2032-01-01",
"title": "Neujahr",
},
{
"date": "2032-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2032-03-29",
"title": "Ostermontag",
},
{
"date": "2032-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2032-05-06",
"title": "Christi Himmelfahrt",
},
{
"date": "2032-05-17",
"title": "Pfingstmontag",
},
{
"date": "2032-05-27",
"title": "Fronleichnam",
},
{
"date": "2032-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2032-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2032-11-01",
"title": "Allerheiligen",
},
{
"date": "2032-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2032-12-25",
"title": "Christtag",
},
{
"date": "2032-12-26",
"title": "Stefanitag",
},
{
"date": "2033-01-01",
"title": "Neujahr",
},
{
"date": "2033-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2033-04-18",
"title": "Ostermontag",
},
{
"date": "2033-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2033-05-26",
"title": "Christi Himmelfahrt",
},
{
"date": "2033-06-06",
"title": "Pfingstmontag",
},
{
"date": "2033-06-16",
"title": "Fronleichnam",
},
{
"date": "2023-07-31",
"title": "Reini Day",
},
{
"date": "2024-07-31",
"title": "Reini Day",
},
{
"date": "2025-07-31",
"title": "Reini Day",
},
{
"date": "2026-07-31",
"title": "Reini Day",
},
{
"date": "2027-07-31",
"title": "Reini Day",
},
{
"date": "2028-07-31",
"title": "Reini Day",
},
{
"date": "2029-07-31",
"title": "Reini Day",
},
{
"date": "2030-07-31",
"title": "Reini Day",
},
{
"date": "2031-07-31",
"title": "Reini Day",
},
{
"date": "2032-07-31",
"title": "Reini Day",
},
{
"date": "2033-07-31",
"title": "Reini Day",
},
],
})
base = dynatrace.AutomationSchedulingRule("base",
business_calendar=calendar.id,
title="#name#",
recurrence={
"datestart": "2023-07-31",
"days_in_months": [-1],
"days_in_years": [
-2,
-1,
1,
2,
3,
],
"frequency": "WEEKLY",
"interval": 33,
"months": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
],
"weekdays": [
"MO",
"TU",
"WE",
],
"weeks": [
-2,
-1,
1,
2,
3,
],
"workdays": "WORKING",
})
_name_ = dynatrace.AutomationSchedulingRule("#name#",
title="#name#",
fixed_offset={
"offset": 50,
"rule": base.id,
})
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
calendar, err := dynatrace.NewAutomationBusinessCalendar(ctx, "calendar", &dynatrace.AutomationBusinessCalendarArgs{
Description: pulumi.String("#name#"),
Title: pulumi.String("#name#"),
ValidFrom: pulumi.String("2023-07-31"),
ValidTo: pulumi.String("2033-07-31"),
WeekDays: pulumi.IntArray{
pulumi.Int(1),
pulumi.Int(2),
pulumi.Int(3),
pulumi.Int(4),
pulumi.Int(5),
},
WeekStart: pulumi.Int(1),
Holidays: &dynatrace.AutomationBusinessCalendarHolidaysArgs{
Holidays: dynatrace.AutomationBusinessCalendarHolidaysHolidayArray{
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-04-01"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-05-09"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-05-20"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-05-30"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-04-21"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-05-29"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-06-09"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-06-19"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-04-06"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-05-14"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-05-25"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-06-04"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-03-29"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-05-06"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-05-17"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-05-27"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-04-17"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-05-25"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-06-05"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-06-15"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-04-02"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-05-10"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-05-21"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-05-31"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-04-22"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-05-30"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-06-10"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-06-20"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-04-14"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-05-22"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-06-02"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-06-12"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-03-29"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-05-06"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-05-17"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-05-27"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-04-18"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-05-26"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-06-06"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-06-16"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-07-31"),
Title: pulumi.String("Reini Day"),
},
},
},
})
if err != nil {
return err
}
base, err := dynatrace.NewAutomationSchedulingRule(ctx, "base", &dynatrace.AutomationSchedulingRuleArgs{
BusinessCalendar: calendar.ID(),
Title: pulumi.String("#name#"),
Recurrence: &dynatrace.AutomationSchedulingRuleRecurrenceArgs{
Datestart: pulumi.String("2023-07-31"),
DaysInMonths: pulumi.IntArray{
pulumi.Int(-1),
},
DaysInYears: pulumi.IntArray{
pulumi.Int(-2),
pulumi.Int(-1),
pulumi.Int(1),
pulumi.Int(2),
pulumi.Int(3),
},
Frequency: pulumi.String("WEEKLY"),
Interval: pulumi.Int(33),
Months: pulumi.IntArray{
pulumi.Int(1),
pulumi.Int(2),
pulumi.Int(3),
pulumi.Int(4),
pulumi.Int(5),
pulumi.Int(6),
pulumi.Int(7),
pulumi.Int(8),
pulumi.Int(9),
pulumi.Int(10),
pulumi.Int(11),
pulumi.Int(12),
},
Weekdays: pulumi.StringArray{
pulumi.String("MO"),
pulumi.String("TU"),
pulumi.String("WE"),
},
Weeks: pulumi.IntArray{
pulumi.Int(-2),
pulumi.Int(-1),
pulumi.Int(1),
pulumi.Int(2),
pulumi.Int(3),
},
Workdays: pulumi.String("WORKING"),
},
})
if err != nil {
return err
}
_, err = dynatrace.NewAutomationSchedulingRule(ctx, "#name#", &dynatrace.AutomationSchedulingRuleArgs{
Title: pulumi.String("#name#"),
FixedOffset: &dynatrace.AutomationSchedulingRuleFixedOffsetArgs{
Offset: pulumi.Int(50),
Rule: base.ID(),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Dynatrace = Pulumiverse.Dynatrace;
return await Deployment.RunAsync(() =>
{
var calendar = new Dynatrace.AutomationBusinessCalendar("calendar", new()
{
Description = "#name#",
Title = "#name#",
ValidFrom = "2023-07-31",
ValidTo = "2033-07-31",
WeekDays = new[]
{
1,
2,
3,
4,
5,
},
WeekStart = 1,
Holidays = new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysArgs
{
Holidays = new[]
{
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-04-01",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-05-09",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-05-20",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-05-30",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-04-21",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-05-29",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-06-09",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-06-19",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-04-06",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-05-14",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-05-25",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-06-04",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-03-29",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-05-06",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-05-17",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-05-27",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-04-17",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-05-25",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-06-05",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-06-15",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-04-02",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-05-10",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-05-21",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-05-31",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-04-22",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-05-30",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-06-10",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-06-20",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-04-14",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-05-22",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-06-02",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-06-12",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-03-29",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-05-06",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-05-17",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-05-27",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-04-18",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-05-26",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-06-06",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-06-16",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-07-31",
Title = "Reini Day",
},
},
},
});
var @base = new Dynatrace.AutomationSchedulingRule("base", new()
{
BusinessCalendar = calendar.Id,
Title = "#name#",
Recurrence = new Dynatrace.Inputs.AutomationSchedulingRuleRecurrenceArgs
{
Datestart = "2023-07-31",
DaysInMonths = new[]
{
-1,
},
DaysInYears = new[]
{
-2,
-1,
1,
2,
3,
},
Frequency = "WEEKLY",
Interval = 33,
Months = new[]
{
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
},
Weekdays = new[]
{
"MO",
"TU",
"WE",
},
Weeks = new[]
{
-2,
-1,
1,
2,
3,
},
Workdays = "WORKING",
},
});
var _name_ = new Dynatrace.AutomationSchedulingRule("#name#", new()
{
Title = "#name#",
FixedOffset = new Dynatrace.Inputs.AutomationSchedulingRuleFixedOffsetArgs
{
Offset = 50,
Rule = @base.Id,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dynatrace.AutomationBusinessCalendar;
import com.pulumi.dynatrace.AutomationBusinessCalendarArgs;
import com.pulumi.dynatrace.inputs.AutomationBusinessCalendarHolidaysArgs;
import com.pulumi.dynatrace.AutomationSchedulingRule;
import com.pulumi.dynatrace.AutomationSchedulingRuleArgs;
import com.pulumi.dynatrace.inputs.AutomationSchedulingRuleRecurrenceArgs;
import com.pulumi.dynatrace.inputs.AutomationSchedulingRuleFixedOffsetArgs;
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 calendar = new AutomationBusinessCalendar("calendar", AutomationBusinessCalendarArgs.builder()
.description("#name#")
.title("#name#")
.validFrom("2023-07-31")
.validTo("2033-07-31")
.weekDays(
1,
2,
3,
4,
5)
.weekStart(1)
.holidays(AutomationBusinessCalendarHolidaysArgs.builder()
.holidays(
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-04-01")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-05-09")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-05-20")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-05-30")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-04-21")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-05-29")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-06-09")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-06-19")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-04-06")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-05-14")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-05-25")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-06-04")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-03-29")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-05-06")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-05-17")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-05-27")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-04-17")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-05-25")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-06-05")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-06-15")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-04-02")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-05-10")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-05-21")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-05-31")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-04-22")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-05-30")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-06-10")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-06-20")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-04-14")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-05-22")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-06-02")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-06-12")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-03-29")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-05-06")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-05-17")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-05-27")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-04-18")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-05-26")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-06-06")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-06-16")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-07-31")
.title("Reini Day")
.build())
.build())
.build());
var base = new AutomationSchedulingRule("base", AutomationSchedulingRuleArgs.builder()
.businessCalendar(calendar.id())
.title("#name#")
.recurrence(AutomationSchedulingRuleRecurrenceArgs.builder()
.datestart("2023-07-31")
.daysInMonths(-1)
.daysInYears(
-2,
-1,
1,
2,
3)
.frequency("WEEKLY")
.interval(33)
.months(
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12)
.weekdays(
"MO",
"TU",
"WE")
.weeks(
-2,
-1,
1,
2,
3)
.workdays("WORKING")
.build())
.build());
var _name_ = new AutomationSchedulingRule("#name#", AutomationSchedulingRuleArgs.builder()
.title("#name#")
.fixedOffset(AutomationSchedulingRuleFixedOffsetArgs.builder()
.offset(50)
.rule(base.id())
.build())
.build());
}
}
resources:
calendar:
type: dynatrace:AutomationBusinessCalendar
properties:
description: '#name#'
title: '#name#'
validFrom: 2023-07-31
validTo: 2033-07-31
weekDays:
- 1
- 2
- 3
- 4
- 5
weekStart: 1
holidays:
holidays:
- date: 2023-08-15
title: Mariä Himmelfahrt
- date: 2023-10-26
title: Nationalfeiertag
- date: 2023-11-01
title: Allerheiligen
- date: 2023-12-08
title: Mariä Empfängnis
- date: 2023-12-25
title: Christtag
- date: 2023-12-26
title: Stefanitag
- date: 2024-01-01
title: Neujahr
- date: 2024-01-06
title: Heilige Drei Könige
- date: 2024-04-01
title: Ostermontag
- date: 2024-05-01
title: Staatsfeiertag
- date: 2024-05-09
title: Christi Himmelfahrt
- date: 2024-05-20
title: Pfingstmontag
- date: 2024-05-30
title: Fronleichnam
- date: 2024-08-15
title: Mariä Himmelfahrt
- date: 2024-10-26
title: Nationalfeiertag
- date: 2024-11-01
title: Allerheiligen
- date: 2024-12-08
title: Mariä Empfängnis
- date: 2024-12-25
title: Christtag
- date: 2024-12-26
title: Stefanitag
- date: 2025-01-01
title: Neujahr
- date: 2025-01-06
title: Heilige Drei Könige
- date: 2025-04-21
title: Ostermontag
- date: 2025-05-01
title: Staatsfeiertag
- date: 2025-05-29
title: Christi Himmelfahrt
- date: 2025-06-09
title: Pfingstmontag
- date: 2025-06-19
title: Fronleichnam
- date: 2025-08-15
title: Mariä Himmelfahrt
- date: 2025-10-26
title: Nationalfeiertag
- date: 2025-11-01
title: Allerheiligen
- date: 2025-12-08
title: Mariä Empfängnis
- date: 2025-12-25
title: Christtag
- date: 2025-12-26
title: Stefanitag
- date: 2026-01-01
title: Neujahr
- date: 2026-01-06
title: Heilige Drei Könige
- date: 2026-04-06
title: Ostermontag
- date: 2026-05-01
title: Staatsfeiertag
- date: 2026-05-14
title: Christi Himmelfahrt
- date: 2026-05-25
title: Pfingstmontag
- date: 2026-06-04
title: Fronleichnam
- date: 2026-08-15
title: Mariä Himmelfahrt
- date: 2026-10-26
title: Nationalfeiertag
- date: 2026-11-01
title: Allerheiligen
- date: 2026-12-08
title: Mariä Empfängnis
- date: 2026-12-25
title: Christtag
- date: 2026-12-26
title: Stefanitag
- date: 2027-01-01
title: Neujahr
- date: 2027-01-06
title: Heilige Drei Könige
- date: 2027-03-29
title: Ostermontag
- date: 2027-05-01
title: Staatsfeiertag
- date: 2027-05-06
title: Christi Himmelfahrt
- date: 2027-05-17
title: Pfingstmontag
- date: 2027-05-27
title: Fronleichnam
- date: 2027-08-15
title: Mariä Himmelfahrt
- date: 2027-10-26
title: Nationalfeiertag
- date: 2027-11-01
title: Allerheiligen
- date: 2027-12-08
title: Mariä Empfängnis
- date: 2027-12-25
title: Christtag
- date: 2027-12-26
title: Stefanitag
- date: 2028-01-01
title: Neujahr
- date: 2028-01-06
title: Heilige Drei Könige
- date: 2028-04-17
title: Ostermontag
- date: 2028-05-01
title: Staatsfeiertag
- date: 2028-05-25
title: Christi Himmelfahrt
- date: 2028-06-05
title: Pfingstmontag
- date: 2028-06-15
title: Fronleichnam
- date: 2028-08-15
title: Mariä Himmelfahrt
- date: 2028-10-26
title: Nationalfeiertag
- date: 2028-11-01
title: Allerheiligen
- date: 2028-12-08
title: Mariä Empfängnis
- date: 2028-12-25
title: Christtag
- date: 2028-12-26
title: Stefanitag
- date: 2029-01-01
title: Neujahr
- date: 2029-01-06
title: Heilige Drei Könige
- date: 2029-04-02
title: Ostermontag
- date: 2029-05-01
title: Staatsfeiertag
- date: 2029-05-10
title: Christi Himmelfahrt
- date: 2029-05-21
title: Pfingstmontag
- date: 2029-05-31
title: Fronleichnam
- date: 2029-08-15
title: Mariä Himmelfahrt
- date: 2029-10-26
title: Nationalfeiertag
- date: 2029-11-01
title: Allerheiligen
- date: 2029-12-08
title: Mariä Empfängnis
- date: 2029-12-25
title: Christtag
- date: 2029-12-26
title: Stefanitag
- date: 2030-01-01
title: Neujahr
- date: 2030-01-06
title: Heilige Drei Könige
- date: 2030-04-22
title: Ostermontag
- date: 2030-05-01
title: Staatsfeiertag
- date: 2030-05-30
title: Christi Himmelfahrt
- date: 2030-06-10
title: Pfingstmontag
- date: 2030-06-20
title: Fronleichnam
- date: 2030-08-15
title: Mariä Himmelfahrt
- date: 2030-10-26
title: Nationalfeiertag
- date: 2030-11-01
title: Allerheiligen
- date: 2030-12-08
title: Mariä Empfängnis
- date: 2030-12-25
title: Christtag
- date: 2030-12-26
title: Stefanitag
- date: 2031-01-01
title: Neujahr
- date: 2031-01-06
title: Heilige Drei Könige
- date: 2031-04-14
title: Ostermontag
- date: 2031-05-01
title: Staatsfeiertag
- date: 2031-05-22
title: Christi Himmelfahrt
- date: 2031-06-02
title: Pfingstmontag
- date: 2031-06-12
title: Fronleichnam
- date: 2031-08-15
title: Mariä Himmelfahrt
- date: 2031-10-26
title: Nationalfeiertag
- date: 2031-11-01
title: Allerheiligen
- date: 2031-12-08
title: Mariä Empfängnis
- date: 2031-12-25
title: Christtag
- date: 2031-12-26
title: Stefanitag
- date: 2032-01-01
title: Neujahr
- date: 2032-01-06
title: Heilige Drei Könige
- date: 2032-03-29
title: Ostermontag
- date: 2032-05-01
title: Staatsfeiertag
- date: 2032-05-06
title: Christi Himmelfahrt
- date: 2032-05-17
title: Pfingstmontag
- date: 2032-05-27
title: Fronleichnam
- date: 2032-08-15
title: Mariä Himmelfahrt
- date: 2032-10-26
title: Nationalfeiertag
- date: 2032-11-01
title: Allerheiligen
- date: 2032-12-08
title: Mariä Empfängnis
- date: 2032-12-25
title: Christtag
- date: 2032-12-26
title: Stefanitag
- date: 2033-01-01
title: Neujahr
- date: 2033-01-06
title: Heilige Drei Könige
- date: 2033-04-18
title: Ostermontag
- date: 2033-05-01
title: Staatsfeiertag
- date: 2033-05-26
title: Christi Himmelfahrt
- date: 2033-06-06
title: Pfingstmontag
- date: 2033-06-16
title: Fronleichnam
- date: 2023-07-31
title: Reini Day
- date: 2024-07-31
title: Reini Day
- date: 2025-07-31
title: Reini Day
- date: 2026-07-31
title: Reini Day
- date: 2027-07-31
title: Reini Day
- date: 2028-07-31
title: Reini Day
- date: 2029-07-31
title: Reini Day
- date: 2030-07-31
title: Reini Day
- date: 2031-07-31
title: Reini Day
- date: 2032-07-31
title: Reini Day
- date: 2033-07-31
title: Reini Day
base:
type: dynatrace:AutomationSchedulingRule
properties:
businessCalendar: ${calendar.id}
title: '#name#'
recurrence:
datestart: 2023-07-31
daysInMonths:
- -1
daysInYears:
- -2
- -1
- 1
- 2
- 3
frequency: WEEKLY
interval: 33
months:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
weekdays:
- MO
- TU
- WE
weeks:
- -2
- -1
- 1
- 2
- 3
workdays: WORKING
'#name#':
type: dynatrace:AutomationSchedulingRule
properties:
title: '#name#'
fixedOffset:
offset: 50
rule: ${base.id}
Relative Offset rule
import * as pulumi from "@pulumi/pulumi";
import * as dynatrace from "@pulumiverse/dynatrace";
const calendar = new dynatrace.AutomationBusinessCalendar("calendar", {
description: "#name#",
title: "#name#",
validFrom: "2023-07-31",
validTo: "2033-07-31",
weekDays: [
1,
2,
3,
4,
5,
],
weekStart: 1,
holidays: {
holidays: [
{
date: "2023-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2023-10-26",
title: "Nationalfeiertag",
},
{
date: "2023-11-01",
title: "Allerheiligen",
},
{
date: "2023-12-08",
title: "Mariä Empfängnis",
},
{
date: "2023-12-25",
title: "Christtag",
},
{
date: "2023-12-26",
title: "Stefanitag",
},
{
date: "2024-01-01",
title: "Neujahr",
},
{
date: "2024-01-06",
title: "Heilige Drei Könige",
},
{
date: "2024-04-01",
title: "Ostermontag",
},
{
date: "2024-05-01",
title: "Staatsfeiertag",
},
{
date: "2024-05-09",
title: "Christi Himmelfahrt",
},
{
date: "2024-05-20",
title: "Pfingstmontag",
},
{
date: "2024-05-30",
title: "Fronleichnam",
},
{
date: "2024-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2024-10-26",
title: "Nationalfeiertag",
},
{
date: "2024-11-01",
title: "Allerheiligen",
},
{
date: "2024-12-08",
title: "Mariä Empfängnis",
},
{
date: "2024-12-25",
title: "Christtag",
},
{
date: "2024-12-26",
title: "Stefanitag",
},
{
date: "2025-01-01",
title: "Neujahr",
},
{
date: "2025-01-06",
title: "Heilige Drei Könige",
},
{
date: "2025-04-21",
title: "Ostermontag",
},
{
date: "2025-05-01",
title: "Staatsfeiertag",
},
{
date: "2025-05-29",
title: "Christi Himmelfahrt",
},
{
date: "2025-06-09",
title: "Pfingstmontag",
},
{
date: "2025-06-19",
title: "Fronleichnam",
},
{
date: "2025-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2025-10-26",
title: "Nationalfeiertag",
},
{
date: "2025-11-01",
title: "Allerheiligen",
},
{
date: "2025-12-08",
title: "Mariä Empfängnis",
},
{
date: "2025-12-25",
title: "Christtag",
},
{
date: "2025-12-26",
title: "Stefanitag",
},
{
date: "2026-01-01",
title: "Neujahr",
},
{
date: "2026-01-06",
title: "Heilige Drei Könige",
},
{
date: "2026-04-06",
title: "Ostermontag",
},
{
date: "2026-05-01",
title: "Staatsfeiertag",
},
{
date: "2026-05-14",
title: "Christi Himmelfahrt",
},
{
date: "2026-05-25",
title: "Pfingstmontag",
},
{
date: "2026-06-04",
title: "Fronleichnam",
},
{
date: "2026-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2026-10-26",
title: "Nationalfeiertag",
},
{
date: "2026-11-01",
title: "Allerheiligen",
},
{
date: "2026-12-08",
title: "Mariä Empfängnis",
},
{
date: "2026-12-25",
title: "Christtag",
},
{
date: "2026-12-26",
title: "Stefanitag",
},
{
date: "2027-01-01",
title: "Neujahr",
},
{
date: "2027-01-06",
title: "Heilige Drei Könige",
},
{
date: "2027-03-29",
title: "Ostermontag",
},
{
date: "2027-05-01",
title: "Staatsfeiertag",
},
{
date: "2027-05-06",
title: "Christi Himmelfahrt",
},
{
date: "2027-05-17",
title: "Pfingstmontag",
},
{
date: "2027-05-27",
title: "Fronleichnam",
},
{
date: "2027-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2027-10-26",
title: "Nationalfeiertag",
},
{
date: "2027-11-01",
title: "Allerheiligen",
},
{
date: "2027-12-08",
title: "Mariä Empfängnis",
},
{
date: "2027-12-25",
title: "Christtag",
},
{
date: "2027-12-26",
title: "Stefanitag",
},
{
date: "2028-01-01",
title: "Neujahr",
},
{
date: "2028-01-06",
title: "Heilige Drei Könige",
},
{
date: "2028-04-17",
title: "Ostermontag",
},
{
date: "2028-05-01",
title: "Staatsfeiertag",
},
{
date: "2028-05-25",
title: "Christi Himmelfahrt",
},
{
date: "2028-06-05",
title: "Pfingstmontag",
},
{
date: "2028-06-15",
title: "Fronleichnam",
},
{
date: "2028-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2028-10-26",
title: "Nationalfeiertag",
},
{
date: "2028-11-01",
title: "Allerheiligen",
},
{
date: "2028-12-08",
title: "Mariä Empfängnis",
},
{
date: "2028-12-25",
title: "Christtag",
},
{
date: "2028-12-26",
title: "Stefanitag",
},
{
date: "2029-01-01",
title: "Neujahr",
},
{
date: "2029-01-06",
title: "Heilige Drei Könige",
},
{
date: "2029-04-02",
title: "Ostermontag",
},
{
date: "2029-05-01",
title: "Staatsfeiertag",
},
{
date: "2029-05-10",
title: "Christi Himmelfahrt",
},
{
date: "2029-05-21",
title: "Pfingstmontag",
},
{
date: "2029-05-31",
title: "Fronleichnam",
},
{
date: "2029-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2029-10-26",
title: "Nationalfeiertag",
},
{
date: "2029-11-01",
title: "Allerheiligen",
},
{
date: "2029-12-08",
title: "Mariä Empfängnis",
},
{
date: "2029-12-25",
title: "Christtag",
},
{
date: "2029-12-26",
title: "Stefanitag",
},
{
date: "2030-01-01",
title: "Neujahr",
},
{
date: "2030-01-06",
title: "Heilige Drei Könige",
},
{
date: "2030-04-22",
title: "Ostermontag",
},
{
date: "2030-05-01",
title: "Staatsfeiertag",
},
{
date: "2030-05-30",
title: "Christi Himmelfahrt",
},
{
date: "2030-06-10",
title: "Pfingstmontag",
},
{
date: "2030-06-20",
title: "Fronleichnam",
},
{
date: "2030-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2030-10-26",
title: "Nationalfeiertag",
},
{
date: "2030-11-01",
title: "Allerheiligen",
},
{
date: "2030-12-08",
title: "Mariä Empfängnis",
},
{
date: "2030-12-25",
title: "Christtag",
},
{
date: "2030-12-26",
title: "Stefanitag",
},
{
date: "2031-01-01",
title: "Neujahr",
},
{
date: "2031-01-06",
title: "Heilige Drei Könige",
},
{
date: "2031-04-14",
title: "Ostermontag",
},
{
date: "2031-05-01",
title: "Staatsfeiertag",
},
{
date: "2031-05-22",
title: "Christi Himmelfahrt",
},
{
date: "2031-06-02",
title: "Pfingstmontag",
},
{
date: "2031-06-12",
title: "Fronleichnam",
},
{
date: "2031-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2031-10-26",
title: "Nationalfeiertag",
},
{
date: "2031-11-01",
title: "Allerheiligen",
},
{
date: "2031-12-08",
title: "Mariä Empfängnis",
},
{
date: "2031-12-25",
title: "Christtag",
},
{
date: "2031-12-26",
title: "Stefanitag",
},
{
date: "2032-01-01",
title: "Neujahr",
},
{
date: "2032-01-06",
title: "Heilige Drei Könige",
},
{
date: "2032-03-29",
title: "Ostermontag",
},
{
date: "2032-05-01",
title: "Staatsfeiertag",
},
{
date: "2032-05-06",
title: "Christi Himmelfahrt",
},
{
date: "2032-05-17",
title: "Pfingstmontag",
},
{
date: "2032-05-27",
title: "Fronleichnam",
},
{
date: "2032-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2032-10-26",
title: "Nationalfeiertag",
},
{
date: "2032-11-01",
title: "Allerheiligen",
},
{
date: "2032-12-08",
title: "Mariä Empfängnis",
},
{
date: "2032-12-25",
title: "Christtag",
},
{
date: "2032-12-26",
title: "Stefanitag",
},
{
date: "2033-01-01",
title: "Neujahr",
},
{
date: "2033-01-06",
title: "Heilige Drei Könige",
},
{
date: "2033-04-18",
title: "Ostermontag",
},
{
date: "2033-05-01",
title: "Staatsfeiertag",
},
{
date: "2033-05-26",
title: "Christi Himmelfahrt",
},
{
date: "2033-06-06",
title: "Pfingstmontag",
},
{
date: "2033-06-16",
title: "Fronleichnam",
},
{
date: "2023-07-31",
title: "Reini Day",
},
{
date: "2024-07-31",
title: "Reini Day",
},
{
date: "2025-07-31",
title: "Reini Day",
},
{
date: "2026-07-31",
title: "Reini Day",
},
{
date: "2027-07-31",
title: "Reini Day",
},
{
date: "2028-07-31",
title: "Reini Day",
},
{
date: "2029-07-31",
title: "Reini Day",
},
{
date: "2030-07-31",
title: "Reini Day",
},
{
date: "2031-07-31",
title: "Reini Day",
},
{
date: "2032-07-31",
title: "Reini Day",
},
{
date: "2033-07-31",
title: "Reini Day",
},
],
},
});
const base = new dynatrace.AutomationSchedulingRule("base", {
businessCalendar: calendar.id,
title: "#name#",
recurrence: {
datestart: "2023-07-31",
daysInMonths: [-1],
daysInYears: [
-2,
-1,
1,
2,
3,
],
frequency: "WEEKLY",
interval: 33,
months: [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
],
weekdays: [
"MO",
"TU",
"WE",
],
weeks: [
-2,
-1,
1,
2,
3,
],
workdays: "WORKING",
},
});
const source = new dynatrace.AutomationSchedulingRule("source", {
businessCalendar: calendar.id,
title: "#name#",
recurrence: {
datestart: "2023-07-31",
daysInMonths: [-1],
daysInYears: [
-2,
-1,
1,
2,
3,
],
frequency: "WEEKLY",
interval: 33,
months: [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
],
weekdays: [
"MO",
"TU",
"WE",
],
weeks: [
-2,
-1,
1,
2,
3,
],
workdays: "WORKING",
},
});
const target = new dynatrace.AutomationSchedulingRule("target", {
title: "#name#",
fixedOffset: {
offset: 50,
rule: base.id,
},
});
const _name_ = new dynatrace.AutomationSchedulingRule("#name#", {
title: "#name#",
relativeOffset: {
direction: "previous",
sourceRule: source.id,
targetRule: target.id,
},
});
import pulumi
import pulumiverse_dynatrace as dynatrace
calendar = dynatrace.AutomationBusinessCalendar("calendar",
description="#name#",
title="#name#",
valid_from="2023-07-31",
valid_to="2033-07-31",
week_days=[
1,
2,
3,
4,
5,
],
week_start=1,
holidays={
"holidays": [
{
"date": "2023-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2023-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2023-11-01",
"title": "Allerheiligen",
},
{
"date": "2023-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2023-12-25",
"title": "Christtag",
},
{
"date": "2023-12-26",
"title": "Stefanitag",
},
{
"date": "2024-01-01",
"title": "Neujahr",
},
{
"date": "2024-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2024-04-01",
"title": "Ostermontag",
},
{
"date": "2024-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2024-05-09",
"title": "Christi Himmelfahrt",
},
{
"date": "2024-05-20",
"title": "Pfingstmontag",
},
{
"date": "2024-05-30",
"title": "Fronleichnam",
},
{
"date": "2024-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2024-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2024-11-01",
"title": "Allerheiligen",
},
{
"date": "2024-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2024-12-25",
"title": "Christtag",
},
{
"date": "2024-12-26",
"title": "Stefanitag",
},
{
"date": "2025-01-01",
"title": "Neujahr",
},
{
"date": "2025-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2025-04-21",
"title": "Ostermontag",
},
{
"date": "2025-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2025-05-29",
"title": "Christi Himmelfahrt",
},
{
"date": "2025-06-09",
"title": "Pfingstmontag",
},
{
"date": "2025-06-19",
"title": "Fronleichnam",
},
{
"date": "2025-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2025-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2025-11-01",
"title": "Allerheiligen",
},
{
"date": "2025-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2025-12-25",
"title": "Christtag",
},
{
"date": "2025-12-26",
"title": "Stefanitag",
},
{
"date": "2026-01-01",
"title": "Neujahr",
},
{
"date": "2026-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2026-04-06",
"title": "Ostermontag",
},
{
"date": "2026-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2026-05-14",
"title": "Christi Himmelfahrt",
},
{
"date": "2026-05-25",
"title": "Pfingstmontag",
},
{
"date": "2026-06-04",
"title": "Fronleichnam",
},
{
"date": "2026-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2026-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2026-11-01",
"title": "Allerheiligen",
},
{
"date": "2026-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2026-12-25",
"title": "Christtag",
},
{
"date": "2026-12-26",
"title": "Stefanitag",
},
{
"date": "2027-01-01",
"title": "Neujahr",
},
{
"date": "2027-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2027-03-29",
"title": "Ostermontag",
},
{
"date": "2027-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2027-05-06",
"title": "Christi Himmelfahrt",
},
{
"date": "2027-05-17",
"title": "Pfingstmontag",
},
{
"date": "2027-05-27",
"title": "Fronleichnam",
},
{
"date": "2027-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2027-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2027-11-01",
"title": "Allerheiligen",
},
{
"date": "2027-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2027-12-25",
"title": "Christtag",
},
{
"date": "2027-12-26",
"title": "Stefanitag",
},
{
"date": "2028-01-01",
"title": "Neujahr",
},
{
"date": "2028-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2028-04-17",
"title": "Ostermontag",
},
{
"date": "2028-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2028-05-25",
"title": "Christi Himmelfahrt",
},
{
"date": "2028-06-05",
"title": "Pfingstmontag",
},
{
"date": "2028-06-15",
"title": "Fronleichnam",
},
{
"date": "2028-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2028-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2028-11-01",
"title": "Allerheiligen",
},
{
"date": "2028-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2028-12-25",
"title": "Christtag",
},
{
"date": "2028-12-26",
"title": "Stefanitag",
},
{
"date": "2029-01-01",
"title": "Neujahr",
},
{
"date": "2029-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2029-04-02",
"title": "Ostermontag",
},
{
"date": "2029-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2029-05-10",
"title": "Christi Himmelfahrt",
},
{
"date": "2029-05-21",
"title": "Pfingstmontag",
},
{
"date": "2029-05-31",
"title": "Fronleichnam",
},
{
"date": "2029-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2029-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2029-11-01",
"title": "Allerheiligen",
},
{
"date": "2029-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2029-12-25",
"title": "Christtag",
},
{
"date": "2029-12-26",
"title": "Stefanitag",
},
{
"date": "2030-01-01",
"title": "Neujahr",
},
{
"date": "2030-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2030-04-22",
"title": "Ostermontag",
},
{
"date": "2030-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2030-05-30",
"title": "Christi Himmelfahrt",
},
{
"date": "2030-06-10",
"title": "Pfingstmontag",
},
{
"date": "2030-06-20",
"title": "Fronleichnam",
},
{
"date": "2030-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2030-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2030-11-01",
"title": "Allerheiligen",
},
{
"date": "2030-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2030-12-25",
"title": "Christtag",
},
{
"date": "2030-12-26",
"title": "Stefanitag",
},
{
"date": "2031-01-01",
"title": "Neujahr",
},
{
"date": "2031-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2031-04-14",
"title": "Ostermontag",
},
{
"date": "2031-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2031-05-22",
"title": "Christi Himmelfahrt",
},
{
"date": "2031-06-02",
"title": "Pfingstmontag",
},
{
"date": "2031-06-12",
"title": "Fronleichnam",
},
{
"date": "2031-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2031-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2031-11-01",
"title": "Allerheiligen",
},
{
"date": "2031-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2031-12-25",
"title": "Christtag",
},
{
"date": "2031-12-26",
"title": "Stefanitag",
},
{
"date": "2032-01-01",
"title": "Neujahr",
},
{
"date": "2032-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2032-03-29",
"title": "Ostermontag",
},
{
"date": "2032-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2032-05-06",
"title": "Christi Himmelfahrt",
},
{
"date": "2032-05-17",
"title": "Pfingstmontag",
},
{
"date": "2032-05-27",
"title": "Fronleichnam",
},
{
"date": "2032-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2032-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2032-11-01",
"title": "Allerheiligen",
},
{
"date": "2032-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2032-12-25",
"title": "Christtag",
},
{
"date": "2032-12-26",
"title": "Stefanitag",
},
{
"date": "2033-01-01",
"title": "Neujahr",
},
{
"date": "2033-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2033-04-18",
"title": "Ostermontag",
},
{
"date": "2033-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2033-05-26",
"title": "Christi Himmelfahrt",
},
{
"date": "2033-06-06",
"title": "Pfingstmontag",
},
{
"date": "2033-06-16",
"title": "Fronleichnam",
},
{
"date": "2023-07-31",
"title": "Reini Day",
},
{
"date": "2024-07-31",
"title": "Reini Day",
},
{
"date": "2025-07-31",
"title": "Reini Day",
},
{
"date": "2026-07-31",
"title": "Reini Day",
},
{
"date": "2027-07-31",
"title": "Reini Day",
},
{
"date": "2028-07-31",
"title": "Reini Day",
},
{
"date": "2029-07-31",
"title": "Reini Day",
},
{
"date": "2030-07-31",
"title": "Reini Day",
},
{
"date": "2031-07-31",
"title": "Reini Day",
},
{
"date": "2032-07-31",
"title": "Reini Day",
},
{
"date": "2033-07-31",
"title": "Reini Day",
},
],
})
base = dynatrace.AutomationSchedulingRule("base",
business_calendar=calendar.id,
title="#name#",
recurrence={
"datestart": "2023-07-31",
"days_in_months": [-1],
"days_in_years": [
-2,
-1,
1,
2,
3,
],
"frequency": "WEEKLY",
"interval": 33,
"months": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
],
"weekdays": [
"MO",
"TU",
"WE",
],
"weeks": [
-2,
-1,
1,
2,
3,
],
"workdays": "WORKING",
})
source = dynatrace.AutomationSchedulingRule("source",
business_calendar=calendar.id,
title="#name#",
recurrence={
"datestart": "2023-07-31",
"days_in_months": [-1],
"days_in_years": [
-2,
-1,
1,
2,
3,
],
"frequency": "WEEKLY",
"interval": 33,
"months": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
],
"weekdays": [
"MO",
"TU",
"WE",
],
"weeks": [
-2,
-1,
1,
2,
3,
],
"workdays": "WORKING",
})
target = dynatrace.AutomationSchedulingRule("target",
title="#name#",
fixed_offset={
"offset": 50,
"rule": base.id,
})
_name_ = dynatrace.AutomationSchedulingRule("#name#",
title="#name#",
relative_offset={
"direction": "previous",
"source_rule": source.id,
"target_rule": target.id,
})
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
calendar, err := dynatrace.NewAutomationBusinessCalendar(ctx, "calendar", &dynatrace.AutomationBusinessCalendarArgs{
Description: pulumi.String("#name#"),
Title: pulumi.String("#name#"),
ValidFrom: pulumi.String("2023-07-31"),
ValidTo: pulumi.String("2033-07-31"),
WeekDays: pulumi.IntArray{
pulumi.Int(1),
pulumi.Int(2),
pulumi.Int(3),
pulumi.Int(4),
pulumi.Int(5),
},
WeekStart: pulumi.Int(1),
Holidays: &dynatrace.AutomationBusinessCalendarHolidaysArgs{
Holidays: dynatrace.AutomationBusinessCalendarHolidaysHolidayArray{
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-04-01"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-05-09"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-05-20"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-05-30"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-04-21"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-05-29"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-06-09"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-06-19"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-04-06"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-05-14"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-05-25"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-06-04"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-03-29"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-05-06"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-05-17"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-05-27"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-04-17"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-05-25"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-06-05"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-06-15"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-04-02"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-05-10"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-05-21"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-05-31"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-04-22"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-05-30"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-06-10"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-06-20"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-04-14"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-05-22"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-06-02"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-06-12"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-03-29"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-05-06"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-05-17"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-05-27"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-04-18"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-05-26"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-06-06"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-06-16"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-07-31"),
Title: pulumi.String("Reini Day"),
},
},
},
})
if err != nil {
return err
}
base, err := dynatrace.NewAutomationSchedulingRule(ctx, "base", &dynatrace.AutomationSchedulingRuleArgs{
BusinessCalendar: calendar.ID(),
Title: pulumi.String("#name#"),
Recurrence: &dynatrace.AutomationSchedulingRuleRecurrenceArgs{
Datestart: pulumi.String("2023-07-31"),
DaysInMonths: pulumi.IntArray{
pulumi.Int(-1),
},
DaysInYears: pulumi.IntArray{
pulumi.Int(-2),
pulumi.Int(-1),
pulumi.Int(1),
pulumi.Int(2),
pulumi.Int(3),
},
Frequency: pulumi.String("WEEKLY"),
Interval: pulumi.Int(33),
Months: pulumi.IntArray{
pulumi.Int(1),
pulumi.Int(2),
pulumi.Int(3),
pulumi.Int(4),
pulumi.Int(5),
pulumi.Int(6),
pulumi.Int(7),
pulumi.Int(8),
pulumi.Int(9),
pulumi.Int(10),
pulumi.Int(11),
pulumi.Int(12),
},
Weekdays: pulumi.StringArray{
pulumi.String("MO"),
pulumi.String("TU"),
pulumi.String("WE"),
},
Weeks: pulumi.IntArray{
pulumi.Int(-2),
pulumi.Int(-1),
pulumi.Int(1),
pulumi.Int(2),
pulumi.Int(3),
},
Workdays: pulumi.String("WORKING"),
},
})
if err != nil {
return err
}
source, err := dynatrace.NewAutomationSchedulingRule(ctx, "source", &dynatrace.AutomationSchedulingRuleArgs{
BusinessCalendar: calendar.ID(),
Title: pulumi.String("#name#"),
Recurrence: &dynatrace.AutomationSchedulingRuleRecurrenceArgs{
Datestart: pulumi.String("2023-07-31"),
DaysInMonths: pulumi.IntArray{
pulumi.Int(-1),
},
DaysInYears: pulumi.IntArray{
pulumi.Int(-2),
pulumi.Int(-1),
pulumi.Int(1),
pulumi.Int(2),
pulumi.Int(3),
},
Frequency: pulumi.String("WEEKLY"),
Interval: pulumi.Int(33),
Months: pulumi.IntArray{
pulumi.Int(1),
pulumi.Int(2),
pulumi.Int(3),
pulumi.Int(4),
pulumi.Int(5),
pulumi.Int(6),
pulumi.Int(7),
pulumi.Int(8),
pulumi.Int(9),
pulumi.Int(10),
pulumi.Int(11),
pulumi.Int(12),
},
Weekdays: pulumi.StringArray{
pulumi.String("MO"),
pulumi.String("TU"),
pulumi.String("WE"),
},
Weeks: pulumi.IntArray{
pulumi.Int(-2),
pulumi.Int(-1),
pulumi.Int(1),
pulumi.Int(2),
pulumi.Int(3),
},
Workdays: pulumi.String("WORKING"),
},
})
if err != nil {
return err
}
target, err := dynatrace.NewAutomationSchedulingRule(ctx, "target", &dynatrace.AutomationSchedulingRuleArgs{
Title: pulumi.String("#name#"),
FixedOffset: &dynatrace.AutomationSchedulingRuleFixedOffsetArgs{
Offset: pulumi.Int(50),
Rule: base.ID(),
},
})
if err != nil {
return err
}
_, err = dynatrace.NewAutomationSchedulingRule(ctx, "#name#", &dynatrace.AutomationSchedulingRuleArgs{
Title: pulumi.String("#name#"),
RelativeOffset: &dynatrace.AutomationSchedulingRuleRelativeOffsetArgs{
Direction: pulumi.String("previous"),
SourceRule: source.ID(),
TargetRule: target.ID(),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Dynatrace = Pulumiverse.Dynatrace;
return await Deployment.RunAsync(() =>
{
var calendar = new Dynatrace.AutomationBusinessCalendar("calendar", new()
{
Description = "#name#",
Title = "#name#",
ValidFrom = "2023-07-31",
ValidTo = "2033-07-31",
WeekDays = new[]
{
1,
2,
3,
4,
5,
},
WeekStart = 1,
Holidays = new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysArgs
{
Holidays = new[]
{
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-04-01",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-05-09",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-05-20",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-05-30",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-04-21",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-05-29",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-06-09",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-06-19",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-04-06",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-05-14",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-05-25",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-06-04",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-03-29",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-05-06",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-05-17",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-05-27",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-04-17",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-05-25",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-06-05",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-06-15",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-04-02",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-05-10",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-05-21",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-05-31",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-04-22",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-05-30",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-06-10",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-06-20",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-04-14",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-05-22",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-06-02",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-06-12",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-03-29",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-05-06",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-05-17",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-05-27",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-04-18",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-05-26",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-06-06",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-06-16",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-07-31",
Title = "Reini Day",
},
},
},
});
var @base = new Dynatrace.AutomationSchedulingRule("base", new()
{
BusinessCalendar = calendar.Id,
Title = "#name#",
Recurrence = new Dynatrace.Inputs.AutomationSchedulingRuleRecurrenceArgs
{
Datestart = "2023-07-31",
DaysInMonths = new[]
{
-1,
},
DaysInYears = new[]
{
-2,
-1,
1,
2,
3,
},
Frequency = "WEEKLY",
Interval = 33,
Months = new[]
{
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
},
Weekdays = new[]
{
"MO",
"TU",
"WE",
},
Weeks = new[]
{
-2,
-1,
1,
2,
3,
},
Workdays = "WORKING",
},
});
var source = new Dynatrace.AutomationSchedulingRule("source", new()
{
BusinessCalendar = calendar.Id,
Title = "#name#",
Recurrence = new Dynatrace.Inputs.AutomationSchedulingRuleRecurrenceArgs
{
Datestart = "2023-07-31",
DaysInMonths = new[]
{
-1,
},
DaysInYears = new[]
{
-2,
-1,
1,
2,
3,
},
Frequency = "WEEKLY",
Interval = 33,
Months = new[]
{
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
},
Weekdays = new[]
{
"MO",
"TU",
"WE",
},
Weeks = new[]
{
-2,
-1,
1,
2,
3,
},
Workdays = "WORKING",
},
});
var target = new Dynatrace.AutomationSchedulingRule("target", new()
{
Title = "#name#",
FixedOffset = new Dynatrace.Inputs.AutomationSchedulingRuleFixedOffsetArgs
{
Offset = 50,
Rule = @base.Id,
},
});
var _name_ = new Dynatrace.AutomationSchedulingRule("#name#", new()
{
Title = "#name#",
RelativeOffset = new Dynatrace.Inputs.AutomationSchedulingRuleRelativeOffsetArgs
{
Direction = "previous",
SourceRule = source.Id,
TargetRule = target.Id,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dynatrace.AutomationBusinessCalendar;
import com.pulumi.dynatrace.AutomationBusinessCalendarArgs;
import com.pulumi.dynatrace.inputs.AutomationBusinessCalendarHolidaysArgs;
import com.pulumi.dynatrace.AutomationSchedulingRule;
import com.pulumi.dynatrace.AutomationSchedulingRuleArgs;
import com.pulumi.dynatrace.inputs.AutomationSchedulingRuleRecurrenceArgs;
import com.pulumi.dynatrace.inputs.AutomationSchedulingRuleFixedOffsetArgs;
import com.pulumi.dynatrace.inputs.AutomationSchedulingRuleRelativeOffsetArgs;
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 calendar = new AutomationBusinessCalendar("calendar", AutomationBusinessCalendarArgs.builder()
.description("#name#")
.title("#name#")
.validFrom("2023-07-31")
.validTo("2033-07-31")
.weekDays(
1,
2,
3,
4,
5)
.weekStart(1)
.holidays(AutomationBusinessCalendarHolidaysArgs.builder()
.holidays(
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-04-01")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-05-09")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-05-20")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-05-30")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-04-21")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-05-29")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-06-09")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-06-19")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-04-06")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-05-14")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-05-25")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-06-04")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-03-29")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-05-06")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-05-17")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-05-27")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-04-17")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-05-25")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-06-05")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-06-15")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-04-02")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-05-10")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-05-21")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-05-31")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-04-22")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-05-30")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-06-10")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-06-20")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-04-14")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-05-22")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-06-02")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-06-12")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-03-29")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-05-06")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-05-17")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-05-27")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-04-18")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-05-26")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-06-06")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-06-16")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-07-31")
.title("Reini Day")
.build())
.build())
.build());
var base = new AutomationSchedulingRule("base", AutomationSchedulingRuleArgs.builder()
.businessCalendar(calendar.id())
.title("#name#")
.recurrence(AutomationSchedulingRuleRecurrenceArgs.builder()
.datestart("2023-07-31")
.daysInMonths(-1)
.daysInYears(
-2,
-1,
1,
2,
3)
.frequency("WEEKLY")
.interval(33)
.months(
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12)
.weekdays(
"MO",
"TU",
"WE")
.weeks(
-2,
-1,
1,
2,
3)
.workdays("WORKING")
.build())
.build());
var source = new AutomationSchedulingRule("source", AutomationSchedulingRuleArgs.builder()
.businessCalendar(calendar.id())
.title("#name#")
.recurrence(AutomationSchedulingRuleRecurrenceArgs.builder()
.datestart("2023-07-31")
.daysInMonths(-1)
.daysInYears(
-2,
-1,
1,
2,
3)
.frequency("WEEKLY")
.interval(33)
.months(
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12)
.weekdays(
"MO",
"TU",
"WE")
.weeks(
-2,
-1,
1,
2,
3)
.workdays("WORKING")
.build())
.build());
var target = new AutomationSchedulingRule("target", AutomationSchedulingRuleArgs.builder()
.title("#name#")
.fixedOffset(AutomationSchedulingRuleFixedOffsetArgs.builder()
.offset(50)
.rule(base.id())
.build())
.build());
var _name_ = new AutomationSchedulingRule("#name#", AutomationSchedulingRuleArgs.builder()
.title("#name#")
.relativeOffset(AutomationSchedulingRuleRelativeOffsetArgs.builder()
.direction("previous")
.sourceRule(source.id())
.targetRule(target.id())
.build())
.build());
}
}
resources:
calendar:
type: dynatrace:AutomationBusinessCalendar
properties:
description: '#name#'
title: '#name#'
validFrom: 2023-07-31
validTo: 2033-07-31
weekDays:
- 1
- 2
- 3
- 4
- 5
weekStart: 1
holidays:
holidays:
- date: 2023-08-15
title: Mariä Himmelfahrt
- date: 2023-10-26
title: Nationalfeiertag
- date: 2023-11-01
title: Allerheiligen
- date: 2023-12-08
title: Mariä Empfängnis
- date: 2023-12-25
title: Christtag
- date: 2023-12-26
title: Stefanitag
- date: 2024-01-01
title: Neujahr
- date: 2024-01-06
title: Heilige Drei Könige
- date: 2024-04-01
title: Ostermontag
- date: 2024-05-01
title: Staatsfeiertag
- date: 2024-05-09
title: Christi Himmelfahrt
- date: 2024-05-20
title: Pfingstmontag
- date: 2024-05-30
title: Fronleichnam
- date: 2024-08-15
title: Mariä Himmelfahrt
- date: 2024-10-26
title: Nationalfeiertag
- date: 2024-11-01
title: Allerheiligen
- date: 2024-12-08
title: Mariä Empfängnis
- date: 2024-12-25
title: Christtag
- date: 2024-12-26
title: Stefanitag
- date: 2025-01-01
title: Neujahr
- date: 2025-01-06
title: Heilige Drei Könige
- date: 2025-04-21
title: Ostermontag
- date: 2025-05-01
title: Staatsfeiertag
- date: 2025-05-29
title: Christi Himmelfahrt
- date: 2025-06-09
title: Pfingstmontag
- date: 2025-06-19
title: Fronleichnam
- date: 2025-08-15
title: Mariä Himmelfahrt
- date: 2025-10-26
title: Nationalfeiertag
- date: 2025-11-01
title: Allerheiligen
- date: 2025-12-08
title: Mariä Empfängnis
- date: 2025-12-25
title: Christtag
- date: 2025-12-26
title: Stefanitag
- date: 2026-01-01
title: Neujahr
- date: 2026-01-06
title: Heilige Drei Könige
- date: 2026-04-06
title: Ostermontag
- date: 2026-05-01
title: Staatsfeiertag
- date: 2026-05-14
title: Christi Himmelfahrt
- date: 2026-05-25
title: Pfingstmontag
- date: 2026-06-04
title: Fronleichnam
- date: 2026-08-15
title: Mariä Himmelfahrt
- date: 2026-10-26
title: Nationalfeiertag
- date: 2026-11-01
title: Allerheiligen
- date: 2026-12-08
title: Mariä Empfängnis
- date: 2026-12-25
title: Christtag
- date: 2026-12-26
title: Stefanitag
- date: 2027-01-01
title: Neujahr
- date: 2027-01-06
title: Heilige Drei Könige
- date: 2027-03-29
title: Ostermontag
- date: 2027-05-01
title: Staatsfeiertag
- date: 2027-05-06
title: Christi Himmelfahrt
- date: 2027-05-17
title: Pfingstmontag
- date: 2027-05-27
title: Fronleichnam
- date: 2027-08-15
title: Mariä Himmelfahrt
- date: 2027-10-26
title: Nationalfeiertag
- date: 2027-11-01
title: Allerheiligen
- date: 2027-12-08
title: Mariä Empfängnis
- date: 2027-12-25
title: Christtag
- date: 2027-12-26
title: Stefanitag
- date: 2028-01-01
title: Neujahr
- date: 2028-01-06
title: Heilige Drei Könige
- date: 2028-04-17
title: Ostermontag
- date: 2028-05-01
title: Staatsfeiertag
- date: 2028-05-25
title: Christi Himmelfahrt
- date: 2028-06-05
title: Pfingstmontag
- date: 2028-06-15
title: Fronleichnam
- date: 2028-08-15
title: Mariä Himmelfahrt
- date: 2028-10-26
title: Nationalfeiertag
- date: 2028-11-01
title: Allerheiligen
- date: 2028-12-08
title: Mariä Empfängnis
- date: 2028-12-25
title: Christtag
- date: 2028-12-26
title: Stefanitag
- date: 2029-01-01
title: Neujahr
- date: 2029-01-06
title: Heilige Drei Könige
- date: 2029-04-02
title: Ostermontag
- date: 2029-05-01
title: Staatsfeiertag
- date: 2029-05-10
title: Christi Himmelfahrt
- date: 2029-05-21
title: Pfingstmontag
- date: 2029-05-31
title: Fronleichnam
- date: 2029-08-15
title: Mariä Himmelfahrt
- date: 2029-10-26
title: Nationalfeiertag
- date: 2029-11-01
title: Allerheiligen
- date: 2029-12-08
title: Mariä Empfängnis
- date: 2029-12-25
title: Christtag
- date: 2029-12-26
title: Stefanitag
- date: 2030-01-01
title: Neujahr
- date: 2030-01-06
title: Heilige Drei Könige
- date: 2030-04-22
title: Ostermontag
- date: 2030-05-01
title: Staatsfeiertag
- date: 2030-05-30
title: Christi Himmelfahrt
- date: 2030-06-10
title: Pfingstmontag
- date: 2030-06-20
title: Fronleichnam
- date: 2030-08-15
title: Mariä Himmelfahrt
- date: 2030-10-26
title: Nationalfeiertag
- date: 2030-11-01
title: Allerheiligen
- date: 2030-12-08
title: Mariä Empfängnis
- date: 2030-12-25
title: Christtag
- date: 2030-12-26
title: Stefanitag
- date: 2031-01-01
title: Neujahr
- date: 2031-01-06
title: Heilige Drei Könige
- date: 2031-04-14
title: Ostermontag
- date: 2031-05-01
title: Staatsfeiertag
- date: 2031-05-22
title: Christi Himmelfahrt
- date: 2031-06-02
title: Pfingstmontag
- date: 2031-06-12
title: Fronleichnam
- date: 2031-08-15
title: Mariä Himmelfahrt
- date: 2031-10-26
title: Nationalfeiertag
- date: 2031-11-01
title: Allerheiligen
- date: 2031-12-08
title: Mariä Empfängnis
- date: 2031-12-25
title: Christtag
- date: 2031-12-26
title: Stefanitag
- date: 2032-01-01
title: Neujahr
- date: 2032-01-06
title: Heilige Drei Könige
- date: 2032-03-29
title: Ostermontag
- date: 2032-05-01
title: Staatsfeiertag
- date: 2032-05-06
title: Christi Himmelfahrt
- date: 2032-05-17
title: Pfingstmontag
- date: 2032-05-27
title: Fronleichnam
- date: 2032-08-15
title: Mariä Himmelfahrt
- date: 2032-10-26
title: Nationalfeiertag
- date: 2032-11-01
title: Allerheiligen
- date: 2032-12-08
title: Mariä Empfängnis
- date: 2032-12-25
title: Christtag
- date: 2032-12-26
title: Stefanitag
- date: 2033-01-01
title: Neujahr
- date: 2033-01-06
title: Heilige Drei Könige
- date: 2033-04-18
title: Ostermontag
- date: 2033-05-01
title: Staatsfeiertag
- date: 2033-05-26
title: Christi Himmelfahrt
- date: 2033-06-06
title: Pfingstmontag
- date: 2033-06-16
title: Fronleichnam
- date: 2023-07-31
title: Reini Day
- date: 2024-07-31
title: Reini Day
- date: 2025-07-31
title: Reini Day
- date: 2026-07-31
title: Reini Day
- date: 2027-07-31
title: Reini Day
- date: 2028-07-31
title: Reini Day
- date: 2029-07-31
title: Reini Day
- date: 2030-07-31
title: Reini Day
- date: 2031-07-31
title: Reini Day
- date: 2032-07-31
title: Reini Day
- date: 2033-07-31
title: Reini Day
base:
type: dynatrace:AutomationSchedulingRule
properties:
businessCalendar: ${calendar.id}
title: '#name#'
recurrence:
datestart: 2023-07-31
daysInMonths:
- -1
daysInYears:
- -2
- -1
- 1
- 2
- 3
frequency: WEEKLY
interval: 33
months:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
weekdays:
- MO
- TU
- WE
weeks:
- -2
- -1
- 1
- 2
- 3
workdays: WORKING
source:
type: dynatrace:AutomationSchedulingRule
properties:
businessCalendar: ${calendar.id}
title: '#name#'
recurrence:
datestart: 2023-07-31
daysInMonths:
- -1
daysInYears:
- -2
- -1
- 1
- 2
- 3
frequency: WEEKLY
interval: 33
months:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
weekdays:
- MO
- TU
- WE
weeks:
- -2
- -1
- 1
- 2
- 3
workdays: WORKING
target:
type: dynatrace:AutomationSchedulingRule
properties:
title: '#name#'
fixedOffset:
offset: 50
rule: ${base.id}
'#name#':
type: dynatrace:AutomationSchedulingRule
properties:
title: '#name#'
relativeOffset:
direction: previous
sourceRule: ${source.id}
targetRule: ${target.id}
Grouping Rule
import * as pulumi from "@pulumi/pulumi";
import * as dynatrace from "@pulumiverse/dynatrace";
const calendar = new dynatrace.AutomationBusinessCalendar("calendar", {
description: "#name#",
title: "#name#",
validFrom: "2023-07-31",
validTo: "2033-07-31",
weekDays: [
1,
2,
3,
4,
5,
],
weekStart: 1,
holidays: {
holidays: [
{
date: "2023-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2023-10-26",
title: "Nationalfeiertag",
},
{
date: "2023-11-01",
title: "Allerheiligen",
},
{
date: "2023-12-08",
title: "Mariä Empfängnis",
},
{
date: "2023-12-25",
title: "Christtag",
},
{
date: "2023-12-26",
title: "Stefanitag",
},
{
date: "2024-01-01",
title: "Neujahr",
},
{
date: "2024-01-06",
title: "Heilige Drei Könige",
},
{
date: "2024-04-01",
title: "Ostermontag",
},
{
date: "2024-05-01",
title: "Staatsfeiertag",
},
{
date: "2024-05-09",
title: "Christi Himmelfahrt",
},
{
date: "2024-05-20",
title: "Pfingstmontag",
},
{
date: "2024-05-30",
title: "Fronleichnam",
},
{
date: "2024-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2024-10-26",
title: "Nationalfeiertag",
},
{
date: "2024-11-01",
title: "Allerheiligen",
},
{
date: "2024-12-08",
title: "Mariä Empfängnis",
},
{
date: "2024-12-25",
title: "Christtag",
},
{
date: "2024-12-26",
title: "Stefanitag",
},
{
date: "2025-01-01",
title: "Neujahr",
},
{
date: "2025-01-06",
title: "Heilige Drei Könige",
},
{
date: "2025-04-21",
title: "Ostermontag",
},
{
date: "2025-05-01",
title: "Staatsfeiertag",
},
{
date: "2025-05-29",
title: "Christi Himmelfahrt",
},
{
date: "2025-06-09",
title: "Pfingstmontag",
},
{
date: "2025-06-19",
title: "Fronleichnam",
},
{
date: "2025-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2025-10-26",
title: "Nationalfeiertag",
},
{
date: "2025-11-01",
title: "Allerheiligen",
},
{
date: "2025-12-08",
title: "Mariä Empfängnis",
},
{
date: "2025-12-25",
title: "Christtag",
},
{
date: "2025-12-26",
title: "Stefanitag",
},
{
date: "2026-01-01",
title: "Neujahr",
},
{
date: "2026-01-06",
title: "Heilige Drei Könige",
},
{
date: "2026-04-06",
title: "Ostermontag",
},
{
date: "2026-05-01",
title: "Staatsfeiertag",
},
{
date: "2026-05-14",
title: "Christi Himmelfahrt",
},
{
date: "2026-05-25",
title: "Pfingstmontag",
},
{
date: "2026-06-04",
title: "Fronleichnam",
},
{
date: "2026-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2026-10-26",
title: "Nationalfeiertag",
},
{
date: "2026-11-01",
title: "Allerheiligen",
},
{
date: "2026-12-08",
title: "Mariä Empfängnis",
},
{
date: "2026-12-25",
title: "Christtag",
},
{
date: "2026-12-26",
title: "Stefanitag",
},
{
date: "2027-01-01",
title: "Neujahr",
},
{
date: "2027-01-06",
title: "Heilige Drei Könige",
},
{
date: "2027-03-29",
title: "Ostermontag",
},
{
date: "2027-05-01",
title: "Staatsfeiertag",
},
{
date: "2027-05-06",
title: "Christi Himmelfahrt",
},
{
date: "2027-05-17",
title: "Pfingstmontag",
},
{
date: "2027-05-27",
title: "Fronleichnam",
},
{
date: "2027-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2027-10-26",
title: "Nationalfeiertag",
},
{
date: "2027-11-01",
title: "Allerheiligen",
},
{
date: "2027-12-08",
title: "Mariä Empfängnis",
},
{
date: "2027-12-25",
title: "Christtag",
},
{
date: "2027-12-26",
title: "Stefanitag",
},
{
date: "2028-01-01",
title: "Neujahr",
},
{
date: "2028-01-06",
title: "Heilige Drei Könige",
},
{
date: "2028-04-17",
title: "Ostermontag",
},
{
date: "2028-05-01",
title: "Staatsfeiertag",
},
{
date: "2028-05-25",
title: "Christi Himmelfahrt",
},
{
date: "2028-06-05",
title: "Pfingstmontag",
},
{
date: "2028-06-15",
title: "Fronleichnam",
},
{
date: "2028-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2028-10-26",
title: "Nationalfeiertag",
},
{
date: "2028-11-01",
title: "Allerheiligen",
},
{
date: "2028-12-08",
title: "Mariä Empfängnis",
},
{
date: "2028-12-25",
title: "Christtag",
},
{
date: "2028-12-26",
title: "Stefanitag",
},
{
date: "2029-01-01",
title: "Neujahr",
},
{
date: "2029-01-06",
title: "Heilige Drei Könige",
},
{
date: "2029-04-02",
title: "Ostermontag",
},
{
date: "2029-05-01",
title: "Staatsfeiertag",
},
{
date: "2029-05-10",
title: "Christi Himmelfahrt",
},
{
date: "2029-05-21",
title: "Pfingstmontag",
},
{
date: "2029-05-31",
title: "Fronleichnam",
},
{
date: "2029-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2029-10-26",
title: "Nationalfeiertag",
},
{
date: "2029-11-01",
title: "Allerheiligen",
},
{
date: "2029-12-08",
title: "Mariä Empfängnis",
},
{
date: "2029-12-25",
title: "Christtag",
},
{
date: "2029-12-26",
title: "Stefanitag",
},
{
date: "2030-01-01",
title: "Neujahr",
},
{
date: "2030-01-06",
title: "Heilige Drei Könige",
},
{
date: "2030-04-22",
title: "Ostermontag",
},
{
date: "2030-05-01",
title: "Staatsfeiertag",
},
{
date: "2030-05-30",
title: "Christi Himmelfahrt",
},
{
date: "2030-06-10",
title: "Pfingstmontag",
},
{
date: "2030-06-20",
title: "Fronleichnam",
},
{
date: "2030-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2030-10-26",
title: "Nationalfeiertag",
},
{
date: "2030-11-01",
title: "Allerheiligen",
},
{
date: "2030-12-08",
title: "Mariä Empfängnis",
},
{
date: "2030-12-25",
title: "Christtag",
},
{
date: "2030-12-26",
title: "Stefanitag",
},
{
date: "2031-01-01",
title: "Neujahr",
},
{
date: "2031-01-06",
title: "Heilige Drei Könige",
},
{
date: "2031-04-14",
title: "Ostermontag",
},
{
date: "2031-05-01",
title: "Staatsfeiertag",
},
{
date: "2031-05-22",
title: "Christi Himmelfahrt",
},
{
date: "2031-06-02",
title: "Pfingstmontag",
},
{
date: "2031-06-12",
title: "Fronleichnam",
},
{
date: "2031-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2031-10-26",
title: "Nationalfeiertag",
},
{
date: "2031-11-01",
title: "Allerheiligen",
},
{
date: "2031-12-08",
title: "Mariä Empfängnis",
},
{
date: "2031-12-25",
title: "Christtag",
},
{
date: "2031-12-26",
title: "Stefanitag",
},
{
date: "2032-01-01",
title: "Neujahr",
},
{
date: "2032-01-06",
title: "Heilige Drei Könige",
},
{
date: "2032-03-29",
title: "Ostermontag",
},
{
date: "2032-05-01",
title: "Staatsfeiertag",
},
{
date: "2032-05-06",
title: "Christi Himmelfahrt",
},
{
date: "2032-05-17",
title: "Pfingstmontag",
},
{
date: "2032-05-27",
title: "Fronleichnam",
},
{
date: "2032-08-15",
title: "Mariä Himmelfahrt",
},
{
date: "2032-10-26",
title: "Nationalfeiertag",
},
{
date: "2032-11-01",
title: "Allerheiligen",
},
{
date: "2032-12-08",
title: "Mariä Empfängnis",
},
{
date: "2032-12-25",
title: "Christtag",
},
{
date: "2032-12-26",
title: "Stefanitag",
},
{
date: "2033-01-01",
title: "Neujahr",
},
{
date: "2033-01-06",
title: "Heilige Drei Könige",
},
{
date: "2033-04-18",
title: "Ostermontag",
},
{
date: "2033-05-01",
title: "Staatsfeiertag",
},
{
date: "2033-05-26",
title: "Christi Himmelfahrt",
},
{
date: "2033-06-06",
title: "Pfingstmontag",
},
{
date: "2033-06-16",
title: "Fronleichnam",
},
{
date: "2023-07-31",
title: "Reini Day",
},
{
date: "2024-07-31",
title: "Reini Day",
},
{
date: "2025-07-31",
title: "Reini Day",
},
{
date: "2026-07-31",
title: "Reini Day",
},
{
date: "2027-07-31",
title: "Reini Day",
},
{
date: "2028-07-31",
title: "Reini Day",
},
{
date: "2029-07-31",
title: "Reini Day",
},
{
date: "2030-07-31",
title: "Reini Day",
},
{
date: "2031-07-31",
title: "Reini Day",
},
{
date: "2032-07-31",
title: "Reini Day",
},
{
date: "2033-07-31",
title: "Reini Day",
},
],
},
});
const subtract = new dynatrace.AutomationSchedulingRule("subtract", {
businessCalendar: calendar.id,
title: "#name#",
recurrence: {
datestart: "2029-07-31",
frequency: "DAILY",
interval: 1,
workdays: "WORKING",
},
});
const comba = new dynatrace.AutomationSchedulingRule("comba", {
businessCalendar: calendar.id,
title: "#name#",
recurrence: {
datestart: "2023-07-31",
frequency: "DAILY",
interval: 1,
workdays: "WORKING",
},
});
const combb = new dynatrace.AutomationSchedulingRule("combb", {
businessCalendar: calendar.id,
title: "#name#",
recurrence: {
datestart: "2023-07-31",
frequency: "DAILY",
interval: 1,
workdays: "WORKING",
},
});
const intersect = new dynatrace.AutomationSchedulingRule("intersect", {
businessCalendar: calendar.id,
title: "#name#",
recurrence: {
datestart: "2023-07-31",
frequency: "DAILY",
interval: 1,
workdays: "WORKING",
},
});
const _name_ = new dynatrace.AutomationSchedulingRule("#name#", {
title: "#name#",
grouping: {
combines: [
comba.id,
combb.id,
],
intersects: [intersect.id],
subtracts: [subtract.id],
},
});
import pulumi
import pulumiverse_dynatrace as dynatrace
calendar = dynatrace.AutomationBusinessCalendar("calendar",
description="#name#",
title="#name#",
valid_from="2023-07-31",
valid_to="2033-07-31",
week_days=[
1,
2,
3,
4,
5,
],
week_start=1,
holidays={
"holidays": [
{
"date": "2023-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2023-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2023-11-01",
"title": "Allerheiligen",
},
{
"date": "2023-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2023-12-25",
"title": "Christtag",
},
{
"date": "2023-12-26",
"title": "Stefanitag",
},
{
"date": "2024-01-01",
"title": "Neujahr",
},
{
"date": "2024-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2024-04-01",
"title": "Ostermontag",
},
{
"date": "2024-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2024-05-09",
"title": "Christi Himmelfahrt",
},
{
"date": "2024-05-20",
"title": "Pfingstmontag",
},
{
"date": "2024-05-30",
"title": "Fronleichnam",
},
{
"date": "2024-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2024-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2024-11-01",
"title": "Allerheiligen",
},
{
"date": "2024-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2024-12-25",
"title": "Christtag",
},
{
"date": "2024-12-26",
"title": "Stefanitag",
},
{
"date": "2025-01-01",
"title": "Neujahr",
},
{
"date": "2025-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2025-04-21",
"title": "Ostermontag",
},
{
"date": "2025-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2025-05-29",
"title": "Christi Himmelfahrt",
},
{
"date": "2025-06-09",
"title": "Pfingstmontag",
},
{
"date": "2025-06-19",
"title": "Fronleichnam",
},
{
"date": "2025-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2025-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2025-11-01",
"title": "Allerheiligen",
},
{
"date": "2025-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2025-12-25",
"title": "Christtag",
},
{
"date": "2025-12-26",
"title": "Stefanitag",
},
{
"date": "2026-01-01",
"title": "Neujahr",
},
{
"date": "2026-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2026-04-06",
"title": "Ostermontag",
},
{
"date": "2026-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2026-05-14",
"title": "Christi Himmelfahrt",
},
{
"date": "2026-05-25",
"title": "Pfingstmontag",
},
{
"date": "2026-06-04",
"title": "Fronleichnam",
},
{
"date": "2026-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2026-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2026-11-01",
"title": "Allerheiligen",
},
{
"date": "2026-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2026-12-25",
"title": "Christtag",
},
{
"date": "2026-12-26",
"title": "Stefanitag",
},
{
"date": "2027-01-01",
"title": "Neujahr",
},
{
"date": "2027-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2027-03-29",
"title": "Ostermontag",
},
{
"date": "2027-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2027-05-06",
"title": "Christi Himmelfahrt",
},
{
"date": "2027-05-17",
"title": "Pfingstmontag",
},
{
"date": "2027-05-27",
"title": "Fronleichnam",
},
{
"date": "2027-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2027-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2027-11-01",
"title": "Allerheiligen",
},
{
"date": "2027-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2027-12-25",
"title": "Christtag",
},
{
"date": "2027-12-26",
"title": "Stefanitag",
},
{
"date": "2028-01-01",
"title": "Neujahr",
},
{
"date": "2028-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2028-04-17",
"title": "Ostermontag",
},
{
"date": "2028-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2028-05-25",
"title": "Christi Himmelfahrt",
},
{
"date": "2028-06-05",
"title": "Pfingstmontag",
},
{
"date": "2028-06-15",
"title": "Fronleichnam",
},
{
"date": "2028-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2028-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2028-11-01",
"title": "Allerheiligen",
},
{
"date": "2028-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2028-12-25",
"title": "Christtag",
},
{
"date": "2028-12-26",
"title": "Stefanitag",
},
{
"date": "2029-01-01",
"title": "Neujahr",
},
{
"date": "2029-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2029-04-02",
"title": "Ostermontag",
},
{
"date": "2029-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2029-05-10",
"title": "Christi Himmelfahrt",
},
{
"date": "2029-05-21",
"title": "Pfingstmontag",
},
{
"date": "2029-05-31",
"title": "Fronleichnam",
},
{
"date": "2029-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2029-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2029-11-01",
"title": "Allerheiligen",
},
{
"date": "2029-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2029-12-25",
"title": "Christtag",
},
{
"date": "2029-12-26",
"title": "Stefanitag",
},
{
"date": "2030-01-01",
"title": "Neujahr",
},
{
"date": "2030-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2030-04-22",
"title": "Ostermontag",
},
{
"date": "2030-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2030-05-30",
"title": "Christi Himmelfahrt",
},
{
"date": "2030-06-10",
"title": "Pfingstmontag",
},
{
"date": "2030-06-20",
"title": "Fronleichnam",
},
{
"date": "2030-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2030-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2030-11-01",
"title": "Allerheiligen",
},
{
"date": "2030-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2030-12-25",
"title": "Christtag",
},
{
"date": "2030-12-26",
"title": "Stefanitag",
},
{
"date": "2031-01-01",
"title": "Neujahr",
},
{
"date": "2031-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2031-04-14",
"title": "Ostermontag",
},
{
"date": "2031-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2031-05-22",
"title": "Christi Himmelfahrt",
},
{
"date": "2031-06-02",
"title": "Pfingstmontag",
},
{
"date": "2031-06-12",
"title": "Fronleichnam",
},
{
"date": "2031-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2031-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2031-11-01",
"title": "Allerheiligen",
},
{
"date": "2031-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2031-12-25",
"title": "Christtag",
},
{
"date": "2031-12-26",
"title": "Stefanitag",
},
{
"date": "2032-01-01",
"title": "Neujahr",
},
{
"date": "2032-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2032-03-29",
"title": "Ostermontag",
},
{
"date": "2032-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2032-05-06",
"title": "Christi Himmelfahrt",
},
{
"date": "2032-05-17",
"title": "Pfingstmontag",
},
{
"date": "2032-05-27",
"title": "Fronleichnam",
},
{
"date": "2032-08-15",
"title": "Mariä Himmelfahrt",
},
{
"date": "2032-10-26",
"title": "Nationalfeiertag",
},
{
"date": "2032-11-01",
"title": "Allerheiligen",
},
{
"date": "2032-12-08",
"title": "Mariä Empfängnis",
},
{
"date": "2032-12-25",
"title": "Christtag",
},
{
"date": "2032-12-26",
"title": "Stefanitag",
},
{
"date": "2033-01-01",
"title": "Neujahr",
},
{
"date": "2033-01-06",
"title": "Heilige Drei Könige",
},
{
"date": "2033-04-18",
"title": "Ostermontag",
},
{
"date": "2033-05-01",
"title": "Staatsfeiertag",
},
{
"date": "2033-05-26",
"title": "Christi Himmelfahrt",
},
{
"date": "2033-06-06",
"title": "Pfingstmontag",
},
{
"date": "2033-06-16",
"title": "Fronleichnam",
},
{
"date": "2023-07-31",
"title": "Reini Day",
},
{
"date": "2024-07-31",
"title": "Reini Day",
},
{
"date": "2025-07-31",
"title": "Reini Day",
},
{
"date": "2026-07-31",
"title": "Reini Day",
},
{
"date": "2027-07-31",
"title": "Reini Day",
},
{
"date": "2028-07-31",
"title": "Reini Day",
},
{
"date": "2029-07-31",
"title": "Reini Day",
},
{
"date": "2030-07-31",
"title": "Reini Day",
},
{
"date": "2031-07-31",
"title": "Reini Day",
},
{
"date": "2032-07-31",
"title": "Reini Day",
},
{
"date": "2033-07-31",
"title": "Reini Day",
},
],
})
subtract = dynatrace.AutomationSchedulingRule("subtract",
business_calendar=calendar.id,
title="#name#",
recurrence={
"datestart": "2029-07-31",
"frequency": "DAILY",
"interval": 1,
"workdays": "WORKING",
})
comba = dynatrace.AutomationSchedulingRule("comba",
business_calendar=calendar.id,
title="#name#",
recurrence={
"datestart": "2023-07-31",
"frequency": "DAILY",
"interval": 1,
"workdays": "WORKING",
})
combb = dynatrace.AutomationSchedulingRule("combb",
business_calendar=calendar.id,
title="#name#",
recurrence={
"datestart": "2023-07-31",
"frequency": "DAILY",
"interval": 1,
"workdays": "WORKING",
})
intersect = dynatrace.AutomationSchedulingRule("intersect",
business_calendar=calendar.id,
title="#name#",
recurrence={
"datestart": "2023-07-31",
"frequency": "DAILY",
"interval": 1,
"workdays": "WORKING",
})
_name_ = dynatrace.AutomationSchedulingRule("#name#",
title="#name#",
grouping={
"combines": [
comba.id,
combb.id,
],
"intersects": [intersect.id],
"subtracts": [subtract.id],
})
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
calendar, err := dynatrace.NewAutomationBusinessCalendar(ctx, "calendar", &dynatrace.AutomationBusinessCalendarArgs{
Description: pulumi.String("#name#"),
Title: pulumi.String("#name#"),
ValidFrom: pulumi.String("2023-07-31"),
ValidTo: pulumi.String("2033-07-31"),
WeekDays: pulumi.IntArray{
pulumi.Int(1),
pulumi.Int(2),
pulumi.Int(3),
pulumi.Int(4),
pulumi.Int(5),
},
WeekStart: pulumi.Int(1),
Holidays: &dynatrace.AutomationBusinessCalendarHolidaysArgs{
Holidays: dynatrace.AutomationBusinessCalendarHolidaysHolidayArray{
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-04-01"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-05-09"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-05-20"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-05-30"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-04-21"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-05-29"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-06-09"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-06-19"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-04-06"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-05-14"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-05-25"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-06-04"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-03-29"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-05-06"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-05-17"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-05-27"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-04-17"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-05-25"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-06-05"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-06-15"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-04-02"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-05-10"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-05-21"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-05-31"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-04-22"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-05-30"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-06-10"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-06-20"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-04-14"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-05-22"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-06-02"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-06-12"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-03-29"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-05-06"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-05-17"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-05-27"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-08-15"),
Title: pulumi.String("Mariä Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-10-26"),
Title: pulumi.String("Nationalfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-11-01"),
Title: pulumi.String("Allerheiligen"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-12-08"),
Title: pulumi.String("Mariä Empfängnis"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-12-25"),
Title: pulumi.String("Christtag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-12-26"),
Title: pulumi.String("Stefanitag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-01-01"),
Title: pulumi.String("Neujahr"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-01-06"),
Title: pulumi.String("Heilige Drei Könige"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-04-18"),
Title: pulumi.String("Ostermontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-05-01"),
Title: pulumi.String("Staatsfeiertag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-05-26"),
Title: pulumi.String("Christi Himmelfahrt"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-06-06"),
Title: pulumi.String("Pfingstmontag"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-06-16"),
Title: pulumi.String("Fronleichnam"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2023-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2024-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2025-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2026-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2027-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2028-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2029-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2030-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2031-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2032-07-31"),
Title: pulumi.String("Reini Day"),
},
&dynatrace.AutomationBusinessCalendarHolidaysHolidayArgs{
Date: pulumi.String("2033-07-31"),
Title: pulumi.String("Reini Day"),
},
},
},
})
if err != nil {
return err
}
subtract, err := dynatrace.NewAutomationSchedulingRule(ctx, "subtract", &dynatrace.AutomationSchedulingRuleArgs{
BusinessCalendar: calendar.ID(),
Title: pulumi.String("#name#"),
Recurrence: &dynatrace.AutomationSchedulingRuleRecurrenceArgs{
Datestart: pulumi.String("2029-07-31"),
Frequency: pulumi.String("DAILY"),
Interval: pulumi.Int(1),
Workdays: pulumi.String("WORKING"),
},
})
if err != nil {
return err
}
comba, err := dynatrace.NewAutomationSchedulingRule(ctx, "comba", &dynatrace.AutomationSchedulingRuleArgs{
BusinessCalendar: calendar.ID(),
Title: pulumi.String("#name#"),
Recurrence: &dynatrace.AutomationSchedulingRuleRecurrenceArgs{
Datestart: pulumi.String("2023-07-31"),
Frequency: pulumi.String("DAILY"),
Interval: pulumi.Int(1),
Workdays: pulumi.String("WORKING"),
},
})
if err != nil {
return err
}
combb, err := dynatrace.NewAutomationSchedulingRule(ctx, "combb", &dynatrace.AutomationSchedulingRuleArgs{
BusinessCalendar: calendar.ID(),
Title: pulumi.String("#name#"),
Recurrence: &dynatrace.AutomationSchedulingRuleRecurrenceArgs{
Datestart: pulumi.String("2023-07-31"),
Frequency: pulumi.String("DAILY"),
Interval: pulumi.Int(1),
Workdays: pulumi.String("WORKING"),
},
})
if err != nil {
return err
}
intersect, err := dynatrace.NewAutomationSchedulingRule(ctx, "intersect", &dynatrace.AutomationSchedulingRuleArgs{
BusinessCalendar: calendar.ID(),
Title: pulumi.String("#name#"),
Recurrence: &dynatrace.AutomationSchedulingRuleRecurrenceArgs{
Datestart: pulumi.String("2023-07-31"),
Frequency: pulumi.String("DAILY"),
Interval: pulumi.Int(1),
Workdays: pulumi.String("WORKING"),
},
})
if err != nil {
return err
}
_, err = dynatrace.NewAutomationSchedulingRule(ctx, "#name#", &dynatrace.AutomationSchedulingRuleArgs{
Title: pulumi.String("#name#"),
Grouping: &dynatrace.AutomationSchedulingRuleGroupingArgs{
Combines: pulumi.StringArray{
comba.ID(),
combb.ID(),
},
Intersects: pulumi.StringArray{
intersect.ID(),
},
Subtracts: pulumi.StringArray{
subtract.ID(),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Dynatrace = Pulumiverse.Dynatrace;
return await Deployment.RunAsync(() =>
{
var calendar = new Dynatrace.AutomationBusinessCalendar("calendar", new()
{
Description = "#name#",
Title = "#name#",
ValidFrom = "2023-07-31",
ValidTo = "2033-07-31",
WeekDays = new[]
{
1,
2,
3,
4,
5,
},
WeekStart = 1,
Holidays = new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysArgs
{
Holidays = new[]
{
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-04-01",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-05-09",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-05-20",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-05-30",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-04-21",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-05-29",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-06-09",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-06-19",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-04-06",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-05-14",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-05-25",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-06-04",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-03-29",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-05-06",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-05-17",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-05-27",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-04-17",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-05-25",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-06-05",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-06-15",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-04-02",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-05-10",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-05-21",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-05-31",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-04-22",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-05-30",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-06-10",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-06-20",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-04-14",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-05-22",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-06-02",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-06-12",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-03-29",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-05-06",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-05-17",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-05-27",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-08-15",
Title = "Mariä Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-10-26",
Title = "Nationalfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-11-01",
Title = "Allerheiligen",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-12-08",
Title = "Mariä Empfängnis",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-12-25",
Title = "Christtag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-12-26",
Title = "Stefanitag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-01-01",
Title = "Neujahr",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-01-06",
Title = "Heilige Drei Könige",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-04-18",
Title = "Ostermontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-05-01",
Title = "Staatsfeiertag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-05-26",
Title = "Christi Himmelfahrt",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-06-06",
Title = "Pfingstmontag",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-06-16",
Title = "Fronleichnam",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2023-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2024-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2025-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2026-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2027-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2028-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2029-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2030-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2031-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2032-07-31",
Title = "Reini Day",
},
new Dynatrace.Inputs.AutomationBusinessCalendarHolidaysHolidayArgs
{
Date = "2033-07-31",
Title = "Reini Day",
},
},
},
});
var subtract = new Dynatrace.AutomationSchedulingRule("subtract", new()
{
BusinessCalendar = calendar.Id,
Title = "#name#",
Recurrence = new Dynatrace.Inputs.AutomationSchedulingRuleRecurrenceArgs
{
Datestart = "2029-07-31",
Frequency = "DAILY",
Interval = 1,
Workdays = "WORKING",
},
});
var comba = new Dynatrace.AutomationSchedulingRule("comba", new()
{
BusinessCalendar = calendar.Id,
Title = "#name#",
Recurrence = new Dynatrace.Inputs.AutomationSchedulingRuleRecurrenceArgs
{
Datestart = "2023-07-31",
Frequency = "DAILY",
Interval = 1,
Workdays = "WORKING",
},
});
var combb = new Dynatrace.AutomationSchedulingRule("combb", new()
{
BusinessCalendar = calendar.Id,
Title = "#name#",
Recurrence = new Dynatrace.Inputs.AutomationSchedulingRuleRecurrenceArgs
{
Datestart = "2023-07-31",
Frequency = "DAILY",
Interval = 1,
Workdays = "WORKING",
},
});
var intersect = new Dynatrace.AutomationSchedulingRule("intersect", new()
{
BusinessCalendar = calendar.Id,
Title = "#name#",
Recurrence = new Dynatrace.Inputs.AutomationSchedulingRuleRecurrenceArgs
{
Datestart = "2023-07-31",
Frequency = "DAILY",
Interval = 1,
Workdays = "WORKING",
},
});
var _name_ = new Dynatrace.AutomationSchedulingRule("#name#", new()
{
Title = "#name#",
Grouping = new Dynatrace.Inputs.AutomationSchedulingRuleGroupingArgs
{
Combines = new[]
{
comba.Id,
combb.Id,
},
Intersects = new[]
{
intersect.Id,
},
Subtracts = new[]
{
subtract.Id,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dynatrace.AutomationBusinessCalendar;
import com.pulumi.dynatrace.AutomationBusinessCalendarArgs;
import com.pulumi.dynatrace.inputs.AutomationBusinessCalendarHolidaysArgs;
import com.pulumi.dynatrace.AutomationSchedulingRule;
import com.pulumi.dynatrace.AutomationSchedulingRuleArgs;
import com.pulumi.dynatrace.inputs.AutomationSchedulingRuleRecurrenceArgs;
import com.pulumi.dynatrace.inputs.AutomationSchedulingRuleGroupingArgs;
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 calendar = new AutomationBusinessCalendar("calendar", AutomationBusinessCalendarArgs.builder()
.description("#name#")
.title("#name#")
.validFrom("2023-07-31")
.validTo("2033-07-31")
.weekDays(
1,
2,
3,
4,
5)
.weekStart(1)
.holidays(AutomationBusinessCalendarHolidaysArgs.builder()
.holidays(
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-04-01")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-05-09")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-05-20")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-05-30")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-04-21")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-05-29")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-06-09")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-06-19")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-04-06")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-05-14")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-05-25")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-06-04")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-03-29")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-05-06")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-05-17")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-05-27")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-04-17")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-05-25")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-06-05")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-06-15")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-04-02")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-05-10")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-05-21")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-05-31")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-04-22")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-05-30")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-06-10")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-06-20")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-04-14")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-05-22")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-06-02")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-06-12")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-03-29")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-05-06")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-05-17")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-05-27")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-08-15")
.title("Mariä Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-10-26")
.title("Nationalfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-11-01")
.title("Allerheiligen")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-12-08")
.title("Mariä Empfängnis")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-12-25")
.title("Christtag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-12-26")
.title("Stefanitag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-01-01")
.title("Neujahr")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-01-06")
.title("Heilige Drei Könige")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-04-18")
.title("Ostermontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-05-01")
.title("Staatsfeiertag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-05-26")
.title("Christi Himmelfahrt")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-06-06")
.title("Pfingstmontag")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-06-16")
.title("Fronleichnam")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2023-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2024-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2025-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2026-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2027-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2028-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2029-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2030-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2031-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2032-07-31")
.title("Reini Day")
.build(),
AutomationBusinessCalendarHolidaysHolidayArgs.builder()
.date("2033-07-31")
.title("Reini Day")
.build())
.build())
.build());
var subtract = new AutomationSchedulingRule("subtract", AutomationSchedulingRuleArgs.builder()
.businessCalendar(calendar.id())
.title("#name#")
.recurrence(AutomationSchedulingRuleRecurrenceArgs.builder()
.datestart("2029-07-31")
.frequency("DAILY")
.interval(1)
.workdays("WORKING")
.build())
.build());
var comba = new AutomationSchedulingRule("comba", AutomationSchedulingRuleArgs.builder()
.businessCalendar(calendar.id())
.title("#name#")
.recurrence(AutomationSchedulingRuleRecurrenceArgs.builder()
.datestart("2023-07-31")
.frequency("DAILY")
.interval(1)
.workdays("WORKING")
.build())
.build());
var combb = new AutomationSchedulingRule("combb", AutomationSchedulingRuleArgs.builder()
.businessCalendar(calendar.id())
.title("#name#")
.recurrence(AutomationSchedulingRuleRecurrenceArgs.builder()
.datestart("2023-07-31")
.frequency("DAILY")
.interval(1)
.workdays("WORKING")
.build())
.build());
var intersect = new AutomationSchedulingRule("intersect", AutomationSchedulingRuleArgs.builder()
.businessCalendar(calendar.id())
.title("#name#")
.recurrence(AutomationSchedulingRuleRecurrenceArgs.builder()
.datestart("2023-07-31")
.frequency("DAILY")
.interval(1)
.workdays("WORKING")
.build())
.build());
var _name_ = new AutomationSchedulingRule("#name#", AutomationSchedulingRuleArgs.builder()
.title("#name#")
.grouping(AutomationSchedulingRuleGroupingArgs.builder()
.combines(
comba.id(),
combb.id())
.intersects(intersect.id())
.subtracts(subtract.id())
.build())
.build());
}
}
resources:
calendar:
type: dynatrace:AutomationBusinessCalendar
properties:
description: '#name#'
title: '#name#'
validFrom: 2023-07-31
validTo: 2033-07-31
weekDays:
- 1
- 2
- 3
- 4
- 5
weekStart: 1
holidays:
holidays:
- date: 2023-08-15
title: Mariä Himmelfahrt
- date: 2023-10-26
title: Nationalfeiertag
- date: 2023-11-01
title: Allerheiligen
- date: 2023-12-08
title: Mariä Empfängnis
- date: 2023-12-25
title: Christtag
- date: 2023-12-26
title: Stefanitag
- date: 2024-01-01
title: Neujahr
- date: 2024-01-06
title: Heilige Drei Könige
- date: 2024-04-01
title: Ostermontag
- date: 2024-05-01
title: Staatsfeiertag
- date: 2024-05-09
title: Christi Himmelfahrt
- date: 2024-05-20
title: Pfingstmontag
- date: 2024-05-30
title: Fronleichnam
- date: 2024-08-15
title: Mariä Himmelfahrt
- date: 2024-10-26
title: Nationalfeiertag
- date: 2024-11-01
title: Allerheiligen
- date: 2024-12-08
title: Mariä Empfängnis
- date: 2024-12-25
title: Christtag
- date: 2024-12-26
title: Stefanitag
- date: 2025-01-01
title: Neujahr
- date: 2025-01-06
title: Heilige Drei Könige
- date: 2025-04-21
title: Ostermontag
- date: 2025-05-01
title: Staatsfeiertag
- date: 2025-05-29
title: Christi Himmelfahrt
- date: 2025-06-09
title: Pfingstmontag
- date: 2025-06-19
title: Fronleichnam
- date: 2025-08-15
title: Mariä Himmelfahrt
- date: 2025-10-26
title: Nationalfeiertag
- date: 2025-11-01
title: Allerheiligen
- date: 2025-12-08
title: Mariä Empfängnis
- date: 2025-12-25
title: Christtag
- date: 2025-12-26
title: Stefanitag
- date: 2026-01-01
title: Neujahr
- date: 2026-01-06
title: Heilige Drei Könige
- date: 2026-04-06
title: Ostermontag
- date: 2026-05-01
title: Staatsfeiertag
- date: 2026-05-14
title: Christi Himmelfahrt
- date: 2026-05-25
title: Pfingstmontag
- date: 2026-06-04
title: Fronleichnam
- date: 2026-08-15
title: Mariä Himmelfahrt
- date: 2026-10-26
title: Nationalfeiertag
- date: 2026-11-01
title: Allerheiligen
- date: 2026-12-08
title: Mariä Empfängnis
- date: 2026-12-25
title: Christtag
- date: 2026-12-26
title: Stefanitag
- date: 2027-01-01
title: Neujahr
- date: 2027-01-06
title: Heilige Drei Könige
- date: 2027-03-29
title: Ostermontag
- date: 2027-05-01
title: Staatsfeiertag
- date: 2027-05-06
title: Christi Himmelfahrt
- date: 2027-05-17
title: Pfingstmontag
- date: 2027-05-27
title: Fronleichnam
- date: 2027-08-15
title: Mariä Himmelfahrt
- date: 2027-10-26
title: Nationalfeiertag
- date: 2027-11-01
title: Allerheiligen
- date: 2027-12-08
title: Mariä Empfängnis
- date: 2027-12-25
title: Christtag
- date: 2027-12-26
title: Stefanitag
- date: 2028-01-01
title: Neujahr
- date: 2028-01-06
title: Heilige Drei Könige
- date: 2028-04-17
title: Ostermontag
- date: 2028-05-01
title: Staatsfeiertag
- date: 2028-05-25
title: Christi Himmelfahrt
- date: 2028-06-05
title: Pfingstmontag
- date: 2028-06-15
title: Fronleichnam
- date: 2028-08-15
title: Mariä Himmelfahrt
- date: 2028-10-26
title: Nationalfeiertag
- date: 2028-11-01
title: Allerheiligen
- date: 2028-12-08
title: Mariä Empfängnis
- date: 2028-12-25
title: Christtag
- date: 2028-12-26
title: Stefanitag
- date: 2029-01-01
title: Neujahr
- date: 2029-01-06
title: Heilige Drei Könige
- date: 2029-04-02
title: Ostermontag
- date: 2029-05-01
title: Staatsfeiertag
- date: 2029-05-10
title: Christi Himmelfahrt
- date: 2029-05-21
title: Pfingstmontag
- date: 2029-05-31
title: Fronleichnam
- date: 2029-08-15
title: Mariä Himmelfahrt
- date: 2029-10-26
title: Nationalfeiertag
- date: 2029-11-01
title: Allerheiligen
- date: 2029-12-08
title: Mariä Empfängnis
- date: 2029-12-25
title: Christtag
- date: 2029-12-26
title: Stefanitag
- date: 2030-01-01
title: Neujahr
- date: 2030-01-06
title: Heilige Drei Könige
- date: 2030-04-22
title: Ostermontag
- date: 2030-05-01
title: Staatsfeiertag
- date: 2030-05-30
title: Christi Himmelfahrt
- date: 2030-06-10
title: Pfingstmontag
- date: 2030-06-20
title: Fronleichnam
- date: 2030-08-15
title: Mariä Himmelfahrt
- date: 2030-10-26
title: Nationalfeiertag
- date: 2030-11-01
title: Allerheiligen
- date: 2030-12-08
title: Mariä Empfängnis
- date: 2030-12-25
title: Christtag
- date: 2030-12-26
title: Stefanitag
- date: 2031-01-01
title: Neujahr
- date: 2031-01-06
title: Heilige Drei Könige
- date: 2031-04-14
title: Ostermontag
- date: 2031-05-01
title: Staatsfeiertag
- date: 2031-05-22
title: Christi Himmelfahrt
- date: 2031-06-02
title: Pfingstmontag
- date: 2031-06-12
title: Fronleichnam
- date: 2031-08-15
title: Mariä Himmelfahrt
- date: 2031-10-26
title: Nationalfeiertag
- date: 2031-11-01
title: Allerheiligen
- date: 2031-12-08
title: Mariä Empfängnis
- date: 2031-12-25
title: Christtag
- date: 2031-12-26
title: Stefanitag
- date: 2032-01-01
title: Neujahr
- date: 2032-01-06
title: Heilige Drei Könige
- date: 2032-03-29
title: Ostermontag
- date: 2032-05-01
title: Staatsfeiertag
- date: 2032-05-06
title: Christi Himmelfahrt
- date: 2032-05-17
title: Pfingstmontag
- date: 2032-05-27
title: Fronleichnam
- date: 2032-08-15
title: Mariä Himmelfahrt
- date: 2032-10-26
title: Nationalfeiertag
- date: 2032-11-01
title: Allerheiligen
- date: 2032-12-08
title: Mariä Empfängnis
- date: 2032-12-25
title: Christtag
- date: 2032-12-26
title: Stefanitag
- date: 2033-01-01
title: Neujahr
- date: 2033-01-06
title: Heilige Drei Könige
- date: 2033-04-18
title: Ostermontag
- date: 2033-05-01
title: Staatsfeiertag
- date: 2033-05-26
title: Christi Himmelfahrt
- date: 2033-06-06
title: Pfingstmontag
- date: 2033-06-16
title: Fronleichnam
- date: 2023-07-31
title: Reini Day
- date: 2024-07-31
title: Reini Day
- date: 2025-07-31
title: Reini Day
- date: 2026-07-31
title: Reini Day
- date: 2027-07-31
title: Reini Day
- date: 2028-07-31
title: Reini Day
- date: 2029-07-31
title: Reini Day
- date: 2030-07-31
title: Reini Day
- date: 2031-07-31
title: Reini Day
- date: 2032-07-31
title: Reini Day
- date: 2033-07-31
title: Reini Day
subtract:
type: dynatrace:AutomationSchedulingRule
properties:
businessCalendar: ${calendar.id}
title: '#name#'
recurrence:
datestart: 2029-07-31
frequency: DAILY
interval: 1
workdays: WORKING
comba:
type: dynatrace:AutomationSchedulingRule
properties:
businessCalendar: ${calendar.id}
title: '#name#'
recurrence:
datestart: 2023-07-31
frequency: DAILY
interval: 1
workdays: WORKING
combb:
type: dynatrace:AutomationSchedulingRule
properties:
businessCalendar: ${calendar.id}
title: '#name#'
recurrence:
datestart: 2023-07-31
frequency: DAILY
interval: 1
workdays: WORKING
intersect:
type: dynatrace:AutomationSchedulingRule
properties:
businessCalendar: ${calendar.id}
title: '#name#'
recurrence:
datestart: 2023-07-31
frequency: DAILY
interval: 1
workdays: WORKING
'#name#':
type: dynatrace:AutomationSchedulingRule
properties:
title: '#name#'
grouping:
combines:
- ${comba.id}
- ${combb.id}
intersects:
- ${intersect.id}
subtracts:
- ${subtract.id}
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.
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"),
},
})
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 Pulumiverse.Dynatrace. Inputs. Automation Scheduling Rule Fixed Offset - Grouping
Pulumiverse.
Dynatrace. Inputs. Automation Scheduling Rule Grouping - Recurrence
Pulumiverse.
Dynatrace. Inputs. Automation Scheduling Rule Recurrence - Relative
Offset Pulumiverse.Dynatrace. Inputs. Automation Scheduling Rule Relative Offset
- Title string
- The title / name of the scheduling rule
- Business
Calendar string - Description string
- An optional description for the scheduling rule
- Fixed
Offset AutomationScheduling Rule Fixed Offset Args - Grouping
Automation
Scheduling Rule Grouping Args - Recurrence
Automation
Scheduling Rule Recurrence Args - Relative
Offset AutomationScheduling Rule Relative Offset Args
- title String
- The title / name of the scheduling rule
- business
Calendar String - description String
- An optional description for the scheduling rule
- fixed
Offset AutomationScheduling Rule Fixed Offset - grouping
Automation
Scheduling Rule Grouping - recurrence
Automation
Scheduling Rule Recurrence - relative
Offset AutomationScheduling Rule Relative Offset
- title string
- The title / name of the scheduling rule
- business
Calendar string - description string
- An optional description for the scheduling rule
- fixed
Offset AutomationScheduling Rule Fixed Offset - grouping
Automation
Scheduling Rule Grouping - recurrence
Automation
Scheduling Rule Recurrence - relative
Offset AutomationScheduling Rule Relative Offset
- title str
- The title / name of the scheduling rule
- business_
calendar str - description str
- An optional description for the scheduling rule
- fixed_
offset AutomationScheduling Rule Fixed Offset Args - grouping
Automation
Scheduling Rule Grouping Args - recurrence
Automation
Scheduling Rule Recurrence Args - relative_
offset AutomationScheduling Rule Relative Offset Args
- title String
- The title / name of the scheduling rule
- business
Calendar String - description String
- An optional description for the scheduling rule
- fixed
Offset Property Map - grouping Property Map
- recurrence Property Map
- relative
Offset 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 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)
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.
- Business
Calendar string - Description string
- An optional description for the scheduling rule
- Fixed
Offset Pulumiverse.Dynatrace. Inputs. Automation Scheduling Rule Fixed Offset - Grouping
Pulumiverse.
Dynatrace. Inputs. Automation Scheduling Rule Grouping - Recurrence
Pulumiverse.
Dynatrace. Inputs. Automation Scheduling Rule Recurrence - Relative
Offset Pulumiverse.Dynatrace. Inputs. Automation Scheduling Rule Relative Offset - Title string
- The title / name of the scheduling rule
- Business
Calendar string - Description string
- An optional description for the scheduling rule
- Fixed
Offset AutomationScheduling Rule Fixed Offset Args - Grouping
Automation
Scheduling Rule Grouping Args - Recurrence
Automation
Scheduling Rule Recurrence Args - Relative
Offset AutomationScheduling Rule Relative Offset Args - Title string
- The title / name of the scheduling rule
- business
Calendar String - description String
- An optional description for the scheduling rule
- fixed
Offset AutomationScheduling Rule Fixed Offset - grouping
Automation
Scheduling Rule Grouping - recurrence
Automation
Scheduling Rule Recurrence - relative
Offset AutomationScheduling Rule Relative Offset - title String
- The title / name of the scheduling rule
- business
Calendar string - description string
- An optional description for the scheduling rule
- fixed
Offset AutomationScheduling Rule Fixed Offset - grouping
Automation
Scheduling Rule Grouping - recurrence
Automation
Scheduling Rule Recurrence - relative
Offset AutomationScheduling Rule Relative Offset - title string
- The title / name of the scheduling rule
- business_
calendar str - description str
- An optional description for the scheduling rule
- fixed_
offset AutomationScheduling Rule Fixed Offset Args - grouping
Automation
Scheduling Rule Grouping Args - recurrence
Automation
Scheduling Rule Recurrence Args - relative_
offset AutomationScheduling Rule Relative Offset Args - title str
- The title / name of the scheduling rule
- business
Calendar String - description String
- An optional description for the scheduling rule
- fixed
Offset Property Map - grouping Property Map
- recurrence Property Map
- relative
Offset Property Map - title String
- The title / name of the scheduling rule
Supporting Types
AutomationSchedulingRuleFixedOffset, AutomationSchedulingRuleFixedOffsetArgs
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
andintersect
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
andintersect
- 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
andintersect
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
andintersect
- 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
andintersect
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
andintersect
- 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
andintersect
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
andintersect
- 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
andintersect
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
andintersect
- 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
andintersect
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
andintersect
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
andSECONDLY
. Example:frequency
=DAILY
andinterval
=2
schedules for every other day - Workdays string
- Possible values are
WORKING
(Work days),HOLIDAYS
(Holidays) andOFF
(Weekends + Holidays) - Days
In List<int>Months - 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 List<int>Years - 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
andinterval
=2
schedules for every other day - Months List<int>
- Restricts the recurrence to specific months.
1
forJanuary
,2
forFebruary
, ...,12
forDecember
- Weekdays List<string>
- Restricts the recurrence to specific week days. Possible values are
MO
,TU
,WE
,TH
,FR
,SA
andSU
- 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
andSECONDLY
. Example:frequency
=DAILY
andinterval
=2
schedules for every other day - Workdays string
- Possible values are
WORKING
(Work days),HOLIDAYS
(Holidays) andOFF
(Weekends + Holidays) - Days
In []intMonths - 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 []intYears - 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
andinterval
=2
schedules for every other day - Months []int
- Restricts the recurrence to specific months.
1
forJanuary
,2
forFebruary
, ...,12
forDecember
- Weekdays []string
- Restricts the recurrence to specific week days. Possible values are
MO
,TU
,WE
,TH
,FR
,SA
andSU
- 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
andSECONDLY
. Example:frequency
=DAILY
andinterval
=2
schedules for every other day - workdays String
- Possible values are
WORKING
(Work days),HOLIDAYS
(Holidays) andOFF
(Weekends + Holidays) - days
In List<Integer>Months - 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 List<Integer>Years - 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
andinterval
=2
schedules for every other day - months List<Integer>
- Restricts the recurrence to specific months.
1
forJanuary
,2
forFebruary
, ...,12
forDecember
- weekdays List<String>
- Restricts the recurrence to specific week days. Possible values are
MO
,TU
,WE
,TH
,FR
,SA
andSU
- 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
andSECONDLY
. Example:frequency
=DAILY
andinterval
=2
schedules for every other day - workdays string
- Possible values are
WORKING
(Work days),HOLIDAYS
(Holidays) andOFF
(Weekends + Holidays) - days
In number[]Months - 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 number[]Years - 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
andinterval
=2
schedules for every other day - months number[]
- Restricts the recurrence to specific months.
1
forJanuary
,2
forFebruary
, ...,12
forDecember
- weekdays string[]
- Restricts the recurrence to specific week days. Possible values are
MO
,TU
,WE
,TH
,FR
,SA
andSU
- 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
andSECONDLY
. Example:frequency
=DAILY
andinterval
=2
schedules for every other day - workdays str
- Possible values are
WORKING
(Work days),HOLIDAYS
(Holidays) andOFF
(Weekends + Holidays) - days_
in_ Sequence[int]months - 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_ Sequence[int]years - 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
andinterval
=2
schedules for every other day - months Sequence[int]
- Restricts the recurrence to specific months.
1
forJanuary
,2
forFebruary
, ...,12
forDecember
- weekdays Sequence[str]
- Restricts the recurrence to specific week days. Possible values are
MO
,TU
,WE
,TH
,FR
,SA
andSU
- 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
andSECONDLY
. Example:frequency
=DAILY
andinterval
=2
schedules for every other day - workdays String
- Possible values are
WORKING
(Work days),HOLIDAYS
(Holidays) andOFF
(Weekends + Holidays) - days
In List<Number>Months - 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 List<Number>Years - 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
andinterval
=2
schedules for every other day - months List<Number>
- Restricts the recurrence to specific months.
1
forJanuary
,2
forFebruary
, ...,12
forDecember
- weekdays List<String>
- Restricts the recurrence to specific week days. Possible values are
MO
,TU
,WE
,TH
,FR
,SA
andSU
- 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
- Source
Rule string - Target
Rule string
- Direction string
- Source
Rule string - Target
Rule string
- direction String
- source
Rule String - target
Rule String
- direction string
- source
Rule string - target
Rule string
- direction str
- source_
rule str - target_
rule str
- direction String
- source
Rule String - target
Rule String
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.