UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

78 lines (77 loc) 3.04 kB
import * as pulumi from "@pulumi/pulumi"; /** * The `scaleway.account.SshKey` data source is used to retrieve information about a the SSH key of a Scaleway account. * * Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/how-to/create-ssh-key/) and [API documentation](https://www.scaleway.com/en/developers/api/iam/#path-ssh-keys) for more information. */ /** @deprecated scaleway.index/getaccountsshkey.getAccountSshKey has been deprecated in favor of scaleway.account/getsshkey.getSshKey */ export declare function getAccountSshKey(args?: GetAccountSshKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountSshKeyResult>; /** * A collection of arguments for invoking getAccountSshKey. */ export interface GetAccountSshKeyArgs { /** * The name of the SSH key. */ name?: string; /** * `projectId`) The unique identifier of the project with which the SSH key is associated. */ projectId?: string; /** * The unique identifier of the SSH key. * * > **Note** You must specify at least one: `name` and/or `sshKeyId`. */ sshKeyId?: string; } /** * A collection of values returned by getAccountSshKey. */ export interface GetAccountSshKeyResult { readonly createdAt: string; readonly disabled: boolean; readonly fingerprint: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name?: string; /** * The unique identifier of the Organization with which the SSH key is associated. */ readonly organizationId: string; readonly projectId?: string; /** * The string of the SSH public key. */ readonly publicKey: string; readonly sshKeyId?: string; readonly updatedAt: string; } /** * The `scaleway.account.SshKey` data source is used to retrieve information about a the SSH key of a Scaleway account. * * Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/how-to/create-ssh-key/) and [API documentation](https://www.scaleway.com/en/developers/api/iam/#path-ssh-keys) for more information. */ /** @deprecated scaleway.index/getaccountsshkey.getAccountSshKey has been deprecated in favor of scaleway.account/getsshkey.getSshKey */ export declare function getAccountSshKeyOutput(args?: GetAccountSshKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountSshKeyResult>; /** * A collection of arguments for invoking getAccountSshKey. */ export interface GetAccountSshKeyOutputArgs { /** * The name of the SSH key. */ name?: pulumi.Input<string>; /** * `projectId`) The unique identifier of the project with which the SSH key is associated. */ projectId?: pulumi.Input<string>; /** * The unique identifier of the SSH key. * * > **Note** You must specify at least one: `name` and/or `sshKeyId`. */ sshKeyId?: pulumi.Input<string>; }