Class AgConfiguration
java.lang.Object
com.azure.resourcemanager.sqlvirtualmachine.models.AgConfiguration
Availability group configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreplicas()
Get the replicas property: Replica configurations.void
validate()
Validates the instance.withReplicas
(List<AgReplica> replicas) Set the replicas property: Replica configurations.
-
Constructor Details
-
AgConfiguration
public AgConfiguration()
-
-
Method Details
-
replicas
Get the replicas property: Replica configurations.- Returns:
- the replicas value.
-
withReplicas
Set the replicas property: Replica configurations.- Parameters:
replicas
- the replicas value to set.- Returns:
- the AgConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-