ApplicationGatewayIPConfiguration.DefinitionStages.WithSubnet<ParentT> Interface

Type Parameters

ParentT

the stage of the application gateway definition to return to after attaching this definition

Implements

public static interface ApplicationGatewayIPConfiguration.DefinitionStages.WithSubnet
extends WithSubnet<WithAttach<ParentT>>

The stage of an application gateway IP configuration definition allowing to specify the subnet the application gateway is on.

Method Summary

Modifier and Type Method and Description
abstract WithAttach<ParentT> withExistingSubnet(Network network, String subnetName)

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

abstract WithAttach<ParentT> withExistingSubnet(Subnet subnet)

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

Method Details

withExistingSubnet

public abstract ApplicationGatewayIPConfiguration.DefinitionStages.WithAttach withExistingSubnet(Network network, String subnetName)

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

Parameters:

network - an existing virtual network
subnetName - the name of a subnet within the selected network

Returns:

the next stage of the definition

withExistingSubnet

public abstract ApplicationGatewayIPConfiguration.DefinitionStages.WithAttach withExistingSubnet(Subnet subnet)

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

Parameters:

subnet - an existing subnet

Returns:

the next stage of the definition

Applies to