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 SyncConflictResolutionPolicy 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 OffsetDateTime lastSyncTime()
abstract PagedIterable<SqlSyncFullSchemaProperty> listHubSchemas()

Gets a collection of hub database schemas.

abstract PagedFlux<SqlSyncFullSchemaProperty> listHubSchemasAsync()

Gets a collection of hub database schemas asynchronously.

abstract PagedIterable<SqlSyncGroupLogProperty> listLogs(String startTime, String endTime, String type)

Gets a collection of sync group logs.

abstract PagedFlux<SqlSyncGroupLogProperty> 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 SyncGroupSchema schema()
abstract String sqlDatabaseName()
abstract String sqlServerName()
abstract String syncDatabaseId()
abstract SqlSyncMemberActionsDefinition syncMembers()
abstract SyncGroupState 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 cancelSynchronizationAsync()

Cancels a sync group synchronization asynchronously.

Returns:

a representation of the deferred computation of this call

conflictResolutionPolicy

public abstract SyncConflictResolutionPolicy conflictResolutionPolicy()

Returns:

conflict resolution policy of the sync group

databaseUserName

public abstract String databaseUserName()

Returns:

user name for the sync group hub database credential

delete

public abstract void delete()

Deletes the Sync Group resource.

deleteAsync

public abstract Mono deleteAsync()

Deletes the SQL Sync Group resource asynchronously.

Returns:

a representation of the deferred computation of this call

interval

public abstract int interval()

Returns:

sync interval of the sync group

lastSyncTime

public abstract OffsetDateTime lastSyncTime()

Returns:

last sync time of the sync group

listHubSchemas

public abstract PagedIterable listHubSchemas()

Gets a collection of hub database schemas.

Returns:

the paged list of SyncFullSchemaProperty objects if successful.

listHubSchemasAsync

public abstract PagedFlux listHubSchemasAsync()

Gets a collection of hub database schemas asynchronously.

Returns:

a representation of the deferred computation of this call.

listLogs

public abstract PagedIterable listLogs(String startTime, String endTime, String type)

Gets a collection of sync group logs.

Parameters:

startTime - get logs generated after this time.
endTime - get logs generated before this time.
type - the types of logs to retrieve

Returns:

the paged list containing the group log property objects if successful.

listLogsAsync

public abstract PagedFlux listLogsAsync(String startTime, String endTime, String type)

Gets a collection of sync group logs asynchronously.

Parameters:

startTime - get logs generated after this time.
endTime - get logs generated before this time.
type - the types of logs to retrieve

Returns:

a representation of the deferred computation of this call returning the group log property objects if successful.

parentId

public abstract String parentId()

Returns:

the parent SQL Database ID

refreshHubSchema

public abstract void refreshHubSchema()

Refreshes a hub database schema.

refreshHubSchemaAsync

public abstract Mono refreshHubSchemaAsync()

Refreshes a hub database schema asynchronously.

Returns:

a representation of the deferred computation of this call

schema

public abstract SyncGroupSchema schema()

Returns:

sync schema of the sync group

sqlDatabaseName

public abstract String sqlDatabaseName()

Returns:

name of the SQL Database to which this Sync Group belongs

sqlServerName

public abstract String sqlServerName()

Returns:

name of the SQL Server to which this Sync Group belongs

syncDatabaseId

public abstract String syncDatabaseId()

Returns:

the ARM resource id of the sync database in the sync group

syncMembers

public abstract SqlSyncMemberOperations.SqlSyncMemberActionsDefinition syncMembers()

Returns:

the SQL Sync Member entry point

syncState

public abstract SyncGroupState syncState()

Returns:

sync state of the sync group

triggerSynchronization

public abstract void triggerSynchronization()

Triggers a sync group synchronization.

triggerSynchronizationAsync

public abstract Mono triggerSynchronizationAsync()

Triggers a sync group synchronization.

Returns:

a representation of the deferred computation of this call

Applies to