Compartilhar via


ArmSqlModelFactory.PartnerServerInfo Method

Definition

Initializes a new instance of PartnerServerInfo.

public static Azure.ResourceManager.Sql.Models.PartnerServerInfo PartnerServerInfo (Azure.Core.ResourceIdentifier id = default, Azure.Core.AzureLocation? location = default, Azure.ResourceManager.Sql.Models.FailoverGroupReplicationRole? replicationRole = default);
static member PartnerServerInfo : Azure.Core.ResourceIdentifier * Nullable<Azure.Core.AzureLocation> * Nullable<Azure.ResourceManager.Sql.Models.FailoverGroupReplicationRole> -> Azure.ResourceManager.Sql.Models.PartnerServerInfo
Public Shared Function PartnerServerInfo (Optional id As ResourceIdentifier = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional replicationRole As Nullable(Of FailoverGroupReplicationRole) = Nothing) As PartnerServerInfo

Parameters

id
ResourceIdentifier

Resource identifier of the partner server.

location
Nullable<AzureLocation>

Geo location of the partner server.

replicationRole
Nullable<FailoverGroupReplicationRole>

Replication role of the partner server.

Returns

A new PartnerServerInfo instance for mocking.

Applies to