你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Gen1EnvironmentResource 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.
An environment is a set of time-series data available for query, and is the top level Azure Time Series Insights resource. Gen1 environments have data retention limits.
[Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.Gen1EnvironmentResourceTypeConverter))]
public class Gen1EnvironmentResource : Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IGen1EnvironmentResource, Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Runtime.IValidates
[<Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.Gen1EnvironmentResourceTypeConverter))>]
type Gen1EnvironmentResource = class
interface IGen1EnvironmentResource
interface IJsonSerializable
interface IEnvironmentResource
interface ITrackedResource
interface IResource
interface IValidates
Public Class Gen1EnvironmentResource
Implements IGen1EnvironmentResource, IValidates
- Inheritance
-
Gen1EnvironmentResource
- Attributes
- Implements
Constructors
Gen1EnvironmentResource() |
Creates an new Gen1EnvironmentResource 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. |
DataRetentionTime |
ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. |
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 |
PartitionKeyProperty |
The list of event properties which will be used to partition data in the environment. Currently, only a single partition key property is supported. |
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. |
StorageLimitExceededBehavior |
The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If "PauseIngress" is specified, new events will not be read from the event source. If "PurgeOldData" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData. |
Tag |
Resource tags |
Type |
Resource type |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Gen1EnvironmentResource. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of Gen1EnvironmentResource. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IGen1EnvironmentResource. |
FromJsonString(String) |
Creates a new instance of Gen1EnvironmentResource, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of Gen1EnvironmentResource into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |