SSHKeyPairProps
Properties for defining a SSHKeyPair
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-sshkeypair
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs"
&alicloudroscdkecs.SSHKeyPairProps {
KeyPairName: interface{},
PublicKeyBody: interface{},
ResourceGroupId: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs.RosSSHKeyPair.TagsProperty,
}
Properties
Name | Type | Description |
---|---|---|
KeyPairName |
interface{} |
Property keyPairName: SSH key pair name. |
PublicKeyBody |
interface{} |
Property publicKeyBody: SSH Public key. |
ResourceGroupId |
interface{} |
Property resourceGroupId: Resource group id. |
Tags |
*[]TagsProperty |
Property tags: Tags to attach to instance. |
KeyPairName
Required
KeyPairName interface{}
- Type: interface{}
Property keyPairName: SSH key pair name.
It must be unique. [2, 128] characters. All character sets are supported. Do not start with a special character, digit, http://, or https://. It can contain digits, ".", "_", or "-".
PublicKeyBody
Optional
PublicKeyBody interface{}
- Type: interface{}
Property publicKeyBody: SSH Public key.
If PublicKeyBody is specified, existed public key body will be imported instead of creating new SSH key pair.
ResourceGroupId
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: Resource group id.
Tags
Optional
Tags *[]TagsProperty
- Type: *[]TagsProperty
Property tags: Tags to attach to instance.
Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.