import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Provides a list of Hetzner Cloud SSH Keys. * * This resource is useful if you want to use a non-terraform managed SSH Key. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const all = hcloud.getSshKeys({}); * const byLabel = hcloud.getSshKeys({ * withSelector: "foo=bar", * }); * const main = new hcloud.Server("main", {sshKeys: all.then(all => all.sshKeys.map(__item => __item.name))}); * ``` */ export declare function getSshKeys(args?: GetSshKeysArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSshKeys. */ export interface GetSshKeysArgs { /** * The ID of this resource. */ id?: string; /** * Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector) */ withSelector?: string; } /** * A collection of values returned by getSshKeys. */ export interface GetSshKeysResult { /** * The ID of this resource. */ readonly id?: string; readonly sshKeys: outputs.GetSshKeysSshKey[]; /** * Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector) */ readonly withSelector?: string; } /** * Provides a list of Hetzner Cloud SSH Keys. * * This resource is useful if you want to use a non-terraform managed SSH Key. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const all = hcloud.getSshKeys({}); * const byLabel = hcloud.getSshKeys({ * withSelector: "foo=bar", * }); * const main = new hcloud.Server("main", {sshKeys: all.then(all => all.sshKeys.map(__item => __item.name))}); * ``` */ export declare function getSshKeysOutput(args?: GetSshKeysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSshKeys. */ export interface GetSshKeysOutputArgs { /** * The ID of this resource. */ id?: pulumi.Input; /** * Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector) */ withSelector?: pulumi.Input; }