Azure Kubernetes Service Gates API

The Gates API from Azure Kubernetes Service — 2 operation(s) for gates.

GitHub OpenAPI

Operations 3

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/gates Gates list by fleet #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/gates/{gateName} Gates get #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/gates/{gateName} Gates update #

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-gates-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-gates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ContainerServiceFleetClient Gates 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: Gates
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/gates
  : get:
      operationId: Gates_ListByFleet
      tags:
      - Gates
      description: List Gate 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/FilterQueryParameter'
      - $ref: '#/components/parameters/TopQueryParameter'
      - $ref: '#/components/parameters/SkipTokenQueryParameter'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GateListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Gates list by fleet
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/gates/{gateName}
  : get:
      operationId: Gates_Get
      tags:
      - Gates
      description: Get a Gate
      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: gateName
        in: path
        description: The name of the Gate resource, a GUID.
        required: true
        schema:
          type: string
          maxLength: 36
          minLength: 36
          pattern: ^[0-9a-f]{8}[-][0-9a-f]{4}[-][0-9a-f]{4}[-][0-9a-f]{4}[-][0-9a-f]{12}$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Gate'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Gates get
      x-summary-source: derived
    patch:
      operationId: Gates_Update
      tags:
      - Gates
      description: Update a Gate
      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: gateName
        in: path
        description: The name of the Gate resource, a GUID.
        required: true
        schema:
          type: string
          maxLength: 36
          minLength: 36
          pattern: ^[0-9a-f]{8}[-][0-9a-f]{4}[-][0-9a-f]{4}[-][0-9a-f]{4}[-][0-9a-f]{12}$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Gate'
        '202':
          description: Resource update request 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
        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
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GatePatch'
        description: The resource properties to be updated.
        required: true
      summary: Gates update
      x-summary-source: derived
components:
  parameters:
    FilterQueryParameter:
      name: $filter
      in: query
      description: Filter the result list using the given expression.
      required: false
      x-ms-parameter-location: method
      x-ms-client-name: filter
      schema:
        type: string
    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
    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
  schemas:
    UpdateRunGateTargetProperties:
      type: object
      description: The properties of the Update Run that the Gate is targeting.
      properties:
        name:
          type: string
          description: The name of the Update Run.
          minLength: 1
          maxLength: 50
          pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
          readOnly: true
        stage:
          type: string
          description: The Update Stage of the Update Run.
          minLength: 1
          maxLength: 50
          pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
          readOnly: true
        group:
          type: string
          description: The Update Group of the Update Run.
          minLength: 1
          maxLength: 50
          pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
          readOnly: true
        timing:
          $ref: '#/components/schemas/Timing'
          description: Whether the Gate is placed before or after the update itself.
          x-ms-mutability:
          - read
          - create
      required:
      - name
      - timing
    Timing:
      type: string
      description: Whether the Gate is placed before or after the target.
      enum:
      - Before
      - After
      x-ms-enum:
        name: Timing
        modelAsString: true
        values:
        - name: Before
          value: Before
          description: The Gate is before the target.
        - name: After
          value: After
          description: The Gate is after the target.
    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'
    ScheduledStartProperties:
      type: object
      description: Properties for ScheduledStart gate
      properties:
        startDay:
          $ref: '#/components/schemas/DayOfWeek'
          description: The day of the week when the scheduled start occurs.
          x-ms-mutability:
          - read
          - create
        startTime:
          type: string
          description: The local time of day when the scheduled start occurs in 24-hour (HH:mm) format.
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]$
          x-ms-mutability:
          - read
          - create
        utcOffset:
          type: string
          description: The UTC offset for the scheduled time in HH:mm format, -14:00 to +14:00
          pattern: ^[+-]((0[0-9]|1[0-3]):[0-5][0-9]|14:00)$
          x-ms-mutability:
          - read
          - create
        absoluteStartTime:
          type: string
          format: date-time
          description: The absolute UTC time when the gate will complete. Set when the gate is created.
          readOnly: true
      required:
      - startDay
      - startTime
      - utcOffset
    GateProperties:
      type: object
      description: A Gate controls the progression during a staged rollout, e.g. in an Update Run.
      properties:
        provisioningState:
          $ref: '#/components/schemas/GateProvisioningState'
          description: The provisioning state of the Gate resource.
          readOnly: true
        displayName:
          type: string
          description: The human-readable display name of the Gate.
          minLength: 1
          maxLength: 100
          x-ms-mutability:
          - read
          - create
        gateType:
          $ref: '#/components/schemas/GateType'
          description: The type of the Gate determines how it is completed.
          x-ms-mutability:
          - read
          - create
        scheduledStartProperties:
          $ref: '#/components/schemas/ScheduledStartProperties'
          description: Details for ScheduledStart gate
          x-ms-mutability:
          - read
          - create
        target:
          $ref: '#/components/schemas/GateTarget'
          description: The target that the Gate is controlling, e.g. an Update Run.
          x-ms-mutability:
          - read
          - create
        state:
          $ref: '#/components/schemas/GateState'
          description: The state of the Gate.
          x-ms-mutability:
          - read
          - update
          - create
      required:
      - gateType
      - target
      - state
    Gate:
      type: object
      description: A Gate controls the progression during a staged rollout, e.g. in an Update Run.
      properties:
        properties:
          $ref: '#/components/schemas/GateProperties'
          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'
    GatePatchProperties:
      type: object
      description: Properties of a Gate that can be patched.
      properties:
        state:
          $ref: '#/components/schemas/GateState'
          description: The state of the Gate.
    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: []
    GateState:
      type: string
      description: The state of the Gate.
      enum:
      - Pending
      - Skipped
      - Completed
      x-ms-enum:
        name: GateState
        modelAsString: true
        values:
        - name: Pending
          value: Pending
          description: A Pending Gate will continue to block the staged rollout process it is controlling.
        - name: Skipped
          value: Skipped
          description: A Skipped Gate means that the staged rollout process it is controlling was skipped.
        - name: Completed
          value: Completed
          description: An Completed Gate allows the staged rollout process to continue.
    GateListResult:
      type: object
      description: The response of a Gate list operation.
      properties:
        value:
          type: array
          description: The Gate items on this page
          items:
            $ref: '#/components/schemas/Gate'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    GateProvisioningState:
      type: string
      description: The provisioning state of the Gate resource.
      enum:
      - Succeeded
      - Failed
      - Canceled
      x-ms-enum:
        name: GateProvisioningState
        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
    GateTarget:
      type: object
      description: The target that the Gate is controlling, e.g. an Update Run. Exactly one of the properties objects will be set.
      properties:
        id:
          $ref: '#/components/schemas/UpdateRunResourceId'
          description: The resource id that the Gate is controlling the rollout of.
          x-ms-mutability:
          - read
          - create
        updateRunProperties:
          $ref: '#/components/schemas/UpdateRunGateTargetProperties'
          description: The properties of the Update Run that the Gate is targeting.
          x-ms-mutability:
          - read
          - create
      required:
      - id
    UpdateRunResourceId:
      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/updateRuns
    GateType:
      type: string
      description: The type of the Gate determines how it is completed.
      enum:
      - Approval
      - ScheduledStart
      x-ms-enum:
        name: GateType
        modelAsString: true
        values:
        - name: Approval
          value: Approval
          description: An approval gate is completed by setting its state to be Completed.
        - name: ScheduledStart
          value: ScheduledStart
          description: A scheduled start gate is automatically completed when the scheduled time is reached.
    GatePatch:
      type: object
      description: Patch a Gate resource.
      properties:
        properties:
          $ref: '#/components/schemas/GatePatchProperties'
          description: Properties of a Gate that can be patched.
    DayOfWeek:
      type: string
      description: The days of a week.
      enum:
      - Monday
      - Tuesday
      - Wednesday
      - Thursday
      - Friday
      - Saturday
      - Sunday
      x-ms-enum:
        name: DayOfWeek
        modelAsString: true
        values:
        - name: Monday
          value: Monday
          description: The day Monday.
        - name: Tuesday
          value: Tuesday
          description: The day Tuesday.
        - name: Wednesday
          value: Wednesday
          description: The day Wednesday.
        - name: Thursday
          value: Thursday
          description: The day Thursday.
        - name: Friday
          value: Friday
          description: The day Friday.
        - name: Saturday
          value: Saturday
          description: The day Saturday.
        - name: Sunday
          value: Sunday
          description: The day Sunday.
    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.
  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.