PrecheckResult Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.PrecheckResultTypeConverter))]
public class PrecheckResult : Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.IPrecheckResult
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.PrecheckResultTypeConverter))>]
type PrecheckResult = class
    interface IPrecheckResult
    interface IJsonSerializable
Public Class PrecheckResult
Implements IPrecheckResult
Inheritance
PrecheckResult
Attributes
Implements

Constructors

PrecheckResult()

Creates an new PrecheckResult instance.

Properties

AdditionalData

Property bag of key value pairs for additional information.

Description

Detailed overview of the issue and what impact the issue has on the stamp.

DisplayName

The health check DisplayName localized of the individual test executed.

HealthCheckSource

The name of the services called for the HealthCheck (I.E. Test-AzureStack, Test-Cluster).

Name

Name of the individual test/rule/alert that was executed. Unique, not exposed to the customer.

Remediation

Set of steps that can be taken to resolve the issue found.

Severity

Severity of the result (Critical, Warning, Informational, Hidden). This answers how important the result is. Critical is the only update-blocking severity.

Status

The status of the check running (i.e. Failed, Succeeded, In Progress). This answers whether the check ran, and passed or failed.

TagKey

Key that allow grouping/filtering individual tests.

TagValue

Value of the key that allow grouping/filtering individual tests.

TargetResourceId

The unique identifier for the affected resource (such as a node or drive).

TargetResourceName

The name of the affected resource.

Timestamp

The time in which the HealthCheck was called.

Title

User-facing name; one or more sentences indicating the direct issue.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PrecheckResult.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PrecheckResult.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.IPrecheckResult.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PrecheckResult into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to