Interface VirtualNetworkGatewayIpConfiguration.DefinitionStages.WithSubnet<ParentT>
- Type Parameters:
ParentT- the stage of the virtual network gateway definition to return to after attaching this definition
- All Superinterfaces:
HasSubnet.DefinitionStages.WithSubnet<VirtualNetworkGatewayIpConfiguration.DefinitionStages.WithAttach<ParentT>>
- All Known Subinterfaces:
VirtualNetworkGatewayIpConfiguration.Definition<ParentT>, VirtualNetworkGatewayIpConfiguration.DefinitionStages.Blank<ParentT>
- Enclosing interface:
VirtualNetworkGatewayIpConfiguration.DefinitionStages
public static interface VirtualNetworkGatewayIpConfiguration.DefinitionStages.WithSubnet<ParentT>
extends HasSubnet.DefinitionStages.WithSubnet<VirtualNetworkGatewayIpConfiguration.DefinitionStages.WithAttach<ParentT>>
The stage of virtual network gateway IP configuration definition allowing to specify the subnet the virtual
network gateway is on.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingSubnet(Network network, String subnetName) Specifies an existing subnet the virtual network gateway should be part of and get its private IP address from.withExistingSubnet(Subnet subnet) Specifies an existing subnet the virtual network gateway should be part of and get its private IP address from.Methods inherited from interface HasSubnet.DefinitionStages.WithSubnet
withExistingSubnet
-
Method Details
-
withExistingSubnet
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.- Parameters:
subnet- an existing subnet- Returns:
- the next stage of the definition
-
withExistingSubnet
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.- Parameters:
network- an existing virtual networksubnetName- the name of a subnet within the selected network- Returns:
- the next stage of the definition
-