Microsoft Azure API Management AI Gateway API Key Resources API

The AiGatewayApiKeyResources API from Microsoft Azure API Management — 5 operation(s) for aigatewayapikeyresources.

GitHub OpenAPI

Operations 9

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/aigateways/{aiGatewayName}/apiKeys Ai gateway api key resources list by ai gateway #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/aigateways/{aiGatewayName}/apiKeys/{apiKeyName} Ai gateway api key resources get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/aigateways/{aiGatewayName}/apiKeys/{apiKeyName} Ai gateway api key resources create or update #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/aigateways/{aiGatewayName}/apiKeys/{apiKeyName} Ai gateway api key resources update #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/aigateways/{aiGatewayName}/apiKeys/{apiKeyName} Ai gateway api key resources delete #
HEAD /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/aigateways/{aiGatewayName}/apiKeys/{apiKeyName} Ai gateway api key resources check existence #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/aigateways/{aiGatewayName}/apiKeys/{apiKeyName}/listSecrets Ai gateway api key resources list secrets #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/aigateways/{aiGatewayName}/apiKeys/{apiKeyName}/regeneratePrimaryKey Ai gateway api key resources regenerate primary key #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/aigateways/{aiGatewayName}/apiKeys/{apiKeyName}/regenerateSecondaryKey Ai gateway api key resources regenerate secondary key #

Documentation

Specifications

SDKs

Code Examples

Schemas & Data

📊
JSONStructure
https://artifacts.apis.io/microsoft-azure-api-management/json-structure/ai-gateway-chat-completion-request-structure.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-azure-api-management/json-structure/ai-gateway-chat-completion-response-structure.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-azure-api-management/json-structure/ai-gateway-completion-request-structure.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-azure-api-management/json-structure/ai-gateway-completion-response-structure.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-azure-api-management/json-structure/ai-gateway-embedding-request-structure.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-azure-api-management/json-structure/ai-gateway-embedding-response-structure.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-azure-api-management/json-structure/ai-gateway-mcp-request-structure.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-azure-api-management/json-structure/ai-gateway-mcp-response-structure.json
📊
JSONSchema
https://artifacts.apis.io/microsoft-azure-api-management/json-schema/microsoft-azure-api-management-ai-gateway-api-key-resource-schema.json
📊
JSONSchema
https://artifacts.apis.io/microsoft-azure-api-management/json-schema/microsoft-azure-api-management-ai-gateway-api-key-resource-list-result-schema.json
📊
JSONSchema
https://artifacts.apis.io/microsoft-azure-api-management/json-schema/microsoft-azure-api-management-ai-gateway-api-key-values-schema.json
📊
JSONSchema
https://artifacts.apis.io/microsoft-azure-api-management/json-schema/microsoft-azure-api-management-ai-gateway-api-key-update-parameters-schema.json

Other Resources

🔗
SDKs
https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/apimanagement
🔗
SDKs
https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/apimanagement
🔗
SDKs
https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/apimanagement
🔗
SDKs
https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/apimanagement
🔗
SDKs
https://github.com/Azure/azure-sdk-for-go/tree/main/sdk/resourcemanager/apimanagement
🔗
Tutorials
https://learn.microsoft.com/en-us/azure/api-management/transform-api
🔗
PolicySnippets
https://github.com/Azure/api-management-policy-snippets
🔗
Tools
https://github.com/Azure/azure-api-management-policy-toolkit
🔗
HelmChart
https://github.com/Azure/api-management-self-hosted-gateway/tree/main/helm-charts/azure-api-management-gateway
🔗
MCPServerOverview
https://learn.microsoft.com/en-us/azure/api-management/mcp-server-overview
🔗
ExportRESTToMCP
https://learn.microsoft.com/en-us/azure/api-management/export-rest-mcp-server
🔗
ProxyExistingMCP
https://learn.microsoft.com/en-us/azure/api-management/expose-existing-mcp-server
🔗
A2AAgentAPI
https://learn.microsoft.com/en-us/azure/api-management/agent-to-agent-api
🔗
TokenLimitPolicy
https://learn.microsoft.com/en-us/azure/api-management/llm-token-limit-policy
🔗
SemanticCaching
https://learn.microsoft.com/en-us/azure/api-management/azure-openai-enable-semantic-caching
🔗
ContentSafetyPolicy
https://learn.microsoft.com/en-us/azure/api-management/llm-content-safety-policy
🔗
ReferenceArchitecture
https://github.com/Azure-Samples/ai-hub-gateway-solution-accelerator
🔗
JSONLD
https://artifacts.apis.io/microsoft-azure-api-management/json-ld/microsoft-azure-api-management-ai-gateway-context.jsonld
🔗
Examples
https://artifacts.apis.io/microsoft-azure-api-management/examples/ai-gateway-chat-completion-request-example.json
🔗
Examples
https://artifacts.apis.io/microsoft-azure-api-management/examples/ai-gateway-chat-completion-response-example.json
🔗
Examples
https://artifacts.apis.io/microsoft-azure-api-management/examples/ai-gateway-completion-request-example.json
🔗
Examples
https://artifacts.apis.io/microsoft-azure-api-management/examples/ai-gateway-completion-response-example.json
🔗
Examples
https://artifacts.apis.io/microsoft-azure-api-management/examples/ai-gateway-embedding-request-example.json
🔗
Examples
https://artifacts.apis.io/microsoft-azure-api-management/examples/ai-gateway-embedding-response-example.json
🔗
Examples
https://artifacts.apis.io/microsoft-azure-api-management/examples/ai-gateway-mcp-request-example.json
🔗
Examples
https://artifacts.apis.io/microsoft-azure-api-management/examples/ai-gateway-mcp-response-example.json
🔗
Tutorials
https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-developer-portal-customize

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-api-management:microsoft-azure-api-management-aigatewayapikeyresources-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-api-management-aigatewayapikeyresources-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AIGatewayClient AI Gateway API Key Resources API
  version: '2026-11-01'
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: AiGatewayApiKeyResources
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/aigateways/{aiGatewayName}/apiKeys
  : get:
      operationId: AiGatewayApiKeyResources_ListByAiGateway
      tags:
      - AiGatewayApiKeyResources
      description: List AiGatewayApiKeyResource resources by AiGatewayResource
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: aiGatewayName
        in: path
        description: The name of the AiGatewayResource
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9][a-z0-9-]{1,22}[a-z0-9]$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiGatewayApiKeyResourceListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Ai gateway api key resources list by ai gateway
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/aigateways/{aiGatewayName}/apiKeys/{apiKeyName}
  : get:
      operationId: AiGatewayApiKeyResources_Get
      tags:
      - AiGatewayApiKeyResources
      description: Get a AiGatewayApiKeyResource
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: aiGatewayName
        in: path
        description: The name of the AiGatewayResource
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9][a-z0-9-]{1,22}[a-z0-9]$
      - name: apiKeyName
        in: path
        description: The name of the AiGatewayApiKeyResource
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiGatewayApiKeyResource'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Ai gateway api key resources get
      x-summary-source: derived
    put:
      operationId: AiGatewayApiKeyResources_CreateOrUpdate
      tags:
      - AiGatewayApiKeyResources
      description: Create a AiGatewayApiKeyResource
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: aiGatewayName
        in: path
        description: The name of the AiGatewayResource
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9][a-z0-9-]{1,22}[a-z0-9]$
      - name: apiKeyName
        in: path
        description: The name of the AiGatewayApiKeyResource
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$
      - name: If-Match
        in: header
        description: ETag of the resource. Required for an update.
        required: false
        x-ms-client-name: ifMatch
        schema:
          type: string
      responses:
        '200':
          description: Resource 'AiGatewayApiKeyResource' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiGatewayApiKeyResource'
        '201':
          description: Resource 'AiGatewayApiKeyResource' create operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiGatewayApiKeyResource'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiGatewayApiKeyResource'
        description: Resource create parameters.
        required: true
      summary: Ai gateway api key resources create or update
      x-summary-source: derived
    patch:
      operationId: AiGatewayApiKeyResources_Update
      tags:
      - AiGatewayApiKeyResources
      description: Update a AiGatewayApiKeyResource
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: aiGatewayName
        in: path
        description: The name of the AiGatewayResource
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9][a-z0-9-]{1,22}[a-z0-9]$
      - name: apiKeyName
        in: path
        description: The name of the AiGatewayApiKeyResource
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$
      - $ref: '#/components/parameters/If-Match'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiGatewayApiKeyResource'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiGatewayApiKeyUpdateParameters'
        description: The resource properties to be updated.
        required: true
      summary: Ai gateway api key resources update
      x-summary-source: derived
    delete:
      operationId: AiGatewayApiKeyResources_Delete
      tags:
      - AiGatewayApiKeyResources
      description: Delete a AiGatewayApiKeyResource
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: aiGatewayName
        in: path
        description: The name of the AiGatewayResource
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9][a-z0-9-]{1,22}[a-z0-9]$
      - name: apiKeyName
        in: path
        description: The name of the AiGatewayApiKeyResource
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$
      - $ref: '#/components/parameters/If-Match'
      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: Ai gateway api key resources delete
      x-summary-source: derived
    head:
      operationId: AiGatewayApiKeyResources_CheckExistence
      tags:
      - AiGatewayApiKeyResources
      description: Check for the existence of a AiGatewayApiKeyResource
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: aiGatewayName
        in: path
        description: The name of the AiGatewayResource
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9][a-z0-9-]{1,22}[a-z0-9]$
      - name: apiKeyName
        in: path
        description: The name of the AiGatewayApiKeyResource
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$
      responses:
        '200':
          description: A successful existence check, with no response body.
          headers:
            ETag:
              description: Entity tag of the resource.
              schema:
                type: string
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Ai gateway api key resources check existence
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/aigateways/{aiGatewayName}/apiKeys/{apiKeyName}/listSecrets
  : post:
      operationId: AiGatewayApiKeyResources_ListSecrets
      tags:
      - AiGatewayApiKeyResources
      description: Returns primary and secondary key values.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: aiGatewayName
        in: path
        description: The name of the AiGatewayResource
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9][a-z0-9-]{1,22}[a-z0-9]$
      - name: apiKeyName
        in: path
        description: The name of the AiGatewayApiKeyResource
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiGatewayApiKeyValues'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Ai gateway api key resources list secrets
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/aigateways/{aiGatewayName}/apiKeys/{apiKeyName}/regeneratePrimaryKey
  : post:
      operationId: AiGatewayApiKeyResources_RegeneratePrimaryKey
      tags:
      - AiGatewayApiKeyResources
      description: Regenerates the primary API key value.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: aiGatewayName
        in: path
        description: The name of the AiGatewayResource
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9][a-z0-9-]{1,22}[a-z0-9]$
      - name: apiKeyName
        in: path
        description: The name of the AiGatewayApiKeyResource
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$
      responses:
        '204':
          description: Operation completed successfully.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Ai gateway api key resources regenerate primary key
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/aigateways/{aiGatewayName}/apiKeys/{apiKeyName}/regenerateSecondaryKey
  : post:
      operationId: AiGatewayApiKeyResources_RegenerateSecondaryKey
      tags:
      - AiGatewayApiKeyResources
      description: Regenerates the secondary API key value.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: aiGatewayName
        in: path
        description: The name of the AiGatewayResource
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9][a-z0-9-]{1,22}[a-z0-9]$
      - name: apiKeyName
        in: path
        description: The name of the AiGatewayApiKeyResource
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$
      responses:
        '204':
          description: Operation completed successfully.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Ai gateway api key resources regenerate secondary key
      x-summary-source: derived
components:
  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
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
    If-Match:
      name: If-Match
      in: header
      description: The If-Match header that makes a request conditional.
      required: true
      x-ms-parameter-location: method
      x-ms-client-name: ifMatch
      schema:
        type: string
    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
  schemas:
    AiGatewayApiKeyValues:
      type: object
      description: Primary and secondary API key values.
      properties:
        primaryKey:
          type: string
          format: password
          description: Primary API key value.
          x-ms-secret: true
        secondaryKey:
          type: string
          format: password
          description: Secondary API key value.
          x-ms-secret: true
      required:
      - primaryKey
      - secondaryKey
    AiGatewayApiKeyProperties:
      type: object
      description: Properties of an AI Gateway API key.
      properties:
        displayName:
          type: string
          description: Display name of the key.
        state:
          type: string
          description: Subscription state.
        createdDate:
          type: string
          format: date-time
          description: Creation time.
          readOnly: true
        expirationDate:
          type: string
          format: date-time
          description: Optional expiration time.
        primaryKey:
          type: string
          format: password
          description: Primary key value. Omitted from ordinary read responses.
          x-ms-mutability:
          - update
          - create
          x-ms-secret: true
        secondaryKey:
          type: string
          format: password
          description: Secondary key value. Omitted from ordinary read responses.
          x-ms-mutability:
          - update
          - create
          x-ms-secret: true
        provisioningState:
          $ref: '#/components/schemas/AiGatewayProvisioningState'
          description: Provisioning state of the resource.
          readOnly: true
    AiGatewayApiKeyUpdateProperties:
      type: object
      description: Properties for updating an AI Gateway API key.
      properties:
        displayName:
          type: string
          description: Display name of the key.
        state:
          type: string
          description: Subscription state.
        expirationDate:
          type: string
          format: date-time
          description: Optional expiration time.
        primaryKey:
          type: string
          format: password
          description: Replacement primary key value.
          x-ms-mutability:
          - update
          - create
          x-ms-secret: true
        secondaryKey:
          type: string
          format: password
          description: Replacement secondary key value.
          x-ms-mutability:
          - update
          - create
          x-ms-secret: true
    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.
    AiGatewayApiKeyResource:
      type: object
      description: An AI Gateway API key resource.
      properties:
        properties:
          $ref: '#/components/schemas/AiGatewayApiKeyProperties'
          description: The resource-specific properties for this resource.
        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'
    AiGatewayProvisioningState:
      type: string
      description: Provisioning state of an AI Gateway resource.
      enum:
      - Succeeded
      - Failed
      - Canceled
      x-ms-enum:
        name: AiGatewayProvisioningState
        modelAsString: true
        values:
        - name: Succeeded
          value: Succeeded
          description: The resource is ready.
        - name: Failed
          value: Failed
          description: The resource operation failed.
        - name: Canceled
          value: Canceled
          description: The resource operation was canceled.
      readOnly: true
    AiGatewayApiKeyResourceListResult:
      type: object
      description: The response of a AiGatewayApiKeyResource list operation.
      properties:
        value:
          type: array
          description: The AiGatewayApiKeyResource items on this page
          items:
            $ref: '#/components/schemas/AiGatewayApiKeyResource'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    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'
    AiGatewayApiKeyUpdateParameters:
      type: object
      description: Parameters for updating an AI Gateway API key.
      properties:
        properties:
          $ref: '#/components/schemas/AiGatewayApiKeyUpdateProperties'
          description: API key properties to update.
  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.