Class EnvironmentResourceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.timeseriesinsights.fluent.models.EnvironmentResourceInner
- Direct Known Subclasses:
Gen1EnvironmentResource
,Gen2EnvironmentResource
public class EnvironmentResourceInner
extends com.azure.core.management.Resource
An environment is a set of time-series data available for query, and is the top level Azure Time Series Insights
resource.
-
Constructor Summary
ConstructorDescriptionCreates an instance of EnvironmentResourceInner class. -
Method Summary
Modifier and TypeMethodDescriptionsku()
Get the sku property: The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1).void
validate()
Validates the instance.withLocation
(String location) Set the sku property: The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1).Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
EnvironmentResourceInner
public EnvironmentResourceInner()Creates an instance of EnvironmentResourceInner class.
-
-
Method Details
-
sku
Get the sku property: 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.- Returns:
- the sku value.
-
withSku
Set the sku property: 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.- Parameters:
sku
- the sku value to set.- Returns:
- the EnvironmentResourceInner object itself.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-