Langue

ArmSqlModelFactory.FailoverGroupReadOnlyEndpoint Method

Definition

Read-only endpoint of the failover group instance.

public static Azure.ResourceManager.Sql.Models.FailoverGroupReadOnlyEndpoint FailoverGroupReadOnlyEndpoint(Azure.ResourceManager.Sql.Models.ReadOnlyEndpointFailoverPolicy? failoverPolicy = default, Azure.Core.ResourceIdentifier targetServer = default);
static member FailoverGroupReadOnlyEndpoint : Nullable<Azure.ResourceManager.Sql.Models.ReadOnlyEndpointFailoverPolicy> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Sql.Models.FailoverGroupReadOnlyEndpoint
Public Shared Function FailoverGroupReadOnlyEndpoint (Optional failoverPolicy As Nullable(Of ReadOnlyEndpointFailoverPolicy) = Nothing, Optional targetServer As ResourceIdentifier = Nothing) As FailoverGroupReadOnlyEndpoint

Parameters

failoverPolicy
Nullable<ReadOnlyEndpointFailoverPolicy>

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

targetServer
ResourceIdentifier

The target partner server where the read-only endpoint points to.

Returns

A new FailoverGroupReadOnlyEndpoint instance for mocking.

Applies to