你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
EnvironmentResource 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.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.EnvironmentResourceTypeConverter))]
public class EnvironmentResource : Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IEnvironmentResource, Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.EnvironmentResourceTypeConverter))>]
type EnvironmentResource = class
interface IEnvironmentResource
interface IJsonSerializable
interface ITrackedResource
interface IResource
interface IValidates
Public Class EnvironmentResource
Implements IEnvironmentResource, IValidates
- Inheritance
-
EnvironmentResource
- Attributes
- Implements
Constructors
EnvironmentResource() |
Creates an new EnvironmentResource instance. |
Properties
Id |
Resource Id |
Kind |
The kind of the environment. |
Location |
Resource location |
Name |
Resource name |
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. |
Tag |
Resource tags |
Type |
Resource type |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of EnvironmentResource. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of EnvironmentResource. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IEnvironmentResource. Note: the Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IEnvironmentResource interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload. |
FromJsonString(String) |
Creates a new instance of EnvironmentResource, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of EnvironmentResource into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |