SqlSyncGroup Interface
public interface SqlSyncGroup extends ExternalChildResource<SqlSyncGroup, SqlDatabase>,HasInner,HasResourceGroup,Refreshable,Updatable<SqlSyncGroup.Update>
An immutable client-side representation of an Azure SQL Server Sync Group.
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
cancelSynchronization()
Cancels a sync group synchronization. |
Completable |
cancelSynchronizationAsync()
Cancels a sync group synchronization asynchronously. |
Sync |
conflictResolutionPolicy() |
String | databaseUserName() |
void |
delete()
Deletes the Sync Group resource. |
Completable |
deleteAsync()
Deletes the SQL Sync Group resource asynchronously. |
int | interval() |
DateTime | lastSyncTime() |
PagedList<Sql |
listHubSchemas()
Gets a collection of hub database schemas. |
Observable<Sql |
listHubSchemasAsync()
Gets a collection of hub database schemas asynchronously. |
PagedList<Sql |
listLogs(String startTime, String endTime, String type)
Gets a collection of sync group logs. |
Observable<Sql |
listLogsAsync(String startTime, String endTime, String type)
Gets a collection of sync group logs asynchronously. |
String | parentId() |
void |
refreshHubSchema()
Refreshes a hub database schema. |
Completable |
refreshHubSchemaAsync()
Refreshes a hub database schema asynchronously. |
Sync |
schema() |
String | sqlDatabaseName() |
String | sqlServerName() |
String | syncDatabaseId() |
SqlSyncMemberOperations.SqlSyncMemberActionsDefinition | syncMembers() |
Sync |
syncState() |
void |
triggerSynchronization()
Triggers a sync group synchronization. |
Completable |
triggerSynchronizationAsync()
Triggers a sync group synchronization. |
Inherited Members
Method Details
cancelSynchronization
public void cancelSynchronization()
Cancels a sync group synchronization.
cancelSynchronizationAsync
public Completable cancelSynchronizationAsync()
Cancels a sync group synchronization asynchronously.
Returns:
conflictResolutionPolicy
public SyncConflictResolutionPolicy conflictResolutionPolicy()
Returns:
databaseUserName
public String databaseUserName()
Returns:
delete
public void delete()
Deletes the Sync Group resource.
deleteAsync
public Completable deleteAsync()
Deletes the SQL Sync Group resource asynchronously.
Returns:
interval
public int interval()
Returns:
lastSyncTime
public DateTime lastSyncTime()
Returns:
listHubSchemas
public PagedList
Gets a collection of hub database schemas.
Returns:
listHubSchemasAsync
public Observable
Gets a collection of hub database schemas asynchronously.
Returns:
listLogs
public PagedList
Gets a collection of sync group logs.
Parameters:
Returns:
listLogsAsync
public Observable
Gets a collection of sync group logs asynchronously.
Parameters:
Returns:
parentId
public String parentId()
Returns:
refreshHubSchema
public void refreshHubSchema()
Refreshes a hub database schema.
refreshHubSchemaAsync
public Completable refreshHubSchemaAsync()
Refreshes a hub database schema asynchronously.
Returns:
schema
public SyncGroupSchema schema()
Returns:
sqlDatabaseName
public String sqlDatabaseName()
Returns:
sqlServerName
public String sqlServerName()
Returns:
syncDatabaseId
public String syncDatabaseId()
Returns:
syncMembers
public SqlSyncMemberOperations.SqlSyncMemberActionsDefinition syncMembers()
Returns:
syncState
public SyncGroupState syncState()
Returns:
triggerSynchronization
public void triggerSynchronization()
Triggers a sync group synchronization.
triggerSynchronizationAsync
public Completable triggerSynchronizationAsync()
Triggers a sync group synchronization.
Returns:
Applies to
Azure SDK for Java