import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { SyncMembers } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { SyncMember, SyncMembersListBySyncGroupOptionalParams, SyncFullSchemaProperties, SyncMembersListMemberSchemasOptionalParams, SyncMembersGetOptionalParams, SyncMembersGetResponse, SyncMembersCreateOrUpdateOptionalParams, SyncMembersCreateOrUpdateResponse, SyncMembersDeleteOptionalParams, SyncMembersUpdateOptionalParams, SyncMembersUpdateResponse, SyncMembersRefreshMemberSchemaOptionalParams } from "../models"; /** Class containing SyncMembers operations. */ export declare class SyncMembersImpl implements SyncMembers { private readonly client; /** * Initialize a new instance of the class SyncMembers class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Lists sync members in the given 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 options The options parameters. */ listBySyncGroup(resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, options?: SyncMembersListBySyncGroupOptionalParams): PagedAsyncIterableIterator; private listBySyncGroupPagingPage; private listBySyncGroupPagingAll; /** * Gets a sync member database schema. * @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 on which the sync member is hosted. * @param syncMemberName The name of the sync member. * @param options The options parameters. */ listMemberSchemas(resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, syncMemberName: string, options?: SyncMembersListMemberSchemasOptionalParams): PagedAsyncIterableIterator; private listMemberSchemasPagingPage; private listMemberSchemasPagingAll; /** * Gets a sync member. * @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 on which the sync member is hosted. * @param syncMemberName The name of the sync member. * @param options The options parameters. */ get(resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, syncMemberName: string, options?: SyncMembersGetOptionalParams): Promise; /** * Creates or updates a sync member. * @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 on which the sync member is hosted. * @param syncMemberName The name of the sync member. * @param parameters The requested sync member resource state. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, syncMemberName: string, parameters: SyncMember, options?: SyncMembersCreateOrUpdateOptionalParams): Promise, SyncMembersCreateOrUpdateResponse>>; /** * Creates or updates a sync member. * @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 on which the sync member is hosted. * @param syncMemberName The name of the sync member. * @param parameters The requested sync member resource state. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, syncMemberName: string, parameters: SyncMember, options?: SyncMembersCreateOrUpdateOptionalParams): Promise; /** * Deletes a sync member. * @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 on which the sync member is hosted. * @param syncMemberName The name of the sync member. * @param options The options parameters. */ beginDelete(resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, syncMemberName: string, options?: SyncMembersDeleteOptionalParams): Promise, void>>; /** * Deletes a sync member. * @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 on which the sync member is hosted. * @param syncMemberName The name of the sync member. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, syncMemberName: string, options?: SyncMembersDeleteOptionalParams): Promise; /** * Updates an existing sync member. * @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 on which the sync member is hosted. * @param syncMemberName The name of the sync member. * @param parameters The requested sync member resource state. * @param options The options parameters. */ beginUpdate(resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, syncMemberName: string, parameters: SyncMember, options?: SyncMembersUpdateOptionalParams): Promise, SyncMembersUpdateResponse>>; /** * Updates an existing sync member. * @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 on which the sync member is hosted. * @param syncMemberName The name of the sync member. * @param parameters The requested sync member resource state. * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, syncMemberName: string, parameters: SyncMember, options?: SyncMembersUpdateOptionalParams): Promise; /** * Lists sync members in the given 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 options The options parameters. */ private _listBySyncGroup; /** * Gets a sync member database schema. * @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 on which the sync member is hosted. * @param syncMemberName The name of the sync member. * @param options The options parameters. */ private _listMemberSchemas; /** * Refreshes a sync member database schema. * @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 on which the sync member is hosted. * @param syncMemberName The name of the sync member. * @param options The options parameters. */ beginRefreshMemberSchema(resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, syncMemberName: string, options?: SyncMembersRefreshMemberSchemaOptionalParams): Promise, void>>; /** * Refreshes a sync member database schema. * @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 on which the sync member is hosted. * @param syncMemberName The name of the sync member. * @param options The options parameters. */ beginRefreshMemberSchemaAndWait(resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, syncMemberName: string, options?: SyncMembersRefreshMemberSchemaOptionalParams): Promise; /** * ListBySyncGroupNext * @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 nextLink The nextLink from the previous successful call to the ListBySyncGroup method. * @param options The options parameters. */ private _listBySyncGroupNext; /** * ListMemberSchemasNext * @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 on which the sync member is hosted. * @param syncMemberName The name of the sync member. * @param nextLink The nextLink from the previous successful call to the ListMemberSchemas method. * @param options The options parameters. */ private _listMemberSchemasNext; } //# sourceMappingURL=syncMembers.d.ts.map