Capacities - Get Workloads
Returns the current state of the specified capacity workloads, if a workload is enabled also returns the maximum memory percentage that the workload can consume.
Required scope: Capacity.Read.All or Capacity.ReadWrite.All
To set the permissions scope, see Register an app.
GET https://api.powerbi.com/v1.0/myorg/capacities/{capacityId}/Workloads
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
capacity
|
path | True |
|
The capacity Id |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
Examples
example
Sample Request
GET https://api.powerbi.com/v1.0/myorg/capacities/0f084df7-c13d-451b-af5f-ed0c466403b2/Workloads
Sample Response
{
"value": [
{
"state": "Enabled",
"name": "Dataflows",
"maxMemoryPercentageSetByUser": "66"
},
{
"state": "Disabled",
"name": "PaginatedReports"
}
]
}
Definitions
Workload |
Capacity workload setting |
Workloads |
Odata response wrapper for capacity workload settings list |
Workload |
The capacity workload state |
Workload
Capacity workload setting
Name | Type | Description |
---|---|---|
maxMemoryPercentageSetByUser |
|
The memory percentage maximum Limit set by the user |
name |
|
The workload name |
state |
The capacity workload state |
Workloads
Odata response wrapper for capacity workload settings list
Name | Type | Description |
---|---|---|
odata.context |
|
|
value |
|
The capacity workload settings list |
WorkloadState
The capacity workload state
Name | Type | Description |
---|---|---|
Disabled |
|
The workload is disabled |
Enabled |
|
The workload is enabled |
Unsupported |
|
The workload is unsupported by the current capacity SKU and cannot be enabled. This value cannot be set by the user in the Patch Workload |