Bare Metal Solution v2 API - Class SSHKey (1.3.0)

public sealed class SSHKey : IMessage<SSHKey>, IEquatable<SSHKey>, IDeepCloneable<SSHKey>, IBufferMessage, IMessage

Reference documentation and code samples for the Bare Metal Solution v2 API class SSHKey.

An SSH key, used for authorizing with the interactive serial console feature.

Inheritance

object > SSHKey

Namespace

Google.Cloud.BareMetalSolution.V2

Assembly

Google.Cloud.BareMetalSolution.V2.dll

Constructors

SSHKey()

public SSHKey()

SSHKey(SSHKey)

public SSHKey(SSHKey other)
Parameter
NameDescription
otherSSHKey

Properties

Name

public string Name { get; set; }

Output only. The name of this SSH key. Currently, the only valid value for the location is "global".

Property Value
TypeDescription
string

PublicKey

public string PublicKey { get; set; }

The public SSH key. This must be in OpenSSH .authorized_keys format.

Property Value
TypeDescription
string

SshKeyName

public SshKeyName SshKeyName { get; set; }

SshKeyName-typed view over the Name resource name property.

Property Value
TypeDescription
SshKeyName