SshPublicKeyUpdateResource Class

Definition

Specifies information about the SSH public key.

[Microsoft.Rest.Serialization.JsonTransformation]
public class SshPublicKeyUpdateResource : Microsoft.Azure.Management.Compute.Models.UpdateResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type SshPublicKeyUpdateResource = class
    inherit UpdateResource
Public Class SshPublicKeyUpdateResource
Inherits UpdateResource
Inheritance
SshPublicKeyUpdateResource
Attributes

Constructors

SshPublicKeyUpdateResource()

Initializes a new instance of the SshPublicKeyUpdateResource class.

SshPublicKeyUpdateResource(IDictionary<String,String>, String)

Initializes a new instance of the SshPublicKeyUpdateResource class.

Properties

PublicKey

Gets or sets SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.

Tags

Gets or sets resource tags

(Inherited from UpdateResource)

Applies to