Skip to main content

loaded_partition_info_lists

Creates, updates, deletes, gets or lists a loaded_partition_info_lists resource.

Overview

Nameloaded_partition_info_lists
TypeResource
Idazure.service_fabric_dataplane.loaded_partition_info_lists

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
ContinuationTokenstring
Itemsarray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_loaded_partition_info_listselectMetricName, endpointServiceName, Ordering, MaxResults, ContinuationTokenGets ordered list of partitions. Retrieves partitions which are most/least loaded according to specified metric.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
MetricNamestringName of the metric based on which to get ordered list of partitions.
endpointstringThe service endpoint host (no scheme). (default: )
ContinuationTokenstringThe continuation token parameter is used to obtain next set of results. A continuation token with a non-empty value is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token does not contain a value. The value of this parameter should not be URL encoded.
MaxResultsinteger (int64)The maximum number of results to be returned as part of the paged queries. This parameter defines the upper bound on the number of results returned. The results returned can be less than the specified maximum results if they do not fit in the message as per the max message size restrictions defined in the configuration. If this parameter is zero or not specified, the paged query includes as many results as possible that fit in the return message.
OrderingstringOrdering of partitions' load. Possible values include: 'Desc', 'Asc'
ServiceNamestringThe name of a service.

SELECT examples

Gets ordered list of partitions. Retrieves partitions which are most/least loaded according to specified metric.

SELECT
ContinuationToken,
Items
FROM azure.service_fabric_dataplane.loaded_partition_info_lists
WHERE MetricName = '{{ MetricName }}' -- required
AND endpoint = '{{ endpoint }}' -- required
AND ServiceName = '{{ ServiceName }}'
AND Ordering = '{{ Ordering }}'
AND MaxResults = '{{ MaxResults }}'
AND ContinuationToken = '{{ ContinuationToken }}'
;