replica_infos
Creates, updates, deletes, gets or lists a replica_infos resource.
Overview
| Name | replica_infos |
| Type | Resource |
| Id | azure.service_fabric_dataplane.replica_infos |
Fields
The following fields are returned by SELECT queries:
- get_replica_info
| Name | Datatype | Description |
|---|---|---|
Address | string | |
HealthState | string | |
LastInBuildDurationInSeconds | string | |
NodeName | string | |
ReplicaStatus | string | |
ServiceKind | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_replica_info | select | replica_id, partition_id, endpoint | timeout | Gets the information about a replica of a Service Fabric partition. The response includes the ID, role, status, health, node name, uptime, and other details about the replica. |
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. |
replica_id | string | The identifier of the replica. |
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_replica_info
Gets the information about a replica of a Service Fabric partition. The response includes the ID, role, status, health, node name, uptime, and other details about the replica.
SELECT
Address,
HealthState,
LastInBuildDurationInSeconds,
NodeName,
ReplicaStatus,
ServiceKind
FROM azure.service_fabric_dataplane.replica_infos
WHERE replica_id = '{{ replica_id }}' -- required
AND partition_id = '{{ partition_id }}' -- required
AND endpoint = '{{ endpoint }}' -- required
AND timeout = '{{ timeout }}'
;