Share via


IWithFrontend<ReturnT>.FromExistingSubnet Method

Definition

Overloads

FromExistingSubnet(ISubnet)

Specifies an existing private subnet to receive network traffic from. If this load balancer already has a frontend referencing this subnet, that is the frontend that will be used. Else, an automatically named new private frontend will be created implicitly on the load balancer.

FromExistingSubnet(INetwork, String)

Specifies an existing private subnet to receive network traffic from. If this load balancer already has a frontend referencing this subnet, that is the frontend that will be used. Else, an automatically named new private frontend will be created implicitly on the load balancer.

FromExistingSubnet(String, String)

Specifies an existing private subnet to receive network traffic from. If this load balancer already has a frontend referencing this subnet, that is the frontend that will be used. Else, an automatically named new private frontend will be created implicitly on the load balancer.

FromExistingSubnet(ISubnet)

Specifies an existing private subnet to receive network traffic from. If this load balancer already has a frontend referencing this subnet, that is the frontend that will be used. Else, an automatically named new private frontend will be created implicitly on the load balancer.

public ReturnT FromExistingSubnet (Microsoft.Azure.Management.Network.Fluent.ISubnet subnet);
abstract member FromExistingSubnet : Microsoft.Azure.Management.Network.Fluent.ISubnet -> 'ReturnT
Public Function FromExistingSubnet (subnet As ISubnet) As ReturnT

Parameters

subnet
ISubnet

An existing subnet.

Returns

ReturnT

Applies to

FromExistingSubnet(INetwork, String)

Specifies an existing private subnet to receive network traffic from. If this load balancer already has a frontend referencing this subnet, that is the frontend that will be used. Else, an automatically named new private frontend will be created implicitly on the load balancer.

public ReturnT FromExistingSubnet (Microsoft.Azure.Management.Network.Fluent.INetwork network, string subnetName);
abstract member FromExistingSubnet : Microsoft.Azure.Management.Network.Fluent.INetwork * string -> 'ReturnT
Public Function FromExistingSubnet (network As INetwork, subnetName As String) As ReturnT

Parameters

network
INetwork

An existing network.

subnetName
String

The name of an existing subnet within the specified network.

Returns

ReturnT

Applies to

FromExistingSubnet(String, String)

Specifies an existing private subnet to receive network traffic from. If this load balancer already has a frontend referencing this subnet, that is the frontend that will be used. Else, an automatically named new private frontend will be created implicitly on the load balancer.

public ReturnT FromExistingSubnet (string networkResourceId, string subnetName);
abstract member FromExistingSubnet : string * string -> 'ReturnT
Public Function FromExistingSubnet (networkResourceId As String, subnetName As String) As ReturnT

Parameters

networkResourceId
String

The resource ID of an existing network.

subnetName
String

The name of an existing subnet within the specified network.

Returns

ReturnT

Applies to