Sdílet prostřednictvím


ResourceUtilizationHealthCheckExtensions.AddResourceUtilizationHealthCheck Metoda

Definice

Přetížení

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection)

Zaregistruje poskytovatele kontroly stavu, který monitoruje využití prostředků za účelem vyhodnocení stavu aplikace.

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>)

Zaregistruje poskytovatele kontroly stavu, který monitoruje využití prostředků za účelem vyhodnocení stavu aplikace.

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IEnumerable<String>)

Zaregistruje poskytovatele kontroly stavu, který monitoruje využití prostředků za účelem vyhodnocení stavu aplikace.

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, String[])

Zaregistruje poskytovatele kontroly stavu, který monitoruje využití prostředků za účelem vyhodnocení stavu aplikace.

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, IEnumerable<String>)

Zaregistruje poskytovatele kontroly stavu, který monitoruje využití prostředků za účelem vyhodnocení stavu aplikace.

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, String[])

Zaregistruje poskytovatele kontroly stavu, který monitoruje využití prostředků za účelem vyhodnocení stavu aplikace.

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

Zaregistruje poskytovatele kontroly stavu, který monitoruje využití prostředků za účelem vyhodnocení stavu aplikace.

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

Zaregistruje poskytovatele kontroly stavu, který monitoruje využití prostředků za účelem vyhodnocení stavu aplikace.

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection)

Zdroj:
ResourceUtilizationHealthCheckExtensions.cs

Zaregistruje poskytovatele kontroly stavu, který monitoruje využití prostředků za účelem vyhodnocení stavu aplikace.

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

Parametry

builder
IHealthChecksBuilder

Tvůrce, do který chcete zprostředkovatele přidat.

Návraty

Hodnota .builder

Výjimky

builder nebo section je null.

Platí pro

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>)

Zdroj:
ResourceUtilizationHealthCheckExtensions.cs

Zaregistruje poskytovatele kontroly stavu, který monitoruje využití prostředků za účelem vyhodnocení stavu aplikace.

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

Parametry

builder
IHealthChecksBuilder

Tvůrce, do který chcete zprostředkovatele přidat.

configure
Action<ResourceUtilizationHealthCheckOptions>

Zpětné volání konfigurace.

Návraty

Hodnota .builder

Výjimky

builder nebo configure je null.

Platí pro

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IEnumerable<String>)

Zdroj:
ResourceUtilizationHealthCheckExtensions.cs

Zaregistruje poskytovatele kontroly stavu, který monitoruje využití prostředků za účelem vyhodnocení stavu aplikace.

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

Parametry

builder
IHealthChecksBuilder

Tvůrce, do který chcete zprostředkovatele přidat.

tags
IEnumerable<String>

Seznam značek, které lze použít k filtrování kontrol stavu.

Návraty

Hodnota .builder

Výjimky

builder je null.

Platí pro

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, String[])

Zdroj:
ResourceUtilizationHealthCheckExtensions.cs

Zaregistruje poskytovatele kontroly stavu, který monitoruje využití prostředků za účelem vyhodnocení stavu aplikace.

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

Parametry

builder
IHealthChecksBuilder

Tvůrce, do který chcete zprostředkovatele přidat.

tags
String[]

Seznam značek, které lze použít k filtrování kontrol stavu.

Návraty

Hodnota .builder

Výjimky

builder je null.

Platí pro

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, IEnumerable<String>)

Zdroj:
ResourceUtilizationHealthCheckExtensions.cs

Zaregistruje poskytovatele kontroly stavu, který monitoruje využití prostředků za účelem vyhodnocení stavu aplikace.

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

Parametry

builder
IHealthChecksBuilder

Tvůrce, do který chcete zprostředkovatele přidat.

section
IConfigurationSection

Konfigurační oddíl, ve které je instance ResourceUtilizationHealthCheckOptions.

tags
IEnumerable<String>

Seznam značek, které lze použít k filtrování kontrol stavu.

Návraty

Hodnota .builder

Výjimky

buildernebo sectiontags je null.

Platí pro

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, String[])

Zdroj:
ResourceUtilizationHealthCheckExtensions.cs

Zaregistruje poskytovatele kontroly stavu, který monitoruje využití prostředků za účelem vyhodnocení stavu aplikace.

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

Parametry

builder
IHealthChecksBuilder

Tvůrce, do který chcete zprostředkovatele přidat.

section
IConfigurationSection

Konfigurační oddíl, ve které je instance ResourceUtilizationHealthCheckOptions.

tags
String[]

Seznam značek, které lze použít k filtrování kontrol stavu.

Návraty

Hodnota .builder

Výjimky

buildernebo sectiontags je null.

Platí pro

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

Zdroj:
ResourceUtilizationHealthCheckExtensions.cs

Zaregistruje poskytovatele kontroly stavu, který monitoruje využití prostředků za účelem vyhodnocení stavu aplikace.

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

Parametry

builder
IHealthChecksBuilder

Tvůrce, do který chcete zprostředkovatele přidat.

configure
Action<ResourceUtilizationHealthCheckOptions>

Zpětné volání konfigurace.

tags
IEnumerable<String>

Seznam značek, které lze použít k filtrování kontrol stavu.

Návraty

Hodnota .builder

Výjimky

buildernebo configuretags je null.

Platí pro

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

Zdroj:
ResourceUtilizationHealthCheckExtensions.cs

Zaregistruje poskytovatele kontroly stavu, který monitoruje využití prostředků za účelem vyhodnocení stavu aplikace.

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

Parametry

builder
IHealthChecksBuilder

Tvůrce, do který chcete zprostředkovatele přidat.

configure
Action<ResourceUtilizationHealthCheckOptions>

Zpětné volání konfigurace.

tags
String[]

Seznam značek, které lze použít k filtrování kontrol stavu.

Návraty

Hodnota .builder

Výjimky

buildernebo configuretags je null.

Platí pro