import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::ECS::Keypair */ export declare function getKeypair(args: GetKeypairArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getKeypair. */ export interface GetKeypairArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getKeypair. */ export interface GetKeypairResult { /** * Creation time of the key pair. */ readonly createdTime: string; /** * Description of the key pair. The default value is an empty string. Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, period ('.'), space, underscore ('_'), hyphen ('-'), equals sign ('='), English comma (','), Chinese comma (','), and Chinese period ('。'). Length must not exceed 255 characters. */ readonly description: string; /** * Fingerprint of the key pair. The public key fingerprint format is defined by RFC4716 and uses the MD5 hash algorithm. */ readonly fingerPrint: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Instance ID for the operation. */ readonly instanceIds: string[]; /** * Unique ID of the key pair. */ readonly keyPairId: string; /** * Key pair name. Must not duplicate existing names. Length must be between 2 and 64 characters. Periods ('.') can be used to separate the name into segments. Each segment can contain uppercase and lowercase letters, numbers, or hyphens ('-'). The name cannot start or end with '-' or '.', and cannot contain consecutive '-' or '.'. */ readonly keyPairName: string; /** * Project to which the resource belongs. Each resource can belong to only one project. Can only contain letters, numbers, underscore ('_'), period ('.'), and hyphen ('-'). Length must not exceed 64 characters. */ readonly projectName: string; /** * Public key information of the key pair. */ readonly publicKey: string; /** * Tags of the key pair. */ readonly tags: outputs.ecs.GetKeypairTag[]; /** * Update time of the key pair. */ readonly updatedTime: string; } /** * Data Source schema for Volcengine::ECS::Keypair */ export declare function getKeypairOutput(args: GetKeypairOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getKeypair. */ export interface GetKeypairOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }