public Observable<SyncGroupInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, SyncGroupInner parameters) {
        return createOrUpdateWithServiceResponseAsync(resourceGroupName, serverName, databaseName, syncGroupName, parameters).map(new Func1<ServiceResponse<SyncGroupInner>, SyncGroupInner>() {
            @Override
            public SyncGroupInner call(ServiceResponse<SyncGroupInner> response) {
                return response.body();
            }
        });
    }
public Observable < SyncGroupInner > createOrUpdateAsync ( String resourceGroupName , String serverName , String databaseName , String syncGroupName , SyncGroupInner parameters ) { return createOrUpdateWithServiceResponseAsync ( resourceGroupName , serverName , databaseName , syncGroupName , parameters ) . map ( new Func1 < ServiceResponse < SyncGroupInner > , SyncGroupInner > ( ) { @ Override public SyncGroupInner call ( ServiceResponse < SyncGroupInner > response ) { return response . body ( ) ; } } ) ; }
Creates or updates a sync group.

@param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
@param serverName The name of the server.
@param databaseName The name of the database on which the sync group is hosted.
@param syncGroupName The name of the sync group.
@param parameters The requested sync group resource state.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable for the request