Share via


IWithSubnet.WithExistingSubnet(INetwork, String) Method

Definition

Assigns the specified subnet to this private frontend of the internal load balancer.

public Microsoft.Azure.Management.Network.Fluent.LoadBalancerPrivateFrontend.Update.IUpdate WithExistingSubnet (Microsoft.Azure.Management.Network.Fluent.INetwork network, string subnetName);
abstract member WithExistingSubnet : Microsoft.Azure.Management.Network.Fluent.INetwork * string -> Microsoft.Azure.Management.Network.Fluent.LoadBalancerPrivateFrontend.Update.IUpdate
Public Function WithExistingSubnet (network As INetwork, subnetName As String) As IUpdate

Parameters

network
INetwork

The virtual network the subnet exists in.

subnetName
String

The name of a subnet.

Returns

Applies to