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.
|
withExistingSubnetVirtualNetworkGatewayIpConfiguration.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 © 2020 Microsoft Corporation. All rights reserved.