Interface NicIPConfiguration.DefinitionStages.WithNetwork<ParentT>
-
- Type Parameters:
ParentT
- the stage of the parent network interface definition to return to after attaching this definition
- All Known Subinterfaces:
NicIPConfiguration.Definition<ParentT>
,NicIPConfiguration.DefinitionStages.Blank<ParentT>
- Enclosing interface:
- NicIPConfiguration.DefinitionStages
public static interface NicIPConfiguration.DefinitionStages.WithNetwork<ParentT>
The stage of the network interface IP configuration definition allowing to specify the virtual network.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NicIPConfiguration.DefinitionStages.WithSubnet<ParentT>
withExistingNetwork(Network network)
Associate an existing virtual network with the network interface IP configuration.NicIPConfiguration.DefinitionStages.WithPrivateIP<ParentT>
withNewNetwork(com.microsoft.azure.management.resources.fluentcore.model.Creatable<Network> creatable)
Create a new virtual network to associate with the network interface IP configuration, based on the provided definition.NicIPConfiguration.DefinitionStages.WithPrivateIP<ParentT>
withNewNetwork(String addressSpace)
Creates a new virtual network to associate with the network interface IP configuration.NicIPConfiguration.DefinitionStages.WithPrivateIP<ParentT>
withNewNetwork(String name, String addressSpace)
Creates a new virtual network to associate with the network interface IP configuration.
-
-
-
Method Detail
-
withNewNetwork
NicIPConfiguration.DefinitionStages.WithPrivateIP<ParentT> withNewNetwork(com.microsoft.azure.management.resources.fluentcore.model.Creatable<Network> creatable)
Create a new virtual network to associate with the network interface IP configuration, based on the provided definition.- Parameters:
creatable
- a creatable definition for a new virtual network- Returns:
- the next stage of the definition
-
withNewNetwork
NicIPConfiguration.DefinitionStages.WithPrivateIP<ParentT> 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.
- Parameters:
name
- the name of the new virtual networkaddressSpace
- the address space for rhe virtual network- Returns:
- the next stage of the definition
-
withNewNetwork
NicIPConfiguration.DefinitionStages.WithPrivateIP<ParentT> 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.
- Parameters:
addressSpace
- the address space for the virtual network- Returns:
- the next stage of the definition
-
withExistingNetwork
NicIPConfiguration.DefinitionStages.WithSubnet<ParentT> withExistingNetwork(Network network)
Associate an existing virtual network with the network interface IP configuration.- Parameters:
network
- an existing virtual network- Returns:
- the next stage of the definition
-
-