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
-
-