Class ZonePlacementPolicy
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ZonePlacementPolicy>
com.azure.resourcemanager.storage.models.ZonePlacementPolicy
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class ZonePlacementPolicy
extends com.azure.core.util.ExpandableStringEnum<ZonePlacementPolicy>
The availability zone pinning policy for the storage account.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ZonePlacementPolicyStatic value Any for ZonePlacementPolicy.static final ZonePlacementPolicyStatic value None for ZonePlacementPolicy. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ZonePlacementPolicyfromString(String name) Creates or finds a ZonePlacementPolicy from its string representation.static Collection<ZonePlacementPolicy> values()Gets known ZonePlacementPolicy values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ANY
Static value Any for ZonePlacementPolicy. -
NONE
Static value None for ZonePlacementPolicy.
-
-
Constructor Details
-
ZonePlacementPolicy
Deprecated.Use thefromString(String)factory method.Creates a new instance of ZonePlacementPolicy value.
-
-
Method Details
-
fromString
Creates or finds a ZonePlacementPolicy from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ZonePlacementPolicy.
-
values
Gets known ZonePlacementPolicy values.- Returns:
- known ZonePlacementPolicy values.
-
fromString(String)factory method.