import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get SSH key information based on its ID or name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myKey = scaleway.getIamSshKey({ * sshKeyId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getIamSshKey(args?: GetIamSshKeyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getIamSshKey. */ export interface GetIamSshKeyArgs { /** * The SSH key name. */ name?: string; /** * `projectId`) The ID of the project the SSH * key is associated with. */ projectId?: string; /** * The SSH key id. * * > **Note** You must specify at least one: `name` and/or `sshKeyId`. */ sshKeyId?: string; } /** * A collection of values returned by getIamSshKey. */ export interface GetIamSshKeyResult { /** * The date and time of the creation of the SSH key. */ readonly createdAt: string; /** * The SSH key status. */ readonly disabled: boolean; readonly fingerprint: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name?: string; /** * The ID of the organization the SSH key is associated with. */ readonly organizationId: string; readonly projectId?: string; /** * The SSH public key string */ readonly publicKey: string; readonly sshKeyId?: string; /** * The date and time of the last update of the SSH key. */ readonly updatedAt: string; } /** * Use this data source to get SSH key information based on its ID or name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myKey = scaleway.getIamSshKey({ * sshKeyId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getIamSshKeyOutput(args?: GetIamSshKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getIamSshKey. */ export interface GetIamSshKeyOutputArgs { /** * The SSH key name. */ name?: pulumi.Input; /** * `projectId`) The ID of the project the SSH * key is associated with. */ projectId?: pulumi.Input; /** * The SSH key id. * * > **Note** You must specify at least one: `name` and/or `sshKeyId`. */ sshKeyId?: pulumi.Input; }