public static interface NetworkInterface.DefinitionStages.WithPrimaryNetwork
Modifier and Type | Method and Description |
---|---|
NetworkInterface.DefinitionStages.WithPrimaryNetworkSubnet |
withExistingPrimaryNetwork(Network network)
Associate an existing virtual network with the network interface's primary IP configuration.
|
NetworkInterface.DefinitionStages.WithPrimaryPrivateIP |
withNewPrimaryNetwork(Creatable<Network> creatable)
Create a new virtual network to associate with the network interface's primary IP configuration,
based on the provided definition.
|
NetworkInterface.DefinitionStages.WithPrimaryPrivateIP |
withNewPrimaryNetwork(String addressSpace)
Creates a new virtual network to associate with the network interface's primary IP configuration.
|
NetworkInterface.DefinitionStages.WithPrimaryPrivateIP |
withNewPrimaryNetwork(String name,
String addressSpace)
Creates a new virtual network to associate with the network interface's primary IP configuration.
|
NetworkInterface.DefinitionStages.WithPrimaryPrivateIP withNewPrimaryNetwork(Creatable<Network> creatable)
creatable
- a creatable definition for a new virtual networkNetworkInterface.DefinitionStages.WithPrimaryPrivateIP withNewPrimaryNetwork(String name, String addressSpace)
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.
name
- the name of the new virtual networkaddressSpace
- the address space for rhe virtual networkNetworkInterface.DefinitionStages.WithPrimaryPrivateIP withNewPrimaryNetwork(String addressSpace)
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.
addressSpace
- the address space for the virtual networkNetworkInterface.DefinitionStages.WithPrimaryNetworkSubnet withExistingPrimaryNetwork(Network network)
network
- an existing virtual networkCopyright © 2019. All rights reserved.