ArmSqlModelFactory.SqlDistributedAvailabilityGroupData 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.
public static Azure.ResourceManager.Sql.SqlDistributedAvailabilityGroupData SqlDistributedAvailabilityGroupData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, string distributedAvailabilityGroupName, Guid? distributedAvailabilityGroupId, Azure.ResourceManager.Sql.Models.SqlReplicationModeType? replicationMode, Azure.ResourceManager.Sql.Models.SqlServerSideLinkRole? partnerLinkRole, string partnerAvailabilityGroupName, string partnerEndpoint, Azure.ResourceManager.Sql.Models.SqlServerSideLinkRole? instanceLinkRole, string instanceAvailabilityGroupName, Azure.ResourceManager.Sql.Models.SqlServerFailoverModeType? failoverMode, Azure.ResourceManager.Sql.Models.SeedingModeType? seedingMode, Azure.ResourceManager.Sql.Models.LinkModeType? linkMode, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.DistributedAvailabilityGroupDatabase> databases);
static member SqlDistributedAvailabilityGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Guid> * Nullable<Azure.ResourceManager.Sql.Models.SqlReplicationModeType> * Nullable<Azure.ResourceManager.Sql.Models.SqlServerSideLinkRole> * string * string * Nullable<Azure.ResourceManager.Sql.Models.SqlServerSideLinkRole> * string * Nullable<Azure.ResourceManager.Sql.Models.SqlServerFailoverModeType> * Nullable<Azure.ResourceManager.Sql.Models.SeedingModeType> * Nullable<Azure.ResourceManager.Sql.Models.LinkModeType> * seq<Azure.ResourceManager.Sql.Models.DistributedAvailabilityGroupDatabase> -> Azure.ResourceManager.Sql.SqlDistributedAvailabilityGroupData
Public Shared Function SqlDistributedAvailabilityGroupData (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, distributedAvailabilityGroupName As String, distributedAvailabilityGroupId As Nullable(Of Guid), replicationMode As Nullable(Of SqlReplicationModeType), partnerLinkRole As Nullable(Of SqlServerSideLinkRole), partnerAvailabilityGroupName As String, partnerEndpoint As String, instanceLinkRole As Nullable(Of SqlServerSideLinkRole), instanceAvailabilityGroupName As String, failoverMode As Nullable(Of SqlServerFailoverModeType), seedingMode As Nullable(Of SeedingModeType), linkMode As Nullable(Of LinkModeType), databases As IEnumerable(Of DistributedAvailabilityGroupDatabase)) As SqlDistributedAvailabilityGroupData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- distributedAvailabilityGroupName
- String
Name of the distributed availability group.
- replicationMode
- Nullable<SqlReplicationModeType>
Replication mode of the link.
- partnerLinkRole
- Nullable<SqlServerSideLinkRole>
SQL server side link role.
- partnerAvailabilityGroupName
- String
SQL server side availability group name.
- partnerEndpoint
- String
SQL server side endpoint - IP or DNS resolvable name.
- instanceLinkRole
- Nullable<SqlServerSideLinkRole>
Managed instance side link role.
- instanceAvailabilityGroupName
- String
Managed instance side availability group name.
- failoverMode
- Nullable<SqlServerFailoverModeType>
The link failover mode - can be Manual if intended to be used for two-way failover with a supported SQL Server, or None for one-way failover to Azure.
- seedingMode
- Nullable<SeedingModeType>
Database seeding mode – can be Automatic (default), or Manual for supported scenarios.
- linkMode
- Nullable<LinkModeType>
Specifies whether the link operates in single-database or multi-database mode.
- databases
- IEnumerable<DistributedAvailabilityGroupDatabase>
Databases in the distributed availability group.
Returns
A new SqlDistributedAvailabilityGroupData instance for mocking.