Partager via


ExtensionInstanceView Class

Definition

Describes the Extension Instance View.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20230301.ExtensionInstanceViewTypeConverter))]
public class ExtensionInstanceView : Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20230301.IExtensionInstanceView
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20230301.ExtensionInstanceViewTypeConverter))>]
type ExtensionInstanceView = class
    interface IExtensionInstanceView
    interface IJsonSerializable
Public Class ExtensionInstanceView
Implements IExtensionInstanceView
Inheritance
ExtensionInstanceView
Attributes
Implements

Constructors

ExtensionInstanceView()

Creates an new ExtensionInstanceView instance.

Properties

Name

The extension name.

StatusCode

The status code.

StatusDisplayStatus

The short localizable label for the status.

StatusLevel

The level code.

StatusMessage

The detailed status message, including for alerts and error messages.

StatusTime

The time of the status.

Type

Specifies the type of the extension; an example is "MicrosoftMonitoringAgent".

TypeHandlerVersion

Specifies the version of the script handler.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ExtensionInstanceView.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ExtensionInstanceView.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20230301.IExtensionInstanceView.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ExtensionInstanceView into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to