import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ServerDnsAliases } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { ServerDnsAlias, ServerDnsAliasesListByServerOptionalParams, ServerDnsAliasesGetOptionalParams, ServerDnsAliasesGetResponse, ServerDnsAliasesCreateOrUpdateOptionalParams, ServerDnsAliasesCreateOrUpdateResponse, ServerDnsAliasesDeleteOptionalParams, ServerDnsAliasAcquisition, ServerDnsAliasesAcquireOptionalParams, ServerDnsAliasesAcquireResponse } from "../models"; /** Class containing ServerDnsAliases operations. */ export declare class ServerDnsAliasesImpl implements ServerDnsAliases { private readonly client; /** * Initialize a new instance of the class ServerDnsAliases class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Gets a list of server DNS aliases for 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 that the alias is pointing to. * @param options The options parameters. */ listByServer(resourceGroupName: string, serverName: string, options?: ServerDnsAliasesListByServerOptionalParams): PagedAsyncIterableIterator; private listByServerPagingPage; private listByServerPagingAll; /** * Gets a server DNS alias. * @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 that the alias is pointing to. * @param dnsAliasName The name of the server dns alias. * @param options The options parameters. */ get(resourceGroupName: string, serverName: string, dnsAliasName: string, options?: ServerDnsAliasesGetOptionalParams): Promise; /** * Creates a server DNS alias. * @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 that the alias is pointing to. * @param dnsAliasName The name of the server dns alias. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, serverName: string, dnsAliasName: string, options?: ServerDnsAliasesCreateOrUpdateOptionalParams): Promise, ServerDnsAliasesCreateOrUpdateResponse>>; /** * Creates a server DNS alias. * @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 that the alias is pointing to. * @param dnsAliasName The name of the server dns alias. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, dnsAliasName: string, options?: ServerDnsAliasesCreateOrUpdateOptionalParams): Promise; /** * Deletes the server DNS alias 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 that the alias is pointing to. * @param dnsAliasName The name of the server dns alias. * @param options The options parameters. */ beginDelete(resourceGroupName: string, serverName: string, dnsAliasName: string, options?: ServerDnsAliasesDeleteOptionalParams): Promise, void>>; /** * Deletes the server DNS alias 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 that the alias is pointing to. * @param dnsAliasName The name of the server dns alias. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, serverName: string, dnsAliasName: string, options?: ServerDnsAliasesDeleteOptionalParams): Promise; /** * Gets a list of server DNS aliases for 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 that the alias is pointing to. * @param options The options parameters. */ private _listByServer; /** * Acquires server DNS alias from another 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 that the alias is pointing to. * @param dnsAliasName The name of the server dns alias. * @param parameters A server dns alias acquisition request. * @param options The options parameters. */ beginAcquire(resourceGroupName: string, serverName: string, dnsAliasName: string, parameters: ServerDnsAliasAcquisition, options?: ServerDnsAliasesAcquireOptionalParams): Promise, ServerDnsAliasesAcquireResponse>>; /** * Acquires server DNS alias from another 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 that the alias is pointing to. * @param dnsAliasName The name of the server dns alias. * @param parameters A server dns alias acquisition request. * @param options The options parameters. */ beginAcquireAndWait(resourceGroupName: string, serverName: string, dnsAliasName: string, parameters: ServerDnsAliasAcquisition, options?: ServerDnsAliasesAcquireOptionalParams): Promise; /** * 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 that the alias is pointing to. * @param nextLink The nextLink from the previous successful call to the ListByServer method. * @param options The options parameters. */ private _listByServerNext; } //# sourceMappingURL=serverDnsAliases.d.ts.map