Sdílet prostřednictvím


LoadedPartitionInformationQueryDescription Constructors

Definition

Overloads

LoadedPartitionInformationQueryDescription(String, Uri)

Constructor for LoadedPartitionInformationQueryDescription.

LoadedPartitionInformationQueryDescription(String, Uri, Ordering, Int64, String)

Constructor for LoadedPartitionInformationQueryDescription.

LoadedPartitionInformationQueryDescription(String, Uri)

public LoadedPartitionInformationQueryDescription (string metricName, Uri serviceName = default);
new System.Fabric.Description.LoadedPartitionInformationQueryDescription : string * Uri -> System.Fabric.Description.LoadedPartitionInformationQueryDescription
Public Sub New (metricName As String, Optional serviceName As Uri = Nothing)

Parameters

metricName
String

Name of the metric based on which to get ordered list of partitions. (see MetricName).

serviceName
Uri

Name of service from which to get partitions. If service name is empty, get all partitions with the metric across all services. (see ServiceName).

Applies to

LoadedPartitionInformationQueryDescription(String, Uri, Ordering, Int64, String)

public LoadedPartitionInformationQueryDescription (string metricName, Uri serviceName, System.Fabric.Ordering ordering, long maxResults, string continuationToken);
new System.Fabric.Description.LoadedPartitionInformationQueryDescription : string * Uri * System.Fabric.Ordering * int64 * string -> System.Fabric.Description.LoadedPartitionInformationQueryDescription
Public Sub New (metricName As String, serviceName As Uri, ordering As Ordering, maxResults As Long, continuationToken As String)

Parameters

metricName
String

Name of the metric based on which to get ordered list of partitions. (see MetricName).

serviceName
Uri

Name of service from which to get partitions. If service name is empty, get all partitions with the metric across all services. (see ServiceName).

ordering
Ordering

Desc (default): Sort partitions such that load is decreasing (non-increasing). Get most loaded partitions. Asc: Sort partitions such that load is increasing (non-decreasing). Get least loaded partitions. (see Ordering).

maxResults
Int64

The maximum number of results to be returned as part of the paged queries. This parameter defines the upper bound for the number of results returned. The API may return fewer results than the specified maximum if they do not fit in the message as per the max message size restrictions defined in the configuration or if there are fewer total results. If this parameter is zero or not specified, the paged query includes as many results as possible that fit in the return message.

continuationToken
String

Specifies id of partition that is next to be returned.

Applies to