VirtualNetworkGatewayIPConfiguration.DefinitionStages.WithSubnet<ParentT> Interface

Type Parameters

ParentT

the stage of the virtual network gateway definition to return to after attaching this definition

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

The stage of virtual network gateway IP configuration definition allowing to specify the subnet the virtual network gateway is on.

Method Summary

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

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

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

Specifies an existing subnet the virtual network 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 virtual network 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 virtual network 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