public class WorkloadGroupInner
extends com.azure.core.management.ProxyResource
| Constructor and Description |
|---|
WorkloadGroupInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
importance()
Get the importance property: The workload group importance level.
|
Integer |
maxResourcePercent()
Get the maxResourcePercent property: The workload group cap percentage resource.
|
Double |
maxResourcePercentPerRequest()
Get the maxResourcePercentPerRequest property: The workload group request maximum grant percentage.
|
Integer |
minResourcePercent()
Get the minResourcePercent property: The workload group minimum percentage resource.
|
Double |
minResourcePercentPerRequest()
Get the minResourcePercentPerRequest property: The workload group request minimum grant percentage.
|
Integer |
queryExecutionTimeout()
Get the queryExecutionTimeout property: The workload group query execution timeout.
|
void |
validate()
Validates the instance.
|
WorkloadGroupInner |
withImportance(String importance)
Set the importance property: The workload group importance level.
|
WorkloadGroupInner |
withMaxResourcePercent(Integer maxResourcePercent)
Set the maxResourcePercent property: The workload group cap percentage resource.
|
WorkloadGroupInner |
withMaxResourcePercentPerRequest(Double maxResourcePercentPerRequest)
Set the maxResourcePercentPerRequest property: The workload group request maximum grant percentage.
|
WorkloadGroupInner |
withMinResourcePercent(Integer minResourcePercent)
Set the minResourcePercent property: The workload group minimum percentage resource.
|
WorkloadGroupInner |
withMinResourcePercentPerRequest(Double minResourcePercentPerRequest)
Set the minResourcePercentPerRequest property: The workload group request minimum grant percentage.
|
WorkloadGroupInner |
withQueryExecutionTimeout(Integer queryExecutionTimeout)
Set the queryExecutionTimeout property: The workload group query execution timeout.
|
public Integer minResourcePercent()
public WorkloadGroupInner withMinResourcePercent(Integer minResourcePercent)
minResourcePercent - the minResourcePercent value to set.public Integer maxResourcePercent()
public WorkloadGroupInner withMaxResourcePercent(Integer maxResourcePercent)
maxResourcePercent - the maxResourcePercent value to set.public Double minResourcePercentPerRequest()
public WorkloadGroupInner withMinResourcePercentPerRequest(Double minResourcePercentPerRequest)
minResourcePercentPerRequest - the minResourcePercentPerRequest value to set.public Double maxResourcePercentPerRequest()
public WorkloadGroupInner withMaxResourcePercentPerRequest(Double maxResourcePercentPerRequest)
maxResourcePercentPerRequest - the maxResourcePercentPerRequest value to set.public String importance()
public WorkloadGroupInner withImportance(String importance)
importance - the importance value to set.public Integer queryExecutionTimeout()
public WorkloadGroupInner withQueryExecutionTimeout(Integer queryExecutionTimeout)
queryExecutionTimeout - the queryExecutionTimeout value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.