Azure Kubernetes Service Maintenance Configurations API

The MaintenanceConfigurations API from Azure Kubernetes Service — 2 operation(s) for maintenanceconfigurations.

GitHub OpenAPI

Operations 4

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations Maintenance configurations list by managed cluster #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName} Maintenance configurations get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName} Maintenance configurations create or update #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName} Maintenance configurations delete #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure-kubernetes-service:microsoft-azure-kubernetes-service-maintenanceconfigurations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-kubernetes-service-maintenanceconfigurations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ContainerServiceClient Maintenance Configurations API
  version: '2026-09-01'
  description: The Container Service Client.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: MaintenanceConfigurations
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations
  : get:
      operationId: MaintenanceConfigurations_ListByManagedCluster
      tags:
      - MaintenanceConfigurations
      description: Gets a list of maintenance configurations in the specified managed cluster.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: resourceName
        in: path
        description: The name of the managed cluster resource.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 1
          pattern: ^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaintenanceConfigurationListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Maintenance configurations list by managed cluster
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}
  : get:
      operationId: MaintenanceConfigurations_Get
      tags:
      - MaintenanceConfigurations
      description: Gets the specified maintenance configuration of a managed cluster.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: resourceName
        in: path
        description: The name of the managed cluster resource.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 1
          pattern: ^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$
      - name: configName
        in: path
        description: The name of the maintenance configuration. Supported values are 'default', 'aksManagedAutoUpgradeSchedule', or 'aksManagedNodeOSUpgradeSchedule'.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaintenanceConfiguration'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Maintenance configurations get
      x-summary-source: derived
    put:
      operationId: MaintenanceConfigurations_CreateOrUpdate
      tags:
      - MaintenanceConfigurations
      description: Creates or updates a maintenance configuration in the specified managed cluster.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: resourceName
        in: path
        description: The name of the managed cluster resource.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 1
          pattern: ^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$
      - name: configName
        in: path
        description: The name of the maintenance configuration. Supported values are 'default', 'aksManagedAutoUpgradeSchedule', or 'aksManagedNodeOSUpgradeSchedule'.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource 'MaintenanceConfiguration' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaintenanceConfiguration'
        '201':
          description: Resource 'MaintenanceConfiguration' create operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaintenanceConfiguration'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MaintenanceConfiguration'
        description: The maintenance configuration to create or update.
        required: true
      summary: Maintenance configurations create or update
      x-summary-source: derived
    delete:
      operationId: MaintenanceConfigurations_Delete
      tags:
      - MaintenanceConfigurations
      description: Deletes a maintenance configuration.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: resourceName
        in: path
        description: The name of the managed cluster resource.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 1
          pattern: ^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$
      - name: configName
        in: path
        description: The name of the maintenance configuration. Supported values are 'default', 'aksManagedAutoUpgradeSchedule', or 'aksManagedNodeOSUpgradeSchedule'.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource deleted successfully.
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Maintenance configurations delete
      x-summary-source: derived
components:
  schemas:
    DailySchedule:
      type: object
      description: 'For schedules like: ''recur every day'' or ''recur every 3 days''.'
      properties:
        intervalDays:
          type: integer
          format: int32
          description: Specifies the number of days between each set of occurrences.
          minimum: 1
          maximum: 7
      required:
      - intervalDays
    ProxyResource:
      type: object
      title: Proxy Resource
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      allOf:
      - $ref: '#/components/schemas/Resource'
    MaintenanceConfigurationListResult:
      type: object
      description: The response of a MaintenanceConfiguration list operation.
      properties:
        value:
          type: array
          description: The MaintenanceConfiguration items on this page
          items:
            $ref: '#/components/schemas/MaintenanceConfiguration'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    AbsoluteMonthlySchedule:
      type: object
      description: 'For schedules like: ''recur every month on the 15th'' or ''recur every 3 months on the 20th''.'
      properties:
        intervalMonths:
          type: integer
          format: int32
          description: Specifies the number of months between each set of occurrences.
          minimum: 1
          maximum: 6
        dayOfMonth:
          type: integer
          format: int32
          description: The date of the month.
          minimum: 1
          maximum: 31
      required:
      - intervalMonths
      - dayOfMonth
    Schedule:
      type: object
      description: One and only one of the schedule types should be specified. Choose either 'daily', 'weekly', 'absoluteMonthly' or 'relativeMonthly' for your maintenance schedule.
      properties:
        daily:
          $ref: '#/components/schemas/DailySchedule'
          description: 'For schedules like: ''recur every day'' or ''recur every 3 days''.'
        weekly:
          $ref: '#/components/schemas/WeeklySchedule'
          description: 'For schedules like: ''recur every Monday'' or ''recur every 3 weeks on Wednesday''.'
        absoluteMonthly:
          $ref: '#/components/schemas/AbsoluteMonthlySchedule'
          description: 'For schedules like: ''recur every month on the 15th'' or ''recur every 3 months on the 20th''.'
        relativeMonthly:
          $ref: '#/components/schemas/RelativeMonthlySchedule'
          description: 'For schedules like: ''recur every month on the first Monday'' or ''recur every 3 months on last Friday''.'
    TimeInWeek:
      type: object
      description: Time in a week.
      properties:
        day:
          $ref: '#/components/schemas/WeekDay'
          description: The day of the week.
        hourSlots:
          type: array
          description: A list of hours in the day used to identify a time range. 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.
          items:
            $ref: '#/components/schemas/HourInDay'
    TimeSpan:
      type: object
      description: A time range. For example, between 2021-05-25T13:00:00Z and 2021-05-25T14:00:00Z.
      properties:
        start:
          type: string
          format: date-time
          description: The start of a time span
        end:
          type: string
          format: date-time
          description: The end of a time span
    MaintenanceConfiguration:
      type: object
      description: Planned maintenance configuration, used to configure when updates can be deployed to a Managed Cluster. See [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more information about planned maintenance.
      properties:
        properties:
          $ref: '#/components/schemas/MaintenanceConfigurationProperties'
          description: Properties of a default maintenance configuration.
          x-ms-client-flatten: true
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    WeeklySchedule:
      type: object
      description: 'For schedules like: ''recur every Monday'' or ''recur every 3 weeks on Wednesday''.'
      properties:
        intervalWeeks:
          type: integer
          format: int32
          description: Specifies the number of weeks between each set of occurrences.
          minimum: 1
          maximum: 4
        dayOfWeek:
          $ref: '#/components/schemas/WeekDay'
          description: Specifies on which day of the week the maintenance occurs.
      required:
      - intervalWeeks
      - dayOfWeek
    WeekDay:
      type: string
      description: The weekday enum.
      enum:
      - Sunday
      - Monday
      - Tuesday
      - Wednesday
      - Thursday
      - Friday
      - Saturday
      x-ms-enum:
        name: WeekDay
        modelAsString: true
        values:
        - name: Sunday
          value: Sunday
          description: Represents Sunday.
        - name: Monday
          value: Monday
          description: Represents Monday.
        - name: Tuesday
          value: Tuesday
          description: Represents Tuesday.
        - name: Wednesday
          value: Wednesday
          description: Represents Wednesday.
        - name: Thursday
          value: Thursday
          description: Represents Thursday.
        - name: Friday
          value: Friday
          description: Represents Friday.
        - name: Saturday
          value: Saturday
          description: Represents Saturday.
    DateSpan:
      type: object
      description: A date range. For example, between '2022-12-23' and '2023-01-05'.
      properties:
        start:
          type: string
          format: date
          description: The start date of the date span.
        end:
          type: string
          format: date
          description: The end date of the date span.
      required:
      - start
      - end
    Type:
      type: string
      description: The week index. Specifies on which week of the month the dayOfWeek applies.
      enum:
      - First
      - Second
      - Third
      - Fourth
      - Last
      x-ms-enum:
        name: Type
        modelAsString: true
        values:
        - name: First
          value: First
          description: First week of the month.
        - name: Second
          value: Second
          description: Second week of the month.
        - name: Third
          value: Third
          description: Third week of the month.
        - name: Fourth
          value: Fourth
          description: Fourth week of the month.
        - name: Last
          value: Last
          description: Last week of the month.
    ErrorDetail:
      type: object
      description: The error detail.
      properties:
        code:
          type: string
          description: The error code.
          readOnly: true
        message:
          type: string
          description: The error message.
          readOnly: true
        target:
          type: string
          description: The error target.
          readOnly: true
        details:
          type: array
          description: The error details.
          items:
            $ref: '#/components/schemas/ErrorDetail'
          readOnly: true
          x-ms-identifiers:
          - message
          - target
        additionalInfo:
          type: array
          description: The error additional info.
          items:
            $ref: '#/components/schemas/ErrorAdditionalInfo'
          readOnly: true
          x-ms-identifiers: []
    HourInDay:
      type: integer
      format: int32
      description: Hour in a day.
      minimum: 0
      maximum: 23
    RelativeMonthlySchedule:
      type: object
      description: 'For schedules like: ''recur every month on the first Monday'' or ''recur every 3 months on last Friday''.'
      properties:
        intervalMonths:
          type: integer
          format: int32
          description: Specifies the number of months between each set of occurrences.
          minimum: 1
          maximum: 6
        weekIndex:
          $ref: '#/components/schemas/Type'
          description: The week index. Specifies on which week of the month the dayOfWeek applies.
        dayOfWeek:
          $ref: '#/components/schemas/WeekDay'
          description: Specifies on which day of the week the maintenance occurs.
      required:
      - intervalMonths
      - weekIndex
      - dayOfWeek
    MaintenanceWindow:
      type: object
      description: Maintenance window used to configure scheduled auto-upgrade for a Managed Cluster.
      properties:
        schedule:
          $ref: '#/components/schemas/Schedule'
          description: Recurrence schedule for the maintenance window.
        durationHours:
          type: integer
          format: int32
          description: Length of maintenance window range from 4 to 24 hours.
          default: 24
          minimum: 4
          maximum: 24
        utcOffset:
          type: string
          description: 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'.
          pattern: ^(-|\+)[0-9]{2}:[0-9]{2}$
        startDate:
          type: string
          format: date
          description: 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.
        startTime:
          type: string
          description: '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''.'
          pattern: ^\d{2}:\d{2}$
        notAllowedDates:
          type: array
          description: '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.'
          items:
            $ref: '#/components/schemas/DateSpan'
          x-ms-identifiers: []
      required:
      - schedule
      - durationHours
      - startTime
    MaintenanceConfigurationProperties:
      type: object
      description: Properties used to configure planned maintenance for a Managed Cluster.
      properties:
        timeInWeek:
          type: array
          description: Time slots during the week when planned maintenance is allowed to proceed. If two array entries specify the same day of the week, the applied configuration is the union of times in both entries.
          items:
            $ref: '#/components/schemas/TimeInWeek'
          x-ms-identifiers: []
        notAllowedTime:
          type: array
          description: Time slots on which upgrade is not allowed.
          items:
            $ref: '#/components/schemas/TimeSpan'
          x-ms-identifiers: []
        maintenanceWindow:
          $ref: '#/components/schemas/MaintenanceWindow'
          description: Maintenance window for the maintenance configuration.
    ErrorResponse:
      type: object
      title: Error response
      description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
          description: The error object.
  parameters:
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The name of the resource group. The name is case insensitive.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.