SshPublicKeyResourceInner Constructors

Definition

Overloads

SshPublicKeyResourceInner()

Initializes a new instance of the SshPublicKeyResourceInner class.

SshPublicKeyResourceInner(String, String, String, String, IDictionary<String,String>, String)

Initializes a new instance of the SshPublicKeyResourceInner class.

SshPublicKeyResourceInner()

Initializes a new instance of the SshPublicKeyResourceInner class.

public SshPublicKeyResourceInner ();
Public Sub New ()

Applies to

SshPublicKeyResourceInner(String, String, String, String, IDictionary<String,String>, String)

Initializes a new instance of the SshPublicKeyResourceInner class.

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

Parameters

location
String
id
String
name
String
type
String
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