Bare Metal Solution v2 API - Class SSHKey (1.6.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
Name Description
other SSHKey

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
Type Description
string

PublicKey

public string PublicKey { get; set; }

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

Property Value
Type Description
string

SshKeyName

public SshKeyName SshKeyName { get; set; }

SshKeyName-typed view over the Name resource name property.

Property Value
Type Description
SshKeyName