FabricClient.QueryClient.GetUnplacedReplicaInformationAsync Method

Definition

Overloads

GetUnplacedReplicaInformationAsync(String, Guid, Boolean)

Get diagnostics information about services with unplaced replicas.

GetUnplacedReplicaInformationAsync(String, Guid, Boolean, TimeSpan, CancellationToken)

Get diagnostics information about services with unplaced replicas.

GetUnplacedReplicaInformationAsync(String, Guid, Boolean)

Get diagnostics information about services with unplaced replicas.

public System.Threading.Tasks.Task<System.Fabric.Query.UnplacedReplicaInformation> GetUnplacedReplicaInformationAsync (string serviceName, Guid partitionId, bool onlyQueryPrimaries);
member this.GetUnplacedReplicaInformationAsync : string * Guid * bool -> System.Threading.Tasks.Task<System.Fabric.Query.UnplacedReplicaInformation>
Public Function GetUnplacedReplicaInformationAsync (serviceName As String, partitionId As Guid, onlyQueryPrimaries As Boolean) As Task(Of UnplacedReplicaInformation)

Parameters

serviceName
String

The name of the service.

partitionId
Guid

The partition ID.

onlyQueryPrimaries
Boolean

Return only the unplaced replica diagnostics for only the attempted primary replica placements in order to limit output.

Returns

A task that represents the asynchronous query operation.

The returned task contains the information of an unplaced replica as UnplacedReplicaInformation.

Exceptions

This operation has a timeout of 60 seconds.

See https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions for handling common FabricClient failures.

Applies to

GetUnplacedReplicaInformationAsync(String, Guid, Boolean, TimeSpan, CancellationToken)

Get diagnostics information about services with unplaced replicas.

public System.Threading.Tasks.Task<System.Fabric.Query.UnplacedReplicaInformation> GetUnplacedReplicaInformationAsync (string serviceName, Guid partitionId, bool onlyQueryPrimaries, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetUnplacedReplicaInformationAsync : string * Guid * bool * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.UnplacedReplicaInformation>
Public Function GetUnplacedReplicaInformationAsync (serviceName As String, partitionId As Guid, onlyQueryPrimaries As Boolean, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of UnplacedReplicaInformation)

Parameters

serviceName
String

The name of the service.

partitionId
Guid

The partition ID.

onlyQueryPrimaries
Boolean

Return only the unplaced replica diagnostics for only the attempted primary replica placements in order to limit output.

timeout
TimeSpan

Specifies the duration this operation has to complete before timing out.

cancellationToken
CancellationToken

Propagates notification that operations should be canceled.

Returns

A task that represents the asynchronous query operation.

The returned task contains the information of an unplaced replica as UnplacedReplicaInformation.

Exceptions

Applies to