IWithSubnet.WithSubnet(String, String) Method

Definition

Specifies the virtual network and subnet for the virtual machines in the master and agent pools.

public Microsoft.Azure.Management.ContainerService.Fluent.ContainerService.Definition.IWithCreate WithSubnet (string networkId, string subnetName);
abstract member WithSubnet : string * string -> Microsoft.Azure.Management.ContainerService.Fluent.ContainerService.Definition.IWithCreate
Public Function WithSubnet (networkId As String, subnetName As String) As IWithCreate

Parameters

networkId
System.String

The network ID to be used by the machines.

subnetName
System.String

The name of the subnet.

Returns

IWithCreate

Applies to