DistributedAvailabilityGroup Constructors
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.
Overloads
DistributedAvailabilityGroup() |
Initializes a new instance of the DistributedAvailabilityGroup class. |
DistributedAvailabilityGroup(String, String, String, String, String, String, String, String, Nullable<Guid>, Nullable<Guid>, Nullable<Guid>, String, String) |
Initializes a new instance of the DistributedAvailabilityGroup class. |
DistributedAvailabilityGroup()
Initializes a new instance of the DistributedAvailabilityGroup class.
public DistributedAvailabilityGroup ();
Public Sub New ()
Applies to
DistributedAvailabilityGroup(String, String, String, String, String, String, String, String, Nullable<Guid>, Nullable<Guid>, Nullable<Guid>, String, String)
Initializes a new instance of the DistributedAvailabilityGroup class.
public DistributedAvailabilityGroup (string id = default, string name = default, string type = default, string targetDatabase = default, string sourceEndpoint = default, string primaryAvailabilityGroupName = default, string secondaryAvailabilityGroupName = default, string replicationMode = default, Guid? distributedAvailabilityGroupId = default, Guid? sourceReplicaId = default, Guid? targetReplicaId = default, string linkState = default, string lastHardenedLsn = default);
new Microsoft.Azure.Management.Sql.Models.DistributedAvailabilityGroup : string * string * string * string * string * string * string * string * Nullable<Guid> * Nullable<Guid> * Nullable<Guid> * string * string -> Microsoft.Azure.Management.Sql.Models.DistributedAvailabilityGroup
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional targetDatabase As String = Nothing, Optional sourceEndpoint As String = Nothing, Optional primaryAvailabilityGroupName As String = Nothing, Optional secondaryAvailabilityGroupName As String = Nothing, Optional replicationMode As String = Nothing, Optional distributedAvailabilityGroupId As Nullable(Of Guid) = Nothing, Optional sourceReplicaId As Nullable(Of Guid) = Nothing, Optional targetReplicaId As Nullable(Of Guid) = Nothing, Optional linkState As String = Nothing, Optional lastHardenedLsn As String = Nothing)
Parameters
- id
- String
Resource ID.
- name
- String
Resource name.
- type
- String
Resource type.
- targetDatabase
- String
The name of the target database
- sourceEndpoint
- String
The source endpoint
- primaryAvailabilityGroupName
- String
The primary availability group name
- secondaryAvailabilityGroupName
- String
The secondary availability group name
- replicationMode
- String
The replication mode of a distributed availability group. Parameter will be ignored during link creation. Possible values include: 'Async', 'Sync'
- linkState
- String
The link state
- lastHardenedLsn
- String
The last hardened lsn
Applies to
Azure SDK for .NET