Share via


FabricClient.QueryClient.GetNodeLoadInformationAsync Method

Definition

Overloads

GetNodeLoadInformationAsync(String)

Get metrics and load information on the node.

GetNodeLoadInformationAsync(String, TimeSpan, CancellationToken)

Get metrics and load information on the node.

GetNodeLoadInformationAsync(String)

Get metrics and load information on the node.

public System.Threading.Tasks.Task<System.Fabric.Query.NodeLoadInformation> GetNodeLoadInformationAsync (string nodeName);
member this.GetNodeLoadInformationAsync : string -> System.Threading.Tasks.Task<System.Fabric.Query.NodeLoadInformation>
Public Function GetNodeLoadInformationAsync (nodeName As String) As Task(Of NodeLoadInformation)

Parameters

nodeName
String

The name of the node. This is a case-sensitive exact match. If the node name does not match any node on the cluster, an empty NodeLoadInformation is returned.

Returns

A task that represents the asynchronous query operation.

The returned task contains the load information of the node as NodeLoadInformation.

Exceptions

This operation has a timeout of 60 seconds.

See https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions for handling common FabricClient failures.

Applies to

GetNodeLoadInformationAsync(String, TimeSpan, CancellationToken)

Get metrics and load information on the node.

public System.Threading.Tasks.Task<System.Fabric.Query.NodeLoadInformation> GetNodeLoadInformationAsync (string nodeName, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetNodeLoadInformationAsync : string * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.NodeLoadInformation>
Public Function GetNodeLoadInformationAsync (nodeName As String, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of NodeLoadInformation)

Parameters

nodeName
String

The name of the node. This is a case-sensitive exact match. If the node name does not match any node on the cluster, an empty NodeLoadInformation is returned.

timeout
TimeSpan

Specifies the duration this operation has to complete before timing out.

cancellationToken
CancellationToken

Propagates notification that operations should be canceled

Returns

A task that represents the asynchronous query operation.

The returned task contains the load information of the node as NodeLoadInformation.

Exceptions

Applies to