/// <summary>
 /// Initializes a new instance of the SyncGroup class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="interval">Sync interval of the sync group.</param>
 /// <param name="lastSyncTime">Last sync time of the sync
 /// group.</param>
 /// <param name="conflictResolutionPolicy">Conflict resolution policy
 /// of the sync group. Possible values include: 'HubWin',
 /// 'MemberWin'</param>
 /// <param name="syncDatabaseId">ARM resource id of the sync database
 /// in the sync group.</param>
 /// <param name="hubDatabaseUserName">User name for the sync group hub
 /// database credential.</param>
 /// <param name="hubDatabasePassword">Password for the sync group hub
 /// database credential.</param>
 /// <param name="syncState">Sync state of the sync group. Possible
 /// values include: 'NotReady', 'Error', 'Warning', 'Progressing',
 /// 'Good'</param>
 /// <param name="schema">Sync schema of the sync group.</param>
 public SyncGroup(string id = default(string), string name = default(string), string type = default(string), int?interval = default(int?), System.DateTime?lastSyncTime = default(System.DateTime?), string conflictResolutionPolicy = default(string), string syncDatabaseId = default(string), string hubDatabaseUserName = default(string), string hubDatabasePassword = default(string), string syncState = default(string), SyncGroupSchema schema = default(SyncGroupSchema))
     : base(id, name, type)
 {
     Interval                 = interval;
     LastSyncTime             = lastSyncTime;
     ConflictResolutionPolicy = conflictResolutionPolicy;
     SyncDatabaseId           = syncDatabaseId;
     HubDatabaseUserName      = hubDatabaseUserName;
     HubDatabasePassword      = hubDatabasePassword;
     SyncState                = syncState;
     Schema = schema;
     CustomInit();
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the SyncGroup class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="sku">The name and capacity of the SKU.</param>
 /// <param name="interval">Sync interval of the sync group.</param>
 /// <param name="lastSyncTime">Last sync time of the sync
 /// group.</param>
 /// <param name="conflictResolutionPolicy">Conflict resolution policy
 /// of the sync group. Possible values include: 'HubWin',
 /// 'MemberWin'</param>
 /// <param name="syncDatabaseId">ARM resource id of the sync database
 /// in the sync group.</param>
 /// <param name="hubDatabaseUserName">User name for the sync group hub
 /// database credential.</param>
 /// <param name="hubDatabasePassword">Password for the sync group hub
 /// database credential.</param>
 /// <param name="syncState">Sync state of the sync group. Possible
 /// values include: 'NotReady', 'Error', 'Warning', 'Progressing',
 /// 'Good'</param>
 /// <param name="schema">Sync schema of the sync group.</param>
 /// <param name="enableConflictLogging">If conflict logging is
 /// enabled.</param>
 /// <param name="conflictLoggingRetentionInDays">Conflict logging
 /// retention period.</param>
 /// <param name="usePrivateLinkConnection">If use private link
 /// connection is enabled.</param>
 /// <param name="privateEndpointName">Private endpoint name of the sync
 /// group if use private link connection is enabled.</param>
 public SyncGroup(string id = default(string), string name = default(string), string type = default(string), Sku sku = default(Sku), int?interval = default(int?), System.DateTime?lastSyncTime = default(System.DateTime?), string conflictResolutionPolicy = default(string), string syncDatabaseId = default(string), string hubDatabaseUserName = default(string), string hubDatabasePassword = default(string), string syncState = default(string), SyncGroupSchema schema = default(SyncGroupSchema), bool?enableConflictLogging = default(bool?), int?conflictLoggingRetentionInDays = default(int?), bool?usePrivateLinkConnection = default(bool?), string privateEndpointName = default(string))
     : base(id, name, type)
 {
     Sku                            = sku;
     Interval                       = interval;
     LastSyncTime                   = lastSyncTime;
     ConflictResolutionPolicy       = conflictResolutionPolicy;
     SyncDatabaseId                 = syncDatabaseId;
     HubDatabaseUserName            = hubDatabaseUserName;
     HubDatabasePassword            = hubDatabasePassword;
     SyncState                      = syncState;
     Schema                         = schema;
     EnableConflictLogging          = enableConflictLogging;
     ConflictLoggingRetentionInDays = conflictLoggingRetentionInDays;
     UsePrivateLinkConnection       = usePrivateLinkConnection;
     PrivateEndpointName            = privateEndpointName;
     CustomInit();
 }