import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ManagedServerSecurityAlertPolicies } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { ManagedServerSecurityAlertPolicy, ManagedServerSecurityAlertPoliciesListByInstanceOptionalParams, SecurityAlertPolicyName, ManagedServerSecurityAlertPoliciesGetOptionalParams, ManagedServerSecurityAlertPoliciesGetResponse, ManagedServerSecurityAlertPoliciesCreateOrUpdateOptionalParams, ManagedServerSecurityAlertPoliciesCreateOrUpdateResponse } from "../models"; /** Class containing ManagedServerSecurityAlertPolicies operations. */ export declare class ManagedServerSecurityAlertPoliciesImpl implements ManagedServerSecurityAlertPolicies { private readonly client; /** * Initialize a new instance of the class ManagedServerSecurityAlertPolicies class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Get the managed 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 managedInstanceName The name of the managed instance. * @param options The options parameters. */ listByInstance(resourceGroupName: string, managedInstanceName: string, options?: ManagedServerSecurityAlertPoliciesListByInstanceOptionalParams): PagedAsyncIterableIterator; private listByInstancePagingPage; private listByInstancePagingAll; /** * Get a managed server's 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 managedInstanceName The name of the managed instance. * @param securityAlertPolicyName The name of the security alert policy. * @param options The options parameters. */ get(resourceGroupName: string, managedInstanceName: string, securityAlertPolicyName: SecurityAlertPolicyName, options?: ManagedServerSecurityAlertPoliciesGetOptionalParams): 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 managedInstanceName The name of the managed instance. * @param securityAlertPolicyName The name of the security alert policy. * @param parameters The managed server security alert policy. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, securityAlertPolicyName: SecurityAlertPolicyName, parameters: ManagedServerSecurityAlertPolicy, options?: ManagedServerSecurityAlertPoliciesCreateOrUpdateOptionalParams): Promise, ManagedServerSecurityAlertPoliciesCreateOrUpdateResponse>>; /** * 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 managedInstanceName The name of the managed instance. * @param securityAlertPolicyName The name of the security alert policy. * @param parameters The managed server security alert policy. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, managedInstanceName: string, securityAlertPolicyName: SecurityAlertPolicyName, parameters: ManagedServerSecurityAlertPolicy, options?: ManagedServerSecurityAlertPoliciesCreateOrUpdateOptionalParams): Promise; /** * Get the managed 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 managedInstanceName The name of the managed instance. * @param options The options parameters. */ private _listByInstance; /** * ListByInstanceNext * @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 managedInstanceName The name of the managed instance. * @param nextLink The nextLink from the previous successful call to the ListByInstance method. * @param options The options parameters. */ private _listByInstanceNext; } //# sourceMappingURL=managedServerSecurityAlertPolicies.d.ts.map