ResourceUtilizationHealthCheckOptions.CpuThresholds Property

Definition

Gets or sets thresholds for CPU utilization.

public:
 property Microsoft::Extensions::Diagnostics::HealthChecks::ResourceUsageThresholds ^ CpuThresholds { Microsoft::Extensions::Diagnostics::HealthChecks::ResourceUsageThresholds ^ get(); void set(Microsoft::Extensions::Diagnostics::HealthChecks::ResourceUsageThresholds ^ value); };
[Microsoft.Extensions.Options.ValidateObjectMembers]
public Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUsageThresholds CpuThresholds { get; set; }
[<Microsoft.Extensions.Options.ValidateObjectMembers>]
member this.CpuThresholds : Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUsageThresholds with get, set
Public Property CpuThresholds As ResourceUsageThresholds

Property Value

Attributes

Remarks

The thresholds are periodically compared against the utilization samples provided by the registered IResourceMonitor.

Applies to