Class EnvironmentCreateOrUpdateParameters

java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.CreateOrUpdateTrackedResourceProperties
com.azure.resourcemanager.timeseriesinsights.models.EnvironmentCreateOrUpdateParameters
Direct Known Subclasses:
Gen1EnvironmentCreateOrUpdateParameters, Gen2EnvironmentCreateOrUpdateParameters

public class EnvironmentCreateOrUpdateParameters extends CreateOrUpdateTrackedResourceProperties
Parameters supplied to the CreateOrUpdate Environment operation.
  • Constructor Details

    • EnvironmentCreateOrUpdateParameters

      public EnvironmentCreateOrUpdateParameters()
      Creates an instance of EnvironmentCreateOrUpdateParameters 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

      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 EnvironmentCreateOrUpdateParameters object itself.
    • withLocation

      public EnvironmentCreateOrUpdateParameters withLocation(String location)
      Set the location property: The location of the resource.
      Overrides:
      withLocation in class CreateOrUpdateTrackedResourceProperties
      Parameters:
      location - the location value to set.
      Returns:
      the CreateOrUpdateTrackedResourceProperties object itself.
    • withTags

      Set the tags property: Key-value pairs of additional properties for the resource.
      Overrides:
      withTags in class CreateOrUpdateTrackedResourceProperties
      Parameters:
      tags - the tags value to set.
      Returns:
      the CreateOrUpdateTrackedResourceProperties object itself.
    • validate

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