Share via


FabricClient.ClusterManagementClient.ToggleVerboseServicePlacementHealthReportingAsync Method

Definition

Overloads

ToggleVerboseServicePlacementHealthReportingAsync(Boolean)

Toggles whether the Cluster Resource Balancer will report a health warning when it's unable to place a replica.

ToggleVerboseServicePlacementHealthReportingAsync(Boolean, TimeSpan, CancellationToken)

Toggles whether the Cluster Resource Balancer will report a health warning when it's unable to place a replica.

ToggleVerboseServicePlacementHealthReportingAsync(Boolean)

Toggles whether the Cluster Resource Balancer will report a health warning when it's unable to place a replica.

public System.Threading.Tasks.Task ToggleVerboseServicePlacementHealthReportingAsync (bool enabled);
member this.ToggleVerboseServicePlacementHealthReportingAsync : bool -> System.Threading.Tasks.Task
Public Function ToggleVerboseServicePlacementHealthReportingAsync (enabled As Boolean) As Task

Parameters

enabled
Boolean

A boolean value, which if true causes reporting when a replica is unabled to be placed.

Returns

The task associated with this async method.

Remarks

If this method is called twice with the value false, it clears from memory the reports that would potentially have been emitted. If this method is called with the value true, the Cluster Resource Balancer will report a health warning when it's unable to place a replica. If such health warnings are blocking a monitored upgrade's health checks the toggle can be switched off.

Applies to

ToggleVerboseServicePlacementHealthReportingAsync(Boolean, TimeSpan, CancellationToken)

Toggles whether the Cluster Resource Balancer will report a health warning when it's unable to place a replica.

public System.Threading.Tasks.Task ToggleVerboseServicePlacementHealthReportingAsync (bool enabled, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.ToggleVerboseServicePlacementHealthReportingAsync : bool * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ToggleVerboseServicePlacementHealthReportingAsync (enabled As Boolean, timeout As TimeSpan, cancellationToken As CancellationToken) As Task

Parameters

enabled
Boolean

A boolean value, which if true causes reporting when a replica is unabled to be placed.

timeout
TimeSpan

The length of time within which the async method must complete in order for the method to not time out.

cancellationToken
CancellationToken

A cancellation token for this method.

Returns

The task associated with this async method.

Remarks

If this method is called twice with the value false, it clears from memory the reports that would potentially have been emitted. If this method is called with the value true, the Cluster Resource Balancer will report a health warning when it's unable to place a replica. If such health warnings are blocking a monitored upgrade's health checks, the toggle can be switched off.

Applies to