Microsoft.Cache Redis/patchSchedules 2019-07-01

Template format

To create a Microsoft.Cache/Redis/patchSchedules resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.Cache/Redis/patchSchedules",
  "apiVersion": "2019-07-01",
  "properties": {
    "scheduleEntries": [
      {
        "dayOfWeek": "string",
        "startHourUtc": "integer",
        "maintenanceWindow": "string"
      }
    ]
  }
}

Property values

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

Microsoft.Cache/Redis/patchSchedules object

Note

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 Default string modeled as parameter for auto generation to work correctly.
type enum Yes For JSON -patchSchedules
-or-
Microsoft.Cache/Redis/patchSchedules

See Set name and type for child resources.
apiVersion enum Yes For JSON - 2019-07-01
properties object Yes List of patch schedules for a Redis cache. - ScheduleEntries object

ScheduleEntries object

Name Type Required Value
scheduleEntries array Yes List of patch schedules for a Redis cache. - ScheduleEntry object

ScheduleEntry object

Name Type Required Value
dayOfWeek enum Yes Day of the week when a cache can be patched. - Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Everyday, Weekend
startHourUtc integer Yes Start hour after which cache patching can start.
maintenanceWindow string No ISO8601 timespan specifying how much time cache patching can take.