Class Sku
java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.Sku
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.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
capacity()
Get the capacity property: The capacity of the sku.name()
Get the name property: The name of this SKU.void
validate()
Validates the instance.withCapacity
(int capacity) Set the capacity property: The capacity of the sku.Set the name property: The name of this SKU.
-
Constructor Details
-
Sku
public Sku()Creates an instance of Sku class.
-
-
Method Details
-
name
Get the name property: The name of this SKU.- Returns:
- the name value.
-
withName
Set the name property: The name of this SKU.- Parameters:
name
- the name value to set.- Returns:
- the Sku object itself.
-
capacity
public int capacity()Get the capacity property: The capacity of the sku. For Gen1 environments, this value can be changed to support scale out of environments after they have been created.- Returns:
- the capacity value.
-
withCapacity
Set the capacity property: The capacity of the sku. For Gen1 environments, this value can be changed to support scale out of environments after they have been created.- Parameters:
capacity
- the capacity value to set.- Returns:
- the Sku object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-