Interface PublicIpAddress.DefinitionStages.WithIPAddress
-
- All Known Subinterfaces:
PublicIpAddress.Definition,PublicIpAddress.DefinitionStages.WithCreate
- Enclosing interface:
- PublicIpAddress.DefinitionStages
public static interface PublicIpAddress.DefinitionStages.WithIPAddressA public IP address definition allowing to set the IP allocation method (static or dynamic).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PublicIpAddress.DefinitionStages.WithCreatewithDynamicIP()Enables dynamic IP address allocation.PublicIpAddress.DefinitionStages.WithCreatewithStaticIP()Enables static IP address allocation.
-
-
-
Method Detail
-
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
-
-