FailoverGroupReadOnlyEndpoint Class

  • java.lang.Object
    • com.microsoft.azure.management.sql.FailoverGroupReadOnlyEndpoint

public class FailoverGroupReadOnlyEndpoint

Read-only endpoint of the failover group instance.

Constructor Summary

Constructor Description
FailoverGroupReadOnlyEndpoint()

Method Summary

Modifier and Type Method and Description
ReadOnlyEndpointFailoverPolicy failoverPolicy()

Get failover policy of the read-only endpoint for the failover group.

FailoverGroupReadOnlyEndpoint withFailoverPolicy(ReadOnlyEndpointFailoverPolicy failoverPolicy)

Set failover policy of the read-only endpoint for the failover group.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

FailoverGroupReadOnlyEndpoint

public FailoverGroupReadOnlyEndpoint()

Method Details

failoverPolicy

public ReadOnlyEndpointFailoverPolicy failoverPolicy()

Get failover policy of the read-only endpoint for the failover group. Possible values include: 'Disabled', 'Enabled'.

Returns:

the failoverPolicy value

withFailoverPolicy

public FailoverGroupReadOnlyEndpoint withFailoverPolicy(ReadOnlyEndpointFailoverPolicy failoverPolicy)

Set failover policy of the read-only endpoint for the failover group. Possible values include: 'Disabled', 'Enabled'.

Parameters:

failoverPolicy - the failoverPolicy value to set

Returns:

the FailoverGroupReadOnlyEndpoint object itself.

Applies to