Interface SqlSyncGroup

    • Method Detail

      • 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

        OffsetDateTime lastSyncTime()
        Returns:
        last sync time 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
      • delete

        void delete()
        Deletes the Sync Group resource.
      • deleteAsync

        Mono<Void> 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

        Mono<Void> refreshHubSchemaAsync()
        Refreshes a hub database schema asynchronously.
        Returns:
        a representation of the deferred computation of this call
      • listHubSchemas

        com.azure.core.http.rest.PagedIterable<SqlSyncFullSchemaProperty> listHubSchemas()
        Gets a collection of hub database schemas.
        Returns:
        the paged list of SyncFullSchemaProperty objects if successful.
      • listHubSchemasAsync

        com.azure.core.http.rest.PagedFlux<SqlSyncFullSchemaProperty> listHubSchemasAsync()
        Gets a collection of hub database schemas asynchronously.
        Returns:
        a representation of the deferred computation of this call.
      • listLogs

        com.azure.core.http.rest.PagedIterable<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

        com.azure.core.http.rest.PagedFlux<SqlSyncGroupLogProperty> 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.
      • triggerSynchronization

        void triggerSynchronization()
        Triggers a sync group synchronization.
      • triggerSynchronizationAsync

        Mono<Void> 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

        Mono<Void> cancelSynchronizationAsync()
        Cancels a sync group synchronization asynchronously.
        Returns:
        a representation of the deferred computation of this call