SshPublicKeyResource Class

Definition

Specifies information about the SSH public key.

public class SshPublicKeyResource : Azure.ResourceManager.Compute.Models.Resource
type SshPublicKeyResource = class
    inherit Resource
Public Class SshPublicKeyResource
Inherits Resource
Inheritance
System.Object
SshPublicKeyResource

Constructors

SshPublicKeyResource(String)

Initializes a new instance of SshPublicKeyResource.

Properties

Id

Resource Id.

(Inherited from Resource)
Location

Resource location.

(Inherited from Resource)
Name

Resource name.

(Inherited from Resource)
PublicKey

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

Resource tags.

(Inherited from Resource)
Type

Resource type.

(Inherited from Resource)

Applies to