Dela via


IWithIPAddress Interface

Definition

A public IP address definition allowing to set the IP allocation method (static or dynamic).

public interface IWithIPAddress
type IWithIPAddress = interface
Public Interface IWithIPAddress
Derived

Methods

WithDynamicIP()

Enables dynamic IP address allocation.

WithStaticIP()

Enables static IP address allocation. Use PublicIPAddress.ipAddress() after the public IP address is created to obtain the actual IP address allocated for this resource by Azure.

Applies to