UNPKG

@cuemby/equinix

Version:

A Pulumi package for creating and managing equinix cloud resources.

83 lines (82 loc) 2.89 kB
import * as pulumi from "@pulumi/pulumi"; /** * Resource `equinix.NetworkSSHKey` allows creation and management of Equinix Network Edge SSH keys. * * ## Import * * This resource can be imported using an existing ID * * ```sh * $ pulumi import equinix:index/networkSSHKey:NetworkSSHKey example {existing_id} * ``` */ export declare class NetworkSSHKey extends pulumi.CustomResource { /** * Get an existing NetworkSSHKey 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<pulumi.ID>, state?: NetworkSSHKeyState, opts?: pulumi.CustomResourceOptions): NetworkSSHKey; /** * Returns true if the given object is an instance of NetworkSSHKey. 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 NetworkSSHKey; /** * The name of SSH key used for identification. */ readonly name: pulumi.Output<string>; /** * The SSH public key. If this is a file, it can be read using the file * interpolation function. */ readonly publicKey: pulumi.Output<string>; /** * The unique identifier of the key */ readonly uuid: pulumi.Output<string>; /** * Create a NetworkSSHKey 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: NetworkSSHKeyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NetworkSSHKey resources. */ export interface NetworkSSHKeyState { /** * The name of SSH key used for identification. */ name?: pulumi.Input<string>; /** * The SSH public key. If this is a file, it can be read using the file * interpolation function. */ publicKey?: pulumi.Input<string>; /** * The unique identifier of the key */ uuid?: pulumi.Input<string>; } /** * The set of arguments for constructing a NetworkSSHKey resource. */ export interface NetworkSSHKeyArgs { /** * The name of SSH key used for identification. */ name?: pulumi.Input<string>; /** * The SSH public key. If this is a file, it can be read using the file * interpolation function. */ publicKey: pulumi.Input<string>; }