SshPublicKeyUpdateResource Constructors

Definition

Overloads

SshPublicKeyUpdateResource()

Initializes a new instance of the SshPublicKeyUpdateResource class.

SshPublicKeyUpdateResource(IDictionary<String,String>, String)

Initializes a new instance of the SshPublicKeyUpdateResource class.

SshPublicKeyUpdateResource()

Initializes a new instance of the SshPublicKeyUpdateResource class.

public SshPublicKeyUpdateResource ();
Public Sub New ()

Applies to

SshPublicKeyUpdateResource(IDictionary<String,String>, String)

Initializes a new instance of the SshPublicKeyUpdateResource class.

public SshPublicKeyUpdateResource (System.Collections.Generic.IDictionary<string,string> tags = default, string publicKey = default);
new Microsoft.Azure.Management.Compute.Models.SshPublicKeyUpdateResource : System.Collections.Generic.IDictionary<string, string> * string -> Microsoft.Azure.Management.Compute.Models.SshPublicKeyUpdateResource
Public Sub New (Optional tags As IDictionary(Of String, String) = Nothing, Optional publicKey As String = Nothing)

Parameters

tags
IDictionary<String,String>

Resource tags

publicKey
String

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.

Applies to