Interface KubernetesClusterAgentPool.DefinitionStages.WithVirtualNetwork<ParentT>

Type Parameters:
ParentT - the stage of the container service definition to return to after attaching this definition
All Known Subinterfaces:
KubernetesClusterAgentPool.Definition<ParentT>, KubernetesClusterAgentPool.DefinitionStages.WithAttach<ParentT>
Enclosing interface:
KubernetesClusterAgentPool.DefinitionStages

public static interface KubernetesClusterAgentPool.DefinitionStages.WithVirtualNetwork<ParentT>
The stage of a container service agent pool definition allowing to specify a virtual network to be used for the agents.
  • Method Details

    • withVirtualNetwork

      KubernetesClusterAgentPool.DefinitionStages.WithAttach<ParentT> withVirtualNetwork(String virtualNetworkId, String subnetName)
      Specifies the virtual network to be used for the agents.
      Parameters:
      virtualNetworkId - the ID of a virtual network
      subnetName - the name of the subnet within the virtual network.; the subnet must have the service endpoints enabled for 'Microsoft.ContainerService'.
      Returns:
      the next stage