NetworkInterface.UpdateStages.WithPrimaryPrivateIP 接口

定义

The stage of the network interface update allowing to specify private IP address within a virtual network subnet.

public interface WithPrimaryPrivateIP

方法

withPrimaryPrivateIPAddressDynamic()

Enables dynamic private IP address allocation within the specified existing virtual network subnet for the network interface's primary IP configuration.

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.

适用于