NicIPConfiguration.DefinitionStages.WithNetwork<ParentT> Interface
Type Parameters
- ParentT
the return type of the final attach()
public interface WithNetwork
The stage of the network interface IP configuration definition allowing to specify the virtual network.
Method Summary
Modifier and Type | Method and Description |
---|---|
Nic |
withExistingNetwork(Network network)
Associate an existing virtual network with the network interface IP configuration. |
Nic |
withNewNetwork(Creatable<Network> creatable)
Create a new virtual network to associate with the network interface IP configuration, based on the provided definition. |
Nic |
withNewNetwork(String addressSpace)
Creates a new virtual network to associate with the network interface IP configuration. the virtual network will be created in the same resource group and region as of parent network interface, it will be created with the specified address space and a default subnet covering the entirety of the network IP address space. |
Nic |
withNewNetwork(String name, String addressSpace)
Creates a new virtual network to associate with the network interface IP configuration. the virtual network will be created in the same resource group and region as of parent network interface, it will be created with the specified address space and a default subnet covering the entirety of the network IP address space. |
Method Details
withExistingNetwork
public WithSubnet
Associate an existing virtual network with the network interface IP configuration.
Parameters:
Returns:
withNewNetwork
public WithPrivateIP
Create a new virtual network to associate with the network interface IP configuration, based on the provided definition.
Parameters:
Returns:
withNewNetwork
public WithPrivateIP
Creates a new virtual network to associate with the network interface IP configuration.
the virtual network will be created in the same resource group and region as of parent 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:
withNewNetwork
public WithPrivateIP
Creates a new virtual network to associate with the network interface IP configuration.
the virtual network will be created in the same resource group and region as of parent 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.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for