FailoverGroupUpdate Class
- java.
lang. Object - com.
microsoft. azure. management. sql. FailoverGroupUpdate
- com.
public class FailoverGroupUpdate
A failover group update request.
Constructor Summary
Constructor | Description | |
---|---|---|
FailoverGroupUpdate() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.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. |
java.util.Map<java.lang.String,java.lang.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. |
Methods inherited from java.lang.Object
Constructor Details
FailoverGroupUpdate
public FailoverGroupUpdate()
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för