CmdID / az / az agentfabric / az agentfabric aks
az agentfabric aks update
Patch an Agent Fabric compute association. Azure CLI extensions reference
Patch tags, SKU, or workload cluster gateway IP. Starting with API version 2026-11-03-preview, --cluster-resource-id is optional in the request schema; when supplied, it must match the immutable target resource ID of the association.
2 examples 6 options Its page in the Azure CLI extensions reference
Examples
Patch a compute association
az agentfabric aks update --resource-group rgnetworksecurity --fabric-name testAIFabric --association-name testAssociation --cluster-resource-id /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgaks/providers/Microsoft.ContainerService/managedClusters/testAksCluster --sku Premium --gateway-ip 10.0.0.4 --tags "{env:prod}"Identify--resource-groupName of resource group.--fabric-nameName of the parent Agent Fabric.--association-nameName of the ClusterAssociation child resource.--cluster-resource-idExisting AKS managed cluster or ACI SandboxGroup resource ID.--skuDetermines which AgentFabric components are deployed to the cluster.--gateway-ipThe IPv4 or IPv6 address of the workload cluster gateway used for internal Agent Fabric routing.--tagsResource tags.Upgrade an association without supplying its immutable target resource ID
az agentfabric aks update --resource-group rgnetworksecurity --fabric-name testAIFabric --association-name testAssociation --sku PremiumIdentify--resource-groupName of resource group.--fabric-nameName of the parent Agent Fabric.--association-nameName of the ClusterAssociation child resource.--skuDetermines which AgentFabric components are deployed to the cluster.Options
--association-name, --cluster-name, --name, -nName of the ClusterAssociation child resource.--cluster-resource-idExisting AKS managed cluster or ACI SandboxGroup resource ID.--fabric-nameName of the parent Agent Fabric.--skuDetermines which AgentFabric components are deployed to the cluster.--tagsResource tags.--workload-cluster-gateway-ip, --gateway-ip, -iThe IPv4 or IPv6 address of the workload cluster gateway used for internal Agent Fabric routing.