你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Gen2EnvironmentResource Class

Definition

An environment is a set of time-series data available for query, and is the top level Azure Time Series Insights resource. Gen2 environments do not have set data retention limits.

[Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.Gen2EnvironmentResourceTypeConverter))]
public class Gen2EnvironmentResource : Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IGen2EnvironmentResource, Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Runtime.IValidates
[<Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.Gen2EnvironmentResourceTypeConverter))>]
type Gen2EnvironmentResource = class
    interface IGen2EnvironmentResource
    interface IJsonSerializable
    interface IEnvironmentResource
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class Gen2EnvironmentResource
Implements IGen2EnvironmentResource, IValidates
Inheritance
Gen2EnvironmentResource
Attributes
Implements

Constructors

Gen2EnvironmentResource()

Creates an new Gen2EnvironmentResource instance.

Properties

CreationTime

The time the resource was created.

DataAccessFqdn

The fully qualified domain name used to access the environment data, e.g. to query the environment's events or upload reference data for the environment.

DataAccessId

An id used to access the environment data, e.g. to query the environment's events or upload reference data for the environment.

Id

Resource Id

IngressState

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

Kind

The kind of the environment.

Location

Resource location

Name

Resource name

PropertyUsageState

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

ProvisioningState

Provisioning state of the resource.

Sku

The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1). For Gen1 environments the sku determines the capacity of the environment, the ingress rate, and the billing rate.

SkuCapacity

The capacity of the sku. For Gen1 environments, this value can be changed to support scale out of environments after they have been created.

SkuName

The name of this SKU.

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.

StorageConfigurationAccountName

The name of the storage account that will hold the environment's Gen2 data.

Tag

Resource tags

TimeSeriesIdProperty

The list of event properties which will be used to define the environment's time series id.

Type

Resource type

WarmStoreConfigurationDataRetention

ISO8601 timespan specifying the number of days the environment's events will be available for query from the warm store.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Gen2EnvironmentResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Gen2EnvironmentResource.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Gen2EnvironmentResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to