AvailabilityStrategy Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. avs. models. AvailabilityStrategy
- com.
- com.
public final class AvailabilityStrategy
extends ExpandableStringEnum<AvailabilityStrategy>
Whether the private clouds is available in a single zone or two zones.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Availability |
DUAL_ZONE
Static value Dual |
static final
Availability |
SINGLE_ZONE
Static value Single |
Constructor Summary
Constructor | Description |
---|---|
AvailabilityStrategy() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Availability |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Availability |
fromString(String name)
Creates or finds a Availability |
static
Collection<Availability |
values()
Gets known Availability |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DUAL_ZONE
public static final AvailabilityStrategy DUAL_ZONE
Static value DualZone for AvailabilityStrategy.
SINGLE_ZONE
public static final AvailabilityStrategy SINGLE_ZONE
Static value SingleZone for AvailabilityStrategy.
Constructor Details
AvailabilityStrategy
@Deprecated
public AvailabilityStrategy()
Deprecated
Creates a new instance of AvailabilityStrategy value.
Method Details
fromString
public static AvailabilityStrategy fromString(String name)
Creates or finds a AvailabilityStrategy from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known AvailabilityStrategy values.
Returns:
Applies to
Azure SDK for Java