Compartir a través de


KubernetesProbesExtensions.AddKubernetesProbes Método

Definición

Sobrecargas

AddKubernetesProbes(IServiceCollection)

Registra sondeos de ejecución, inicio y preparación mediante las opciones predeterminadas.

AddKubernetesProbes(IServiceCollection, IConfigurationSection)

Registra sondeos de ejecución, inicio y preparación mediante las opciones configuradas.

AddKubernetesProbes(IServiceCollection, Action<KubernetesProbesOptions>)

Registra sondeos de ejecución, inicio y preparación mediante las opciones configuradas.

AddKubernetesProbes(IServiceCollection)

Source:
KubernetesProbesExtensions.cs
Source:
KubernetesProbesExtensions.cs

Registra sondeos de ejecución, inicio y preparación mediante las opciones predeterminadas.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddKubernetesProbes(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddKubernetesProbes (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddKubernetesProbes : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddKubernetesProbes (services As IServiceCollection) As IServiceCollection

Parámetros

services
IServiceCollection

Contenedor de inserción de dependencias al que se va a agregar el sondeo.

Devoluciones

El valor de services.

Se aplica a

AddKubernetesProbes(IServiceCollection, IConfigurationSection)

Source:
KubernetesProbesExtensions.cs
Source:
KubernetesProbesExtensions.cs

Registra sondeos de ejecución, inicio y preparación mediante las opciones configuradas.

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

Parámetros

services
IServiceCollection

Contenedor de inserción de dependencias al que se va a agregar el sondeo.

section
IConfigurationSection

Configuración de KubernetesProbesOptions.

Devoluciones

El valor de services.

Se aplica a

AddKubernetesProbes(IServiceCollection, Action<KubernetesProbesOptions>)

Source:
KubernetesProbesExtensions.cs
Source:
KubernetesProbesExtensions.cs

Registra sondeos de ejecución, inicio y preparación mediante las opciones configuradas.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddKubernetesProbes(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Action<Microsoft::Extensions::Diagnostics::Probes::KubernetesProbesOptions ^> ^ configure);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddKubernetesProbes (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.Extensions.Diagnostics.Probes.KubernetesProbesOptions> configure);
static member AddKubernetesProbes : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.Extensions.Diagnostics.Probes.KubernetesProbesOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddKubernetesProbes (services As IServiceCollection, configure As Action(Of KubernetesProbesOptions)) As IServiceCollection

Parámetros

services
IServiceCollection

Contenedor de inserción de dependencias al que se va a agregar el sondeo.

configure
Action<KubernetesProbesOptions>

Configure la acción para KubernetesProbesOptions.

Devoluciones

El valor de services.

Se aplica a