public class FailoverGroupInner
extends com.azure.core.management.ProxyResource
| Constructor and Description |
|---|
FailoverGroupInner() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
databases()
Get the databases property: List of databases in the failover group.
|
String |
location()
Get the location property: Resource location.
|
List<PartnerInfo> |
partnerServers()
Get the partnerServers property: List of partner server information for the failover group.
|
FailoverGroupReadOnlyEndpoint |
readOnlyEndpoint()
Get the readOnlyEndpoint property: Read-only endpoint of the failover group instance.
|
FailoverGroupReadWriteEndpoint |
readWriteEndpoint()
Get the readWriteEndpoint property: Read-write endpoint of the failover group instance.
|
FailoverGroupReplicationRole |
replicationRole()
Get the replicationRole property: Local replication role of the failover group instance.
|
String |
replicationState()
Get the replicationState property: Replication state of the failover group instance.
|
Map<String,String> |
tags()
Get the tags property: Resource tags.
|
void |
validate()
Validates the instance.
|
FailoverGroupInner |
withDatabases(List<String> databases)
Set the databases property: List of databases in the failover group.
|
FailoverGroupInner |
withPartnerServers(List<PartnerInfo> partnerServers)
Set the partnerServers property: List of partner server information for the failover group.
|
FailoverGroupInner |
withReadOnlyEndpoint(FailoverGroupReadOnlyEndpoint readOnlyEndpoint)
Set the readOnlyEndpoint property: Read-only endpoint of the failover group instance.
|
FailoverGroupInner |
withReadWriteEndpoint(FailoverGroupReadWriteEndpoint readWriteEndpoint)
Set the readWriteEndpoint property: Read-write endpoint of the failover group instance.
|
FailoverGroupInner |
withTags(Map<String,String> tags)
Set the tags property: Resource tags.
|
public String location()
public Map<String,String> tags()
public FailoverGroupInner withTags(Map<String,String> tags)
tags - the tags value to set.public FailoverGroupReadWriteEndpoint readWriteEndpoint()
public FailoverGroupInner withReadWriteEndpoint(FailoverGroupReadWriteEndpoint readWriteEndpoint)
readWriteEndpoint - the readWriteEndpoint value to set.public FailoverGroupReadOnlyEndpoint readOnlyEndpoint()
public FailoverGroupInner withReadOnlyEndpoint(FailoverGroupReadOnlyEndpoint readOnlyEndpoint)
readOnlyEndpoint - the readOnlyEndpoint value to set.public FailoverGroupReplicationRole replicationRole()
public String replicationState()
public List<PartnerInfo> partnerServers()
public FailoverGroupInner withPartnerServers(List<PartnerInfo> partnerServers)
partnerServers - the partnerServers value to set.public List<String> databases()
public FailoverGroupInner withDatabases(List<String> databases)
databases - the databases value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.