Class WarmStorageEnvironmentStatus

java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.WarmStorageEnvironmentStatus

public final class WarmStorageEnvironmentStatus extends Object
An object that represents the status of warm storage on an environment.
  • Constructor Details

    • WarmStorageEnvironmentStatus

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

    • state

      Get the state property: This string represents the state of warm storage properties usage. It can be "Ok", "Error", "Unknown".
      Returns:
      the state value.
    • withState

      Set the state property: This string represents the state of warm storage properties usage. It can be "Ok", "Error", "Unknown".
      Parameters:
      state - the state value to set.
      Returns:
      the WarmStorageEnvironmentStatus object itself.
    • currentCount

      public Integer currentCount()
      Get the currentCount property: 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.
      Returns:
      the currentCount value.
    • maxCount

      public Integer maxCount()
      Get the maxCount property: 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.
      Returns:
      the maxCount value.
    • validate

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