Interface NetworkInterface.DefinitionStages.WithPrimaryPrivateIP
-
- All Known Subinterfaces:
NetworkInterface.Definition
- Enclosing interface:
- NetworkInterface.DefinitionStages
public static interface NetworkInterface.DefinitionStages.WithPrimaryPrivateIPThe stage of the network interface definition allowing to specify private IP address within a virtual network subnet.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkInterface.DefinitionStages.WithCreatewithPrimaryPrivateIPAddressDynamic()Enables dynamic private IP address allocation within the specified existing virtual network subnet for the network interface's primary IP configuration.NetworkInterface.DefinitionStages.WithCreatewithPrimaryPrivateIPAddressStatic(String staticPrivateIPAddress)Assigns the specified static private IP address within the specified existing virtual network subnet to the network interface's primary IP configuration.
-
-
-
Method Detail
-
withPrimaryPrivateIPAddressDynamic
NetworkInterface.DefinitionStages.WithCreate withPrimaryPrivateIPAddressDynamic()
Enables dynamic private IP address allocation within the specified existing virtual network subnet for the network interface's primary IP configuration.- Returns:
- the next stage of network interface definition
-
withPrimaryPrivateIPAddressStatic
NetworkInterface.DefinitionStages.WithCreate withPrimaryPrivateIPAddressStatic(String staticPrivateIPAddress)
Assigns the specified static private IP address within the specified existing virtual network subnet to the network interface's primary IP configuration.- Parameters:
staticPrivateIPAddress- the static IP address within the specified subnet to assign to the network interface- Returns:
- the next stage of network interface definition
-
-