VirtualNetworkGateway.DefinitionStages.WithNetwork Interface
public static interface VirtualNetworkGateway.DefinitionStages.WithNetwork
The stage of the virtual network gateway definition allowing to specify the virtual network.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withExistingNetwork(Network network)
Associate an existing virtual network with the virtual network gateway. |
abstract
With |
withNewNetwork(Creatable<Network> creatable)
Create a new virtual network to associate with the virtual network gateway, based on the provided definition. |
abstract
With |
withNewNetwork(String addressSpaceCidr, String subnetAddressSpaceCidr)
Creates a new virtual network to associate with the virtual network gateway. |
abstract
With |
withNewNetwork(String name, String addressSpace, String subnetAddressSpaceCidr)
Creates a new virtual network to associate with the virtual network gateway. |
Method Details
withExistingNetwork
public abstract VirtualNetworkGateway.DefinitionStages.WithGatewayType withExistingNetwork(Network network)
Associate an existing virtual network with the virtual network gateway.
Parameters:
Returns:
withNewNetwork
public abstract VirtualNetworkGateway.DefinitionStages.WithGatewayType withNewNetwork(Creatable
Create a new virtual network to associate with the virtual network gateway, based on the provided definition.
Parameters:
Returns:
withNewNetwork
public abstract VirtualNetworkGateway.DefinitionStages.WithGatewayType withNewNetwork(String addressSpaceCidr, String subnetAddressSpaceCidr)
Creates a new virtual network to associate with the virtual network gateway. the virtual network will be created in the same resource group and region as of parent virtual network gateway, it will be created with the specified address space and a default subnet for virtual network gateway.
Parameters:
Returns:
withNewNetwork
public abstract VirtualNetworkGateway.DefinitionStages.WithGatewayType withNewNetwork(String name, String addressSpace, String subnetAddressSpaceCidr)
Creates a new virtual network to associate with the virtual network gateway. the virtual network will be created in the same resource group and region as of parent virtual network gateway, it will be created with the specified address space and a subnet for virtual network gateway.
Parameters:
Returns:
Applies to
Azure SDK for Java
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro