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