ApplicationGatewayIPConfiguration.UpdateDefinitionStages.WithSubnet<ParentT> Interface

Type Parameters

ParentT

the parent type

Implements

public static interface ApplicationGatewayIPConfiguration.UpdateDefinitionStages.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.UpdateDefinitionStages.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.UpdateDefinitionStages.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