InstanceFailoverGroupReadOnlyEndpoint Class

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

public class InstanceFailoverGroupReadOnlyEndpoint

Read-only endpoint of the failover group instance.

Method Summary

Modifier and Type Method and Description
ReadOnlyEndpointFailoverPolicy failoverPolicy()

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

InstanceFailoverGroupReadOnlyEndpoint withFailoverPolicy(ReadOnlyEndpointFailoverPolicy failoverPolicy)

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

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 InstanceFailoverGroupReadOnlyEndpoint 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 InstanceFailoverGroupReadOnlyEndpoint object itself.

Applies to