IWithPrimaryNetworkSubnet.WithSubnet(String) Method

Definition

Associate a subnet with the network interface's primary IP configuration.

public Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithPrimaryPrivateIP WithSubnet (string name);
abstract member WithSubnet : string -> Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithPrimaryPrivateIP
Public Function WithSubnet (name As String) As IWithPrimaryPrivateIP

Parameters

name
System.String

The subnet name.

Returns

IWithPrimaryPrivateIP

Applies to