IWithExistingSubnet.WithExistingSubnet Method

Definition

Overloads

WithExistingSubnet(ISubnet)

Specifies the subnet the application gateway gets its private IP address from. This will create a new IP configuration, if it does not already exist. Private (internal) frontends, if any have been enabled, will be configured to use this subnet as well.

WithExistingSubnet(INetwork, String)

Specifies the subnet the application gateway gets its private IP address from. This will create a new IP configuration, if it does not already exist. Private (internal) frontends, if any have been enabled, will be configured to use this subnet as well.

WithExistingSubnet(ISubnet)

Specifies the subnet the application gateway gets its private IP address from. This will create a new IP configuration, if it does not already exist. Private (internal) frontends, if any have been enabled, will be configured to use this subnet as well.

public Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Definition.IWithCreate WithExistingSubnet (Microsoft.Azure.Management.Network.Fluent.ISubnet subnet);
abstract member WithExistingSubnet : Microsoft.Azure.Management.Network.Fluent.ISubnet -> Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Definition.IWithCreate
Public Function WithExistingSubnet (subnet As ISubnet) As IWithCreate

Parameters

subnet
ISubnet

An existing subnet.

Returns

Applies to

WithExistingSubnet(INetwork, String)

Specifies the subnet the application gateway gets its private IP address from. This will create a new IP configuration, if it does not already exist. Private (internal) frontends, if any have been enabled, will be configured to use this subnet as well.

public Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Definition.IWithCreate 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.ApplicationGateway.Definition.IWithCreate
Public Function WithExistingSubnet (network As INetwork, subnetName As String) As IWithCreate

Parameters

network
INetwork

The virtual network the subnet is part of.

subnetName
String

The name of a subnet within the selected network.

Returns

Applies to