Language

Condition Class

Definition

Condition represents an observation of a resource's state.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.ConditionTypeConverter))]
public class Condition : Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.ICondition
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.ConditionTypeConverter))>]
type Condition = class
    interface ICondition
    interface IJsonSerializable
Public Class Condition
Implements ICondition
Inheritance
Condition
Attributes
Implements

Constructors

Name Description
Condition()

Creates an new Condition instance.

Properties

Name Description
LastTransitionTime

The last time the condition transitioned from one status to another.

Message

A human readable message indicating details about the transition. This may be an empty string.

Reason

A programmatic identifier indicating the reason for the condition's last transition. This value should be a CamelCase string.

Status

The status of the condition.

Type

Type of the condition. This is a PascalCase identifier representing the type of the condition.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Condition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Condition.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.ICondition.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Condition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to