HealthStateTransition 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.
A health state transition record
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.HealthStateTransitionTypeConverter))]
public class HealthStateTransition : Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IHealthStateTransition
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.HealthStateTransitionTypeConverter))>]
type HealthStateTransition = class
interface IHealthStateTransition
interface IJsonSerializable
Public Class HealthStateTransition
Implements IHealthStateTransition
- Inheritance
-
HealthStateTransition
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| HealthStateTransition() |
Creates an new HealthStateTransition instance. |
Properties
| Name | Description |
|---|---|
| NewState |
New health state after the transition |
| OccurredAt |
Timestamp when the transition occurred |
| PreviousState |
Previous health state before the transition |
| Reason |
Reason of the transition |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of HealthStateTransition. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of HealthStateTransition. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IHealthStateTransition. |
| FromJsonString(String) |
Creates a new instance of HealthStateTransition, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of HealthStateTransition into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |