PublicIPAddress.UpdateStages.WithIPAddress Interface

public interface WithIPAddress

A public IP address update allowing to change the IP allocation method (static or dynamic).

Method Summary

Modifier and Type Method and Description
PublicIPAddress.Update withDynamicIP()

Enables dynamic IP address allocation.

PublicIPAddress.Update withStaticIP()

Enables static IP address allocation.

Use ipAddress() after the public IP address is updated to obtain the actual IP address allocated for this resource by Azure

Method Details

withDynamicIP

public Update withDynamicIP()

Enables dynamic IP address allocation.

Returns:

the next stage of the resource update

withStaticIP

public Update withStaticIP()

Enables static IP address allocation.

Use ipAddress() after the public IP address is updated to obtain the actual IP address allocated for this resource by Azure

Returns:

the next stage of the resource update

Applies to