Skip to content

KeyPairsProps

Properties for defining a KeyPairs.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ecs;
new KeyPairsProps {
    object KeyPairFingerPrint = null,
    object KeyPairName = null,
    object RefreshOptions = null,
    object ResourceGroupId = null,
    TagsProperty[] Tags = null
};

Properties

Name Type Description
KeyPairFingerPrint object Property keyPairFingerPrint: The fingerprint of the key pair.
KeyPairName object Property keyPairName: he name of the key pair.
RefreshOptions object Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
ResourceGroupId object Property resourceGroupId: The ID of the resource group to which the key pair belongs.
Tags AlibabaCloud.SDK.ROS.CDK.Ecs.datasource.RosKeyPairs.TagsProperty[] Property tags: Tags of keypair.

KeyPairFingerPrintOptional

public object KeyPairFingerPrint { get; set; }
  • Type: object

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

public object KeyPairName { get; set; }
  • Type: object

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

public object RefreshOptions { get; set; }
  • Type: object

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

public object ResourceGroupId { get; set; }
  • Type: object

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

public TagsProperty[] Tags { get; set; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Ecs.datasource.RosKeyPairs.TagsProperty[]

Property tags: Tags of keypair.