NetworkInterface.UpdateStages.WithPrimaryPrivateIP Interface
public static interface NetworkInterface.UpdateStages.WithPrimaryPrivateIP
The stage of the network interface update allowing to specify private IP address within a virtual network subnet.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withPrimaryPrivateIPAddressDynamic()
Enables dynamic private IP address allocation within the specified existing virtual network subnet for the network interface's primary IP configuration. |
abstract Update |
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.Update 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.Update 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
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per