UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

83 lines (82 loc) 2.16 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get SSH key information based on its ID or name. */ export declare function getSshKey(args?: GetSshKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetSshKeyResult>; /** * A collection of arguments for invoking getSshKey. */ export interface GetSshKeyArgs { /** * 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 getSshKey. */ export interface GetSshKeyResult { /** * 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. */ export declare function getSshKeyOutput(args?: GetSshKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSshKeyResult>; /** * A collection of arguments for invoking getSshKey. */ export interface GetSshKeyOutputArgs { /** * The SSH key name. */ name?: pulumi.Input<string>; /** * `projectId`) The ID of the project the SSH * key is associated with. */ projectId?: pulumi.Input<string>; /** * The SSH key id. * * > **Note** You must specify at least one: `name` and/or `sshKeyId`. */ sshKeyId?: pulumi.Input<string>; }