import type { SqlManagementContext as Client } from "../index.js"; import type { ImportExportOperationResult, Server, ServerUpdate, _ServerListResult, ImportNewDatabaseDefinition, RefreshExternalGovernanceStatusOperationResult, CheckNameAvailabilityRequest, CheckNameAvailabilityResponse } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { ServersCheckNameAvailabilityOptionalParams, ServersRefreshStatusOptionalParams, ServersImportDatabaseOptionalParams, ServersListOptionalParams, ServersListByResourceGroupOptionalParams, ServersDeleteOptionalParams, ServersUpdateOptionalParams, ServersCreateOrUpdateOptionalParams, ServersGetOptionalParams } from "./options.js"; import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client"; import type { PollerLike, OperationState } from "@azure/core-lro"; export declare function _checkNameAvailabilitySend(context: Client, parameters: CheckNameAvailabilityRequest, options?: ServersCheckNameAvailabilityOptionalParams): StreamableMethod; export declare function _checkNameAvailabilityDeserialize(result: PathUncheckedResponse): Promise; /** Determines whether a resource can be created with the specified name. */ export declare function checkNameAvailability(context: Client, parameters: CheckNameAvailabilityRequest, options?: ServersCheckNameAvailabilityOptionalParams): Promise; export declare function _refreshStatusSend(context: Client, resourceGroupName: string, serverName: string, options?: ServersRefreshStatusOptionalParams): StreamableMethod; export declare function _refreshStatusDeserialize(result: PathUncheckedResponse): Promise; /** Refresh external governance enablement status. */ export declare function refreshStatus(context: Client, resourceGroupName: string, serverName: string, options?: ServersRefreshStatusOptionalParams): PollerLike, RefreshExternalGovernanceStatusOperationResult>; export declare function _importDatabaseSend(context: Client, resourceGroupName: string, serverName: string, parameters: ImportNewDatabaseDefinition, options?: ServersImportDatabaseOptionalParams): StreamableMethod; export declare function _importDatabaseDeserialize(result: PathUncheckedResponse): Promise; /** Imports a bacpac into a new database. */ export declare function importDatabase(context: Client, resourceGroupName: string, serverName: string, parameters: ImportNewDatabaseDefinition, options?: ServersImportDatabaseOptionalParams): PollerLike, ImportExportOperationResult>; export declare function _listSend(context: Client, options?: ServersListOptionalParams): StreamableMethod; export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_ServerListResult>; /** Gets a list of all servers in the subscription. */ export declare function list(context: Client, options?: ServersListOptionalParams): PagedAsyncIterableIterator; export declare function _listByResourceGroupSend(context: Client, resourceGroupName: string, options?: ServersListByResourceGroupOptionalParams): StreamableMethod; export declare function _listByResourceGroupDeserialize(result: PathUncheckedResponse): Promise<_ServerListResult>; /** Gets a list of servers in a resource groups. */ export declare function listByResourceGroup(context: Client, resourceGroupName: string, options?: ServersListByResourceGroupOptionalParams): PagedAsyncIterableIterator; export declare function _$deleteSend(context: Client, resourceGroupName: string, serverName: string, options?: ServersDeleteOptionalParams): StreamableMethod; export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise; /** Deletes a server. */ export declare function $delete(context: Client, resourceGroupName: string, serverName: string, options?: ServersDeleteOptionalParams): PollerLike, void>; export declare function _updateSend(context: Client, resourceGroupName: string, serverName: string, parameters: ServerUpdate, options?: ServersUpdateOptionalParams): StreamableMethod; export declare function _updateDeserialize(result: PathUncheckedResponse): Promise; /** Updates a server. */ export declare function update(context: Client, resourceGroupName: string, serverName: string, parameters: ServerUpdate, options?: ServersUpdateOptionalParams): PollerLike, Server>; export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, serverName: string, parameters: Server, options?: ServersCreateOrUpdateOptionalParams): StreamableMethod; export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise; /** Creates or updates a server. */ export declare function createOrUpdate(context: Client, resourceGroupName: string, serverName: string, parameters: Server, options?: ServersCreateOrUpdateOptionalParams): PollerLike, Server>; export declare function _getSend(context: Client, resourceGroupName: string, serverName: string, options?: ServersGetOptionalParams): StreamableMethod; export declare function _getDeserialize(result: PathUncheckedResponse): Promise; /** Gets a server. */ export declare function get(context: Client, resourceGroupName: string, serverName: string, options?: ServersGetOptionalParams): Promise; //# sourceMappingURL=operations.d.ts.map