import * as pulumi from "@pulumi/pulumi"; /** * **This data source uses a Beta API.** Use this data source to retrieve information about a * single SSH key of a Public Cloud project (API v2), looked up by its name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myKey = ovh.getCloudSshKey({ * serviceName: "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", * name: "my-deploy-key", * }); * ``` */ export declare function getCloudSshKey(args: GetCloudSshKeyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudSshKey. */ export interface GetCloudSshKeyArgs { /** * Name of the SSH key to retrieve. SSH key names are unique within a project. */ name: string; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName?: string; } /** * A collection of values returned by getCloudSshKey. */ export interface GetCloudSshKeyResult { /** * Creation date of the SSH key (RFC 3339 format). */ readonly createdAt: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * SSH key name. */ readonly name: string; /** * SSH public key content. */ readonly publicKey: string; /** * The id of the public cloud project. */ readonly serviceName?: string; /** * Last update date of the SSH key (RFC 3339 format). */ readonly updatedAt: string; } /** * **This data source uses a Beta API.** Use this data source to retrieve information about a * single SSH key of a Public Cloud project (API v2), looked up by its name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myKey = ovh.getCloudSshKey({ * serviceName: "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", * name: "my-deploy-key", * }); * ``` */ export declare function getCloudSshKeyOutput(args: GetCloudSshKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudSshKey. */ export interface GetCloudSshKeyOutputArgs { /** * Name of the SSH key to retrieve. SSH key names are unique within a project. */ name: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName?: pulumi.Input; }