Microsoft.ContainerService managedClusters/maintenanceConfigurations 2021-05-01

Template format

To create a Microsoft.ContainerService/managedClusters/maintenanceConfigurations resource, add the following JSON to the resources section of your template.

  "name": "string",
  "type": "Microsoft.ContainerService/managedClusters/maintenanceConfigurations",
  "apiVersion": "2021-05-01",
  "properties": {
    "timeInWeek": [
        "day": "string",
        "hourSlots": [
    "notAllowedTime": [
        "start": "string",
        "end": "string"

Property values

The following tables describe the values you need to set in the schema.

Microsoft.ContainerService/managedClusters/maintenanceConfigurations object


In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes The name of the maintenance configuration.
type enum Yes For JSON -maintenanceConfigurations

See Set name and type for child resources.
apiVersion enum Yes For JSON - 2021-05-01
properties object Yes Properties of a default maintenance configuration. - MaintenanceConfigurationProperties object

MaintenanceConfigurationProperties object

Name Type Required Value
timeInWeek array No Weekday time slots allowed to upgrade. - TimeInWeek object
notAllowedTime array No Time slots on which upgrade is not allowed. - TimeSpan object

TimeInWeek object

Name Type Required Value
day enum No A day in a week. - Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday
hourSlots array No hour slots in a day. - integer

TimeSpan object

Name Type Required Value
start string No The start of a time span
end string No The end of a time span