import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Provides details about multiple Hetzner Cloud Servers. * This resource is useful if you want to use non-terraform managed servers. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const s3 = hcloud.getServers({ * withSelector: "key=value", * }); * ``` */ export declare function getServers(args?: GetServersArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getServers. */ export interface GetServersArgs { /** * Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/reference/cloud#label-selector). */ withSelector?: string; /** * List only servers with the specified status, could contain `initializing`, `starting`, `running`, `stopping`, `off`, `deleting`, `rebuilding`, `migrating`, `unknown`. */ withStatuses?: string[]; } /** * A collection of values returned by getServers. */ export interface GetServersResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * (list) List of all matching servers. See `data.hcloud_server` for schema. */ readonly servers: outputs.GetServersServer[]; readonly withSelector?: string; readonly withStatuses?: string[]; } /** * Provides details about multiple Hetzner Cloud Servers. * This resource is useful if you want to use non-terraform managed servers. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const s3 = hcloud.getServers({ * withSelector: "key=value", * }); * ``` */ export declare function getServersOutput(args?: GetServersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getServers. */ export interface GetServersOutputArgs { /** * Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/reference/cloud#label-selector). */ withSelector?: pulumi.Input; /** * List only servers with the specified status, could contain `initializing`, `starting`, `running`, `stopping`, `off`, `deleting`, `rebuilding`, `migrating`, `unknown`. */ withStatuses?: pulumi.Input[]>; }