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() |
abstract String | databaseUserName() |
abstract void |
delete()
Deletes the Sync Group resource. |
abstract Mono<Void> |
deleteAsync()
Deletes the SQL Sync Group resource asynchronously. |
abstract int | interval() |
abstract
Offset |
lastSyncTime() |
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() |
abstract void |
refreshHubSchema()
Refreshes a hub database schema. |
abstract Mono<Void> |
refreshHubSchemaAsync()
Refreshes a hub database schema asynchronously. |
abstract
Sync |
schema() |
abstract String | sqlDatabaseName() |
abstract String | sqlServerName() |
abstract String | syncDatabaseId() |
abstract
Sql |
syncMembers() |
abstract
Sync |
syncState() |
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()
Returns:
databaseUserName
public abstract String databaseUserName()
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()
Returns:
lastSyncTime
public abstract OffsetDateTime lastSyncTime()
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()
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()
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 Mono
Triggers a sync group synchronization.
Returns:
Applies to
Azure SDK for Java