import * as pulumi from "@pulumi/pulumi"; /** * Create a SSH key in the given public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const key = new ovh.CloudProjectSshKey("key", { * serviceName: "", * publicKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQC9xPpdqP3sx2H+gcBm65tJEaUbuifQ1uGkgrWtNY0PRKNNPdy+3yoVOtxk6Vjo4YZ0EU/JhmQfnrK7X7Q5vhqYxmozi0LiTRt0BxgqHJ+4hWTWMIOgr+C2jLx7ZsCReRk+fy5AHr6h0PHQEuXVLXeUy/TDyuY2JPtUZ5jcqvLYgQ== my-key", * name: "new_key", * }); * ``` */ export declare class CloudProjectSshKey extends pulumi.CustomResource { /** * Get an existing CloudProjectSshKey resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: CloudProjectSshKeyState, opts?: pulumi.CustomResourceOptions): CloudProjectSshKey; /** * Returns true if the given object is an instance of CloudProjectSshKey. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is CloudProjectSshKey; /** * SSH key fingerprint */ readonly fingerPrint: pulumi.Output; /** * SSH key name */ readonly name: pulumi.Output; /** * SSH public key */ readonly publicKey: pulumi.Output; /** * Region to create SSH key */ readonly region: pulumi.Output; /** * SSH key regions */ readonly regions: pulumi.Output; /** * Service name */ readonly serviceName: pulumi.Output; /** * Create a CloudProjectSshKey resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: CloudProjectSshKeyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CloudProjectSshKey resources. */ export interface CloudProjectSshKeyState { /** * SSH key fingerprint */ fingerPrint?: pulumi.Input; /** * SSH key name */ name?: pulumi.Input; /** * SSH public key */ publicKey?: pulumi.Input; /** * Region to create SSH key */ region?: pulumi.Input; /** * SSH key regions */ regions?: pulumi.Input[]>; /** * Service name */ serviceName?: pulumi.Input; } /** * The set of arguments for constructing a CloudProjectSshKey resource. */ export interface CloudProjectSshKeyArgs { /** * SSH key name */ name?: pulumi.Input; /** * SSH public key */ publicKey: pulumi.Input; /** * Region to create SSH key */ region?: pulumi.Input; /** * Service name */ serviceName: pulumi.Input; }