Partajați prin


ResourceUtilizationHealthCheckExtensions.AddResourceUtilizationHealthCheck Method

Definition

Overloads

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection)

Registers a health check provider that monitors resource utilization to assess the application's health.

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>)

Registers a health check provider that monitors resource utilization to assess the application's health.

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IEnumerable<String>)

Registers a health check provider that monitors resource utilization to assess the application's health.

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, String[])

Registers a health check provider that monitors resource utilization to assess the application's health.

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, IEnumerable<String>)

Registers a health check provider that monitors resource utilization to assess the application's health.

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, String[])

Registers a health check provider that monitors resource utilization to assess the application's health.

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>, IEnumerable<String>)

Registers a health check provider that monitors resource utilization to assess the application's health.

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>, String[])

Registers a health check provider that monitors resource utilization to assess the application's health.

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection)

Source:
ResourceUtilizationHealthCheckExtensions.cs

Registers a health check provider that monitors resource utilization to assess the application's health.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddResourceUtilizationHealthCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, Microsoft::Extensions::Configuration::IConfigurationSection ^ section);
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddResourceUtilizationHealthCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, Microsoft.Extensions.Configuration.IConfigurationSection section);
static member AddResourceUtilizationHealthCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddResourceUtilizationHealthCheck (builder As IHealthChecksBuilder, section As IConfigurationSection) As IHealthChecksBuilder

Parameters

builder
IHealthChecksBuilder

The builder to add the provider to.

Returns

The value of builder.

Exceptions

builder or section is null.

Applies to

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>)

Source:
ResourceUtilizationHealthCheckExtensions.cs

Registers a health check provider that monitors resource utilization to assess the application's health.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddResourceUtilizationHealthCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, Action<Microsoft::Extensions::Diagnostics::HealthChecks::ResourceUtilizationHealthCheckOptions ^> ^ configure);
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddResourceUtilizationHealthCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, Action<Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilizationHealthCheckOptions> configure);
static member AddResourceUtilizationHealthCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * Action<Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilizationHealthCheckOptions> -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddResourceUtilizationHealthCheck (builder As IHealthChecksBuilder, configure As Action(Of ResourceUtilizationHealthCheckOptions)) As IHealthChecksBuilder

Parameters

builder
IHealthChecksBuilder

The builder to add the provider to.

configure
Action<ResourceUtilizationHealthCheckOptions>

Configuration callback.

Returns

The value of builder.

Exceptions

builder or configure is null.

Applies to

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IEnumerable<String>)

Source:
ResourceUtilizationHealthCheckExtensions.cs

Registers a health check provider that monitors resource utilization to assess the application's health.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddResourceUtilizationHealthCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, System::Collections::Generic::IEnumerable<System::String ^> ^ tags);
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddResourceUtilizationHealthCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, System.Collections.Generic.IEnumerable<string> tags);
static member AddResourceUtilizationHealthCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * seq<string> -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddResourceUtilizationHealthCheck (builder As IHealthChecksBuilder, tags As IEnumerable(Of String)) As IHealthChecksBuilder

Parameters

builder
IHealthChecksBuilder

The builder to add the provider to.

tags
IEnumerable<String>

A list of tags that can be used to filter health checks.

Returns

The value of builder.

Exceptions

builder is null.

Applies to

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, String[])

Source:
ResourceUtilizationHealthCheckExtensions.cs

Registers a health check provider that monitors resource utilization to assess the application's health.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddResourceUtilizationHealthCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, ... cli::array <System::String ^> ^ tags);
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddResourceUtilizationHealthCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, params string[] tags);
static member AddResourceUtilizationHealthCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * string[] -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddResourceUtilizationHealthCheck (builder As IHealthChecksBuilder, ParamArray tags As String()) As IHealthChecksBuilder

Parameters

builder
IHealthChecksBuilder

The builder to add the provider to.

tags
String[]

A list of tags that can be used to filter health checks.

Returns

The value of builder.

Exceptions

builder is null.

Applies to

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, IEnumerable<String>)

Source:
ResourceUtilizationHealthCheckExtensions.cs

Registers a health check provider that monitors resource utilization to assess the application's health.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddResourceUtilizationHealthCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, Microsoft::Extensions::Configuration::IConfigurationSection ^ section, System::Collections::Generic::IEnumerable<System::String ^> ^ tags);
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddResourceUtilizationHealthCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, Microsoft.Extensions.Configuration.IConfigurationSection section, System.Collections.Generic.IEnumerable<string> tags);
static member AddResourceUtilizationHealthCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * Microsoft.Extensions.Configuration.IConfigurationSection * seq<string> -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddResourceUtilizationHealthCheck (builder As IHealthChecksBuilder, section As IConfigurationSection, tags As IEnumerable(Of String)) As IHealthChecksBuilder

Parameters

builder
IHealthChecksBuilder

The builder to add the provider to.

section
IConfigurationSection

Configuration section holding an instance of ResourceUtilizationHealthCheckOptions.

tags
IEnumerable<String>

A list of tags that can be used to filter health checks.

Returns

The value of builder.

Exceptions

builder, section or tags is null.

Applies to

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, String[])

Source:
ResourceUtilizationHealthCheckExtensions.cs

Registers a health check provider that monitors resource utilization to assess the application's health.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddResourceUtilizationHealthCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, Microsoft::Extensions::Configuration::IConfigurationSection ^ section, ... cli::array <System::String ^> ^ tags);
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddResourceUtilizationHealthCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, Microsoft.Extensions.Configuration.IConfigurationSection section, params string[] tags);
static member AddResourceUtilizationHealthCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * Microsoft.Extensions.Configuration.IConfigurationSection * string[] -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddResourceUtilizationHealthCheck (builder As IHealthChecksBuilder, section As IConfigurationSection, ParamArray tags As String()) As IHealthChecksBuilder

Parameters

builder
IHealthChecksBuilder

The builder to add the provider to.

section
IConfigurationSection

Configuration section holding an instance of ResourceUtilizationHealthCheckOptions.

tags
String[]

A list of tags that can be used to filter health checks.

Returns

The value of builder.

Exceptions

builder, section or tags is null.

Applies to

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>, IEnumerable<String>)

Source:
ResourceUtilizationHealthCheckExtensions.cs

Registers a health check provider that monitors resource utilization to assess the application's health.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddResourceUtilizationHealthCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, Action<Microsoft::Extensions::Diagnostics::HealthChecks::ResourceUtilizationHealthCheckOptions ^> ^ configure, System::Collections::Generic::IEnumerable<System::String ^> ^ tags);
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddResourceUtilizationHealthCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, Action<Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilizationHealthCheckOptions> configure, System.Collections.Generic.IEnumerable<string> tags);
static member AddResourceUtilizationHealthCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * Action<Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilizationHealthCheckOptions> * seq<string> -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddResourceUtilizationHealthCheck (builder As IHealthChecksBuilder, configure As Action(Of ResourceUtilizationHealthCheckOptions), tags As IEnumerable(Of String)) As IHealthChecksBuilder

Parameters

builder
IHealthChecksBuilder

The builder to add the provider to.

configure
Action<ResourceUtilizationHealthCheckOptions>

Configuration callback.

tags
IEnumerable<String>

A list of tags that can be used to filter health checks.

Returns

The value of builder.

Exceptions

builder, configure or tags is null.

Applies to

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>, String[])

Source:
ResourceUtilizationHealthCheckExtensions.cs

Registers a health check provider that monitors resource utilization to assess the application's health.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddResourceUtilizationHealthCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, Action<Microsoft::Extensions::Diagnostics::HealthChecks::ResourceUtilizationHealthCheckOptions ^> ^ configure, ... cli::array <System::String ^> ^ tags);
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddResourceUtilizationHealthCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, Action<Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilizationHealthCheckOptions> configure, params string[] tags);
static member AddResourceUtilizationHealthCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * Action<Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilizationHealthCheckOptions> * string[] -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddResourceUtilizationHealthCheck (builder As IHealthChecksBuilder, configure As Action(Of ResourceUtilizationHealthCheckOptions), ParamArray tags As String()) As IHealthChecksBuilder

Parameters

builder
IHealthChecksBuilder

The builder to add the provider to.

configure
Action<ResourceUtilizationHealthCheckOptions>

Configuration callback.

tags
String[]

A list of tags that can be used to filter health checks.

Returns

The value of builder.

Exceptions

builder, configure or tags is null.

Applies to