IWithSubnet.WithExistingSubnet Method

Definition

Overloads

WithExistingSubnet(ISubnet)

Specifies an existing subnet the application gateway should be part of and get its private IP address from.

WithExistingSubnet(INetwork, String)

Specifies an existing subnet the application gateway should be part of and get its private IP address from.

WithExistingSubnet(ISubnet)

Specifies an existing subnet the application gateway should be part of and get its private IP address from.

public Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayIPConfiguration.Update.IUpdate WithExistingSubnet (Microsoft.Azure.Management.Network.Fluent.ISubnet subnet);
abstract member WithExistingSubnet : Microsoft.Azure.Management.Network.Fluent.ISubnet -> Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayIPConfiguration.Update.IUpdate
Public Function WithExistingSubnet (subnet As ISubnet) As IUpdate

Parameters

subnet
ISubnet

An existing subnet.

Returns

IUpdate

Applies to

Product Introduced

WithExistingSubnet(INetwork, String)

Specifies an existing subnet the application gateway should be part of and get its private IP address from.

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

Parameters

network
INetwork

An existing virtual network.

subnetName
String

The name of a subnet within the selected network.

Returns

IUpdate

Applies to

Product Introduced