UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

85 lines (84 loc) 2.45 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get SSH key information based on its ID or name. */ /** @deprecated scaleway.index/getiamsshkey.getIamSshKey has been deprecated in favor of scaleway.iam/getsshkey.getSshKey */ export declare function getIamSshKey(args?: GetIamSshKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetIamSshKeyResult>; /** * 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. */ /** @deprecated scaleway.index/getiamsshkey.getIamSshKey has been deprecated in favor of scaleway.iam/getsshkey.getSshKey */ export declare function getIamSshKeyOutput(args?: GetIamSshKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIamSshKeyResult>; /** * A collection of arguments for invoking getIamSshKey. */ export interface GetIamSshKeyOutputArgs { /** * 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>; }