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 Details

    • EnvironmentResourceInner

      public EnvironmentResourceInner()
      Creates an instance of EnvironmentResourceInner class.
  • Method Details

    • sku

      public Sku 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

      public EnvironmentResourceInner withSku(Sku sku)
      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

      public EnvironmentResourceInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public EnvironmentResourceInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.