ArmSqlModelFactory.PartnerRegionInfo Method

Definition

Initializes a new instance of PartnerRegionInfo.

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

Parameters

location
Nullable<AzureLocation>

Geo location of the partner managed instances.

replicationRole
Nullable<InstanceFailoverGroupReplicationRole>

Replication role of the partner managed instances.

Returns

A new PartnerRegionInfo instance for mocking.

Applies to