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
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor