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 IDs of instances to which you want to bind the SSH key pair. |
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 IDs of instances to which you want to bind the SSH key pair.
The value can be a JSON array that consists of up to 50 instance IDs. Separate multiple instance IDs with commas (,).
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