ResourceUtilizationHealthCheckExtensions.AddResourceUtilizationHealthCheck Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection) |
Registra um provedor de marcar de integridade que monitora a utilização de recursos para avaliar a integridade do aplicativo. |
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>) |
Registra um provedor de marcar de integridade que monitora a utilização de recursos para avaliar a integridade do aplicativo. |
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IEnumerable<String>) |
Registra um provedor de marcar de integridade que monitora a utilização de recursos para avaliar a integridade do aplicativo. |
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, String[]) |
Registra um provedor de marcar de integridade que monitora a utilização de recursos para avaliar a integridade do aplicativo. |
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, IEnumerable<String>) |
Registra um provedor de marcar de integridade que monitora a utilização de recursos para avaliar a integridade do aplicativo. |
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, String[]) |
Registra um provedor de marcar de integridade que monitora a utilização de recursos para avaliar a integridade do aplicativo. |
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>, IEnumerable<String>) |
Registra um provedor de marcar de integridade que monitora a utilização de recursos para avaliar a integridade do aplicativo. |
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>, String[]) |
Registra um provedor de marcar de integridade que monitora a utilização de recursos para avaliar a integridade do aplicativo. |
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection)
Registra um provedor de marcar de integridade que monitora a utilização de recursos para avaliar a integridade do aplicativo.
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
O construtor ao qual adicionar o provedor.
- section
- IConfigurationSection
Configuração para ResourceUtilizationHealthCheckOptions.
Retornos
O valor de builder
.
Exceções
builder
ou section
é null
.
Aplica-se a
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>)
Registra um provedor de marcar de integridade que monitora a utilização de recursos para avaliar a integridade do aplicativo.
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
O construtor ao qual adicionar o provedor.
- configure
- Action<ResourceUtilizationHealthCheckOptions>
Retorno de chamada de configuração.
Retornos
O valor de builder
.
Exceções
builder
ou configure
é null
.
Aplica-se a
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IEnumerable<String>)
Registra um provedor de marcar de integridade que monitora a utilização de recursos para avaliar a integridade do aplicativo.
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
O construtor ao qual adicionar o provedor.
- tags
- IEnumerable<String>
Uma lista de marcas que podem ser usadas para filtrar verificações de integridade.
Retornos
O valor de builder
.
Exceções
builder
é null
.
Aplica-se a
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, String[])
Registra um provedor de marcar de integridade que monitora a utilização de recursos para avaliar a integridade do aplicativo.
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
O construtor ao qual adicionar o provedor.
- tags
- String[]
Uma lista de marcas que podem ser usadas para filtrar verificações de integridade.
Retornos
O valor de builder
.
Exceções
builder
é null
.
Aplica-se a
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, IEnumerable<String>)
Registra um provedor de marcar de integridade que monitora a utilização de recursos para avaliar a integridade do aplicativo.
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
O construtor ao qual adicionar o provedor.
- section
- IConfigurationSection
Seção de configuração que contém uma instância do ResourceUtilizationHealthCheckOptions.
- tags
- IEnumerable<String>
Uma lista de marcas que podem ser usadas para filtrar verificações de integridade.
Retornos
O valor de builder
.
Exceções
builder
, section
ou tags
é null
.
Aplica-se a
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, String[])
Registra um provedor de marcar de integridade que monitora a utilização de recursos para avaliar a integridade do aplicativo.
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
O construtor ao qual adicionar o provedor.
- section
- IConfigurationSection
Seção de configuração que contém uma instância do ResourceUtilizationHealthCheckOptions.
- tags
- String[]
Uma lista de marcas que podem ser usadas para filtrar verificações de integridade.
Retornos
O valor de builder
.
Exceções
builder
, section
ou tags
é null
.
Aplica-se a
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>, IEnumerable<String>)
Registra um provedor de marcar de integridade que monitora a utilização de recursos para avaliar a integridade do aplicativo.
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
O construtor ao qual adicionar o provedor.
- configure
- Action<ResourceUtilizationHealthCheckOptions>
Retorno de chamada de configuração.
- tags
- IEnumerable<String>
Uma lista de marcas que podem ser usadas para filtrar verificações de integridade.
Retornos
O valor de builder
.
Exceções
builder
, configure
ou tags
é null
.
Aplica-se a
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>, String[])
Registra um provedor de marcar de integridade que monitora a utilização de recursos para avaliar a integridade do aplicativo.
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
O construtor ao qual adicionar o provedor.
- configure
- Action<ResourceUtilizationHealthCheckOptions>
Retorno de chamada de configuração.
- tags
- String[]
Uma lista de marcas que podem ser usadas para filtrar verificações de integridade.
Retornos
O valor de builder
.
Exceções
builder
, configure
ou tags
é null
.