Skip to main content

partition_loads

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

Overview

Namepartition_loads
TypeResource
Idazure.service_fabric_dataplane.partition_loads

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
update_partition_loadexecendpointContinuationToken, MaxResults, timeoutUpdate the loads of provided partitions for specific metrics. Updates the load value and predicted load value for all the partitions provided for specified metrics.

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
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.
timeoutinteger (int64)The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

Lifecycle Methods

Update the loads of provided partitions for specific metrics. Updates the load value and predicted load value for all the partitions provided for specified metrics.

EXEC azure.service_fabric_dataplane.partition_loads.update_partition_load 
@endpoint='{{ endpoint }}' --required,
@ContinuationToken='{{ ContinuationToken }}',
@MaxResults='{{ MaxResults }}',
@timeout='{{ timeout }}'
@@json=
'{
"PartitionId": "{{ PartitionId }}",
"PrimaryReplicaLoadEntries": "{{ PrimaryReplicaLoadEntries }}",
"SecondaryReplicasOrInstancesLoadEntries": "{{ SecondaryReplicasOrInstancesLoadEntries }}",
"SecondaryReplicaOrInstanceLoadEntriesPerNode": "{{ SecondaryReplicaOrInstanceLoadEntriesPerNode }}",
"AuxiliaryReplicasLoadEntries": "{{ AuxiliaryReplicasLoadEntries }}",
"AuxiliaryReplicaLoadEntriesPerNode": "{{ AuxiliaryReplicaLoadEntriesPerNode }}"
}'
;