import { Client } from ".."; import { AppFirewallRule } from "../models/regional/app_firewall_rules"; import { CreateParams } from "../params/regional/app_firewall_rules"; /** * Application Firewall Rules API Client */ export default class FirewallRules { /** Scalingo API Client */ _client: Client; /** * Create a new "thematic" client * @param client Scalingo API Client */ constructor(client: Client); /** * List all firewall rules for the application. * @param appID ID of the application * @return Promise that when resolved returns an AppFirewallRule array. */ all(appID: string): Promise; /** * Fetch a specific firewall rule for the application. * @param appID ID of the application * @param id ID of the firewall rule * @return Promise that when resolved returns an AppFirewallRule. */ find(appID: string, id: string): Promise; /** * Create a new firewall rule for the application. * @param appID ID of the application * @param payload Firewall rule creation parameters * @return Promise that when resolved returns the created AppFirewallRule. */ create(appID: string, payload: CreateParams): Promise; /** * Delete a firewall rule for the application. * @param appID ID of the application * @param id ID of the firewall rule * @return Promise that resolves when the firewall rule is deleted. */ destroy(appID: string, id: string): Promise; } //# sourceMappingURL=index.d.ts.map