Class WarmStorageEnvironmentStatus
java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.WarmStorageEnvironmentStatus
An object that represents the status of warm storage on an environment.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WarmStorageEnvironmentStatus class. -
Method Summary
Modifier and TypeMethodDescriptionGet 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.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.state()
Get the state property: This string represents the state of warm storage properties usage.void
validate()
Validates the instance.Set the state property: This string represents the state of warm storage properties usage.
-
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
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
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.
-