KubernetesClusterAgentPool.DefinitionStages.WithVirtualNetwork<ParentT> Interface

Type Parameters

ParentT

the stage of the container service definition to return to after attaching this definition

public static interface KubernetesClusterAgentPool.DefinitionStages.WithVirtualNetwork

The stage of a container service agent pool definition allowing to specify a virtual network to be used for the agents.

Method Summary

Modifier and Type Method and Description
abstract WithAttach<ParentT> withVirtualNetwork(String virtualNetworkId, String subnetName)

Specifies the virtual network to be used for the agents.

Method Details

withVirtualNetwork

public abstract KubernetesClusterAgentPool.DefinitionStages.WithAttach 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

Applies to