UNPKG

@pulumi/hcloud

Version:

A Pulumi package for creating and managing hcloud cloud resources.

74 lines 2.08 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Provides details about multiple Hetzner Cloud Firewall. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const sampleFirewall1 = hcloud.getFirewalls({ * withSelector: "key=value", * }); * ``` */ export declare function getFirewalls(args?: GetFirewallsArgs, opts?: pulumi.InvokeOptions): Promise<GetFirewallsResult>; /** * A collection of arguments for invoking getFirewalls. */ export interface GetFirewallsArgs { /** * Sorts list by date. */ mostRecent?: boolean; /** * [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector) */ withSelector?: string; } /** * A collection of values returned by getFirewalls. */ export interface GetFirewallsResult { /** * (list) List of all matching firewalls. See `data.hcloud_firewall` for schema. */ readonly firewalls: outputs.GetFirewallsFirewall[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly mostRecent?: boolean; readonly withSelector?: string; } /** * Provides details about multiple Hetzner Cloud Firewall. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const sampleFirewall1 = hcloud.getFirewalls({ * withSelector: "key=value", * }); * ``` */ export declare function getFirewallsOutput(args?: GetFirewallsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFirewallsResult>; /** * A collection of arguments for invoking getFirewalls. */ export interface GetFirewallsOutputArgs { /** * Sorts list by date. */ mostRecent?: pulumi.Input<boolean | undefined>; /** * [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector) */ withSelector?: pulumi.Input<string | undefined>; } //# sourceMappingURL=getFirewalls.d.ts.map