Share via


SshPublicKeyGenerateKeyPairResult Constructors

Definition

Overloads

SshPublicKeyGenerateKeyPairResult()

Initializes a new instance of the SshPublicKeyGenerateKeyPairResult class.

SshPublicKeyGenerateKeyPairResult(String, String, String)

Initializes a new instance of the SshPublicKeyGenerateKeyPairResult class.

SshPublicKeyGenerateKeyPairResult()

Initializes a new instance of the SshPublicKeyGenerateKeyPairResult class.

public SshPublicKeyGenerateKeyPairResult ();
Public Sub New ()

Applies to

SshPublicKeyGenerateKeyPairResult(String, String, String)

Initializes a new instance of the SshPublicKeyGenerateKeyPairResult class.

public SshPublicKeyGenerateKeyPairResult (string privateKey, string publicKey, string id);
new Microsoft.Azure.Management.Compute.Models.SshPublicKeyGenerateKeyPairResult : string * string * string -> Microsoft.Azure.Management.Compute.Models.SshPublicKeyGenerateKeyPairResult
Public Sub New (privateKey As String, publicKey As String, id As String)

Parameters

privateKey
String

Private key portion of the key pair used to authenticate to a virtual machine through ssh. The private key is returned in RFC3447 format and should be treated as a secret.

publicKey
String

Public key portion of the key pair used to authenticate to a virtual machine through ssh. The public key is in ssh-rsa format.

id
String

The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{SshPublicKeyName}

Applies to