ParentT - the stage of the container service definition to return to after attaching this definition@Beta(value=V1_15_0)
public static interface ContainerServiceAgentPool.DefinitionStages.WithVirtualNetwork<ParentT>
| Modifier and Type | Method and Description |
|---|---|
ContainerServiceAgentPool.DefinitionStages.WithAttach<ParentT> |
withVirtualNetwork(String virtualNetworkId,
String subnetName)
Specifies the virtual network to be used for the agents.
|
@Beta(value=V1_15_0) ContainerServiceAgentPool.DefinitionStages.WithAttach<ParentT> withVirtualNetwork(String virtualNetworkId, String subnetName)
virtualNetworkId - the ID of a virtual networksubnetName - the name of the subnet within the virtual network.; the subnet must have the service
endpoints enabled for 'Microsoft.ContainerService'./**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/