SshPublicKeyResource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies information about the SSH public key.
[Microsoft.Rest.Serialization.JsonTransformation]
public class SshPublicKeyResource : Microsoft.Azure.Management.Compute.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type SshPublicKeyResource = class
inherit Resource
Public Class SshPublicKeyResource
Inherits Resource
- Inheritance
- Attributes
Constructors
SshPublicKeyResource() |
Initializes a new instance of the SshPublicKeyResource class. |
SshPublicKeyResource(String, String, String, String, IDictionary<String,String>, String) |
Initializes a new instance of the SshPublicKeyResource class. |
Properties
Id |
Gets resource Id (Inherited from Resource) |
Location |
Gets or sets resource location (Inherited from Resource) |
Name |
Gets resource name (Inherited from Resource) |
PublicKey |
Gets or sets 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 |
Gets or sets resource tags (Inherited from Resource) |
Type |
Gets resource type (Inherited from Resource) |
Methods
Validate() |
Validate the object. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應