Skip to main content

replica_infos

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

Overview

Namereplica_infos
TypeResource
Idazure.service_fabric_dataplane.replica_infos

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
Addressstring
HealthStatestring
LastInBuildDurationInSecondsstring
NodeNamestring
ReplicaStatusstring
ServiceKindstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_replica_infoselectreplica_id, partition_id, endpointtimeoutGets 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.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme). (default: )
partition_idstringThe identity of the partition.
replica_idstringThe identifier of the replica.
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 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 }}'
;