Skip to content

SSHKeyPairAttachmentProps

Properties for defining a SSHKeyPairAttachment.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-sshkeypairattachment

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ecs;
new SSHKeyPairAttachmentProps {
    object InstanceIds,
    object KeyPairName,
    object AutoReboot = null
};

Properties

Name Type Description
InstanceIds object Property instanceIds: The comma delimited ECS instance id list.
KeyPairName object Property keyPairName: SSH key pair name.
AutoReboot object Property autoReboot: If the instance is running, whether to reboot the instance for the ssh key to take effect.

InstanceIdsRequired

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

Property instanceIds: The comma delimited ECS instance id list.

Only support Linux.


KeyPairNameRequired

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

Property keyPairName: SSH key pair name.


AutoRebootOptional

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

Property autoReboot: If the instance is running, whether to reboot the instance for the ssh key to take effect.

Default: false