import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ServerConnectionPolicies } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { ServerConnectionPolicy, ServerConnectionPoliciesListByServerOptionalParams, ConnectionPolicyName, ServerConnectionPoliciesGetOptionalParams, ServerConnectionPoliciesGetResponse, ServerConnectionPoliciesCreateOrUpdateOptionalParams, ServerConnectionPoliciesCreateOrUpdateResponse } from "../models"; /** Class containing ServerConnectionPolicies operations. */ export declare class ServerConnectionPoliciesImpl implements ServerConnectionPolicies { private readonly client; /** * Initialize a new instance of the class ServerConnectionPolicies class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Lists connection policy * @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?: ServerConnectionPoliciesListByServerOptionalParams): PagedAsyncIterableIterator; private listByServerPagingPage; private listByServerPagingAll; /** * Gets a server connection policy * @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 connectionPolicyName The name of the connection policy. * @param options The options parameters. */ get(resourceGroupName: string, serverName: string, connectionPolicyName: ConnectionPolicyName, options?: ServerConnectionPoliciesGetOptionalParams): Promise; /** * Updates a server connection policy * @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 connectionPolicyName The name of the connection policy. * @param parameters The required parameters for updating a server connection policy. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, serverName: string, connectionPolicyName: ConnectionPolicyName, parameters: ServerConnectionPolicy, options?: ServerConnectionPoliciesCreateOrUpdateOptionalParams): Promise, ServerConnectionPoliciesCreateOrUpdateResponse>>; /** * Updates a server connection policy * @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 connectionPolicyName The name of the connection policy. * @param parameters The required parameters for updating a server connection policy. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, connectionPolicyName: ConnectionPolicyName, parameters: ServerConnectionPolicy, options?: ServerConnectionPoliciesCreateOrUpdateOptionalParams): Promise; /** * Lists connection policy * @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=serverConnectionPolicies.d.ts.map