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