Class SyncGroup
An Azure SQL Database sync group.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class SyncGroup : Microsoft.Azure.Management.Sql.Models.ProxyResource
Constructors
SyncGroup()
Initializes a new instance of the SyncGroup class.
Declaration
public SyncGroup ();
SyncGroup(String, String, String, Nullable<Int32>, Nullable<DateTime>, String, String, String, String, String, SyncGroupSchema)
Initializes a new instance of the SyncGroup class.
Declaration
public SyncGroup (string id = null, string name = null, string type = null, Nullable<int> interval = null, Nullable<DateTime> lastSyncTime = null, string conflictResolutionPolicy = null, string syncDatabaseId = null, string hubDatabaseUserName = null, string hubDatabasePassword = null, string syncState = null, Microsoft.Azure.Management.Sql.Models.SyncGroupSchema schema = null);
Parameters
String
id
Resource ID. |
String
name
Resource name. |
String
type
Resource type. |
Nullable<Int32>
interval
Sync interval of the sync group. |
Nullable<DateTime>
lastSyncTime
Last sync time of the sync group. |
String
conflictResolutionPolicy
Conflict resolution policy of the sync group. Possible values include: 'HubWin', 'MemberWin' |
String
syncDatabaseId
ARM resource id of the sync database in the sync group. |
String
hubDatabaseUserName
User name for the sync group hub database credential. |
String
hubDatabasePassword
Password for the sync group hub database credential. |
String
syncState
Sync state of the sync group. Possible values include: 'NotReady', 'Error', 'Warning', 'Progressing', 'Good' |
SyncGroupSchema
schema
Sync schema of the sync group. |
Properties
ConflictResolutionPolicy
Gets or sets conflict resolution policy of the sync group. Possible values include: 'HubWin', 'MemberWin'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.conflictResolutionPolicy")]
public string ConflictResolutionPolicy { get; set; }
Property Value
String
|
HubDatabasePassword
Gets or sets password for the sync group hub database credential.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.hubDatabasePassword")]
public string HubDatabasePassword { get; set; }
Property Value
String
|
HubDatabaseUserName
Gets or sets user name for the sync group hub database credential.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.hubDatabaseUserName")]
public string HubDatabaseUserName { get; set; }
Property Value
String
|
Interval
Gets or sets sync interval of the sync group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.interval")]
public Nullable<int> Interval { get; set; }
Property Value
Nullable<Int32>
|
LastSyncTime
Gets last sync time of the sync group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.lastSyncTime")]
public Nullable<DateTime> LastSyncTime { get; }
Property Value
Nullable<DateTime>
|
Schema
Gets or sets sync schema of the sync group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.schema")]
public Microsoft.Azure.Management.Sql.Models.SyncGroupSchema Schema { get; set; }
Property Value
SyncGroupSchema
|
SyncDatabaseId
Gets or sets ARM resource id of the sync database in the sync group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.syncDatabaseId")]
public string SyncDatabaseId { get; set; }
Property Value
String
|
SyncState
Gets sync state of the sync group. Possible values include: 'NotReady', 'Error', 'Warning', 'Progressing', 'Good'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.syncState")]
public string SyncState { get; }
Property Value
String
|