Class SyncGroupsOperationsExtensions
Extension methods for SyncGroupsOperations.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
public static class SyncGroupsOperationsExtensions
Methods
BeginCreateOrUpdate(ISyncGroupsOperations, String, String, String, String, SyncGroup)
Creates or updates a sync group.
Declaration
public static Microsoft.Azure.Management.Sql.Models.SyncGroup BeginCreateOrUpdate (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName, Microsoft.Azure.Management.Sql.Models.SyncGroup parameters);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
|
SyncGroup
parameters
The requested sync group resource state. |
Returns
|
SyncGroup
|
BeginCreateOrUpdateAsync(ISyncGroupsOperations, String, String, String, String, SyncGroup, CancellationToken)
Creates or updates a sync group.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.SyncGroup> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName, Microsoft.Azure.Management.Sql.Models.SyncGroup parameters, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
|
SyncGroup
parameters
The requested sync group resource state. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<SyncGroup>
|
BeginDelete(ISyncGroupsOperations, String, String, String, String)
Deletes a sync group.
Declaration
public static void BeginDelete (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
BeginDeleteAsync(ISyncGroupsOperations, String, String, String, String, CancellationToken)
Deletes a sync group.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task BeginDeleteAsync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task
|
BeginRefreshHubSchema(ISyncGroupsOperations, String, String, String, String)
Refreshes a hub database schema.
Declaration
public static void BeginRefreshHubSchema (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
BeginRefreshHubSchemaAsync(ISyncGroupsOperations, String, String, String, String, CancellationToken)
Refreshes a hub database schema.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task BeginRefreshHubSchemaAsync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task
|
BeginUpdate(ISyncGroupsOperations, String, String, String, String, SyncGroup)
Updates a sync group.
Declaration
public static Microsoft.Azure.Management.Sql.Models.SyncGroup BeginUpdate (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName, Microsoft.Azure.Management.Sql.Models.SyncGroup parameters);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
|
SyncGroup
parameters
The requested sync group resource state. |
Returns
|
SyncGroup
|
BeginUpdateAsync(ISyncGroupsOperations, String, String, String, String, SyncGroup, CancellationToken)
Updates a sync group.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.SyncGroup> BeginUpdateAsync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName, Microsoft.Azure.Management.Sql.Models.SyncGroup parameters, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
|
SyncGroup
parameters
The requested sync group resource state. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<SyncGroup>
|
CancelSync(ISyncGroupsOperations, String, String, String, String)
Cancels a sync group synchronization.
Declaration
public static void CancelSync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
CancelSyncAsync(ISyncGroupsOperations, String, String, String, String, CancellationToken)
Cancels a sync group synchronization.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task CancelSyncAsync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task
|
CreateOrUpdate(ISyncGroupsOperations, String, String, String, String, SyncGroup)
Creates or updates a sync group.
Declaration
public static Microsoft.Azure.Management.Sql.Models.SyncGroup CreateOrUpdate (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName, Microsoft.Azure.Management.Sql.Models.SyncGroup parameters);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
|
SyncGroup
parameters
The requested sync group resource state. |
Returns
|
SyncGroup
|
CreateOrUpdateAsync(ISyncGroupsOperations, String, String, String, String, SyncGroup, CancellationToken)
Creates or updates a sync group.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.SyncGroup> CreateOrUpdateAsync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName, Microsoft.Azure.Management.Sql.Models.SyncGroup parameters, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
|
SyncGroup
parameters
The requested sync group resource state. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<SyncGroup>
|
Delete(ISyncGroupsOperations, String, String, String, String)
Deletes a sync group.
Declaration
public static void Delete (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
DeleteAsync(ISyncGroupsOperations, String, String, String, String, CancellationToken)
Deletes a sync group.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task
|
Get(ISyncGroupsOperations, String, String, String, String)
Gets a sync group.
Declaration
public static Microsoft.Azure.Management.Sql.Models.SyncGroup Get (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
Returns
|
SyncGroup
|
GetAsync(ISyncGroupsOperations, String, String, String, String, CancellationToken)
Gets a sync group.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.SyncGroup> GetAsync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<SyncGroup>
|
ListByDatabase(ISyncGroupsOperations, String, String, String)
Lists sync groups under a hub database.
Declaration
public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncGroup> ListByDatabase (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
Returns
|
IPage<SyncGroup>
|
ListByDatabaseAsync(ISyncGroupsOperations, String, String, String, CancellationToken)
Lists sync groups under a hub database.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncGroup>> ListByDatabaseAsync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<IPage<SyncGroup>>
|
ListByDatabaseNext(ISyncGroupsOperations, String)
Lists sync groups under a hub database.
Declaration
public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncGroup> ListByDatabaseNext (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string nextPageLink);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
nextPageLink
The NextLink from the previous successful call to List operation. |
Returns
|
IPage<SyncGroup>
|
ListByDatabaseNextAsync(ISyncGroupsOperations, String, CancellationToken)
Lists sync groups under a hub database.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncGroup>> ListByDatabaseNextAsync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
nextPageLink
The NextLink from the previous successful call to List operation. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<IPage<SyncGroup>>
|
ListHubSchemas(ISyncGroupsOperations, String, String, String, String)
Gets a collection of hub database schemas.
Declaration
public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncFullSchemaProperties> ListHubSchemas (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
Returns
|
IPage<SyncFullSchemaProperties>
|
ListHubSchemasAsync(ISyncGroupsOperations, String, String, String, String, CancellationToken)
Gets a collection of hub database schemas.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncFullSchemaProperties>> ListHubSchemasAsync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<IPage<SyncFullSchemaProperties>>
|
ListHubSchemasNext(ISyncGroupsOperations, String)
Gets a collection of hub database schemas.
Declaration
public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncFullSchemaProperties> ListHubSchemasNext (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string nextPageLink);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
nextPageLink
The NextLink from the previous successful call to List operation. |
Returns
|
IPage<SyncFullSchemaProperties>
|
ListHubSchemasNextAsync(ISyncGroupsOperations, String, CancellationToken)
Gets a collection of hub database schemas.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncFullSchemaProperties>> ListHubSchemasNextAsync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
nextPageLink
The NextLink from the previous successful call to List operation. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<IPage<SyncFullSchemaProperties>>
|
ListLogs(ISyncGroupsOperations, String, String, String, String, String, String, String, String)
Gets a collection of sync group logs.
Declaration
public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncGroupLogProperties> ListLogs (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName, string startTime, string endTime, string type, string continuationToken = null);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
|
String
startTime
Get logs generated after this time. |
|
String
endTime
Get logs generated before this time. |
|
String
type
The types of logs to retrieve. Possible values include: 'All', 'Error', 'Warning', 'Success' |
|
String
continuationToken
The continuation token for this operation. |
Returns
|
IPage<SyncGroupLogProperties>
|
ListLogsAsync(ISyncGroupsOperations, String, String, String, String, String, String, String, String, CancellationToken)
Gets a collection of sync group logs.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncGroupLogProperties>> ListLogsAsync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName, string startTime, string endTime, string type, string continuationToken = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
|
String
startTime
Get logs generated after this time. |
|
String
endTime
Get logs generated before this time. |
|
String
type
The types of logs to retrieve. Possible values include: 'All', 'Error', 'Warning', 'Success' |
|
String
continuationToken
The continuation token for this operation. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<IPage<SyncGroupLogProperties>>
|
ListLogsNext(ISyncGroupsOperations, String)
Gets a collection of sync group logs.
Declaration
public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncGroupLogProperties> ListLogsNext (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string nextPageLink);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
nextPageLink
The NextLink from the previous successful call to List operation. |
Returns
|
IPage<SyncGroupLogProperties>
|
ListLogsNextAsync(ISyncGroupsOperations, String, CancellationToken)
Gets a collection of sync group logs.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncGroupLogProperties>> ListLogsNextAsync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
nextPageLink
The NextLink from the previous successful call to List operation. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<IPage<SyncGroupLogProperties>>
|
ListSyncDatabaseIds(ISyncGroupsOperations, String)
Gets a collection of sync database ids.
Declaration
public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncDatabaseIdProperties> ListSyncDatabaseIds (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string locationName);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
locationName
The name of the region where the resource is located. |
Returns
|
IPage<SyncDatabaseIdProperties>
|
ListSyncDatabaseIdsAsync(ISyncGroupsOperations, String, CancellationToken)
Gets a collection of sync database ids.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncDatabaseIdProperties>> ListSyncDatabaseIdsAsync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string locationName, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
locationName
The name of the region where the resource is located. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<IPage<SyncDatabaseIdProperties>>
|
ListSyncDatabaseIdsNext(ISyncGroupsOperations, String)
Gets a collection of sync database ids.
Declaration
public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncDatabaseIdProperties> ListSyncDatabaseIdsNext (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string nextPageLink);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
nextPageLink
The NextLink from the previous successful call to List operation. |
Returns
|
IPage<SyncDatabaseIdProperties>
|
ListSyncDatabaseIdsNextAsync(ISyncGroupsOperations, String, CancellationToken)
Gets a collection of sync database ids.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncDatabaseIdProperties>> ListSyncDatabaseIdsNextAsync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
nextPageLink
The NextLink from the previous successful call to List operation. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<IPage<SyncDatabaseIdProperties>>
|
RefreshHubSchema(ISyncGroupsOperations, String, String, String, String)
Refreshes a hub database schema.
Declaration
public static void RefreshHubSchema (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
RefreshHubSchemaAsync(ISyncGroupsOperations, String, String, String, String, CancellationToken)
Refreshes a hub database schema.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task RefreshHubSchemaAsync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task
|
TriggerSync(ISyncGroupsOperations, String, String, String, String)
Triggers a sync group synchronization.
Declaration
public static void TriggerSync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
TriggerSyncAsync(ISyncGroupsOperations, String, String, String, String, CancellationToken)
Triggers a sync group synchronization.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task TriggerSyncAsync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task
|
Update(ISyncGroupsOperations, String, String, String, String, SyncGroup)
Updates a sync group.
Declaration
public static Microsoft.Azure.Management.Sql.Models.SyncGroup Update (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName, Microsoft.Azure.Management.Sql.Models.SyncGroup parameters);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
|
SyncGroup
parameters
The requested sync group resource state. |
Returns
|
SyncGroup
|
UpdateAsync(ISyncGroupsOperations, String, String, String, String, SyncGroup, CancellationToken)
Updates a sync group.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.SyncGroup> UpdateAsync (this Microsoft.Azure.Management.Sql.ISyncGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string syncGroupName, Microsoft.Azure.Management.Sql.Models.SyncGroup parameters, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
ISyncGroupsOperations
operations
The operations group for this extension method. |
|
String
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. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database on which the sync group is hosted. |
|
String
syncGroupName
The name of the sync group. |
|
SyncGroup
parameters
The requested sync group resource state. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<SyncGroup>
|