Class WorkspaceSku

java.lang.Object
com.azure.resourcemanager.loganalytics.models.WorkspaceSku

public final class WorkspaceSku extends Object
The SKU (tier) of a workspace.
  • Constructor Details

    • WorkspaceSku

      public WorkspaceSku()
  • Method Details

    • name

      public WorkspaceSkuNameEnum name()
      Get the name property: The name of the SKU.
      Returns:
      the name value.
    • withName

      public WorkspaceSku withName(WorkspaceSkuNameEnum name)
      Set the name property: The name of the SKU.
      Parameters:
      name - the name value to set.
      Returns:
      the WorkspaceSku object itself.
    • capacityReservationLevel

      public CapacityReservationLevel capacityReservationLevel()
      Get the capacityReservationLevel property: The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
      Returns:
      the capacityReservationLevel value.
    • withCapacityReservationLevel

      public WorkspaceSku withCapacityReservationLevel(CapacityReservationLevel capacityReservationLevel)
      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

      public String 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.