import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ServerAzureADAdministrators } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { ServerAzureADAdministrator, ServerAzureADAdministratorsListByServerOptionalParams, AdministratorName, ServerAzureADAdministratorsGetOptionalParams, ServerAzureADAdministratorsGetResponse, ServerAzureADAdministratorsCreateOrUpdateOptionalParams, ServerAzureADAdministratorsCreateOrUpdateResponse, ServerAzureADAdministratorsDeleteOptionalParams } from "../models"; /** Class containing ServerAzureADAdministrators operations. */ export declare class ServerAzureADAdministratorsImpl implements ServerAzureADAdministrators { private readonly client; /** * Initialize a new instance of the class ServerAzureADAdministrators class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Gets a list of Azure Active Directory administrators in a server. * @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 options The options parameters. */ listByServer(resourceGroupName: string, serverName: string, options?: ServerAzureADAdministratorsListByServerOptionalParams): PagedAsyncIterableIterator; private listByServerPagingPage; private listByServerPagingAll; /** * Gets a Azure Active Directory administrator. * @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 administratorName The name of server active directory administrator. * @param options The options parameters. */ get(resourceGroupName: string, serverName: string, administratorName: AdministratorName, options?: ServerAzureADAdministratorsGetOptionalParams): Promise; /** * Creates or updates an existing Azure Active Directory administrator. * @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 administratorName The name of server active directory administrator. * @param parameters The requested Azure Active Directory administrator Resource state. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, serverName: string, administratorName: AdministratorName, parameters: ServerAzureADAdministrator, options?: ServerAzureADAdministratorsCreateOrUpdateOptionalParams): Promise, ServerAzureADAdministratorsCreateOrUpdateResponse>>; /** * Creates or updates an existing Azure Active Directory administrator. * @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 administratorName The name of server active directory administrator. * @param parameters The requested Azure Active Directory administrator Resource state. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, administratorName: AdministratorName, parameters: ServerAzureADAdministrator, options?: ServerAzureADAdministratorsCreateOrUpdateOptionalParams): Promise; /** * Deletes the Azure Active Directory administrator with the given name. * @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 administratorName The name of server active directory administrator. * @param options The options parameters. */ beginDelete(resourceGroupName: string, serverName: string, administratorName: AdministratorName, options?: ServerAzureADAdministratorsDeleteOptionalParams): Promise, void>>; /** * Deletes the Azure Active Directory administrator with the given name. * @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 administratorName The name of server active directory administrator. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, serverName: string, administratorName: AdministratorName, options?: ServerAzureADAdministratorsDeleteOptionalParams): Promise; /** * Gets a list of Azure Active Directory administrators in a server. * @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 options The options parameters. */ private _listByServer; /** * ListByServerNext * @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 nextLink The nextLink from the previous successful call to the ListByServer method. * @param options The options parameters. */ private _listByServerNext; } //# sourceMappingURL=serverAzureADAdministrators.d.ts.map