SqlSyncGroup Interface
Implements
public interface SqlSyncGroup
extends ExternalChildResource<SqlSyncGroup,SqlDatabase>, HasInnerModel<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 Mono<Void> |
cancelSynchronizationAsync()
Cancels a sync group synchronization asynchronously. |
abstract
Sync |
conflictResolutionPolicy()
Gets conflict resolution policy of the sync group. |
abstract String |
databaseUserName()
Gets user name for the sync group hub database credential. |
abstract void |
delete()
Deletes the Sync Group resource. |
abstract Mono<Void> |
deleteAsync()
Deletes the SQL Sync Group resource asynchronously. |
abstract int |
interval()
Gets sync interval of the sync group. |
abstract
Offset |
lastSyncTime()
Gets last sync time of the sync group. |
abstract
Paged |
listHubSchemas()
Gets a collection of hub database schemas. |
abstract
Paged |
listHubSchemasAsync()
Gets a collection of hub database schemas asynchronously. |
abstract
Paged |
listLogs(String startTime, String endTime, String type)
Gets a collection of sync group logs. |
abstract
Paged |
listLogsAsync(String startTime, String endTime, String type)
Gets a collection of sync group logs asynchronously. |
abstract String |
parentId()
Gets the parent SQL Database ID. |
abstract void |
refreshHubSchema()
Refreshes a hub database schema. |
abstract Mono<Void> |
refreshHubSchemaAsync()
Refreshes a hub database schema asynchronously. |
abstract
Sync |
schema()
Gets sync schema of the sync group. |
abstract String |
sqlDatabaseName()
Gets name of the SQL Database to which this Sync Group belongs. |
abstract String |
sqlServerName()
Gets name of the SQL Server to which this Sync Group belongs. |
abstract String |
syncDatabaseId()
Gets the ARM resource id of the sync database in the sync group. |
abstract
Sql |
syncMembers()
Gets the SQL Sync Member entry point. |
abstract
Sync |
syncState()
Gets sync state of the sync group. |
abstract void |
triggerSynchronization()
Triggers a sync group synchronization. |
abstract Mono<Void> |
triggerSynchronizationAsync()
Triggers a sync group synchronization. |
Method Details
cancelSynchronization
public abstract void cancelSynchronization()
Cancels a sync group synchronization.
cancelSynchronizationAsync
public abstract Mono
Cancels a sync group synchronization asynchronously.
Returns:
conflictResolutionPolicy
public abstract SyncConflictResolutionPolicy conflictResolutionPolicy()
Gets conflict resolution policy of the sync group.
Returns:
databaseUserName
public abstract String databaseUserName()
Gets user name for the sync group hub database credential.
Returns:
delete
public abstract void delete()
Deletes the Sync Group resource.
deleteAsync
public abstract Mono
Deletes the SQL Sync Group resource asynchronously.
Returns:
interval
public abstract int interval()
Gets sync interval of the sync group.
Returns:
lastSyncTime
public abstract OffsetDateTime lastSyncTime()
Gets last sync time of the sync group.
Returns:
listHubSchemas
public abstract PagedIterable
Gets a collection of hub database schemas.
Returns:
listHubSchemasAsync
public abstract PagedFlux
Gets a collection of hub database schemas asynchronously.
Returns:
listLogs
public abstract PagedIterable
Gets a collection of sync group logs.
Parameters:
Returns:
listLogsAsync
public abstract PagedFlux
Gets a collection of sync group logs asynchronously.
Parameters:
Returns:
parentId
public abstract String parentId()
Gets the parent SQL Database ID.
Returns:
refreshHubSchema
public abstract void refreshHubSchema()
Refreshes a hub database schema.
refreshHubSchemaAsync
public abstract Mono
Refreshes a hub database schema asynchronously.
Returns:
schema
public abstract SyncGroupSchema schema()
Gets sync schema of the sync group.
Returns:
sqlDatabaseName
public abstract String sqlDatabaseName()
Gets name of the SQL Database to which this Sync Group belongs.
Returns:
sqlServerName
public abstract String sqlServerName()
Gets name of the SQL Server to which this Sync Group belongs.
Returns:
syncDatabaseId
public abstract String syncDatabaseId()
Gets the ARM resource id of the sync database in the sync group.
Returns:
syncMembers
public abstract SqlSyncMemberOperations.SqlSyncMemberActionsDefinition syncMembers()
Gets the SQL Sync Member entry point.
Returns:
syncState
public abstract SyncGroupState syncState()
Gets sync state of the sync group.
Returns:
triggerSynchronization
public abstract void triggerSynchronization()
Triggers a sync group synchronization.
triggerSynchronizationAsync
public abstract Mono
Triggers a sync group synchronization.
Returns: