import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Instance Console Connection resource in Oracle Cloud Infrastructure Core service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/iaas/latest/InstanceConsoleConnection * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/ * * Creates a new console connection to the specified instance. * After the console connection has been created and is available, * you connect to the console using SSH. * * For more information about instance console connections, see [Troubleshooting Instances Using Instance Console Connections](https://docs.cloud.oracle.com/iaas/Content/Compute/References/serialconsole.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInstanceConsoleConnection = new oci.core.InstanceConsoleConnection("test_instance_console_connection", { * instanceId: testInstance.id, * publicKey: instanceConsoleConnectionPublicKey, * definedTags: { * "Operations.CostCenter": "42", * }, * freeformTags: { * Department: "Finance", * }, * }); * ``` * * ## Import * * InstanceConsoleConnections can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Core/instanceConsoleConnection:InstanceConsoleConnection test_instance_console_connection "id" * ``` */ export declare class InstanceConsoleConnection extends pulumi.CustomResource { /** * Get an existing InstanceConsoleConnection 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?: InstanceConsoleConnectionState, opts?: pulumi.CustomResourceOptions): InstanceConsoleConnection; /** * Returns true if the given object is an instance of InstanceConsoleConnection. 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 InstanceConsoleConnection; /** * The OCID of the compartment to contain the console connection. */ readonly compartmentId: pulumi.Output; /** * The SSH connection string for the console connection. */ readonly connectionString: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * The SSH public key's fingerprint for client authentication to the console connection. */ readonly fingerprint: pulumi.Output; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * The OCID of the instance to create the console connection to. */ readonly instanceId: pulumi.Output; /** * The SSH public key used to authenticate the console connection. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly publicKey: pulumi.Output; /** * The SSH public key's fingerprint for the console connection service host. */ readonly serviceHostKeyFingerprint: pulumi.Output; /** * The current state of the console connection. */ readonly state: pulumi.Output; /** * The SSH connection string for the SSH tunnel used to connect to the console connection over VNC. */ readonly vncConnectionString: pulumi.Output; /** * Create a InstanceConsoleConnection 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: InstanceConsoleConnectionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering InstanceConsoleConnection resources. */ export interface InstanceConsoleConnectionState { /** * The OCID of the compartment to contain the console connection. */ compartmentId?: pulumi.Input; /** * The SSH connection string for the console connection. */ connectionString?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The SSH public key's fingerprint for client authentication to the console connection. */ fingerprint?: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The OCID of the instance to create the console connection to. */ instanceId?: pulumi.Input; /** * The SSH public key used to authenticate the console connection. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ publicKey?: pulumi.Input; /** * The SSH public key's fingerprint for the console connection service host. */ serviceHostKeyFingerprint?: pulumi.Input; /** * The current state of the console connection. */ state?: pulumi.Input; /** * The SSH connection string for the SSH tunnel used to connect to the console connection over VNC. */ vncConnectionString?: pulumi.Input; } /** * The set of arguments for constructing a InstanceConsoleConnection resource. */ export interface InstanceConsoleConnectionArgs { /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The OCID of the instance to create the console connection to. */ instanceId: pulumi.Input; /** * The SSH public key used to authenticate the console connection. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ publicKey: pulumi.Input; } //# sourceMappingURL=instanceConsoleConnection.d.ts.map