1. Packages
  2. Azure Native
  3. API Docs
  4. containerservice
  5. MaintenanceConfiguration
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

azure-native.containerservice.MaintenanceConfiguration

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

    See planned maintenance for more information about planned maintenance.

    Uses Azure REST API version 2024-10-01. In version 2.x of the Azure Native provider, it used API version 2023-04-01.

    Other available API versions: 2020-12-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-07-01, 2021-08-01, 2021-09-01, 2021-10-01, 2021-11-01-preview, 2022-01-01, 2022-01-02-preview, 2022-02-01, 2022-02-02-preview, 2022-03-01, 2022-03-02-preview, 2022-04-01, 2022-04-02-preview, 2022-05-02-preview, 2022-06-01, 2022-06-02-preview, 2022-07-01, 2022-07-02-preview, 2022-08-02-preview, 2022-08-03-preview, 2022-09-01, 2022-09-02-preview, 2022-10-02-preview, 2022-11-01, 2022-11-02-preview, 2023-01-01, 2023-01-02-preview, 2023-02-01, 2023-02-02-preview, 2023-03-01, 2023-03-02-preview, 2023-04-01, 2023-04-02-preview, 2023-05-01, 2023-05-02-preview, 2023-06-01, 2023-06-02-preview, 2023-07-01, 2023-07-02-preview, 2023-08-01, 2023-08-02-preview, 2023-09-01, 2023-09-02-preview, 2023-10-01, 2023-10-02-preview, 2023-11-01, 2023-11-02-preview, 2024-01-01, 2024-01-02-preview, 2024-02-01, 2024-02-02-preview, 2024-03-02-preview, 2024-04-02-preview, 2024-05-01, 2024-05-02-preview, 2024-06-02-preview, 2024-07-01, 2024-07-02-preview, 2024-08-01, 2024-09-01, 2024-09-02-preview, 2024-10-02-preview, 2025-01-01, 2025-01-02-preview, 2025-02-01, 2025-02-02-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native containerservice [ApiVersion]. See the version guide for details.

    Example Usage

    Create/Update Maintenance Configuration

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var maintenanceConfiguration = new AzureNative.ContainerService.MaintenanceConfiguration("maintenanceConfiguration", new()
        {
            ConfigName = "default",
            NotAllowedTime = new[]
            {
                new AzureNative.ContainerService.Inputs.TimeSpanArgs
                {
                    End = "2020-11-30T12:00:00Z",
                    Start = "2020-11-26T03:00:00Z",
                },
            },
            ResourceGroupName = "rg1",
            ResourceName = "clustername1",
            TimeInWeek = new[]
            {
                new AzureNative.ContainerService.Inputs.TimeInWeekArgs
                {
                    Day = AzureNative.ContainerService.WeekDay.Monday,
                    HourSlots = new[]
                    {
                        1,
                        2,
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := containerservice.NewMaintenanceConfiguration(ctx, "maintenanceConfiguration", &containerservice.MaintenanceConfigurationArgs{
    			ConfigName: pulumi.String("default"),
    			NotAllowedTime: containerservice.TimeSpanArray{
    				&containerservice.TimeSpanArgs{
    					End:   pulumi.String("2020-11-30T12:00:00Z"),
    					Start: pulumi.String("2020-11-26T03:00:00Z"),
    				},
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    			ResourceName:      pulumi.String("clustername1"),
    			TimeInWeek: containerservice.TimeInWeekArray{
    				&containerservice.TimeInWeekArgs{
    					Day: pulumi.String(containerservice.WeekDayMonday),
    					HourSlots: pulumi.IntArray{
    						pulumi.Int(1),
    						pulumi.Int(2),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.containerservice.MaintenanceConfiguration;
    import com.pulumi.azurenative.containerservice.MaintenanceConfigurationArgs;
    import com.pulumi.azurenative.containerservice.inputs.TimeSpanArgs;
    import com.pulumi.azurenative.containerservice.inputs.TimeInWeekArgs;
    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 maintenanceConfiguration = new MaintenanceConfiguration("maintenanceConfiguration", MaintenanceConfigurationArgs.builder()
                .configName("default")
                .notAllowedTime(TimeSpanArgs.builder()
                    .end("2020-11-30T12:00:00Z")
                    .start("2020-11-26T03:00:00Z")
                    .build())
                .resourceGroupName("rg1")
                .resourceName("clustername1")
                .timeInWeek(TimeInWeekArgs.builder()
                    .day("Monday")
                    .hourSlots(                
                        1,
                        2)
                    .build())
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const maintenanceConfiguration = new azure_native.containerservice.MaintenanceConfiguration("maintenanceConfiguration", {
        configName: "default",
        notAllowedTime: [{
            end: "2020-11-30T12:00:00Z",
            start: "2020-11-26T03:00:00Z",
        }],
        resourceGroupName: "rg1",
        resourceName: "clustername1",
        timeInWeek: [{
            day: azure_native.containerservice.WeekDay.Monday,
            hourSlots: [
                1,
                2,
            ],
        }],
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    maintenance_configuration = azure_native.containerservice.MaintenanceConfiguration("maintenanceConfiguration",
        config_name="default",
        not_allowed_time=[{
            "end": "2020-11-30T12:00:00Z",
            "start": "2020-11-26T03:00:00Z",
        }],
        resource_group_name="rg1",
        resource_name_="clustername1",
        time_in_week=[{
            "day": azure_native.containerservice.WeekDay.MONDAY,
            "hour_slots": [
                1,
                2,
            ],
        }])
    
    resources:
      maintenanceConfiguration:
        type: azure-native:containerservice:MaintenanceConfiguration
        properties:
          configName: default
          notAllowedTime:
            - end: 2020-11-30T12:00:00Z
              start: 2020-11-26T03:00:00Z
          resourceGroupName: rg1
          resourceName: clustername1
          timeInWeek:
            - day: Monday
              hourSlots:
                - 1
                - 2
    

    Create/Update Maintenance Configuration with Maintenance Window

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var maintenanceConfiguration = new AzureNative.ContainerService.MaintenanceConfiguration("maintenanceConfiguration", new()
        {
            ConfigName = "aksManagedAutoUpgradeSchedule",
            MaintenanceWindow = new AzureNative.ContainerService.Inputs.MaintenanceWindowArgs
            {
                DurationHours = 10,
                NotAllowedDates = new[]
                {
                    new AzureNative.ContainerService.Inputs.DateSpanArgs
                    {
                        End = "2023-02-25",
                        Start = "2023-02-18",
                    },
                    new AzureNative.ContainerService.Inputs.DateSpanArgs
                    {
                        End = "2024-01-05",
                        Start = "2023-12-23",
                    },
                },
                Schedule = new AzureNative.ContainerService.Inputs.ScheduleArgs
                {
                    RelativeMonthly = new AzureNative.ContainerService.Inputs.RelativeMonthlyScheduleArgs
                    {
                        DayOfWeek = AzureNative.ContainerService.WeekDay.Monday,
                        IntervalMonths = 3,
                        WeekIndex = AzureNative.ContainerService.Type.First,
                    },
                },
                StartDate = "2023-01-01",
                StartTime = "08:30",
                UtcOffset = "+05:30",
            },
            ResourceGroupName = "rg1",
            ResourceName = "clustername1",
        });
    
    });
    
    package main
    
    import (
    	containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := containerservice.NewMaintenanceConfiguration(ctx, "maintenanceConfiguration", &containerservice.MaintenanceConfigurationArgs{
    			ConfigName: pulumi.String("aksManagedAutoUpgradeSchedule"),
    			MaintenanceWindow: &containerservice.MaintenanceWindowArgs{
    				DurationHours: pulumi.Int(10),
    				NotAllowedDates: containerservice.DateSpanArray{
    					&containerservice.DateSpanArgs{
    						End:   pulumi.String("2023-02-25"),
    						Start: pulumi.String("2023-02-18"),
    					},
    					&containerservice.DateSpanArgs{
    						End:   pulumi.String("2024-01-05"),
    						Start: pulumi.String("2023-12-23"),
    					},
    				},
    				Schedule: &containerservice.ScheduleArgs{
    					RelativeMonthly: &containerservice.RelativeMonthlyScheduleArgs{
    						DayOfWeek:      pulumi.String(containerservice.WeekDayMonday),
    						IntervalMonths: pulumi.Int(3),
    						WeekIndex:      pulumi.String(containerservice.TypeFirst),
    					},
    				},
    				StartDate: pulumi.String("2023-01-01"),
    				StartTime: pulumi.String("08:30"),
    				UtcOffset: pulumi.String("+05:30"),
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    			ResourceName:      pulumi.String("clustername1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.containerservice.MaintenanceConfiguration;
    import com.pulumi.azurenative.containerservice.MaintenanceConfigurationArgs;
    import com.pulumi.azurenative.containerservice.inputs.MaintenanceWindowArgs;
    import com.pulumi.azurenative.containerservice.inputs.ScheduleArgs;
    import com.pulumi.azurenative.containerservice.inputs.RelativeMonthlyScheduleArgs;
    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 maintenanceConfiguration = new MaintenanceConfiguration("maintenanceConfiguration", MaintenanceConfigurationArgs.builder()
                .configName("aksManagedAutoUpgradeSchedule")
                .maintenanceWindow(MaintenanceWindowArgs.builder()
                    .durationHours(10)
                    .notAllowedDates(                
                        DateSpanArgs.builder()
                            .end("2023-02-25")
                            .start("2023-02-18")
                            .build(),
                        DateSpanArgs.builder()
                            .end("2024-01-05")
                            .start("2023-12-23")
                            .build())
                    .schedule(ScheduleArgs.builder()
                        .relativeMonthly(RelativeMonthlyScheduleArgs.builder()
                            .dayOfWeek("Monday")
                            .intervalMonths(3)
                            .weekIndex("First")
                            .build())
                        .build())
                    .startDate("2023-01-01")
                    .startTime("08:30")
                    .utcOffset("+05:30")
                    .build())
                .resourceGroupName("rg1")
                .resourceName("clustername1")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const maintenanceConfiguration = new azure_native.containerservice.MaintenanceConfiguration("maintenanceConfiguration", {
        configName: "aksManagedAutoUpgradeSchedule",
        maintenanceWindow: {
            durationHours: 10,
            notAllowedDates: [
                {
                    end: "2023-02-25",
                    start: "2023-02-18",
                },
                {
                    end: "2024-01-05",
                    start: "2023-12-23",
                },
            ],
            schedule: {
                relativeMonthly: {
                    dayOfWeek: azure_native.containerservice.WeekDay.Monday,
                    intervalMonths: 3,
                    weekIndex: azure_native.containerservice.Type.First,
                },
            },
            startDate: "2023-01-01",
            startTime: "08:30",
            utcOffset: "+05:30",
        },
        resourceGroupName: "rg1",
        resourceName: "clustername1",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    maintenance_configuration = azure_native.containerservice.MaintenanceConfiguration("maintenanceConfiguration",
        config_name="aksManagedAutoUpgradeSchedule",
        maintenance_window={
            "duration_hours": 10,
            "not_allowed_dates": [
                {
                    "end": "2023-02-25",
                    "start": "2023-02-18",
                },
                {
                    "end": "2024-01-05",
                    "start": "2023-12-23",
                },
            ],
            "schedule": {
                "relative_monthly": {
                    "day_of_week": azure_native.containerservice.WeekDay.MONDAY,
                    "interval_months": 3,
                    "week_index": azure_native.containerservice.Type.FIRST,
                },
            },
            "start_date": "2023-01-01",
            "start_time": "08:30",
            "utc_offset": "+05:30",
        },
        resource_group_name="rg1",
        resource_name_="clustername1")
    
    resources:
      maintenanceConfiguration:
        type: azure-native:containerservice:MaintenanceConfiguration
        properties:
          configName: aksManagedAutoUpgradeSchedule
          maintenanceWindow:
            durationHours: 10
            notAllowedDates:
              - end: 2023-02-25
                start: 2023-02-18
              - end: 2024-01-05
                start: 2023-12-23
            schedule:
              relativeMonthly:
                dayOfWeek: Monday
                intervalMonths: 3
                weekIndex: First
            startDate: 2023-01-01
            startTime: 08:30
            utcOffset: +05:30
          resourceGroupName: rg1
          resourceName: clustername1
    

    Create MaintenanceConfiguration Resource

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

    Constructor syntax

    new MaintenanceConfiguration(name: string, args: MaintenanceConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def MaintenanceConfiguration(resource_name: str,
                                 args: MaintenanceConfigurationArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def MaintenanceConfiguration(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 resource_group_name: Optional[str] = None,
                                 resource_name_: Optional[str] = None,
                                 config_name: Optional[str] = None,
                                 maintenance_window: Optional[MaintenanceWindowArgs] = None,
                                 not_allowed_time: Optional[Sequence[TimeSpanArgs]] = None,
                                 time_in_week: Optional[Sequence[TimeInWeekArgs]] = None)
    func NewMaintenanceConfiguration(ctx *Context, name string, args MaintenanceConfigurationArgs, opts ...ResourceOption) (*MaintenanceConfiguration, error)
    public MaintenanceConfiguration(string name, MaintenanceConfigurationArgs args, CustomResourceOptions? opts = null)
    public MaintenanceConfiguration(String name, MaintenanceConfigurationArgs args)
    public MaintenanceConfiguration(String name, MaintenanceConfigurationArgs args, CustomResourceOptions options)
    
    type: azure-native:containerservice:MaintenanceConfiguration
    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 MaintenanceConfigurationArgs
    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 MaintenanceConfigurationArgs
    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 MaintenanceConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MaintenanceConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MaintenanceConfigurationArgs
    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 azure_nativeMaintenanceConfigurationResource = new AzureNative.ContainerService.MaintenanceConfiguration("azure-nativeMaintenanceConfigurationResource", new()
    {
        ResourceGroupName = "string",
        ResourceName = "string",
        ConfigName = "string",
        MaintenanceWindow = new AzureNative.ContainerService.Inputs.MaintenanceWindowArgs
        {
            DurationHours = 0,
            Schedule = new AzureNative.ContainerService.Inputs.ScheduleArgs
            {
                AbsoluteMonthly = new AzureNative.ContainerService.Inputs.AbsoluteMonthlyScheduleArgs
                {
                    DayOfMonth = 0,
                    IntervalMonths = 0,
                },
                Daily = new AzureNative.ContainerService.Inputs.DailyScheduleArgs
                {
                    IntervalDays = 0,
                },
                RelativeMonthly = new AzureNative.ContainerService.Inputs.RelativeMonthlyScheduleArgs
                {
                    DayOfWeek = "string",
                    IntervalMonths = 0,
                    WeekIndex = "string",
                },
                Weekly = new AzureNative.ContainerService.Inputs.WeeklyScheduleArgs
                {
                    DayOfWeek = "string",
                    IntervalWeeks = 0,
                },
            },
            StartTime = "string",
            NotAllowedDates = new[]
            {
                new AzureNative.ContainerService.Inputs.DateSpanArgs
                {
                    End = "string",
                    Start = "string",
                },
            },
            StartDate = "string",
            UtcOffset = "string",
        },
        NotAllowedTime = new[]
        {
            new AzureNative.ContainerService.Inputs.TimeSpanArgs
            {
                End = "string",
                Start = "string",
            },
        },
        TimeInWeek = new[]
        {
            new AzureNative.ContainerService.Inputs.TimeInWeekArgs
            {
                Day = "string",
                HourSlots = new[]
                {
                    0,
                },
            },
        },
    });
    
    example, err := containerservice.NewMaintenanceConfiguration(ctx, "azure-nativeMaintenanceConfigurationResource", &containerservice.MaintenanceConfigurationArgs{
    	ResourceGroupName: pulumi.String("string"),
    	ResourceName:      pulumi.String("string"),
    	ConfigName:        pulumi.String("string"),
    	MaintenanceWindow: &containerservice.MaintenanceWindowArgs{
    		DurationHours: pulumi.Int(0),
    		Schedule: &containerservice.ScheduleArgs{
    			AbsoluteMonthly: &containerservice.AbsoluteMonthlyScheduleArgs{
    				DayOfMonth:     pulumi.Int(0),
    				IntervalMonths: pulumi.Int(0),
    			},
    			Daily: &containerservice.DailyScheduleArgs{
    				IntervalDays: pulumi.Int(0),
    			},
    			RelativeMonthly: &containerservice.RelativeMonthlyScheduleArgs{
    				DayOfWeek:      pulumi.String("string"),
    				IntervalMonths: pulumi.Int(0),
    				WeekIndex:      pulumi.String("string"),
    			},
    			Weekly: &containerservice.WeeklyScheduleArgs{
    				DayOfWeek:     pulumi.String("string"),
    				IntervalWeeks: pulumi.Int(0),
    			},
    		},
    		StartTime: pulumi.String("string"),
    		NotAllowedDates: containerservice.DateSpanArray{
    			&containerservice.DateSpanArgs{
    				End:   pulumi.String("string"),
    				Start: pulumi.String("string"),
    			},
    		},
    		StartDate: pulumi.String("string"),
    		UtcOffset: pulumi.String("string"),
    	},
    	NotAllowedTime: containerservice.TimeSpanArray{
    		&containerservice.TimeSpanArgs{
    			End:   pulumi.String("string"),
    			Start: pulumi.String("string"),
    		},
    	},
    	TimeInWeek: containerservice.TimeInWeekArray{
    		&containerservice.TimeInWeekArgs{
    			Day: pulumi.String("string"),
    			HourSlots: pulumi.IntArray{
    				pulumi.Int(0),
    			},
    		},
    	},
    })
    
    var azure_nativeMaintenanceConfigurationResource = new com.pulumi.azurenative.containerservice.MaintenanceConfiguration("azure-nativeMaintenanceConfigurationResource", com.pulumi.azurenative.containerservice.MaintenanceConfigurationArgs.builder()
        .resourceGroupName("string")
        .resourceName("string")
        .configName("string")
        .maintenanceWindow(MaintenanceWindowArgs.builder()
            .durationHours(0)
            .schedule(ScheduleArgs.builder()
                .absoluteMonthly(AbsoluteMonthlyScheduleArgs.builder()
                    .dayOfMonth(0)
                    .intervalMonths(0)
                    .build())
                .daily(DailyScheduleArgs.builder()
                    .intervalDays(0)
                    .build())
                .relativeMonthly(RelativeMonthlyScheduleArgs.builder()
                    .dayOfWeek("string")
                    .intervalMonths(0)
                    .weekIndex("string")
                    .build())
                .weekly(WeeklyScheduleArgs.builder()
                    .dayOfWeek("string")
                    .intervalWeeks(0)
                    .build())
                .build())
            .startTime("string")
            .notAllowedDates(DateSpanArgs.builder()
                .end("string")
                .start("string")
                .build())
            .startDate("string")
            .utcOffset("string")
            .build())
        .notAllowedTime(TimeSpanArgs.builder()
            .end("string")
            .start("string")
            .build())
        .timeInWeek(TimeInWeekArgs.builder()
            .day("string")
            .hourSlots(0)
            .build())
        .build());
    
    azure_native_maintenance_configuration_resource = azure_native.containerservice.MaintenanceConfiguration("azure-nativeMaintenanceConfigurationResource",
        resource_group_name="string",
        resource_name_="string",
        config_name="string",
        maintenance_window={
            "duration_hours": 0,
            "schedule": {
                "absolute_monthly": {
                    "day_of_month": 0,
                    "interval_months": 0,
                },
                "daily": {
                    "interval_days": 0,
                },
                "relative_monthly": {
                    "day_of_week": "string",
                    "interval_months": 0,
                    "week_index": "string",
                },
                "weekly": {
                    "day_of_week": "string",
                    "interval_weeks": 0,
                },
            },
            "start_time": "string",
            "not_allowed_dates": [{
                "end": "string",
                "start": "string",
            }],
            "start_date": "string",
            "utc_offset": "string",
        },
        not_allowed_time=[{
            "end": "string",
            "start": "string",
        }],
        time_in_week=[{
            "day": "string",
            "hour_slots": [0],
        }])
    
    const azure_nativeMaintenanceConfigurationResource = new azure_native.containerservice.MaintenanceConfiguration("azure-nativeMaintenanceConfigurationResource", {
        resourceGroupName: "string",
        resourceName: "string",
        configName: "string",
        maintenanceWindow: {
            durationHours: 0,
            schedule: {
                absoluteMonthly: {
                    dayOfMonth: 0,
                    intervalMonths: 0,
                },
                daily: {
                    intervalDays: 0,
                },
                relativeMonthly: {
                    dayOfWeek: "string",
                    intervalMonths: 0,
                    weekIndex: "string",
                },
                weekly: {
                    dayOfWeek: "string",
                    intervalWeeks: 0,
                },
            },
            startTime: "string",
            notAllowedDates: [{
                end: "string",
                start: "string",
            }],
            startDate: "string",
            utcOffset: "string",
        },
        notAllowedTime: [{
            end: "string",
            start: "string",
        }],
        timeInWeek: [{
            day: "string",
            hourSlots: [0],
        }],
    });
    
    type: azure-native:containerservice:MaintenanceConfiguration
    properties:
        configName: string
        maintenanceWindow:
            durationHours: 0
            notAllowedDates:
                - end: string
                  start: string
            schedule:
                absoluteMonthly:
                    dayOfMonth: 0
                    intervalMonths: 0
                daily:
                    intervalDays: 0
                relativeMonthly:
                    dayOfWeek: string
                    intervalMonths: 0
                    weekIndex: string
                weekly:
                    dayOfWeek: string
                    intervalWeeks: 0
            startDate: string
            startTime: string
            utcOffset: string
        notAllowedTime:
            - end: string
              start: string
        resourceGroupName: string
        resourceName: string
        timeInWeek:
            - day: string
              hourSlots:
                - 0
    

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

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ResourceName string
    The name of the managed cluster resource.
    ConfigName string
    The name of the maintenance configuration.
    MaintenanceWindow Pulumi.AzureNative.ContainerService.Inputs.MaintenanceWindow
    Maintenance window for the maintenance configuration.
    NotAllowedTime List<Pulumi.AzureNative.ContainerService.Inputs.TimeSpan>
    Time slots on which upgrade is not allowed.
    TimeInWeek List<Pulumi.AzureNative.ContainerService.Inputs.TimeInWeek>
    If two array entries specify the same day of the week, the applied configuration is the union of times in both entries.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ResourceName string
    The name of the managed cluster resource.
    ConfigName string
    The name of the maintenance configuration.
    MaintenanceWindow MaintenanceWindowArgs
    Maintenance window for the maintenance configuration.
    NotAllowedTime []TimeSpanArgs
    Time slots on which upgrade is not allowed.
    TimeInWeek []TimeInWeekArgs
    If two array entries specify the same day of the week, the applied configuration is the union of times in both entries.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    resourceName String
    The name of the managed cluster resource.
    configName String
    The name of the maintenance configuration.
    maintenanceWindow MaintenanceWindow
    Maintenance window for the maintenance configuration.
    notAllowedTime List<TimeSpan>
    Time slots on which upgrade is not allowed.
    timeInWeek List<TimeInWeek>
    If two array entries specify the same day of the week, the applied configuration is the union of times in both entries.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    resourceName string
    The name of the managed cluster resource.
    configName string
    The name of the maintenance configuration.
    maintenanceWindow MaintenanceWindow
    Maintenance window for the maintenance configuration.
    notAllowedTime TimeSpan[]
    Time slots on which upgrade is not allowed.
    timeInWeek TimeInWeek[]
    If two array entries specify the same day of the week, the applied configuration is the union of times in both entries.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    resource_name str
    The name of the managed cluster resource.
    config_name str
    The name of the maintenance configuration.
    maintenance_window MaintenanceWindowArgs
    Maintenance window for the maintenance configuration.
    not_allowed_time Sequence[TimeSpanArgs]
    Time slots on which upgrade is not allowed.
    time_in_week Sequence[TimeInWeekArgs]
    If two array entries specify the same day of the week, the applied configuration is the union of times in both entries.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    resourceName String
    The name of the managed cluster resource.
    configName String
    The name of the maintenance configuration.
    maintenanceWindow Property Map
    Maintenance window for the maintenance configuration.
    notAllowedTime List<Property Map>
    Time slots on which upgrade is not allowed.
    timeInWeek List<Property Map>
    If two array entries specify the same day of the week, the applied configuration is the union of times in both entries.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MaintenanceConfiguration resource produces the following output properties:

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    SystemData Pulumi.AzureNative.ContainerService.Outputs.SystemDataResponse
    The system metadata relating to this resource.
    Type string
    Resource type
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    SystemData SystemDataResponse
    The system metadata relating to this resource.
    Type string
    Resource type
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    systemData SystemDataResponse
    The system metadata relating to this resource.
    type String
    Resource type
    azureApiVersion string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    systemData SystemDataResponse
    The system metadata relating to this resource.
    type string
    Resource type
    azure_api_version str
    The Azure API version of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    system_data SystemDataResponse
    The system metadata relating to this resource.
    type str
    Resource type
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    systemData Property Map
    The system metadata relating to this resource.
    type String
    Resource type

    Supporting Types

    AbsoluteMonthlySchedule, AbsoluteMonthlyScheduleArgs

    DayOfMonth int
    The date of the month.
    IntervalMonths int
    Specifies the number of months between each set of occurrences.
    DayOfMonth int
    The date of the month.
    IntervalMonths int
    Specifies the number of months between each set of occurrences.
    dayOfMonth Integer
    The date of the month.
    intervalMonths Integer
    Specifies the number of months between each set of occurrences.
    dayOfMonth number
    The date of the month.
    intervalMonths number
    Specifies the number of months between each set of occurrences.
    day_of_month int
    The date of the month.
    interval_months int
    Specifies the number of months between each set of occurrences.
    dayOfMonth Number
    The date of the month.
    intervalMonths Number
    Specifies the number of months between each set of occurrences.

    AbsoluteMonthlyScheduleResponse, AbsoluteMonthlyScheduleResponseArgs

    DayOfMonth int
    The date of the month.
    IntervalMonths int
    Specifies the number of months between each set of occurrences.
    DayOfMonth int
    The date of the month.
    IntervalMonths int
    Specifies the number of months between each set of occurrences.
    dayOfMonth Integer
    The date of the month.
    intervalMonths Integer
    Specifies the number of months between each set of occurrences.
    dayOfMonth number
    The date of the month.
    intervalMonths number
    Specifies the number of months between each set of occurrences.
    day_of_month int
    The date of the month.
    interval_months int
    Specifies the number of months between each set of occurrences.
    dayOfMonth Number
    The date of the month.
    intervalMonths Number
    Specifies the number of months between each set of occurrences.

    DailySchedule, DailyScheduleArgs

    IntervalDays int
    Specifies the number of days between each set of occurrences.
    IntervalDays int
    Specifies the number of days between each set of occurrences.
    intervalDays Integer
    Specifies the number of days between each set of occurrences.
    intervalDays number
    Specifies the number of days between each set of occurrences.
    interval_days int
    Specifies the number of days between each set of occurrences.
    intervalDays Number
    Specifies the number of days between each set of occurrences.

    DailyScheduleResponse, DailyScheduleResponseArgs

    IntervalDays int
    Specifies the number of days between each set of occurrences.
    IntervalDays int
    Specifies the number of days between each set of occurrences.
    intervalDays Integer
    Specifies the number of days between each set of occurrences.
    intervalDays number
    Specifies the number of days between each set of occurrences.
    interval_days int
    Specifies the number of days between each set of occurrences.
    intervalDays Number
    Specifies the number of days between each set of occurrences.

    DateSpan, DateSpanArgs

    End string
    The end date of the date span.
    Start string
    The start date of the date span.
    End string
    The end date of the date span.
    Start string
    The start date of the date span.
    end String
    The end date of the date span.
    start String
    The start date of the date span.
    end string
    The end date of the date span.
    start string
    The start date of the date span.
    end str
    The end date of the date span.
    start str
    The start date of the date span.
    end String
    The end date of the date span.
    start String
    The start date of the date span.

    DateSpanResponse, DateSpanResponseArgs

    End string
    The end date of the date span.
    Start string
    The start date of the date span.
    End string
    The end date of the date span.
    Start string
    The start date of the date span.
    end String
    The end date of the date span.
    start String
    The start date of the date span.
    end string
    The end date of the date span.
    start string
    The start date of the date span.
    end str
    The end date of the date span.
    start str
    The start date of the date span.
    end String
    The end date of the date span.
    start String
    The start date of the date span.

    MaintenanceWindow, MaintenanceWindowArgs

    DurationHours int
    Length of maintenance window range from 4 to 24 hours.
    Schedule Pulumi.AzureNative.ContainerService.Inputs.Schedule
    Recurrence schedule for the maintenance window.
    StartTime string
    The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'.
    NotAllowedDates List<Pulumi.AzureNative.ContainerService.Inputs.DateSpan>
    Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time.
    StartDate string
    The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away.
    UtcOffset string
    The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'.
    DurationHours int
    Length of maintenance window range from 4 to 24 hours.
    Schedule Schedule
    Recurrence schedule for the maintenance window.
    StartTime string
    The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'.
    NotAllowedDates []DateSpan
    Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time.
    StartDate string
    The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away.
    UtcOffset string
    The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'.
    durationHours Integer
    Length of maintenance window range from 4 to 24 hours.
    schedule Schedule
    Recurrence schedule for the maintenance window.
    startTime String
    The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'.
    notAllowedDates List<DateSpan>
    Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time.
    startDate String
    The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away.
    utcOffset String
    The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'.
    durationHours number
    Length of maintenance window range from 4 to 24 hours.
    schedule Schedule
    Recurrence schedule for the maintenance window.
    startTime string
    The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'.
    notAllowedDates DateSpan[]
    Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time.
    startDate string
    The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away.
    utcOffset string
    The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'.
    duration_hours int
    Length of maintenance window range from 4 to 24 hours.
    schedule Schedule
    Recurrence schedule for the maintenance window.
    start_time str
    The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'.
    not_allowed_dates Sequence[DateSpan]
    Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time.
    start_date str
    The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away.
    utc_offset str
    The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'.
    durationHours Number
    Length of maintenance window range from 4 to 24 hours.
    schedule Property Map
    Recurrence schedule for the maintenance window.
    startTime String
    The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'.
    notAllowedDates List<Property Map>
    Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time.
    startDate String
    The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away.
    utcOffset String
    The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'.

    MaintenanceWindowResponse, MaintenanceWindowResponseArgs

    DurationHours int
    Length of maintenance window range from 4 to 24 hours.
    Schedule Pulumi.AzureNative.ContainerService.Inputs.ScheduleResponse
    Recurrence schedule for the maintenance window.
    StartTime string
    The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'.
    NotAllowedDates List<Pulumi.AzureNative.ContainerService.Inputs.DateSpanResponse>
    Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time.
    StartDate string
    The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away.
    UtcOffset string
    The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'.
    DurationHours int
    Length of maintenance window range from 4 to 24 hours.
    Schedule ScheduleResponse
    Recurrence schedule for the maintenance window.
    StartTime string
    The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'.
    NotAllowedDates []DateSpanResponse
    Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time.
    StartDate string
    The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away.
    UtcOffset string
    The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'.
    durationHours Integer
    Length of maintenance window range from 4 to 24 hours.
    schedule ScheduleResponse
    Recurrence schedule for the maintenance window.
    startTime String
    The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'.
    notAllowedDates List<DateSpanResponse>
    Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time.
    startDate String
    The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away.
    utcOffset String
    The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'.
    durationHours number
    Length of maintenance window range from 4 to 24 hours.
    schedule ScheduleResponse
    Recurrence schedule for the maintenance window.
    startTime string
    The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'.
    notAllowedDates DateSpanResponse[]
    Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time.
    startDate string
    The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away.
    utcOffset string
    The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'.
    duration_hours int
    Length of maintenance window range from 4 to 24 hours.
    schedule ScheduleResponse
    Recurrence schedule for the maintenance window.
    start_time str
    The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'.
    not_allowed_dates Sequence[DateSpanResponse]
    Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time.
    start_date str
    The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away.
    utc_offset str
    The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'.
    durationHours Number
    Length of maintenance window range from 4 to 24 hours.
    schedule Property Map
    Recurrence schedule for the maintenance window.
    startTime String
    The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'.
    notAllowedDates List<Property Map>
    Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time.
    startDate String
    The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away.
    utcOffset String
    The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'.

    RelativeMonthlySchedule, RelativeMonthlyScheduleArgs

    DayOfWeek string | Pulumi.AzureNative.ContainerService.WeekDay
    Specifies on which day of the week the maintenance occurs.
    IntervalMonths int
    Specifies the number of months between each set of occurrences.
    WeekIndex string | Pulumi.AzureNative.ContainerService.Type
    Specifies on which week of the month the dayOfWeek applies.
    DayOfWeek string | WeekDay
    Specifies on which day of the week the maintenance occurs.
    IntervalMonths int
    Specifies the number of months between each set of occurrences.
    WeekIndex string | Type
    Specifies on which week of the month the dayOfWeek applies.
    dayOfWeek String | WeekDay
    Specifies on which day of the week the maintenance occurs.
    intervalMonths Integer
    Specifies the number of months between each set of occurrences.
    weekIndex String | Type
    Specifies on which week of the month the dayOfWeek applies.
    dayOfWeek string | WeekDay
    Specifies on which day of the week the maintenance occurs.
    intervalMonths number
    Specifies the number of months between each set of occurrences.
    weekIndex string | Type
    Specifies on which week of the month the dayOfWeek applies.
    day_of_week str | WeekDay
    Specifies on which day of the week the maintenance occurs.
    interval_months int
    Specifies the number of months between each set of occurrences.
    week_index str | Type
    Specifies on which week of the month the dayOfWeek applies.
    dayOfWeek String | "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"
    Specifies on which day of the week the maintenance occurs.
    intervalMonths Number
    Specifies the number of months between each set of occurrences.
    weekIndex String | "First" | "Second" | "Third" | "Fourth" | "Last"
    Specifies on which week of the month the dayOfWeek applies.

    RelativeMonthlyScheduleResponse, RelativeMonthlyScheduleResponseArgs

    DayOfWeek string
    Specifies on which day of the week the maintenance occurs.
    IntervalMonths int
    Specifies the number of months between each set of occurrences.
    WeekIndex string
    Specifies on which week of the month the dayOfWeek applies.
    DayOfWeek string
    Specifies on which day of the week the maintenance occurs.
    IntervalMonths int
    Specifies the number of months between each set of occurrences.
    WeekIndex string
    Specifies on which week of the month the dayOfWeek applies.
    dayOfWeek String
    Specifies on which day of the week the maintenance occurs.
    intervalMonths Integer
    Specifies the number of months between each set of occurrences.
    weekIndex String
    Specifies on which week of the month the dayOfWeek applies.
    dayOfWeek string
    Specifies on which day of the week the maintenance occurs.
    intervalMonths number
    Specifies the number of months between each set of occurrences.
    weekIndex string
    Specifies on which week of the month the dayOfWeek applies.
    day_of_week str
    Specifies on which day of the week the maintenance occurs.
    interval_months int
    Specifies the number of months between each set of occurrences.
    week_index str
    Specifies on which week of the month the dayOfWeek applies.
    dayOfWeek String
    Specifies on which day of the week the maintenance occurs.
    intervalMonths Number
    Specifies the number of months between each set of occurrences.
    weekIndex String
    Specifies on which week of the month the dayOfWeek applies.

    Schedule, ScheduleArgs

    AbsoluteMonthly Pulumi.AzureNative.ContainerService.Inputs.AbsoluteMonthlySchedule
    For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'.
    Daily Pulumi.AzureNative.ContainerService.Inputs.DailySchedule
    For schedules like: 'recur every day' or 'recur every 3 days'.
    RelativeMonthly Pulumi.AzureNative.ContainerService.Inputs.RelativeMonthlySchedule
    For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'.
    Weekly Pulumi.AzureNative.ContainerService.Inputs.WeeklySchedule
    For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'.
    AbsoluteMonthly AbsoluteMonthlySchedule
    For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'.
    Daily DailySchedule
    For schedules like: 'recur every day' or 'recur every 3 days'.
    RelativeMonthly RelativeMonthlySchedule
    For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'.
    Weekly WeeklySchedule
    For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'.
    absoluteMonthly AbsoluteMonthlySchedule
    For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'.
    daily DailySchedule
    For schedules like: 'recur every day' or 'recur every 3 days'.
    relativeMonthly RelativeMonthlySchedule
    For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'.
    weekly WeeklySchedule
    For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'.
    absoluteMonthly AbsoluteMonthlySchedule
    For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'.
    daily DailySchedule
    For schedules like: 'recur every day' or 'recur every 3 days'.
    relativeMonthly RelativeMonthlySchedule
    For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'.
    weekly WeeklySchedule
    For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'.
    absolute_monthly AbsoluteMonthlySchedule
    For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'.
    daily DailySchedule
    For schedules like: 'recur every day' or 'recur every 3 days'.
    relative_monthly RelativeMonthlySchedule
    For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'.
    weekly WeeklySchedule
    For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'.
    absoluteMonthly Property Map
    For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'.
    daily Property Map
    For schedules like: 'recur every day' or 'recur every 3 days'.
    relativeMonthly Property Map
    For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'.
    weekly Property Map
    For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'.

    ScheduleResponse, ScheduleResponseArgs

    AbsoluteMonthly Pulumi.AzureNative.ContainerService.Inputs.AbsoluteMonthlyScheduleResponse
    For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'.
    Daily Pulumi.AzureNative.ContainerService.Inputs.DailyScheduleResponse
    For schedules like: 'recur every day' or 'recur every 3 days'.
    RelativeMonthly Pulumi.AzureNative.ContainerService.Inputs.RelativeMonthlyScheduleResponse
    For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'.
    Weekly Pulumi.AzureNative.ContainerService.Inputs.WeeklyScheduleResponse
    For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'.
    AbsoluteMonthly AbsoluteMonthlyScheduleResponse
    For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'.
    Daily DailyScheduleResponse
    For schedules like: 'recur every day' or 'recur every 3 days'.
    RelativeMonthly RelativeMonthlyScheduleResponse
    For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'.
    Weekly WeeklyScheduleResponse
    For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'.
    absoluteMonthly AbsoluteMonthlyScheduleResponse
    For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'.
    daily DailyScheduleResponse
    For schedules like: 'recur every day' or 'recur every 3 days'.
    relativeMonthly RelativeMonthlyScheduleResponse
    For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'.
    weekly WeeklyScheduleResponse
    For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'.
    absoluteMonthly AbsoluteMonthlyScheduleResponse
    For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'.
    daily DailyScheduleResponse
    For schedules like: 'recur every day' or 'recur every 3 days'.
    relativeMonthly RelativeMonthlyScheduleResponse
    For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'.
    weekly WeeklyScheduleResponse
    For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'.
    absolute_monthly AbsoluteMonthlyScheduleResponse
    For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'.
    daily DailyScheduleResponse
    For schedules like: 'recur every day' or 'recur every 3 days'.
    relative_monthly RelativeMonthlyScheduleResponse
    For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'.
    weekly WeeklyScheduleResponse
    For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'.
    absoluteMonthly Property Map
    For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'.
    daily Property Map
    For schedules like: 'recur every day' or 'recur every 3 days'.
    relativeMonthly Property Map
    For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'.
    weekly Property Map
    For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    TimeInWeek, TimeInWeekArgs

    Day string | Pulumi.AzureNative.ContainerService.WeekDay
    The day of the week.
    HourSlots List<int>
    Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.
    Day string | WeekDay
    The day of the week.
    HourSlots []int
    Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.
    day String | WeekDay
    The day of the week.
    hourSlots List<Integer>
    Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.
    day string | WeekDay
    The day of the week.
    hourSlots number[]
    Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.
    day str | WeekDay
    The day of the week.
    hour_slots Sequence[int]
    Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.
    day String | "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"
    The day of the week.
    hourSlots List<Number>
    Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.

    TimeInWeekResponse, TimeInWeekResponseArgs

    Day string
    The day of the week.
    HourSlots List<int>
    Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.
    Day string
    The day of the week.
    HourSlots []int
    Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.
    day String
    The day of the week.
    hourSlots List<Integer>
    Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.
    day string
    The day of the week.
    hourSlots number[]
    Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.
    day str
    The day of the week.
    hour_slots Sequence[int]
    Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.
    day String
    The day of the week.
    hourSlots List<Number>
    Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.

    TimeSpan, TimeSpanArgs

    End string
    The end of a time span
    Start string
    The start of a time span
    End string
    The end of a time span
    Start string
    The start of a time span
    end String
    The end of a time span
    start String
    The start of a time span
    end string
    The end of a time span
    start string
    The start of a time span
    end str
    The end of a time span
    start str
    The start of a time span
    end String
    The end of a time span
    start String
    The start of a time span

    TimeSpanResponse, TimeSpanResponseArgs

    End string
    The end of a time span
    Start string
    The start of a time span
    End string
    The end of a time span
    Start string
    The start of a time span
    end String
    The end of a time span
    start String
    The start of a time span
    end string
    The end of a time span
    start string
    The start of a time span
    end str
    The end of a time span
    start str
    The start of a time span
    end String
    The end of a time span
    start String
    The start of a time span

    Type, TypeArgs

    First
    FirstFirst week of the month.
    Second
    SecondSecond week of the month.
    Third
    ThirdThird week of the month.
    Fourth
    FourthFourth week of the month.
    Last
    LastLast week of the month.
    TypeFirst
    FirstFirst week of the month.
    TypeSecond
    SecondSecond week of the month.
    TypeThird
    ThirdThird week of the month.
    TypeFourth
    FourthFourth week of the month.
    TypeLast
    LastLast week of the month.
    First
    FirstFirst week of the month.
    Second
    SecondSecond week of the month.
    Third
    ThirdThird week of the month.
    Fourth
    FourthFourth week of the month.
    Last
    LastLast week of the month.
    First
    FirstFirst week of the month.
    Second
    SecondSecond week of the month.
    Third
    ThirdThird week of the month.
    Fourth
    FourthFourth week of the month.
    Last
    LastLast week of the month.
    FIRST
    FirstFirst week of the month.
    SECOND
    SecondSecond week of the month.
    THIRD
    ThirdThird week of the month.
    FOURTH
    FourthFourth week of the month.
    LAST
    LastLast week of the month.
    "First"
    FirstFirst week of the month.
    "Second"
    SecondSecond week of the month.
    "Third"
    ThirdThird week of the month.
    "Fourth"
    FourthFourth week of the month.
    "Last"
    LastLast week of the month.

    WeekDay, WeekDayArgs

    Sunday
    Sunday
    Monday
    Monday
    Tuesday
    Tuesday
    Wednesday
    Wednesday
    Thursday
    Thursday
    Friday
    Friday
    Saturday
    Saturday
    WeekDaySunday
    Sunday
    WeekDayMonday
    Monday
    WeekDayTuesday
    Tuesday
    WeekDayWednesday
    Wednesday
    WeekDayThursday
    Thursday
    WeekDayFriday
    Friday
    WeekDaySaturday
    Saturday
    Sunday
    Sunday
    Monday
    Monday
    Tuesday
    Tuesday
    Wednesday
    Wednesday
    Thursday
    Thursday
    Friday
    Friday
    Saturday
    Saturday
    Sunday
    Sunday
    Monday
    Monday
    Tuesday
    Tuesday
    Wednesday
    Wednesday
    Thursday
    Thursday
    Friday
    Friday
    Saturday
    Saturday
    SUNDAY
    Sunday
    MONDAY
    Monday
    TUESDAY
    Tuesday
    WEDNESDAY
    Wednesday
    THURSDAY
    Thursday
    FRIDAY
    Friday
    SATURDAY
    Saturday
    "Sunday"
    Sunday
    "Monday"
    Monday
    "Tuesday"
    Tuesday
    "Wednesday"
    Wednesday
    "Thursday"
    Thursday
    "Friday"
    Friday
    "Saturday"
    Saturday

    WeeklySchedule, WeeklyScheduleArgs

    DayOfWeek string | Pulumi.AzureNative.ContainerService.WeekDay
    Specifies on which day of the week the maintenance occurs.
    IntervalWeeks int
    Specifies the number of weeks between each set of occurrences.
    DayOfWeek string | WeekDay
    Specifies on which day of the week the maintenance occurs.
    IntervalWeeks int
    Specifies the number of weeks between each set of occurrences.
    dayOfWeek String | WeekDay
    Specifies on which day of the week the maintenance occurs.
    intervalWeeks Integer
    Specifies the number of weeks between each set of occurrences.
    dayOfWeek string | WeekDay
    Specifies on which day of the week the maintenance occurs.
    intervalWeeks number
    Specifies the number of weeks between each set of occurrences.
    day_of_week str | WeekDay
    Specifies on which day of the week the maintenance occurs.
    interval_weeks int
    Specifies the number of weeks between each set of occurrences.
    dayOfWeek String | "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"
    Specifies on which day of the week the maintenance occurs.
    intervalWeeks Number
    Specifies the number of weeks between each set of occurrences.

    WeeklyScheduleResponse, WeeklyScheduleResponseArgs

    DayOfWeek string
    Specifies on which day of the week the maintenance occurs.
    IntervalWeeks int
    Specifies the number of weeks between each set of occurrences.
    DayOfWeek string
    Specifies on which day of the week the maintenance occurs.
    IntervalWeeks int
    Specifies the number of weeks between each set of occurrences.
    dayOfWeek String
    Specifies on which day of the week the maintenance occurs.
    intervalWeeks Integer
    Specifies the number of weeks between each set of occurrences.
    dayOfWeek string
    Specifies on which day of the week the maintenance occurs.
    intervalWeeks number
    Specifies the number of weeks between each set of occurrences.
    day_of_week str
    Specifies on which day of the week the maintenance occurs.
    interval_weeks int
    Specifies the number of weeks between each set of occurrences.
    dayOfWeek String
    Specifies on which day of the week the maintenance occurs.
    intervalWeeks Number
    Specifies the number of weeks between each set of occurrences.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:containerservice:MaintenanceConfiguration aksManagedAutoUpgradeSchedule /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi