Class WorkloadProfile

java.lang.Object
com.azure.resourcemanager.appcontainers.models.WorkloadProfile

public final class WorkloadProfile extends Object
Workload profile to scope container app execution.
  • Constructor Details

    • WorkloadProfile

      public WorkloadProfile()
      Creates an instance of WorkloadProfile class.
  • Method Details

    • workloadProfileType

      public String workloadProfileType()
      Get the workloadProfileType property: Workload profile type for the workloads to run on.
      Returns:
      the workloadProfileType value.
    • withWorkloadProfileType

      public WorkloadProfile withWorkloadProfileType(String workloadProfileType)
      Set the workloadProfileType property: Workload profile type for the workloads to run on.
      Parameters:
      workloadProfileType - the workloadProfileType value to set.
      Returns:
      the WorkloadProfile object itself.
    • minimumCount

      public int minimumCount()
      Get the minimumCount property: The minimum capacity.
      Returns:
      the minimumCount value.
    • withMinimumCount

      public WorkloadProfile withMinimumCount(int minimumCount)
      Set the minimumCount property: The minimum capacity.
      Parameters:
      minimumCount - the minimumCount value to set.
      Returns:
      the WorkloadProfile object itself.
    • maximumCount

      public int maximumCount()
      Get the maximumCount property: The maximum capacity.
      Returns:
      the maximumCount value.
    • withMaximumCount

      public WorkloadProfile withMaximumCount(int maximumCount)
      Set the maximumCount property: The maximum capacity.
      Parameters:
      maximumCount - the maximumCount value to set.
      Returns:
      the WorkloadProfile object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.