SshPublicKeyPatch 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.
public class SshPublicKeyPatch : Azure.ResourceManager.Compute.Models.ComputeResourcePatch, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.SshPublicKeyPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.SshPublicKeyPatch>
type SshPublicKeyPatch = class
inherit ComputeResourcePatch
interface IJsonModel<SshPublicKeyPatch>
interface IPersistableModel<SshPublicKeyPatch>
Public Class SshPublicKeyPatch
Inherits ComputeResourcePatch
Implements IJsonModel(Of SshPublicKeyPatch), IPersistableModel(Of SshPublicKeyPatch)
- Inheritance
- Implements
Constructors
SshPublicKeyPatch() |
Initializes a new instance of SshPublicKeyPatch. |
Properties
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 ComputeResourcePatch) |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |