Class WorkspaceSku
java.lang.Object
com.azure.resourcemanager.loganalytics.models.WorkspaceSku
The SKU (tier) of a workspace.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the capacityReservationLevel property: The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.Get the lastSkuUpdate property: The last time when the sku was updated.name()
Get the name property: The name of the SKU.void
validate()
Validates the instance.withCapacityReservationLevel
(CapacityReservationLevel capacityReservationLevel) Set the capacityReservationLevel property: The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.withName
(WorkspaceSkuNameEnum name) Set the name property: The name of the SKU.
-
Constructor Details
-
WorkspaceSku
public WorkspaceSku()
-
-
Method Details
-
name
Get the name property: The name of the SKU.- Returns:
- the name value.
-
withName
Set the name property: The name of the SKU.- Parameters:
name
- the name value to set.- Returns:
- the WorkspaceSku object itself.
-
capacityReservationLevel
Get the capacityReservationLevel property: The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.- Returns:
- the capacityReservationLevel value.
-
withCapacityReservationLevel
Set the capacityReservationLevel property: The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.- Parameters:
capacityReservationLevel
- the capacityReservationLevel value to set.- Returns:
- the WorkspaceSku object itself.
-
lastSkuUpdate
Get the lastSkuUpdate property: The last time when the sku was updated.- Returns:
- the lastSkuUpdate value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-