ParentT
- the stage of the virtual network gateway definition to return to after attaching this definitionpublic static interface VirtualNetworkGatewayIPConfiguration.DefinitionStages.WithSubnet<ParentT> extends HasSubnet.DefinitionStages.WithSubnet<VirtualNetworkGatewayIPConfiguration.DefinitionStages.WithAttach<ParentT>>
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.
|
withExistingSubnet
VirtualNetworkGatewayIPConfiguration.DefinitionStages.WithAttach<ParentT> withExistingSubnet(Subnet subnet)
subnet
- an existing subnetVirtualNetworkGatewayIPConfiguration.DefinitionStages.WithAttach<ParentT> withExistingSubnet(Network network, String subnetName)
network
- an existing virtual networksubnetName
- the name of a subnet within the selected networkCopyright © 2019. All rights reserved.