Share via


CapacitiesOperations.PatchWorkloadWithHttpMessagesAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse> PatchWorkloadWithHttpMessagesAsync (Guid capacityId, string workloadName, Microsoft.PowerBI.Api.Models.PatchWorkloadRequest workload, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member PatchWorkloadWithHttpMessagesAsync : Guid * string * Microsoft.PowerBI.Api.Models.PatchWorkloadRequest * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse>
override this.PatchWorkloadWithHttpMessagesAsync : Guid * string * Microsoft.PowerBI.Api.Models.PatchWorkloadRequest * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse>
Public Function PatchWorkloadWithHttpMessagesAsync (capacityId As Guid, workloadName As String, workload As PatchWorkloadRequest, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse)

Parameters

capacityId
Guid
workloadName
String
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Implements

Applies to