SqlSyncGroup Interface

Implements

ExternalChildResource<SqlSyncGroup,SqlDatabase> HasResourceGroup HasInner<com.microsoft.azure.management.sql.implementation.SyncGroupInner> Refreshable<SqlSyncGroup> Updatable<Update>

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 SyncConflictResolutionPolicy 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<SqlSyncFullSchemaProperty> listHubSchemas()

Gets a collection of hub database schemas.

abstract rx.Observable<SqlSyncFullSchemaProperty> listHubSchemasAsync()

Gets a collection of hub database schemas asynchronously.

abstract com.microsoft.azure.PagedList<SqlSyncGroupLogProperty> listLogs(String startTime, String endTime, String type)

Gets a collection of sync group logs.

abstract rx.Observable<SqlSyncGroupLogProperty> 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 SyncGroupSchema schema()
abstract java.lang.String sqlDatabaseName()
abstract java.lang.String sqlServerName()
abstract java.lang.String syncDatabaseId()
abstract SqlSyncMemberActionsDefinition syncMembers()
abstract SyncGroupState 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:

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 Completable 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 DateTime lastSyncTime()

Returns:

last sync time of the sync group

listHubSchemas

public abstract PagedList listHubSchemas()

Gets a collection of hub database schemas.

Returns:

the paged list of SyncFullSchemaProperty objects if successful.

listHubSchemasAsync

public abstract Observable listHubSchemasAsync()

Gets a collection of hub database schemas asynchronously.

Returns:

a representation of the deferred computation of this call.

listLogs

public abstract PagedList 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 Observable 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 Completable 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 Completable triggerSynchronizationAsync()

Triggers a sync group synchronization.

Returns:

a representation of the deferred computation of this call

Applies to