1. Packages
  2. Volcenginecc Provider
  3. API Docs
  4. ecs
  5. getKeypair
volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine

volcenginecc.ecs.getKeypair

Deploy with Pulumi
volcenginecc logo
volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine

    Data Source schema for Volcengine::ECS::Keypair

    Using getKeypair

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getKeypair(args: GetKeypairArgs, opts?: InvokeOptions): Promise<GetKeypairResult>
    function getKeypairOutput(args: GetKeypairOutputArgs, opts?: InvokeOptions): Output<GetKeypairResult>
    def get_keypair(id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetKeypairResult
    def get_keypair_output(id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetKeypairResult]
    func LookupKeypair(ctx *Context, args *LookupKeypairArgs, opts ...InvokeOption) (*LookupKeypairResult, error)
    func LookupKeypairOutput(ctx *Context, args *LookupKeypairOutputArgs, opts ...InvokeOption) LookupKeypairResultOutput

    > Note: This function is named LookupKeypair in the Go SDK.

    public static class GetKeypair 
    {
        public static Task<GetKeypairResult> InvokeAsync(GetKeypairArgs args, InvokeOptions? opts = null)
        public static Output<GetKeypairResult> Invoke(GetKeypairInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetKeypairResult> getKeypair(GetKeypairArgs args, InvokeOptions options)
    public static Output<GetKeypairResult> getKeypair(GetKeypairArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcenginecc:ecs/getKeypair:getKeypair
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Uniquely identifies the resource.
    Id string
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getKeypair Result

    The following output properties are available:

    CreatedTime string
    密钥对创建时间。
    Description string
    密钥对的描述,默认值为空字符串。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”长度限制在255个字符以内。
    FingerPrint string
    密钥对的指纹。根据RFC4716定义的公钥指纹格式,采用MD5信息摘要算法。
    Id string
    Uniquely identifies the resource.
    InstanceIds List<string>
    操作的实例ID。
    KeyPairId string
    密钥对唯一ID。
    KeyPairName string
    密钥对名称。不可与已有名称重复。长度限制在 2~64 个字符之间。允许使用点号“.”分隔字符成多段,每段允许使用大小写字母、数字或连字符“-”。不能以“-”和“.”开头或结尾,不能连续使用“-”或者“.”。
    PrivateKey string
    密钥对私钥信息。
    ProjectName string
    资源所属项目,一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
    PublicKey string
    密钥对的公钥信息。
    Tags List<Volcengine.GetKeypairTag>
    密钥对的标签。
    UpdatedTime string
    密钥对更新时间。
    CreatedTime string
    密钥对创建时间。
    Description string
    密钥对的描述,默认值为空字符串。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”长度限制在255个字符以内。
    FingerPrint string
    密钥对的指纹。根据RFC4716定义的公钥指纹格式,采用MD5信息摘要算法。
    Id string
    Uniquely identifies the resource.
    InstanceIds []string
    操作的实例ID。
    KeyPairId string
    密钥对唯一ID。
    KeyPairName string
    密钥对名称。不可与已有名称重复。长度限制在 2~64 个字符之间。允许使用点号“.”分隔字符成多段,每段允许使用大小写字母、数字或连字符“-”。不能以“-”和“.”开头或结尾,不能连续使用“-”或者“.”。
    PrivateKey string
    密钥对私钥信息。
    ProjectName string
    资源所属项目,一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
    PublicKey string
    密钥对的公钥信息。
    Tags []GetKeypairTag
    密钥对的标签。
    UpdatedTime string
    密钥对更新时间。
    createdTime String
    密钥对创建时间。
    description String
    密钥对的描述,默认值为空字符串。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”长度限制在255个字符以内。
    fingerPrint String
    密钥对的指纹。根据RFC4716定义的公钥指纹格式,采用MD5信息摘要算法。
    id String
    Uniquely identifies the resource.
    instanceIds List<String>
    操作的实例ID。
    keyPairId String
    密钥对唯一ID。
    keyPairName String
    密钥对名称。不可与已有名称重复。长度限制在 2~64 个字符之间。允许使用点号“.”分隔字符成多段,每段允许使用大小写字母、数字或连字符“-”。不能以“-”和“.”开头或结尾,不能连续使用“-”或者“.”。
    privateKey String
    密钥对私钥信息。
    projectName String
    资源所属项目,一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
    publicKey String
    密钥对的公钥信息。
    tags List<GetKeypairTag>
    密钥对的标签。
    updatedTime String
    密钥对更新时间。
    createdTime string
    密钥对创建时间。
    description string
    密钥对的描述,默认值为空字符串。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”长度限制在255个字符以内。
    fingerPrint string
    密钥对的指纹。根据RFC4716定义的公钥指纹格式,采用MD5信息摘要算法。
    id string
    Uniquely identifies the resource.
    instanceIds string[]
    操作的实例ID。
    keyPairId string
    密钥对唯一ID。
    keyPairName string
    密钥对名称。不可与已有名称重复。长度限制在 2~64 个字符之间。允许使用点号“.”分隔字符成多段,每段允许使用大小写字母、数字或连字符“-”。不能以“-”和“.”开头或结尾,不能连续使用“-”或者“.”。
    privateKey string
    密钥对私钥信息。
    projectName string
    资源所属项目,一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
    publicKey string
    密钥对的公钥信息。
    tags GetKeypairTag[]
    密钥对的标签。
    updatedTime string
    密钥对更新时间。
    created_time str
    密钥对创建时间。
    description str
    密钥对的描述,默认值为空字符串。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”长度限制在255个字符以内。
    finger_print str
    密钥对的指纹。根据RFC4716定义的公钥指纹格式,采用MD5信息摘要算法。
    id str
    Uniquely identifies the resource.
    instance_ids Sequence[str]
    操作的实例ID。
    key_pair_id str
    密钥对唯一ID。
    key_pair_name str
    密钥对名称。不可与已有名称重复。长度限制在 2~64 个字符之间。允许使用点号“.”分隔字符成多段,每段允许使用大小写字母、数字或连字符“-”。不能以“-”和“.”开头或结尾,不能连续使用“-”或者“.”。
    private_key str
    密钥对私钥信息。
    project_name str
    资源所属项目,一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
    public_key str
    密钥对的公钥信息。
    tags Sequence[GetKeypairTag]
    密钥对的标签。
    updated_time str
    密钥对更新时间。
    createdTime String
    密钥对创建时间。
    description String
    密钥对的描述,默认值为空字符串。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”长度限制在255个字符以内。
    fingerPrint String
    密钥对的指纹。根据RFC4716定义的公钥指纹格式,采用MD5信息摘要算法。
    id String
    Uniquely identifies the resource.
    instanceIds List<String>
    操作的实例ID。
    keyPairId String
    密钥对唯一ID。
    keyPairName String
    密钥对名称。不可与已有名称重复。长度限制在 2~64 个字符之间。允许使用点号“.”分隔字符成多段,每段允许使用大小写字母、数字或连字符“-”。不能以“-”和“.”开头或结尾,不能连续使用“-”或者“.”。
    privateKey String
    密钥对私钥信息。
    projectName String
    资源所属项目,一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
    publicKey String
    密钥对的公钥信息。
    tags List<Property Map>
    密钥对的标签。
    updatedTime String
    密钥对更新时间。

    Supporting Types

    GetKeypairTag

    Key string
    标签键。
    Value string
    标签值。
    Key string
    标签键。
    Value string
    标签值。
    key String
    标签键。
    value String
    标签值。
    key string
    标签键。
    value string
    标签值。
    key str
    标签键。
    value str
    标签值。
    key String
    标签键。
    value String
    标签值。

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine
      Meet Neo: Your AI Platform Teammate