partition_infos
Creates, updates, deletes, gets or lists a partition_infos resource.
Overview
| Name | partition_infos |
| Type | Resource |
| Id | azure.service_fabric_dataplane.partition_infos |
Fields
The following fields are returned by SELECT queries:
- get_partition_info
| Name | Datatype | Description |
|---|---|---|
HealthState | string | |
PartitionInformation | object | Information 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. |
PartitionStatus | string | |
ServiceKind | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_partition_info | select | partition_id, endpoint | timeout | 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. |
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 |
|---|---|---|
endpoint | string | The service endpoint host (no scheme). (default: ) |
partition_id | string | The identity of the partition. |
timeout | integer (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
- get_partition_info
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 }}'
;