SshPublicKeyResourceInner 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 SshPublicKeyResourceInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type SshPublicKeyResourceInner = class
inherit Resource
Public Class SshPublicKeyResourceInner
Inherits Resource
- Inheritance
- Attributes
Constructors
SshPublicKeyResourceInner() |
Initializes a new instance of the SshPublicKeyResourceInner class. |
SshPublicKeyResourceInner(String, String, String, String, IDictionary<String,String>, String) |
Initializes a new instance of the SshPublicKeyResourceInner class. |
Properties
Id |
Resource Id. Setter is protected because Id needs to be set in Network resources. (Inherited from ProxyResource) |
Location |
Resource location (Inherited from Resource) |
Name |
Resource name (Inherited from ProxyResource) |
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 |
Resource tags (Inherited from Resource) |
Type |
Resource type (Inherited from ProxyResource) |
Methods
Validate() |
Validate the object. |