Skip to main content

partition_infos

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

Overview

Namepartition_infos
TypeResource
Idazure.service_fabric_dataplane.partition_infos

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
HealthStatestring
PartitionInformationobjectInformation about the partition identity, partitioning scheme and keys supported by it. You probably want to use the sub-classes and not this class directly. Known sub-classes are: Int64RangePartitionInformation, NamedPartitionInformation, SingletonPartitionInformation All required parameters must be populated in order to send to Azure.
PartitionStatusstring
ServiceKindstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_partition_infoselectpartition_id, endpointtimeoutGets the information about a Service Fabric partition. Gets the information about the specified partition. The response includes the partition ID, partitioning scheme information, keys supported by the partition, status, health, and other details about the partition.

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: )
partition_idstringThe identity of the partition.
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.

SELECT examples

Gets the information about a Service Fabric partition. Gets the information about the specified partition. The response includes the partition ID, partitioning scheme information, keys supported by the partition, status, health, and other details about the partition.

SELECT
HealthState,
PartitionInformation,
PartitionStatus,
ServiceKind
FROM azure.service_fabric_dataplane.partition_infos
WHERE partition_id = '{{ partition_id }}' -- required
AND endpoint = '{{ endpoint }}' -- required
AND timeout = '{{ timeout }}'
;