Skip to content

KeyPairsProps

Properties for defining a KeyPairs.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-keypairs

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs/datasource"
&datasource.KeyPairsProps {
    KeyPairFingerPrint: interface{},
    KeyPairName: interface{},
    RefreshOptions: interface{},
    ResourceGroupId: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs.datasource.RosKeyPairs.TagsProperty,
}

Properties

Name Type Description
KeyPairFingerPrint interface{} Property keyPairFingerPrint: The fingerprint of the key pair.
KeyPairName interface{} Property keyPairName: he name of the key pair.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
ResourceGroupId interface{} Property resourceGroupId: The ID of the resource group to which the key pair belongs.
Tags *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs.datasource.RosKeyPairs.TagsProperty Property tags: Tags of keypair.

KeyPairFingerPrintOptional

KeyPairFingerPrint interface{}
  • Type: interface{}

Property keyPairFingerPrint: The fingerprint of the key pair.

The message-digest algorithm 5 (MD5) is used based on the public key fingerprint format defined in RFC 4716. For more information, see RFC 4716.


KeyPairNameOptional

KeyPairName interface{}
  • Type: interface{}

Property keyPairName: he name of the key pair.

You can use the asterisk () symbol as a wildcard in regular expressions to query key pairs by performing a fuzzy search. Sample patterns: SshKey: queries key pairs whose names end with SshKey, including the key pair named SshKey. SshKey: queries key pairs whose names start with SshKey, including the key pair named SshKey. SshKey*: queries key pairs whose names include SshKey, including the key pair named SshKey. SshKey: queries the key pair named SshKey.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: The ID of the resource group to which the key pair belongs.

If this parameter is specified to query resources, up to 1,000 resources that belong to the specified resource group can be displayed in the response.


TagsOptional

Tags *[]TagsProperty
  • Type: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs.datasource.RosKeyPairs.TagsProperty

Property tags: Tags of keypair.