IWithSubnet.WithSubnet(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.