import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { OutboundFirewallRules } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { OutboundFirewallRule, OutboundFirewallRulesListByServerOptionalParams, OutboundFirewallRulesGetOptionalParams, OutboundFirewallRulesGetResponse, OutboundFirewallRulesCreateOrUpdateOptionalParams, OutboundFirewallRulesCreateOrUpdateResponse, OutboundFirewallRulesDeleteOptionalParams } from "../models"; /** Class containing OutboundFirewallRules operations. */ export declare class OutboundFirewallRulesImpl implements OutboundFirewallRules { private readonly client; /** * Initialize a new instance of the class OutboundFirewallRules class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Gets all outbound firewall rules on 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?: OutboundFirewallRulesListByServerOptionalParams): PagedAsyncIterableIterator; private listByServerPagingPage; private listByServerPagingAll; /** * Gets an outbound firewall rule. * @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 outboundRuleFqdn * @param options The options parameters. */ get(resourceGroupName: string, serverName: string, outboundRuleFqdn: string, options?: OutboundFirewallRulesGetOptionalParams): Promise; /** * Create a outbound firewall rule with a 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 outboundRuleFqdn * @param parameters An Azure SQL DB Server Outbound Firewall Rule. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, serverName: string, outboundRuleFqdn: string, parameters: OutboundFirewallRule, options?: OutboundFirewallRulesCreateOrUpdateOptionalParams): Promise, OutboundFirewallRulesCreateOrUpdateResponse>>; /** * Create a outbound firewall rule with a 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 outboundRuleFqdn * @param parameters An Azure SQL DB Server Outbound Firewall Rule. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, outboundRuleFqdn: string, parameters: OutboundFirewallRule, options?: OutboundFirewallRulesCreateOrUpdateOptionalParams): Promise; /** * Deletes a outbound firewall rule with a 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 outboundRuleFqdn * @param options The options parameters. */ beginDelete(resourceGroupName: string, serverName: string, outboundRuleFqdn: string, options?: OutboundFirewallRulesDeleteOptionalParams): Promise, void>>; /** * Deletes a outbound firewall rule with a 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 outboundRuleFqdn * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, serverName: string, outboundRuleFqdn: string, options?: OutboundFirewallRulesDeleteOptionalParams): Promise; /** * Gets all outbound firewall rules on 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=outboundFirewallRules.d.ts.map