NetworkInterface.DefinitionStages.WithPrimaryNetwork Interface
public static interface NetworkInterface.DefinitionStages.WithPrimaryNetwork
The stage of the network interface definition allowing to specify the virtual network for primary IP configuration.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withExistingPrimaryNetwork(Network network)
Associate an existing virtual network with the network interface's primary IP configuration. |
abstract
With |
withNewPrimaryNetwork(Creatable<Network> creatable)
Create a new virtual network to associate with the network interface's primary IP configuration, based on the provided definition. |
abstract
With |
withNewPrimaryNetwork(String addressSpace)
Creates a new virtual network to associate with the network interface's primary IP configuration. |
abstract
With |
withNewPrimaryNetwork(String name, String addressSpace)
Creates a new virtual network to associate with the network interface's primary IP configuration. |
Method Details
withExistingPrimaryNetwork
public abstract NetworkInterface.DefinitionStages.WithPrimaryNetworkSubnet withExistingPrimaryNetwork(Network network)
Associate an existing virtual network with the network interface's primary IP configuration.
Parameters:
Returns:
withNewPrimaryNetwork
public abstract NetworkInterface.DefinitionStages.WithPrimaryPrivateIP withNewPrimaryNetwork(Creatable
Create a new virtual network to associate with the network interface's primary IP configuration, based on the provided definition.
Parameters:
Returns:
withNewPrimaryNetwork
public abstract NetworkInterface.DefinitionStages.WithPrimaryPrivateIP withNewPrimaryNetwork(String addressSpace)
Creates a new virtual network to associate with the network interface's primary IP configuration.
The virtual network will be created in the same resource group and region as of network interface, it will be created with the specified address space and a default subnet covering the entirety of the network IP address space.
Parameters:
Returns:
withNewPrimaryNetwork
public abstract NetworkInterface.DefinitionStages.WithPrimaryPrivateIP withNewPrimaryNetwork(String name, String addressSpace)
Creates a new virtual network to associate with the network interface's primary IP configuration.
The virtual network will be created in the same resource group and region as of network interface, it will be created with the specified address space and a default subnet covering the entirety of the network IP address space.
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