FabricClient.ClusterManagementClient.UpdatePartitionLoadAsync Method

Definition

Updates partitions reported metric load information. If the output list of partitions do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

public System.Threading.Tasks.Task<System.Fabric.Query.UpdatePartitionLoadResultList> UpdatePartitionLoadAsync (System.Fabric.Description.UpdatePartitionLoadQueryDescription updatePartitionLoadQueryDescription, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.UpdatePartitionLoadAsync : System.Fabric.Description.UpdatePartitionLoadQueryDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.UpdatePartitionLoadResultList>
Public Function UpdatePartitionLoadAsync (updatePartitionLoadQueryDescription As UpdatePartitionLoadQueryDescription, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of UpdatePartitionLoadResultList)

Parameters

updatePartitionLoadQueryDescription
UpdatePartitionLoadQueryDescription

Query description UpdatePartitionLoadQueryDescription contains the list of partitions with their metric load descriptions as well as settings for paging output results.

timeout
TimeSpan

The length of time within which the async method must complete in order for the method to not time out.

cancellationToken
CancellationToken

A cancellation token for this method.

Returns

A Task that represents the asynchronous query operation. The value of TResult parameter is an UpdatePartitionLoadResultList that represents the list of output information per partition (partition ID with corresponding ErrorCode as an update result) that fit the page.

Applies to