unplaced_replica_informations
Creates, updates, deletes, gets or lists an unplaced_replica_informations resource.
Overview
| Name | unplaced_replica_informations |
| Type | Resource |
| Id | azure.service_fabric_dataplane.unplaced_replica_informations |
Fields
The following fields are returned by SELECT queries:
- get_unplaced_replica_information
| Name | Datatype | Description |
|---|---|---|
PartitionId | string | |
ServiceName | string | |
UnplacedReplicaDetails | array |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_unplaced_replica_information | select | service_id, endpoint | PartitionId, OnlyQueryPrimaries, timeout | Gets the information about unplaced replica of the service. Returns the information about the unplaced replicas of the service. If PartitionId is specified, then result will contain information only about unplaced replicas for that partition. If PartitionId is not specified, then result will contain information about unplaced replicas for all partitions of that service. If OnlyQueryPrimaries is set to true, then result will contain information only about primary replicas, and will ignore unplaced secondary replicas. |
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: ) |
service_id | string | The identity of the service. This ID is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the " |
OnlyQueryPrimaries | boolean | Indicates that unplaced replica information will be queries only for primary replicas. |
PartitionId | 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_unplaced_replica_information
Gets the information about unplaced replica of the service. Returns the information about the unplaced replicas of the service. If PartitionId is specified, then result will contain information only about unplaced replicas for that partition. If PartitionId is not specified, then result will contain information about unplaced replicas for all partitions of that service. If OnlyQueryPrimaries is set to true, then result will contain information only about primary replicas, and will ignore unplaced secondary replicas.
SELECT
PartitionId,
ServiceName,
UnplacedReplicaDetails
FROM azure.service_fabric_dataplane.unplaced_replica_informations
WHERE service_id = '{{ service_id }}' -- required
AND endpoint = '{{ endpoint }}' -- required
AND PartitionId = '{{ PartitionId }}'
AND OnlyQueryPrimaries = '{{ OnlyQueryPrimaries }}'
AND timeout = '{{ timeout }}'
;