ArmSqlModelFactory.FailoverGroupReadOnlyEndpoint Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.