public class InstanceFailoverGroupInner
extends com.azure.core.management.ProxyResource
| Constructor and Description |
|---|
InstanceFailoverGroupInner() |
| Modifier and Type | Method and Description |
|---|---|
List<ManagedInstancePairInfo> |
managedInstancePairs()
Get the managedInstancePairs property: List of managed instance pairs in the failover group.
|
List<PartnerRegionInfo> |
partnerRegions()
Get the partnerRegions property: Partner region information for the failover group.
|
InstanceFailoverGroupReadOnlyEndpoint |
readOnlyEndpoint()
Get the readOnlyEndpoint property: Read-only endpoint of the failover group instance.
|
InstanceFailoverGroupReadWriteEndpoint |
readWriteEndpoint()
Get the readWriteEndpoint property: Read-write endpoint of the failover group instance.
|
InstanceFailoverGroupReplicationRole |
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.
|
void |
validate()
Validates the instance.
|
InstanceFailoverGroupInner |
withManagedInstancePairs(List<ManagedInstancePairInfo> managedInstancePairs)
Set the managedInstancePairs property: List of managed instance pairs in the failover group.
|
InstanceFailoverGroupInner |
withPartnerRegions(List<PartnerRegionInfo> partnerRegions)
Set the partnerRegions property: Partner region information for the failover group.
|
InstanceFailoverGroupInner |
withReadOnlyEndpoint(InstanceFailoverGroupReadOnlyEndpoint readOnlyEndpoint)
Set the readOnlyEndpoint property: Read-only endpoint of the failover group instance.
|
InstanceFailoverGroupInner |
withReadWriteEndpoint(InstanceFailoverGroupReadWriteEndpoint readWriteEndpoint)
Set the readWriteEndpoint property: Read-write endpoint of the failover group instance.
|
public InstanceFailoverGroupReadWriteEndpoint readWriteEndpoint()
public InstanceFailoverGroupInner withReadWriteEndpoint(InstanceFailoverGroupReadWriteEndpoint readWriteEndpoint)
readWriteEndpoint - the readWriteEndpoint value to set.public InstanceFailoverGroupReadOnlyEndpoint readOnlyEndpoint()
public InstanceFailoverGroupInner withReadOnlyEndpoint(InstanceFailoverGroupReadOnlyEndpoint readOnlyEndpoint)
readOnlyEndpoint - the readOnlyEndpoint value to set.public InstanceFailoverGroupReplicationRole replicationRole()
public String replicationState()
public List<PartnerRegionInfo> partnerRegions()
public InstanceFailoverGroupInner withPartnerRegions(List<PartnerRegionInfo> partnerRegions)
partnerRegions - the partnerRegions value to set.public List<ManagedInstancePairInfo> managedInstancePairs()
public InstanceFailoverGroupInner withManagedInstancePairs(List<ManagedInstancePairInfo> managedInstancePairs)
managedInstancePairs - the managedInstancePairs value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.