Delen via


CapacitiesOperationsExtensions.GetWorkloadAsync Method

Definition

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

capacityId
Guid
workloadName
String
cancellationToken
CancellationToken

Returns

Applies to