PublicIPAddress.DefinitionStages.WithIPAddress Interface
public static interface PublicIPAddress.DefinitionStages.WithIPAddress
A public IP address definition allowing to set the IP allocation method (static or dynamic).
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withDynamicIP()
Enables dynamic IP address allocation. |
abstract
With |
withStaticIP()
Enables static IP address allocation. |
Method Details
withDynamicIP
public abstract PublicIPAddress.DefinitionStages.WithCreate withDynamicIP()
Enables dynamic IP address allocation.
Returns:
withStaticIP
public abstract PublicIPAddress.DefinitionStages.WithCreate withStaticIP()
Enables static IP address allocation.
Use ipAddress() after the public IP address is created to obtain the actual IP address allocated for this resource by Azure
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for