Class KeyPairArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Ecs
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class KeyPairArgs : ResourceArgs
Constructors
View SourceKeyPairArgs()
Declaration
public KeyPairArgs()
Properties
View SourceKeyFile
The name of file to save your new key pair's private key. Strongly suggest you to specified it when you creating key pair, otherwise, you wouldn't get its private key ever.
Declaration
public Input<string> KeyFile { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
KeyName
The key pair's name. It is the only in one Alicloud account.
Declaration
public Input<string> KeyName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
KeyNamePrefix
Declaration
public Input<string> KeyNamePrefix { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PublicKey
You can import an existing public key and using Alicloud key pair to manage it.
Declaration
public Input<string> PublicKey { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ResourceGroupId
The Id of resource group which the key pair belongs.
Declaration
public Input<string> ResourceGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |