Class PublicIpAllocationMethod
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PublicIpAllocationMethod>
com.azure.resourcemanager.compute.models.PublicIpAllocationMethod
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class PublicIpAllocationMethod
extends com.azure.core.util.ExpandableStringEnum<PublicIpAllocationMethod>
Specify the public IP allocation type.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PublicIpAllocationMethodStatic value Dynamic for PublicIpAllocationMethod.static final PublicIpAllocationMethodStatic value Static for PublicIpAllocationMethod. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PublicIpAllocationMethodfromString(String name) Creates or finds a PublicIpAllocationMethod from its string representation.static Collection<PublicIpAllocationMethod> values()Gets known PublicIpAllocationMethod values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
DYNAMIC
Static value Dynamic for PublicIpAllocationMethod. -
STATIC
Static value Static for PublicIpAllocationMethod.
-
-
Constructor Details
-
PublicIpAllocationMethod
Deprecated.Use thefromString(String)factory method.Creates a new instance of PublicIpAllocationMethod value.
-
-
Method Details
-
fromString
Creates or finds a PublicIpAllocationMethod from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding PublicIpAllocationMethod.
-
values
Gets known PublicIpAllocationMethod values.- Returns:
- known PublicIpAllocationMethod values.
-
fromString(String)factory method.