共用方式為


WorkloadGroup Class

Workload group operations for a data warehouse.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.sql.models._models_py3.ProxyResource
WorkloadGroup

Constructor

WorkloadGroup(*, min_resource_percent: int | None = None, max_resource_percent: int | None = None, min_resource_percent_per_request: float | None = None, max_resource_percent_per_request: float | None = None, importance: str | None = None, query_execution_timeout: int | None = None, **kwargs)

Parameters

Name Description
min_resource_percent
Required
int

The workload group minimum percentage resource.

max_resource_percent
Required
int

The workload group cap percentage resource.

min_resource_percent_per_request
Required

The workload group request minimum grant percentage.

max_resource_percent_per_request
Required

The workload group request maximum grant percentage.

importance
Required
str

The workload group importance level.

query_execution_timeout
Required
int

The workload group query execution timeout.

Keyword-Only Parameters

Name Description
min_resource_percent
Required
max_resource_percent
Required
min_resource_percent_per_request
Required
max_resource_percent_per_request
Required
importance
Required
query_execution_timeout
Required

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.