Microsoft Azure App Service Kube Environments API
The KubeEnvironments API from Microsoft Azure App Service — 3 operation(s) for kubeenvironments.
The KubeEnvironments API from Microsoft Azure App Service — 3 operation(s) for kubeenvironments.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/microsoft-azure-app-service:microsoft-azure-app-service-kubeenvironments-api"
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.
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: 3.2.0
info:
title: WebApps API Client Kube Environments API
version: '2026-08-01'
x-typespec-generated:
- emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
- user_impersonation
tags:
- name: KubeEnvironments
paths:
/subscriptions/{subscriptionId}/providers/Microsoft.Web/kubeEnvironments:
get:
operationId: KubeEnvironments_ListBySubscription
tags:
- KubeEnvironments
summary: Get all Kubernetes Environments for a subscription
description: Description for Get all Kubernetes Environments for a subscription.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/KubeEnvironmentCollection'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/DefaultErrorResponse'
x-ms-pageable:
nextLinkName: nextLink
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments:
get:
operationId: KubeEnvironments_ListByResourceGroup
tags:
- KubeEnvironments
summary: Get all the Kubernetes Environments in a resource group
description: Description for Get all the Kubernetes Environments in a resource group.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/KubeEnvironmentCollection'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/DefaultErrorResponse'
x-ms-pageable:
nextLinkName: nextLink
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}:
get:
operationId: KubeEnvironments_Get
tags:
- KubeEnvironments
summary: Get the properties of a Kubernetes Environment
description: Description for Get the properties of a Kubernetes Environment.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: name
in: path
description: Name of the Kubernetes Environment.
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/KubeEnvironment'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/DefaultErrorResponse'
put:
operationId: KubeEnvironments_CreateOrUpdate
tags:
- KubeEnvironments
summary: Creates or updates a Kubernetes Environment
description: Description for Creates or updates a Kubernetes Environment.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: name
in: path
description: Name of the Kubernetes Environment.
required: true
schema:
type: string
responses:
'200':
description: Resource 'KubeEnvironment' update operation succeeded
content:
application/json:
schema:
$ref: '#/components/schemas/KubeEnvironment'
'201':
description: Resource 'KubeEnvironment' create operation succeeded
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
content:
application/json:
schema:
$ref: '#/components/schemas/KubeEnvironment'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/DefaultErrorResponse'
x-ms-long-running-operation-options:
final-state-via: location
final-state-schema: '#/definitions/KubeEnvironment'
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/KubeEnvironment'
description: Configuration details of the Kubernetes Environment.
required: true
patch:
operationId: KubeEnvironments_Update
tags:
- KubeEnvironments
summary: Creates or updates a Kubernetes Environment
description: Description for Creates or updates a Kubernetes Environment.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: name
in: path
description: Name of the Kubernetes Environment.
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/KubeEnvironment'
'201':
description: Resource 'KubeEnvironment' create operation succeeded
content:
application/json:
schema:
$ref: '#/components/schemas/KubeEnvironment'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/DefaultErrorResponse'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/KubeEnvironmentPatchResource'
description: Configuration details of the Kubernetes Environment.
required: true
delete:
operationId: KubeEnvironments_Delete
tags:
- KubeEnvironments
summary: Delete a Kubernetes Environment
description: Description for Delete a Kubernetes Environment.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: name
in: path
description: Name of the Kubernetes Environment.
required: true
schema:
type: string
responses:
'200':
description: Resource deleted successfully.
'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/DefaultErrorResponse'
x-ms-long-running-operation-options:
final-state-via: location
x-ms-long-running-operation: true
components:
schemas:
DefaultErrorResponseError:
type: object
description: Error model.
properties:
code:
type: string
description: Standardized string to programmatically identify the error.
readOnly: true
message:
type: string
description: Detailed error description and debugging information.
readOnly: true
target:
type: string
description: Detailed error description and debugging information.
readOnly: true
details:
type: array
items:
$ref: '#/components/schemas/DefaultErrorResponseErrorDetailsItem'
x-ms-identifiers: []
innererror:
type: string
description: More information to debug error.
readOnly: true
StorageType:
type: string
enum:
- LocalNode
- NetworkFileSystem
x-ms-enum:
name: StorageType
modelAsString: false
ContainerAppsConfiguration:
type: object
properties:
daprAIInstrumentationKey:
type: string
description: Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry
x-ms-mutability:
- read
- create
platformReservedCidr:
type: string
description: IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. It must not overlap with any other Subnet IP ranges.
x-ms-mutability:
- read
- create
platformReservedDnsIP:
type: string
description: An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS server
x-ms-mutability:
- read
- create
controlPlaneSubnetResourceId:
type: string
description: Resource ID of a subnet for control plane infrastructure components. This subnet must be in the same VNET as the subnet defined in appSubnetResourceId. Must not overlap with the IP range defined in platformReservedCidr, if defined.
x-ms-mutability:
- read
- create
appSubnetResourceId:
type: string
description: Resource ID of a subnet for control plane infrastructure components. This subnet must be in the same VNET as the subnet defined in appSubnetResourceId. Must not overlap with the IP range defined in platformReservedCidr, if defined.
x-ms-mutability:
- read
- create
dockerBridgeCidr:
type: string
description: CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the IP range defined in platformReservedCidr, if defined.
x-ms-mutability:
- read
- create
LogAnalyticsConfiguration:
type: object
properties:
customerId:
type: string
sharedKey:
type: string
format: password
x-ms-mutability:
- update
- create
x-ms-secret: true
ArcConfiguration:
type: object
properties:
artifactsStorageType:
$ref: '#/components/schemas/StorageType'
x-ms-mutability:
- read
- create
artifactStorageClassName:
type: string
x-ms-mutability:
- read
- create
artifactStorageMountPath:
type: string
x-ms-mutability:
- read
- create
artifactStorageNodeName:
type: string
x-ms-mutability:
- read
- create
artifactStorageAccessMode:
type: string
x-ms-mutability:
- read
- create
frontEndServiceConfiguration:
$ref: '#/components/schemas/FrontEndConfiguration'
kubeConfig:
type: string
format: password
x-ms-mutability:
- update
- create
x-ms-secret: true
KubeEnvironmentPatchResource:
type: object
description: ARM resource for a KubeEnvironment when patching
properties:
properties:
$ref: '#/components/schemas/KubeEnvironmentPatchResourceProperties'
description: KubeEnvironmentPatchResource resource specific properties
x-ms-client-flatten: true
allOf:
- $ref: '#/components/schemas/ProxyOnlyResource'
FrontEndConfiguration:
type: object
properties:
kind:
$ref: '#/components/schemas/FrontEndServiceType'
KubeEnvironmentProperties:
type: object
description: KubeEnvironment resource specific properties
properties:
provisioningState:
$ref: '#/components/schemas/KubeEnvironmentProvisioningState'
description: Provisioning state of the Kubernetes Environment.
readOnly: true
deploymentErrors:
type: string
description: Any errors that occurred during deployment or deployment validation
readOnly: true
internalLoadBalancerEnabled:
type: boolean
description: Only visible within Vnet/Subnet
x-ms-mutability:
- read
- create
defaultDomain:
type: string
description: Default Domain Name for the cluster
readOnly: true
staticIp:
type: string
description: Static IP of the KubeEnvironment
x-ms-mutability:
- read
- create
environmentType:
type: string
description: Type of Kubernetes Environment. Only supported for Container App Environments with value as Managed
x-ms-mutability:
- read
- create
arcConfiguration:
$ref: '#/components/schemas/ArcConfiguration'
description: 'Cluster configuration which determines the ARC cluster
components types. Eg: Choosing between BuildService kind,
FrontEnd Service ArtifactsStorageType etc.'
appLogsConfiguration:
$ref: '#/components/schemas/AppLogsConfiguration'
description: 'Cluster configuration which enables the log daemon to export
app logs to a destination. Currently only "log-analytics" is
supported'
containerAppsConfiguration:
$ref: '#/components/schemas/ContainerAppsConfiguration'
description: Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration
aksResourceID:
type: string
x-ms-mutability:
- read
- create
ProxyOnlyResource:
type: object
description: Azure proxy only resource. This resource is not tracked by Azure Resource Manager.
properties:
id:
type: string
description: Resource Id.
readOnly: true
name:
type: string
description: Resource Name.
readOnly: true
kind:
type: string
description: Kind of resource.
type:
type: string
description: Resource type.
readOnly: true
DefaultErrorResponse:
type: object
description: App Service error response.
properties:
error:
$ref: '#/components/schemas/DefaultErrorResponseError'
description: Error model.
readOnly: true
DefaultErrorResponseErrorDetailsItem:
type: object
description: Detailed errors.
properties:
code:
type: string
description: Standardized string to programmatically identify the error.
readOnly: true
message:
type: string
description: Detailed error description and debugging information.
readOnly: true
target:
type: string
description: Detailed error description and debugging information.
readOnly: true
AppLogsConfiguration:
type: object
properties:
destination:
type: string
logAnalyticsConfiguration:
$ref: '#/components/schemas/LogAnalyticsConfiguration'
KubeEnvironmentCollection:
type: object
description: Collection of Kubernetes Environments
properties:
value:
type: array
description: The KubeEnvironment items on this page
items:
$ref: '#/components/schemas/KubeEnvironment'
nextLink:
type: string
format: uri
description: The link to the next page of items
required:
- value
FrontEndServiceType:
type: string
enum:
- NodePort
- LoadBalancer
x-ms-enum:
name: FrontEndServiceType
modelAsString: false
TrackedResource:
type: object
title: Tracked Resource
description: The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
properties:
tags:
type: object
description: Resource tags.
additionalProperties:
type: string
x-ms-mutability:
- read
- create
- update
location:
type: string
description: The geo-location where the resource lives
x-ms-mutability:
- read
- create
required:
- location
allOf:
- $ref: '#/components/schemas/Resource'
ExtendedLocation:
type: object
description: Extended Location.
properties:
name:
type: string
description: Name of extended location.
type:
type: string
description: Type of extended location.
readOnly: true
KubeEnvironment:
type: object
description: A Kubernetes cluster specialized for web workloads by Azure App Service
properties:
properties:
$ref: '#/components/schemas/KubeEnvironmentProperties'
description: KubeEnvironment resource specific properties
x-ms-client-flatten: true
extendedLocation:
$ref: '#/components/schemas/ExtendedLocation'
description: Extended Location.
kind:
type: string
description: Kind of resource.
allOf:
- $ref: '#/components/schemas/TrackedResource'
Resource:
type: object
title: Resource
description: Common fields that are returned in the response for all Azure Resource Manager resources
properties:
id:
type: string
format: arm-id
description: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
readOnly: true
name:
type: string
description: The name of the resource
readOnly: true
type:
type: string
description: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
readOnly: true
systemData:
$ref: '#/components/schemas/systemData'
description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
readOnly: true
x-ms-azure-resource: true
KubeEnvironmentPatchResourceProperties:
type: object
description: KubeEnvironmentPatchResource resource specific properties
properties:
provisioningState:
$ref: '#/components/schemas/KubeEnvironmentProvisioningState'
description: Provisioning state of the Kubernetes Environment.
readOnly: true
deploymentErrors:
type: string
description: Any errors that occurred during deployment or deployment validation
readOnly: true
internalLoadBalancerEnabled:
type: boolean
description: Only visible within Vnet/Subnet
x-ms-mutability:
- read
- create
defaultDomain:
type: string
description: Default Domain Name for the cluster
readOnly: true
staticIp:
type: string
description: Static IP of the KubeEnvironment
x-ms-mutability:
- read
- create
arcConfiguration:
$ref: '#/components/schemas/ArcConfiguration'
description: 'Cluster configuration which determines the ARC cluster
components types. Eg: Choosing between BuildService kind,
FrontEnd Service ArtifactsStorageType etc.'
appLogsConfiguration:
$ref: '#/components/schemas/AppLogsConfiguration'
description: 'Cluster configuration which enables the log daemon to export
app logs to a destination. Currently only "log-analytics" is
supported'
containerAppsConfiguration:
$ref: '#/components/schemas/ContainerAppsConfiguration'
description: Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration
aksResourceID:
type: string
x-ms-mutability:
- read
- create
KubeEnvironmentProvisioningState:
type: string
description: Provisioning state of the Kubernetes Environment.
enum:
- Succeeded
- Failed
- Canceled
- Waiting
- InitializationInProgress
- InfrastructureSetupInProgress
- InfrastructureSetupComplete
- ScheduledForDelete
- UpgradeRequested
- UpgradeFailed
x-ms-enum:
name: KubeEnvironmentProvisioningState
modelAsString: false
readOnly: true
parameters:
ApiVersionParameter:
name: api-version
in: query
description: The API version to use for this operation.
required: true
schema:
type: string
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
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.