CapacitiesOperationsExtensions.GetWorkloadAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.Workload> GetWorkloadAsync (this Microsoft.PowerBI.Api.ICapacitiesOperations operations, Guid capacityId, string workloadName, System.Threading.CancellationToken cancellationToken = default);
static member GetWorkloadAsync : Microsoft.PowerBI.Api.ICapacitiesOperations * Guid * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.Workload>
<Extension()>
Public Function GetWorkloadAsync (operations As ICapacitiesOperations, capacityId As Guid, workloadName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Workload)
Parameters
- operations
- ICapacitiesOperations
- capacityId
- Guid
- workloadName
- String
- cancellationToken
- CancellationToken