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
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기