Share via


EnvironmentStatus Class

Definition

An object that represents the status of the environment, and its internal state in the Time Series Insights service.

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

Constructors

EnvironmentStatus()

Creates an new EnvironmentStatus instance.

Properties

IngressState

This string represents the state of ingress operations on an environment. It can be "Disabled", "Ready", "Running", "Paused" or "Unknown"

PropertyUsageState

This string represents the state of warm storage properties usage. It can be "Ok", "Error", "Unknown".

StateDetailCode

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

StateDetailCurrentCount

A value that represents the number of properties used by the environment for S1/S2 SKU and number of properties used by Warm Store for PAYG SKU

StateDetailMaxCount

A value that represents the maximum number of properties used allowed by the environment for S1/S2 SKU and maximum number of properties allowed by Warm Store for PAYG SKU.

StateDetailMessage

A message that describes the state in detail.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EnvironmentStatus.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EnvironmentStatus.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EnvironmentStatus into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to