Interface SqlSyncGroup
- All Superinterfaces:
ChildResource<SqlDatabase>
,ExternalChildResource<SqlSyncGroup,
,SqlDatabase> HasInner<com.microsoft.azure.management.sql.implementation.SyncGroupInner>
,HasName
,HasParent<SqlDatabase>
,HasResourceGroup
,Indexable
,Refreshable<SqlSyncGroup>
,Updatable<SqlSyncGroup.Update>
@Beta(V1_9_0)
public interface SqlSyncGroup
extends ExternalChildResource<SqlSyncGroup,SqlDatabase>, HasInner<com.microsoft.azure.management.sql.implementation.SyncGroupInner>, HasResourceGroup, Refreshable<SqlSyncGroup>, Updatable<SqlSyncGroup.Update>
An immutable client-side representation of an Azure SQL Server Sync Group.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The template for a SQL Sync Group update operation, containing all the settings that can be modified.static interface
Grouping of all the SQL Sync Group update stages. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Cancels a sync group synchronization.rx.Completable
Cancels a sync group synchronization asynchronously.void
delete()
Deletes the Sync Group resource.rx.Completable
Deletes the SQL Sync Group resource asynchronously.int
interval()
org.joda.time.DateTime
com.microsoft.azure.PagedList<SqlSyncFullSchemaProperty>
Gets a collection of hub database schemas.rx.Observable<SqlSyncFullSchemaProperty>
Gets a collection of hub database schemas asynchronously.com.microsoft.azure.PagedList<SqlSyncGroupLogProperty>
Gets a collection of sync group logs.rx.Observable<SqlSyncGroupLogProperty>
listLogsAsync
(String startTime, String endTime, String type) Gets a collection of sync group logs asynchronously.parentId()
void
Refreshes a hub database schema.rx.Completable
Refreshes a hub database schema asynchronously.schema()
void
Triggers a sync group synchronization.rx.Completable
Triggers a sync group synchronization.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.ExternalChildResource
id
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
name
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasParent
parent
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupName
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
key
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Method Details
-
sqlServerName
String sqlServerName()- Returns:
- name of the SQL Server to which this Sync Group belongs
-
sqlDatabaseName
String sqlDatabaseName()- Returns:
- name of the SQL Database to which this Sync Group belongs
-
parentId
String parentId()- Returns:
- the parent SQL Database ID
-
interval
int interval()- Returns:
- sync interval of the sync group
-
lastSyncTime
org.joda.time.DateTime lastSyncTime()- Returns:
- last sync time of the sync group
-
conflictResolutionPolicy
SyncConflictResolutionPolicy conflictResolutionPolicy()- Returns:
- conflict resolution policy of the sync group
-
syncDatabaseId
String syncDatabaseId()- Returns:
- the ARM resource id of the sync database in the sync group
-
databaseUserName
String databaseUserName()- Returns:
- user name for the sync group hub database credential
-
syncState
SyncGroupState syncState()- Returns:
- sync state of the sync group
-
schema
SyncGroupSchema schema()- Returns:
- sync schema of the sync group
-
delete
void delete()Deletes the Sync Group resource. -
deleteAsync
rx.Completable deleteAsync()Deletes the SQL Sync Group resource asynchronously.- Returns:
- a representation of the deferred computation of this call
-
refreshHubSchema
void refreshHubSchema()Refreshes a hub database schema. -
refreshHubSchemaAsync
rx.Completable refreshHubSchemaAsync()Refreshes a hub database schema asynchronously.- Returns:
- a representation of the deferred computation of this call
-
listHubSchemas
com.microsoft.azure.PagedList<SqlSyncFullSchemaProperty> listHubSchemas()Gets a collection of hub database schemas.- Returns:
- the paged list of SyncFullSchemaProperty objects if successful.
-
listHubSchemasAsync
rx.Observable<SqlSyncFullSchemaProperty> listHubSchemasAsync()Gets a collection of hub database schemas asynchronously.- Returns:
- a representation of the deferred computation of this call.
-
listLogs
com.microsoft.azure.PagedList<SqlSyncGroupLogProperty> 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
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.
-
triggerSynchronization
void triggerSynchronization()Triggers a sync group synchronization. -
triggerSynchronizationAsync
rx.Completable triggerSynchronizationAsync()Triggers a sync group synchronization.- Returns:
- a representation of the deferred computation of this call
-
cancelSynchronization
void cancelSynchronization()Cancels a sync group synchronization. -
cancelSynchronizationAsync
rx.Completable cancelSynchronizationAsync()Cancels a sync group synchronization asynchronously.- Returns:
- a representation of the deferred computation of this call
-
syncMembers
- Returns:
- the SQL Sync Member entry point
-