Class WorkloadProfile
java.lang.Object
com.azure.resourcemanager.appcontainers.models.WorkloadProfile
Workload profile to scope container app execution.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the maximumCount property: The maximum capacity.int
Get the minimumCount property: The minimum capacity.void
validate()
Validates the instance.withMaximumCount
(int maximumCount) Set the maximumCount property: The maximum capacity.withMinimumCount
(int minimumCount) Set the minimumCount property: The minimum capacity.withWorkloadProfileType
(String workloadProfileType) Set the workloadProfileType property: Workload profile type for the workloads to run on.Get the workloadProfileType property: Workload profile type for the workloads to run on.
-
Constructor Details
-
WorkloadProfile
public WorkloadProfile()Creates an instance of WorkloadProfile class.
-
-
Method Details
-
workloadProfileType
Get the workloadProfileType property: Workload profile type for the workloads to run on.- Returns:
- the workloadProfileType value.
-
withWorkloadProfileType
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
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
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.
-