import * as pulumi from "@pulumi/pulumi"; /** * The `scaleway.AccountSshKey` resource allows you to create and manage the Projects of a Scaleway Organization. * * Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/identity-and-access-management/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information. * * !> **Important:** The resource `scaleway.AccountSshKey` has been deprecated and will no longer be supported. Instead, use `scaleway.IamSshKey`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@ediri/scaleway"; * * const main = new scaleway.AccountSshKey("main", {publicKey: ""}); * ``` * * ## Import * * SSH keys can be imported using the `id`, e.g. * * bash * * ```sh * $ pulumi import scaleway:index/accountSshKey:AccountSshKey main 11111111-1111-1111-1111-111111111111 * ``` */ export declare class AccountSshKey extends pulumi.CustomResource { /** * Get an existing AccountSshKey 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?: AccountSshKeyState, opts?: pulumi.CustomResourceOptions): AccountSshKey; /** * Returns true if the given object is an instance of AccountSshKey. 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 AccountSshKey; /** * The date and time of the creation of the iam SSH Key */ readonly createdAt: pulumi.Output; /** * The SSH key status */ readonly disabled: pulumi.Output; /** * The fingerprint of the iam SSH key */ readonly fingerprint: pulumi.Output; /** * The name of the SSH key. */ readonly name: pulumi.Output; /** * The organization ID the SSH key is associated with. */ readonly organizationId: pulumi.Output; /** * `projectId`) The ID of the project the SSH key is associated with. */ readonly projectId: pulumi.Output; /** * The public SSH key to be added. */ readonly publicKey: pulumi.Output; /** * The date and time of the last update of the iam SSH Key */ readonly updatedAt: pulumi.Output; /** * Create a AccountSshKey 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: AccountSshKeyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AccountSshKey resources. */ export interface AccountSshKeyState { /** * The date and time of the creation of the iam SSH Key */ createdAt?: pulumi.Input; /** * The SSH key status */ disabled?: pulumi.Input; /** * The fingerprint of the iam SSH key */ fingerprint?: pulumi.Input; /** * The name of the SSH key. */ name?: pulumi.Input; /** * The organization ID the SSH key is associated with. */ organizationId?: pulumi.Input; /** * `projectId`) The ID of the project the SSH key is associated with. */ projectId?: pulumi.Input; /** * The public SSH key to be added. */ publicKey?: pulumi.Input; /** * The date and time of the last update of the iam SSH Key */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a AccountSshKey resource. */ export interface AccountSshKeyArgs { /** * The SSH key status */ disabled?: pulumi.Input; /** * The name of the SSH key. */ name?: pulumi.Input; /** * `projectId`) The ID of the project the SSH key is associated with. */ projectId?: pulumi.Input; /** * The public SSH key to be added. */ publicKey: pulumi.Input; }