WebApps API Client — KubeEnvironments

WebApps API Client — KubeEnvironments. 6 operations. Lead operation: Get all Kubernetes Environments for a subscription.. Self-contained Naftiko capability covering one Microsoft Azure Functions business surface.

Run with Naftiko Microsoft Azure FunctionsKubeEnvironments

What You Can Do

GET
Kubeenvironmentslistbysubscription — Get all Kubernetes Environments for a subscription.
/v1/subscriptions/{subscriptionid}/providers/microsoft-web/kubeenvironments
GET
Kubeenvironmentslistbyresourcegroup — Get all the Kubernetes Environments in a resource group.
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/kubeenvironments
GET
Kubeenvironmentsget — Get the properties of a Kubernetes Environment.
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/kubeenvironments/{name}
PUT
Kubeenvironmentscreateorupdate — Creates or updates a Kubernetes Environment.
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/kubeenvironments/{name}
PATCH
Kubeenvironmentsupdate — Creates or updates a Kubernetes Environment.
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/kubeenvironments/{name}
DELETE
Kubeenvironmentsdelete — Delete a Kubernetes Environment.
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/kubeenvironments/{name}

MCP Tools

get-all-kubernetes-environments-subscription

Get all Kubernetes Environments for a subscription.

read-only idempotent
get-all-kubernetes-environments-resource

Get all the Kubernetes Environments in a resource group.

read-only idempotent
get-properties-kubernetes-environment

Get the properties of a Kubernetes Environment.

read-only idempotent
creates-updates-kubernetes-environment

Creates or updates a Kubernetes Environment.

idempotent
creates-updates-kubernetes-environment-2

Creates or updates a Kubernetes Environment.

idempotent
delete-kubernetes-environment

Delete a Kubernetes Environment.

idempotent

Capability Spec

azure-functions-management-kubeenvironments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WebApps API Client — KubeEnvironments
  description: 'WebApps API Client — KubeEnvironments. 6 operations. Lead operation: Get all Kubernetes Environments for a
    subscription.. Self-contained Naftiko capability covering one Microsoft Azure Functions business surface.'
  tags:
  - Microsoft Azure Functions
  - KubeEnvironments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_FUNCTIONS_API_KEY: MICROSOFT_AZURE_FUNCTIONS_API_KEY
capability:
  consumes:
  - type: http
    namespace: azure-functions-management-kubeenvironments
    baseUri: https://management.azure.com
    description: WebApps API Client — KubeEnvironments business capability. Self-contained, no shared references.
    resources:
    - name: subscriptions-subscriptionId-providers-Microsoft.Web-kubeEnvironments
      path: /subscriptions/{subscriptionId}/providers/Microsoft.Web/kubeEnvironments
      operations:
      - name: kubeenvironmentslistbysubscription
        method: GET
        description: Get all Kubernetes Environments for a subscription.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments
      operations:
      - name: kubeenvironmentslistbyresourcegroup
        method: GET
        description: Get all the Kubernetes Environments in a resource group.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}
      operations:
      - name: kubeenvironmentsget
        method: GET
        description: Get the properties of a Kubernetes Environment.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: Name of the Kubernetes Environment.
          required: true
      - name: kubeenvironmentscreateorupdate
        method: PUT
        description: Creates or updates a Kubernetes Environment.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: Name of the Kubernetes Environment.
          required: true
        - name: kubeEnvironmentEnvelope
          in: body
          type: string
          description: Configuration details of the Kubernetes Environment.
          required: true
      - name: kubeenvironmentsupdate
        method: PATCH
        description: Creates or updates a Kubernetes Environment.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: Name of the Kubernetes Environment.
          required: true
        - name: kubeEnvironmentEnvelope
          in: body
          type: string
          description: Configuration details of the Kubernetes Environment.
          required: true
      - name: kubeenvironmentsdelete
        method: DELETE
        description: Delete a Kubernetes Environment.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: Name of the Kubernetes Environment.
          required: true
  exposes:
  - type: rest
    namespace: azure-functions-management-kubeenvironments-rest
    port: 8080
    description: REST adapter for WebApps API Client — KubeEnvironments. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-web/kubeenvironments
      name: subscriptions-subscriptionid-providers-microsoft-web-kubeenvironments
      description: REST surface for subscriptions-subscriptionId-providers-Microsoft.Web-kubeEnvironments.
      operations:
      - method: GET
        name: kubeenvironmentslistbysubscription
        description: Get all Kubernetes Environments for a subscription.
        call: azure-functions-management-kubeenvironments.kubeenvironmentslistbysubscription
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/kubeenvironments
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: kubeenvironmentslistbyresourcegroup
        description: Get all the Kubernetes Environments in a resource group.
        call: azure-functions-management-kubeenvironments.kubeenvironmentslistbyresourcegroup
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/kubeenvironments/{name}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: kubeenvironmentsget
        description: Get the properties of a Kubernetes Environment.
        call: azure-functions-management-kubeenvironments.kubeenvironmentsget
        with:
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: kubeenvironmentscreateorupdate
        description: Creates or updates a Kubernetes Environment.
        call: azure-functions-management-kubeenvironments.kubeenvironmentscreateorupdate
        with:
          name: rest.name
          kubeEnvironmentEnvelope: rest.kubeEnvironmentEnvelope
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: kubeenvironmentsupdate
        description: Creates or updates a Kubernetes Environment.
        call: azure-functions-management-kubeenvironments.kubeenvironmentsupdate
        with:
          name: rest.name
          kubeEnvironmentEnvelope: rest.kubeEnvironmentEnvelope
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: kubeenvironmentsdelete
        description: Delete a Kubernetes Environment.
        call: azure-functions-management-kubeenvironments.kubeenvironmentsdelete
        with:
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-functions-management-kubeenvironments-mcp
    port: 9090
    transport: http
    description: MCP adapter for WebApps API Client — KubeEnvironments. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-all-kubernetes-environments-subscription
      description: Get all Kubernetes Environments for a subscription.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-functions-management-kubeenvironments.kubeenvironmentslistbysubscription
      outputParameters:
      - type: object
        mapping: $.
    - name: get-all-kubernetes-environments-resource
      description: Get all the Kubernetes Environments in a resource group.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-functions-management-kubeenvironments.kubeenvironmentslistbyresourcegroup
      outputParameters:
      - type: object
        mapping: $.
    - name: get-properties-kubernetes-environment
      description: Get the properties of a Kubernetes Environment.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-functions-management-kubeenvironments.kubeenvironmentsget
      with:
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.
    - name: creates-updates-kubernetes-environment
      description: Creates or updates a Kubernetes Environment.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: azure-functions-management-kubeenvironments.kubeenvironmentscreateorupdate
      with:
        name: tools.name
        kubeEnvironmentEnvelope: tools.kubeEnvironmentEnvelope
      outputParameters:
      - type: object
        mapping: $.
    - name: creates-updates-kubernetes-environment-2
      description: Creates or updates a Kubernetes Environment.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: azure-functions-management-kubeenvironments.kubeenvironmentsupdate
      with:
        name: tools.name
        kubeEnvironmentEnvelope: tools.kubeEnvironmentEnvelope
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-kubernetes-environment
      description: Delete a Kubernetes Environment.
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: azure-functions-management-kubeenvironments.kubeenvironmentsdelete
      with:
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.