FailoverGroupUpdate Class
- java.
lang. Object - com.
microsoft. azure. management. sql. FailoverGroupUpdate
- com.
public class FailoverGroupUpdate
A failover group update request.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
databases()
Get list of databases in the failover group. |
Failover |
readOnlyEndpoint()
Get read-only endpoint of the failover group instance. |
Failover |
readWriteEndpoint()
Get read-write endpoint of the failover group instance. |
Map<String, String> |
tags()
Get resource tags. |
Failover |
withDatabases(List<String> databases)
Set list of databases in the failover group. |
Failover |
withReadOnlyEndpoint(FailoverGroupReadOnlyEndpoint readOnlyEndpoint)
Set read-only endpoint of the failover group instance. |
Failover |
withReadWriteEndpoint(FailoverGroupReadWriteEndpoint readWriteEndpoint)
Set read-write endpoint of the failover group instance. |
Failover |
withTags(Map<String, String> tags)
Set resource tags. |
Method Details
databases
public List
Get list of databases in the failover group.
Returns:
readOnlyEndpoint
public FailoverGroupReadOnlyEndpoint readOnlyEndpoint()
Get read-only endpoint of the failover group instance.
Returns:
readWriteEndpoint
public FailoverGroupReadWriteEndpoint readWriteEndpoint()
Get read-write endpoint of the failover group instance.
Returns:
tags
public Map
Get resource tags.
Returns:
withDatabases
public FailoverGroupUpdate withDatabases(List
Set list of databases in the failover group.
Parameters:
Returns:
withReadOnlyEndpoint
public FailoverGroupUpdate withReadOnlyEndpoint(FailoverGroupReadOnlyEndpoint readOnlyEndpoint)
Set read-only endpoint of the failover group instance.
Parameters:
Returns:
withReadWriteEndpoint
public FailoverGroupUpdate withReadWriteEndpoint(FailoverGroupReadWriteEndpoint readWriteEndpoint)
Set read-write endpoint of the failover group instance.
Parameters:
Returns:
withTags
public FailoverGroupUpdate withTags(Map
Set resource tags.
Parameters:
Returns:
Applies to
Azure SDK for Java