Share via


EnvironmentStateDetails Class

Definition

An object that contains the details about an environment's state.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.EnvironmentStateDetailsTypeConverter))]
public class EnvironmentStateDetails : Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IEnvironmentStateDetails
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.EnvironmentStateDetailsTypeConverter))>]
type EnvironmentStateDetails = class
    interface IEnvironmentStateDetails
    interface IJsonSerializable
Public Class EnvironmentStateDetails
Implements IEnvironmentStateDetails
Inheritance
EnvironmentStateDetails
Attributes
Implements

Constructors

EnvironmentStateDetails()

Creates an new EnvironmentStateDetails instance.

Properties

Code

Contains the code that represents the reason of an environment being in a particular state. Can be used to programmatically handle specific cases.

Message

A message that describes the state in detail.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EnvironmentStateDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EnvironmentStateDetails.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IEnvironmentStateDetails.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EnvironmentStateDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to