ApplicationGateway.DefinitionStages.WithExistingSubnet Interface

Implements

public static interface ApplicationGateway.DefinitionStages.WithExistingSubnet
extends WithSubnet<WithCreate>

The stage of an application gateway definition allowing to specify the subnet the app gateway is getting its private IP address from.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withExistingSubnet(Network network, String subnetName)

Specifies the subnet the application gateway gets its private IP address from.

abstract WithCreate withExistingSubnet(Subnet subnet)

Specifies the subnet the application gateway gets its private IP address from.

Method Details

withExistingSubnet

public abstract ApplicationGateway.DefinitionStages.WithCreate withExistingSubnet(Network network, String subnetName)

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.

Parameters:

network - the virtual network the subnet is part of
subnetName - the name of a subnet within the selected network

Returns:

the next stage of the definition

withExistingSubnet

public abstract ApplicationGateway.DefinitionStages.WithCreate withExistingSubnet(Subnet subnet)

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.

Parameters:

subnet - an existing subnet

Returns:

the next stage of the definition

Applies to