diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/KubernetesClusterAgentPoolImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/KubernetesClusterAgentPoolImpl.java index e3f791623d2d5..a553f87a43874 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/KubernetesClusterAgentPoolImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/KubernetesClusterAgentPoolImpl.java @@ -311,6 +311,7 @@ AgentPoolInner getAgentPoolInner() { agentPoolInner.withEnableUltraSsd(innerModel().enableUltraSsd()); agentPoolInner.withEnableFips(innerModel().enableFips()); agentPoolInner.withGpuInstanceProfile(innerModel().gpuInstanceProfile()); + agentPoolInner.withHostGroupId(innerModel().hostGroupId()); return agentPoolInner; }