NetworkInterface.DefinitionStages.WithPrimaryPrivateIP Interface
public static interface NetworkInterface.DefinitionStages.WithPrimaryPrivateIP
The stage of the network interface definition allowing to specify private IP address within a virtual network subnet.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withPrimaryPrivateIPAddressDynamic()
Enables dynamic private IP address allocation within the specified existing virtual network subnet for the network interface's primary IP configuration. |
abstract
With |
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. |
Method Details
withPrimaryPrivateIPAddressDynamic
public abstract 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:
withPrimaryPrivateIPAddressStatic
public abstract 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:
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