ResourceUtilizationHealthCheckOptions.CpuThresholds 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置 CPU 使用率的阈值。
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
属性值
- 属性
注解
会定期将阈值与已注册 IResourceMonitor的 提供的利用率示例进行比较。