Interface KubernetesClusterAgentPool.DefinitionStages.WithVirtualNetwork<ParentT>

    • Method Detail

      • 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