Share via


ConsolePatchProperties Class

Definition

ConsolePatchProperties represents the properties of the virtual machine console that can be patched.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.ConsolePatchPropertiesTypeConverter))]
public class ConsolePatchProperties : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IConsolePatchProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.ConsolePatchPropertiesTypeConverter))>]
type ConsolePatchProperties = class
    interface IConsolePatchProperties
    interface IJsonSerializable
Public Class ConsolePatchProperties
Implements IConsolePatchProperties
Inheritance
ConsolePatchProperties
Attributes
Implements

Constructors

ConsolePatchProperties()

Creates an new ConsolePatchProperties instance.

Properties

Enabled

The credentials used to login to the image repository that has access to the specified image.

Expiration

The date and time after which the key will be disallowed access.

SshPublicKeyData

The SSH public key data.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ConsolePatchProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ConsolePatchProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IConsolePatchProperties.

FromJsonString(String)

Creates a new instance of ConsolePatchProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ConsolePatchProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to