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.OpenStack.Compute
Assembly: Pulumi.OpenStack.dll
Syntax
public sealed class KeypairArgs : ResourceArgs
Constructors
View SourceKeypairArgs()
Declaration
public KeypairArgs()
Properties
View SourceName
A unique name for the keypair. Changing this creates a new keypair.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PublicKey
A pregenerated OpenSSH-formatted public key. Changing this creates a new keypair. If a public key is not specified, then a public/private key pair will be automatically generated. If a pair is created, then destroying this resource means you will lose access to that keypair forever.
Declaration
public Input<string> PublicKey { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Region
The region in which to obtain the V2 Compute client.
Keypairs are associated with accounts, but a Compute client is needed to
create one. If omitted, the region argument of the provider is used.
Changing this creates a new keypair.
Declaration
public Input<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ValueSpecs
Map of additional options.
Declaration
public InputMap<object> ValueSpecs { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |