/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { IPv6FirewallRule, IPv6FirewallRulesListByServerOptionalParams, IPv6FirewallRulesGetOptionalParams, IPv6FirewallRulesGetResponse, IPv6FirewallRulesCreateOrUpdateOptionalParams, IPv6FirewallRulesCreateOrUpdateResponse, IPv6FirewallRulesDeleteOptionalParams } from "../models"; /// /** Interface representing a IPv6FirewallRules. */ export interface IPv6FirewallRules { /** * Gets a list of IPv6 firewall rules. * @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?: IPv6FirewallRulesListByServerOptionalParams ): PagedAsyncIterableIterator; /** * Gets an IPv6 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 firewallRuleName The name of the firewall rule. * @param options The options parameters. */ get( resourceGroupName: string, serverName: string, firewallRuleName: string, options?: IPv6FirewallRulesGetOptionalParams ): Promise; /** * Creates or updates an IPv6 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 firewallRuleName The name of the firewall rule. * @param parameters The required parameters for creating or updating an IPv6 firewall rule. * @param options The options parameters. */ createOrUpdate( resourceGroupName: string, serverName: string, firewallRuleName: string, parameters: IPv6FirewallRule, options?: IPv6FirewallRulesCreateOrUpdateOptionalParams ): Promise; /** * Deletes an IPv6 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 firewallRuleName The name of the firewall rule. * @param options The options parameters. */ delete( resourceGroupName: string, serverName: string, firewallRuleName: string, options?: IPv6FirewallRulesDeleteOptionalParams ): Promise; }