DistributedAvailabilityGroup Class
Distributed availability group between box and Sql Managed Instance.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
DistributedAvailabilityGroup(*, replication_mode: str | _models.ReplicationModeType | None = None, partner_availability_group_name: str | None = None, partner_endpoint: str | None = None, instance_link_role: str | _models.LinkRole | None = None, instance_availability_group_name: str | None = None, failover_mode: str | _models.FailoverModeType | None = None, seeding_mode: str | _models.SeedingModeType | None = None, databases: list['_models.DistributedAvailabilityGroupDatabase'] | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
replication_mode
|
Replication mode of the link. Known values are: "Async", "Sync", and "Async". Default value: None
|
|
partner_availability_group_name
|
SQL server side availability group name. Default value: None
|
|
partner_endpoint
|
SQL server side endpoint - IP or DNS resolvable name. Default value: None
|
|
instance_link_role
|
Managed instance side link role. Known values are: "Primary" and "Secondary". Default value: None
|
|
instance_availability_group_name
|
Managed instance side availability group name. Default value: None
|
|
failover_mode
|
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. Known values are: "None" and "Manual". Default value: None
|
|
seeding_mode
|
Database seeding mode – can be Automatic (default), or Manual for supported scenarios. Known values are: "Automatic" and "Manual". Default value: None
|
|
databases
|
Databases in the distributed availability group. Default value: None
|
Variables
| Name | Description |
|---|---|
|
id
|
Resource ID. |
|
name
|
Resource name. |
|
type
|
Resource type. |
|
distributed_availability_group_name
|
Name of the distributed availability group. |
|
distributed_availability_group_id
|
ID of the distributed availability group. |
|
replication_mode
|
Replication mode of the link. Known values are: "Async", "Sync", and "Async". |
|
partner_link_role
|
SQL server side link role. Known values are: "Primary" and "Secondary". |
|
partner_availability_group_name
|
SQL server side availability group name. |
|
partner_endpoint
|
SQL server side endpoint - IP or DNS resolvable name. |
|
instance_link_role
|
Managed instance side link role. Known values are: "Primary" and "Secondary". |
|
instance_availability_group_name
|
Managed instance side availability group name. |
|
failover_mode
|
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. Known values are: "None" and "Manual". |
|
seeding_mode
|
Database seeding mode – can be Automatic (default), or Manual for supported scenarios. Known values are: "Automatic" and "Manual". |
|
databases
|
Databases in the distributed availability group. |