loaded_partition_info_lists
Creates, updates, deletes, gets or lists a loaded_partition_info_lists resource.
Overview
| Name | loaded_partition_info_lists |
| Type | Resource |
| Id | azure.service_fabric_dataplane.loaded_partition_info_lists |
Fields
The following fields are returned by SELECT queries:
- get_loaded_partition_info_list
| Name | Datatype | Description |
|---|---|---|
ContinuationToken | string | |
Items | array |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_loaded_partition_info_list | select | MetricName, endpoint | ServiceName, Ordering, MaxResults, ContinuationToken | Gets 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.
| Name | Datatype | Description |
|---|---|---|
MetricName | string | Name of the metric based on which to get ordered list of partitions. |
endpoint | string | The service endpoint host (no scheme). (default: ) |
ContinuationToken | string | The 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. |
MaxResults | integer (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. |
Ordering | string | Ordering of partitions' load. Possible values include: 'Desc', 'Asc' |
ServiceName | string | The name of a service. |
SELECT examples
- get_loaded_partition_info_list
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 }}'
;