共用方式為


SshSettingKeyPair Class

Definition

Contains an SSH key pair to be installed on the virtual machine.

public class SshSettingKeyPair
type SshSettingKeyPair = class
Public Class SshSettingKeyPair
Inheritance
SshSettingKeyPair

Constructors

SshSettingKeyPair()

Initializes a new instance of the SshSettingKeyPair class.

SshSettingKeyPair(String, String)

Initializes a new instance of the SshSettingKeyPair class with required arguments.

Properties

Fingerprint

Required. Specifies the SHA1 fingerprint of an X509 certificate associated with the hosted service that includes the SSH key pair.

Path

Required. Specifies the full path of a file on the virtual machine which stores the SSH private key. The file is overwritten when multiple keys are written to it. The SSH public key is stored in the same directory and has the same name as the private key file with .pub suffix. Example: /home/user/.ssh/id_rsa.

Applies to