ApplicationGatewayIPConfiguration.DefinitionStages.WithSubnet<ParentT> Interface

Type Parameters

ParentT

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

public interface WithSubnet extends HasSubnet.DefinitionStages.WithSubnet<WithAttach>

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
ApplicationGatewayIPConfiguration.DefinitionStages.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.

ApplicationGatewayIPConfiguration.DefinitionStages.WithAttach<ParentT> withExistingSubnet(Subnet subnet)

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

Inherited Members

Method Details

withExistingSubnet

public 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 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