Class WarmStoragePropertiesUsage
java.lang.Object
com.azure.resourcemanager.timeseriesinsights.fluent.models.WarmStoragePropertiesUsage
An object that contains the status of warm storage properties usage.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WarmStoragePropertiesUsage 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.withCurrentCount
(Integer currentCount) Set 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.withMaxCount
(Integer maxCount) Set 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.Set the state property: This string represents the state of warm storage properties usage.
-
Constructor Details
-
WarmStoragePropertiesUsage
public WarmStoragePropertiesUsage()Creates an instance of WarmStoragePropertiesUsage 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 WarmStoragePropertiesUsage 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.
-
withCurrentCount
Set 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.- Parameters:
currentCount
- the currentCount value to set.- Returns:
- the WarmStoragePropertiesUsage object itself.
-
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.
-
withMaxCount
Set 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.- Parameters:
maxCount
- the maxCount value to set.- Returns:
- the WarmStoragePropertiesUsage object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-