ResourceUtilizationHealthCheckExtensions.AddResourceUtilizationHealthCheck Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection) |
Registra un proveedor de comprobación de estado que supervisa el uso de recursos para evaluar el estado de la aplicación. |
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>) |
Registra un proveedor de comprobación de estado que supervisa el uso de recursos para evaluar el estado de la aplicación. |
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IEnumerable<String>) |
Registra un proveedor de comprobación de estado que supervisa el uso de recursos para evaluar el estado de la aplicación. |
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, String[]) |
Registra un proveedor de comprobación de estado que supervisa el uso de recursos para evaluar el estado de la aplicación. |
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, IEnumerable<String>) |
Registra un proveedor de comprobación de estado que supervisa el uso de recursos para evaluar el estado de la aplicación. |
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, String[]) |
Registra un proveedor de comprobación de estado que supervisa el uso de recursos para evaluar el estado de la aplicación. |
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>, IEnumerable<String>) |
Registra un proveedor de comprobación de estado que supervisa el uso de recursos para evaluar el estado de la aplicación. |
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>, String[]) |
Registra un proveedor de comprobación de estado que supervisa el uso de recursos para evaluar el estado de la aplicación. |
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection)
Registra un proveedor de comprobación de estado que supervisa el uso de recursos para evaluar el estado de la aplicación.
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
Parámetros
- builder
- IHealthChecksBuilder
Generador al que se va a agregar el proveedor.
- section
- IConfigurationSection
Configuración de ResourceUtilizationHealthCheckOptions.
Devoluciones
El valor de builder
.
Excepciones
builder
o section
es null
.
Se aplica a
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>)
Registra un proveedor de comprobación de estado que supervisa el uso de recursos para evaluar el estado de la aplicación.
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
Parámetros
- builder
- IHealthChecksBuilder
Generador al que se va a agregar el proveedor.
- configure
- Action<ResourceUtilizationHealthCheckOptions>
Devolución de llamada de configuración.
Devoluciones
El valor de builder
.
Excepciones
builder
o configure
es null
.
Se aplica a
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IEnumerable<String>)
Registra un proveedor de comprobación de estado que supervisa el uso de recursos para evaluar el estado de la aplicación.
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
Parámetros
- builder
- IHealthChecksBuilder
Generador al que se va a agregar el proveedor.
- tags
- IEnumerable<String>
Una lista de etiquetas que se pueden usar para filtrar las comprobaciones de estado.
Devoluciones
El valor de builder
.
Excepciones
builder
es null
.
Se aplica a
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, String[])
Registra un proveedor de comprobación de estado que supervisa el uso de recursos para evaluar el estado de la aplicación.
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
Parámetros
- builder
- IHealthChecksBuilder
Generador al que se va a agregar el proveedor.
- tags
- String[]
Una lista de etiquetas que se pueden usar para filtrar las comprobaciones de estado.
Devoluciones
El valor de builder
.
Excepciones
builder
es null
.
Se aplica a
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, IEnumerable<String>)
Registra un proveedor de comprobación de estado que supervisa el uso de recursos para evaluar el estado de la aplicación.
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
Parámetros
- builder
- IHealthChecksBuilder
Generador al que se va a agregar el proveedor.
- section
- IConfigurationSection
Sección de configuración que contiene una instancia de ResourceUtilizationHealthCheckOptions.
- tags
- IEnumerable<String>
Una lista de etiquetas que se pueden usar para filtrar las comprobaciones de estado.
Devoluciones
El valor de builder
.
Excepciones
builder
, section
o tags
es null
.
Se aplica a
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, String[])
Registra un proveedor de comprobación de estado que supervisa el uso de recursos para evaluar el estado de la aplicación.
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
Parámetros
- builder
- IHealthChecksBuilder
Generador al que se va a agregar el proveedor.
- section
- IConfigurationSection
Sección de configuración que contiene una instancia de ResourceUtilizationHealthCheckOptions.
- tags
- String[]
Una lista de etiquetas que se pueden usar para filtrar las comprobaciones de estado.
Devoluciones
El valor de builder
.
Excepciones
builder
, section
o tags
es null
.
Se aplica a
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>, IEnumerable<String>)
Registra un proveedor de comprobación de estado que supervisa el uso de recursos para evaluar el estado de la aplicación.
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
Parámetros
- builder
- IHealthChecksBuilder
Generador al que se va a agregar el proveedor.
- configure
- Action<ResourceUtilizationHealthCheckOptions>
Devolución de llamada de configuración.
- tags
- IEnumerable<String>
Una lista de etiquetas que se pueden usar para filtrar las comprobaciones de estado.
Devoluciones
El valor de builder
.
Excepciones
builder
, configure
o tags
es null
.
Se aplica a
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>, String[])
Registra un proveedor de comprobación de estado que supervisa el uso de recursos para evaluar el estado de la aplicación.
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
Parámetros
- builder
- IHealthChecksBuilder
Generador al que se va a agregar el proveedor.
- configure
- Action<ResourceUtilizationHealthCheckOptions>
Devolución de llamada de configuración.
- tags
- String[]
Una lista de etiquetas que se pueden usar para filtrar las comprobaciones de estado.
Devoluciones
El valor de builder
.
Excepciones
builder
, configure
o tags
es null
.