Class AvailabilityProperties
java.lang.Object
com.azure.resourcemanager.avs.models.AvailabilityProperties
The properties describing private cloud availability zone distribution.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AvailabilityProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the secondaryZone property: The secondary availability zone for the private cloud.strategy()
Get the strategy property: The availability strategy for the private cloud.void
validate()
Validates the instance.withSecondaryZone
(Integer secondaryZone) Set the secondaryZone property: The secondary availability zone for the private cloud.withStrategy
(AvailabilityStrategy strategy) Set the strategy property: The availability strategy for the private cloud.Set the zone property: The primary availability zone for the private cloud.zone()
Get the zone property: The primary availability zone for the private cloud.
-
Constructor Details
-
AvailabilityProperties
public AvailabilityProperties()Creates an instance of AvailabilityProperties class.
-
-
Method Details
-
strategy
Get the strategy property: The availability strategy for the private cloud.- Returns:
- the strategy value.
-
withStrategy
Set the strategy property: The availability strategy for the private cloud.- Parameters:
strategy
- the strategy value to set.- Returns:
- the AvailabilityProperties object itself.
-
zone
Get the zone property: The primary availability zone for the private cloud.- Returns:
- the zone value.
-
withZone
Set the zone property: The primary availability zone for the private cloud.- Parameters:
zone
- the zone value to set.- Returns:
- the AvailabilityProperties object itself.
-
secondaryZone
Get the secondaryZone property: The secondary availability zone for the private cloud.- Returns:
- the secondaryZone value.
-
withSecondaryZone
Set the secondaryZone property: The secondary availability zone for the private cloud.- Parameters:
secondaryZone
- the secondaryZone value to set.- Returns:
- the AvailabilityProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-