Sdílet prostřednictvím


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
String

The network ID to be used by the machines.

subnetName
String

The name of the subnet.

Returns

Applies to