Interface PublicIpAddress.DefinitionStages.WithIPAddress
- All Known Subinterfaces:
PublicIpAddress.Definition, PublicIpAddress.DefinitionStages.WithCreate
- Enclosing interface:
PublicIpAddress.DefinitionStages
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 TypeMethodDescriptionEnables dynamic IP address allocation.Enables static IP address allocation.
-
Method Details
-
withStaticIP
PublicIpAddress.DefinitionStages.WithCreate 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- Returns:
- the next stage of the definition
-
withDynamicIP
PublicIpAddress.DefinitionStages.WithCreate withDynamicIP()Enables dynamic IP address allocation.- Returns:
- the next stage of the definition
-