volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine
volcenginecc.ecs.getKeypair
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:
- Created
Time string - 密钥对创建时间。
- Description string
- 密钥对的描述,默认值为空字符串。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”长度限制在255个字符以内。
- Finger
Print string - 密钥对的指纹。根据RFC4716定义的公钥指纹格式,采用MD5信息摘要算法。
- Id string
- Uniquely identifies the resource.
- Instance
Ids List<string> - 操作的实例ID。
- Key
Pair stringId - 密钥对唯一ID。
- Key
Pair stringName - 密钥对名称。不可与已有名称重复。长度限制在 2~64 个字符之间。允许使用点号“.”分隔字符成多段,每段允许使用大小写字母、数字或连字符“-”。不能以“-”和“.”开头或结尾,不能连续使用“-”或者“.”。
- Private
Key string - 密钥对私钥信息。
- Project
Name string - 资源所属项目,一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- Public
Key string - 密钥对的公钥信息。
- List<Volcengine.
Get Keypair Tag> - 密钥对的标签。
- Updated
Time string - 密钥对更新时间。
- Created
Time string - 密钥对创建时间。
- Description string
- 密钥对的描述,默认值为空字符串。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”长度限制在255个字符以内。
- Finger
Print string - 密钥对的指纹。根据RFC4716定义的公钥指纹格式,采用MD5信息摘要算法。
- Id string
- Uniquely identifies the resource.
- Instance
Ids []string - 操作的实例ID。
- Key
Pair stringId - 密钥对唯一ID。
- Key
Pair stringName - 密钥对名称。不可与已有名称重复。长度限制在 2~64 个字符之间。允许使用点号“.”分隔字符成多段,每段允许使用大小写字母、数字或连字符“-”。不能以“-”和“.”开头或结尾,不能连续使用“-”或者“.”。
- Private
Key string - 密钥对私钥信息。
- Project
Name string - 资源所属项目,一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- Public
Key string - 密钥对的公钥信息。
- []Get
Keypair Tag - 密钥对的标签。
- Updated
Time string - 密钥对更新时间。
- created
Time String - 密钥对创建时间。
- description String
- 密钥对的描述,默认值为空字符串。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”长度限制在255个字符以内。
- finger
Print String - 密钥对的指纹。根据RFC4716定义的公钥指纹格式,采用MD5信息摘要算法。
- id String
- Uniquely identifies the resource.
- instance
Ids List<String> - 操作的实例ID。
- key
Pair StringId - 密钥对唯一ID。
- key
Pair StringName - 密钥对名称。不可与已有名称重复。长度限制在 2~64 个字符之间。允许使用点号“.”分隔字符成多段,每段允许使用大小写字母、数字或连字符“-”。不能以“-”和“.”开头或结尾,不能连续使用“-”或者“.”。
- private
Key String - 密钥对私钥信息。
- project
Name String - 资源所属项目,一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- public
Key String - 密钥对的公钥信息。
- List<Get
Keypair Tag> - 密钥对的标签。
- updated
Time String - 密钥对更新时间。
- created
Time string - 密钥对创建时间。
- description string
- 密钥对的描述,默认值为空字符串。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”长度限制在255个字符以内。
- finger
Print string - 密钥对的指纹。根据RFC4716定义的公钥指纹格式,采用MD5信息摘要算法。
- id string
- Uniquely identifies the resource.
- instance
Ids string[] - 操作的实例ID。
- key
Pair stringId - 密钥对唯一ID。
- key
Pair stringName - 密钥对名称。不可与已有名称重复。长度限制在 2~64 个字符之间。允许使用点号“.”分隔字符成多段,每段允许使用大小写字母、数字或连字符“-”。不能以“-”和“.”开头或结尾,不能连续使用“-”或者“.”。
- private
Key string - 密钥对私钥信息。
- project
Name string - 资源所属项目,一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- public
Key string - 密钥对的公钥信息。
- Get
Keypair Tag[] - 密钥对的标签。
- updated
Time 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_ strid - 密钥对唯一ID。
- key_
pair_ strname - 密钥对名称。不可与已有名称重复。长度限制在 2~64 个字符之间。允许使用点号“.”分隔字符成多段,每段允许使用大小写字母、数字或连字符“-”。不能以“-”和“.”开头或结尾,不能连续使用“-”或者“.”。
- private_
key str - 密钥对私钥信息。
- project_
name str - 资源所属项目,一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- public_
key str - 密钥对的公钥信息。
- Sequence[Get
Keypair Tag] - 密钥对的标签。
- updated_
time str - 密钥对更新时间。
- created
Time String - 密钥对创建时间。
- description String
- 密钥对的描述,默认值为空字符串。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”长度限制在255个字符以内。
- finger
Print String - 密钥对的指纹。根据RFC4716定义的公钥指纹格式,采用MD5信息摘要算法。
- id String
- Uniquely identifies the resource.
- instance
Ids List<String> - 操作的实例ID。
- key
Pair StringId - 密钥对唯一ID。
- key
Pair StringName - 密钥对名称。不可与已有名称重复。长度限制在 2~64 个字符之间。允许使用点号“.”分隔字符成多段,每段允许使用大小写字母、数字或连字符“-”。不能以“-”和“.”开头或结尾,不能连续使用“-”或者“.”。
- private
Key String - 密钥对私钥信息。
- project
Name String - 资源所属项目,一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- public
Key String - 密钥对的公钥信息。
- List<Property Map>
- 密钥对的标签。
- updated
Time String - 密钥对更新时间。
Supporting Types
GetKeypairTag
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcenginecc
Terraform Provider.
volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine