Class FailoverGroupUpdate
java.lang.Object
com.microsoft.azure.management.sql.FailoverGroupUpdate
A failover group update request.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet list of databases in the failover group.Get read-only endpoint of the failover group instance.Get read-write endpoint of the failover group instance.tags()
Get resource tags.withDatabases
(List<String> databases) Set list of databases in the failover group.withReadOnlyEndpoint
(FailoverGroupReadOnlyEndpoint readOnlyEndpoint) Set read-only endpoint of the failover group instance.withReadWriteEndpoint
(FailoverGroupReadWriteEndpoint readWriteEndpoint) Set read-write endpoint of the failover group instance.Set resource tags.
-
Constructor Details
-
FailoverGroupUpdate
public FailoverGroupUpdate()
-
-
Method Details
-
readWriteEndpoint
Get read-write endpoint of the failover group instance.- Returns:
- the readWriteEndpoint value
-
withReadWriteEndpoint
Set read-write endpoint of the failover group instance.- Parameters:
readWriteEndpoint
- the readWriteEndpoint value to set- Returns:
- the FailoverGroupUpdate object itself.
-
readOnlyEndpoint
Get read-only endpoint of the failover group instance.- Returns:
- the readOnlyEndpoint value
-
withReadOnlyEndpoint
Set read-only endpoint of the failover group instance.- Parameters:
readOnlyEndpoint
- the readOnlyEndpoint value to set- Returns:
- the FailoverGroupUpdate object itself.
-
databases
Get list of databases in the failover group.- Returns:
- the databases value
-
withDatabases
Set list of databases in the failover group.- Parameters:
databases
- the databases value to set- Returns:
- the FailoverGroupUpdate object itself.
-
tags
Get resource tags.- Returns:
- the tags value
-
withTags
Set resource tags.- Parameters:
tags
- the tags value to set- Returns:
- the FailoverGroupUpdate object itself.
-