ArmSqlModelFactory.PartnerServerInfo 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.
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
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.