共用方式為


IWithIPAddress Interface

Definition

A public IP address update allowing to change 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 updated to obtain the actual IP address allocated for this resource by Azure.

Applies to