Azure Kubernetes Service Auto Upgrade Profiles API

The AutoUpgradeProfiles API from Azure Kubernetes Service — 2 operation(s) for autoupgradeprofiles.

GitHub OpenAPI

Operations 4

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/autoUpgradeProfiles Auto upgrade profiles list by fleet #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/autoUpgradeProfiles/{autoUpgradeProfileName} Auto upgrade profiles get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/autoUpgradeProfiles/{autoUpgradeProfileName} Auto upgrade profiles create or update #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/autoUpgradeProfiles/{autoUpgradeProfileName} Auto upgrade profiles 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-autoupgradeprofiles-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-autoupgradeprofiles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ContainerServiceFleetClient Auto Upgrade Profiles API
  version: '2026-11-01'
  description: Azure Kubernetes Fleet Manager api client.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: AutoUpgradeProfiles
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/autoUpgradeProfiles
  : get:
      operationId: AutoUpgradeProfiles_ListByFleet
      tags:
      - AutoUpgradeProfiles
      description: List AutoUpgradeProfile resources by Fleet
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: fleetName
        in: path
        description: The name of the Fleet resource.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 1
          pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
      - $ref: '#/components/parameters/TopQueryParameter'
      - $ref: '#/components/parameters/SkipTokenQueryParameter'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutoUpgradeProfileListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Auto upgrade profiles list by fleet
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/autoUpgradeProfiles/{autoUpgradeProfileName}
  : get:
      operationId: AutoUpgradeProfiles_Get
      tags:
      - AutoUpgradeProfiles
      description: Get a AutoUpgradeProfile
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: fleetName
        in: path
        description: The name of the Fleet resource.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 1
          pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
      - name: autoUpgradeProfileName
        in: path
        description: The name of the AutoUpgradeProfile resource.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 1
          pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutoUpgradeProfile'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Auto upgrade profiles get
      x-summary-source: derived
    put:
      operationId: AutoUpgradeProfiles_CreateOrUpdate
      tags:
      - AutoUpgradeProfiles
      description: Create a AutoUpgradeProfile
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: If-Match
        in: header
        description: The request should only proceed if an entity matches this string.
        required: false
        x-ms-client-name: ifMatch
        schema:
          type: string
      - name: If-None-Match
        in: header
        description: The request should only proceed if no entity matches this string.
        required: false
        x-ms-client-name: ifNoneMatch
        schema:
          type: string
      - name: fleetName
        in: path
        description: The name of the Fleet resource.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 1
          pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
      - name: autoUpgradeProfileName
        in: path
        description: The name of the AutoUpgradeProfile resource.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 1
          pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
      responses:
        '200':
          description: Resource 'AutoUpgradeProfile' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutoUpgradeProfile'
        '201':
          description: Resource 'AutoUpgradeProfile' create operation succeeded
          headers:
            Azure-AsyncOperation:
              description: A link to the status monitor
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutoUpgradeProfile'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AutoUpgradeProfile'
        description: Resource create parameters.
        required: true
      summary: Auto upgrade profiles create or update
      x-summary-source: derived
    delete:
      operationId: AutoUpgradeProfiles_Delete
      tags:
      - AutoUpgradeProfiles
      description: Delete a AutoUpgradeProfile
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: If-Match
        in: header
        description: The request should only proceed if an entity matches this string.
        required: false
        x-ms-client-name: ifMatch
        schema:
          type: string
      - name: fleetName
        in: path
        description: The name of the Fleet resource.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 1
          pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
      - name: autoUpgradeProfileName
        in: path
        description: The name of the AutoUpgradeProfile resource.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 1
          pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
      responses:
        '202':
          description: Resource deletion accepted.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      summary: Auto upgrade profiles delete
      x-summary-source: derived
components:
  schemas:
    AutoUpgradeProfileProperties:
      type: object
      description: The properties of the AutoUpgradeProfile.
      properties:
        provisioningState:
          $ref: '#/components/schemas/AutoUpgradeProfileProvisioningState'
          description: The provisioning state of the AutoUpgradeProfile resource.
          readOnly: true
        updateStrategyId:
          $ref: '#/components/schemas/FleetUpdateStrategyResourceId'
          description: The resource id of the UpdateStrategy resource to reference. If not specified, the auto upgrade will run on all clusters which are members of the fleet.
          x-ms-mutability:
          - read
          - create
        channel:
          $ref: '#/components/schemas/UpgradeChannel'
          description: Configures how auto-upgrade will be run.
        nodeImageSelection:
          $ref: '#/components/schemas/AutoUpgradeNodeImageSelection'
          description: The node image upgrade to be applied to the target clusters in auto upgrade.
        disabled:
          type: boolean
          description: 'If set to False: the auto upgrade has effect - target managed clusters will be upgraded on schedule.

            If set to True: the auto upgrade has no effect - no upgrade will be run on the target managed clusters.

            This is a boolean and not an enum because enabled/disabled are all available states of the auto upgrade profile.

            By default, this is set to False.'
        autoUpgradeProfileStatus:
          $ref: '#/components/schemas/AutoUpgradeProfileStatus'
          description: The status of the auto upgrade profile.
        targetKubernetesVersion:
          type: string
          description: "  This is the target Kubernetes version for auto-upgrade. The format must be `{major version}.{minor version}`. For example, \"1.30\".\n  By default, this is empty.\n  If upgrade channel is set to TargetKubernetesVersion, this field must not be empty.\n  If upgrade channel is not TargetKubernetesVersion, this field must be empty."
        longTermSupport:
          type: boolean
          description: "  If upgrade channel is not TargetKubernetesVersion, this field must be False.\n  If set to True: Fleet auto upgrade will continue generate update runs for patches of minor versions earlier than N-2 \n  (where N is the latest supported minor version) if those minor versions support Long-Term Support (LTS).\n  By default, this is set to False.\n  For more information on AKS LTS, please see https://learn.microsoft.com/en-us/azure/aks/long-term-support"
      required:
      - channel
    AutoUpgradeNodeImageSelectionType:
      type: string
      description: The node image upgrade type.
      enum:
      - Latest
      - Consistent
      x-ms-enum:
        name: AutoUpgradeNodeImageSelectionType
        modelAsString: true
        values:
        - name: Latest
          value: Latest
          description: Use the latest image version when upgrading nodes. Clusters may use different image versions (e.g., 'AKSUbuntu-1804gen2containerd-2021.10.12' and 'AKSUbuntu-1804gen2containerd-2021.10.19') because, for example, the latest available version is different in different regions.
        - name: Consistent
          value: Consistent
          description: 'The image versions to upgrade nodes to are selected as described below: for each node pool in managed clusters affected by the update run, the system selects the latest image version such that it is available across all other node pools (in all other clusters) of the same image type. As a result, all node pools of the same image type will be upgraded to the same image version. For example, if the latest image version for image type ''AKSUbuntu-1804gen2containerd'' is ''AKSUbuntu-1804gen2containerd-2021.10.12'' for a node pool in cluster A in region X, and is ''AKSUbuntu-1804gen2containerd-2021.10.17'' for a node pool in cluster B in region Y, the system will upgrade both node pools to image version ''AKSUbuntu-1804gen2containerd-2021.10.12''.'
    AutoUpgradeProfileStatus:
      type: object
      description: AutoUpgradeProfileStatus is the status of an auto upgrade profile.
      properties:
        lastTriggeredAt:
          type: string
          format: date-time
          description: The UTC time of the last attempt to automatically create and start an UpdateRun as triggered by the release of new versions.
          readOnly: true
        lastTriggerStatus:
          $ref: '#/components/schemas/AutoUpgradeLastTriggerStatus'
          description: The status of the last AutoUpgrade trigger.
          readOnly: true
        lastTriggerError:
          $ref: '#/components/schemas/ErrorDetail'
          description: The error details of the last trigger.
          readOnly: true
        lastTriggerUpgradeVersions:
          type: array
          description: The target Kubernetes version or node image versions of the last trigger.
          items:
            type: string
          readOnly: true
        lastTriggerMessage:
          type: string
          description: Additional information about the last trigger attempt.
          readOnly: true
    AutoUpgradeLastTriggerStatus:
      type: string
      description: AutoUpgradeLastTriggerStatus is the status of the last AutoUpgrade trigger (attempt to automatically create and start UpdateRun when there are new released versions) of an auto upgrade profile.
      enum:
      - Succeeded
      - Failed
      x-ms-enum:
        name: AutoUpgradeLastTriggerStatus
        modelAsString: true
        values:
        - name: Succeeded
          value: Succeeded
          description: The last AutoUpgrade trigger was succeeded.
        - name: Failed
          value: Failed
          description: The last AutoUpgrade trigger failed.
      readOnly: true
    AutoUpgradeProfileListResult:
      type: object
      description: The response of a AutoUpgradeProfile list operation.
      properties:
        value:
          type: array
          description: The AutoUpgradeProfile items on this page
          items:
            $ref: '#/components/schemas/AutoUpgradeProfile'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    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: []
    AutoUpgradeProfileProvisioningState:
      type: string
      description: The provisioning state of the AutoUpgradeProfile resource.
      enum:
      - Succeeded
      - Failed
      - Canceled
      x-ms-enum:
        name: AutoUpgradeProfileProvisioningState
        modelAsString: true
        values:
        - name: Succeeded
          value: Succeeded
          description: Resource has been created.
        - name: Failed
          value: Failed
          description: Resource creation failed.
        - name: Canceled
          value: Canceled
          description: Resource creation was canceled.
      readOnly: true
    UpgradeChannel:
      type: string
      description: Configuration of how auto upgrade will be run.
      enum:
      - Stable
      - Rapid
      - NodeImage
      - TargetKubernetesVersion
      - SecurityPatch
      x-ms-enum:
        name: UpgradeChannel
        modelAsString: true
        values:
        - name: Stable
          value: Stable
          description: " Upgrades the clusters kubernetes version to the latest supported patch release on minor version N-1, where N is the latest supported minor version.\n For example, if a cluster runs version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, the cluster upgrades to 1.18.6."
        - name: Rapid
          value: Rapid
          description: Upgrades the clusters kubernetes version to the latest supported patch release on the latest supported minor version.
        - name: NodeImage
          value: NodeImage
          description: Upgrade node image version of the clusters.
        - name: TargetKubernetesVersion
          value: TargetKubernetesVersion
          description: "  Upgrades the clusters Kubernetes version to the latest supported patch version of the specified target Kubernetes version.\n  For information on the behavior of update run for Kubernetes version upgrade, \n  see https://learn.microsoft.com/en-us/azure/kubernetes-fleet/update-orchestration?tabs=azure-portal"
        - name: SecurityPatch
          value: SecurityPatch
          description: "  Applies security patches to the nodes of the target clusters.\n  For information on the behavior of update run for security patch upgrade,\n  see https://learn.microsoft.com/en-us/azure/kubernetes-fleet/update-orchestration?tabs=azure-portal"
    FleetUpdateStrategyResourceId:
      type: string
      format: arm-id
      description: A type definition that refers the id to an Azure Resource Manager resource.
      x-ms-arm-id-details:
        allowedResources:
        - type: Microsoft.ContainerService/fleets/updateStrategies
    AutoUpgradeNodeImageSelection:
      type: object
      description: The node image upgrade to be applied to the target clusters in auto upgrade.
      properties:
        type:
          $ref: '#/components/schemas/AutoUpgradeNodeImageSelectionType'
          description: The node image upgrade type.
          x-ms-mutability:
          - read
          - create
      required:
      - type
    AutoUpgradeProfile:
      type: object
      description: The AutoUpgradeProfile resource.
      properties:
        properties:
          $ref: '#/components/schemas/AutoUpgradeProfileProperties'
          description: The resource-specific properties for this resource.
          x-ms-client-flatten: true
        eTag:
          type: string
          description: If eTag is provided in the response body, it may also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
          readOnly: true
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    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'
    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:
    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
    TopQueryParameter:
      name: $top
      in: query
      description: The number of result items to return.
      required: false
      x-ms-parameter-location: method
      x-ms-client-name: top
      schema:
        type: integer
        format: int32
    SkipTokenQueryParameter:
      name: $skipToken
      in: query
      description: The page-continuation token to use with a paged version of this API.
      required: false
      x-ms-parameter-location: method
      x-ms-client-name: skipToken
      schema:
        type: string
    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
  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.