import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ServerSecurityAlertPolicies } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { ServerSecurityAlertPolicy, ServerSecurityAlertPoliciesListByServerOptionalParams, SecurityAlertPolicyName, ServerSecurityAlertPoliciesGetOptionalParams, ServerSecurityAlertPoliciesGetResponse, ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams, ServerSecurityAlertPoliciesCreateOrUpdateResponse } from "../models"; /** Class containing ServerSecurityAlertPolicies operations. */ export declare class ServerSecurityAlertPoliciesImpl implements ServerSecurityAlertPolicies { private readonly client; /** * Initialize a new instance of the class ServerSecurityAlertPolicies class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Get the server's threat detection policies. * @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?: ServerSecurityAlertPoliciesListByServerOptionalParams): PagedAsyncIterableIterator; private listByServerPagingPage; private listByServerPagingAll; /** * Get a server's security alert 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 securityAlertPolicyName The name of the security alert policy. * @param options The options parameters. */ get(resourceGroupName: string, serverName: string, securityAlertPolicyName: SecurityAlertPolicyName, options?: ServerSecurityAlertPoliciesGetOptionalParams): Promise; /** * Creates or updates a threat detection 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 securityAlertPolicyName The name of the threat detection policy. * @param parameters The server security alert policy. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, serverName: string, securityAlertPolicyName: SecurityAlertPolicyName, parameters: ServerSecurityAlertPolicy, options?: ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams): Promise, ServerSecurityAlertPoliciesCreateOrUpdateResponse>>; /** * Creates or updates a threat detection 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 securityAlertPolicyName The name of the threat detection policy. * @param parameters The server security alert policy. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, securityAlertPolicyName: SecurityAlertPolicyName, parameters: ServerSecurityAlertPolicy, options?: ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams): Promise; /** * Get the server's threat detection policies. * @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=serverSecurityAlertPolicies.d.ts.map