Condividi tramite


KubernetesProbesExtensions.AddKubernetesProbes Metodo

Definizione

Overload

AddKubernetesProbes(IServiceCollection)

Registra il liveness, l'avvio e l'idoneità dei probe usando le opzioni predefinite.

AddKubernetesProbes(IServiceCollection, IConfigurationSection)

Registra i probe di livezza, avvio e idoneità usando le opzioni configurate.

AddKubernetesProbes(IServiceCollection, Action<KubernetesProbesOptions>)

Registra i probe di livezza, avvio e idoneità usando le opzioni configurate.

AddKubernetesProbes(IServiceCollection)

Origine:
KubernetesProbesExtensions.cs
Origine:
KubernetesProbesExtensions.cs

Registra il liveness, l'avvio e l'idoneità dei probe usando le opzioni predefinite.

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

Parametri

services
IServiceCollection

Contenitore di inserimento delle dipendenze a cui aggiungere il probe.

Restituisce

Valore di services.

Si applica a

AddKubernetesProbes(IServiceCollection, IConfigurationSection)

Origine:
KubernetesProbesExtensions.cs
Origine:
KubernetesProbesExtensions.cs

Registra i probe di livezza, avvio e idoneità usando le opzioni configurate.

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

Parametri

services
IServiceCollection

Contenitore di inserimento delle dipendenze a cui aggiungere il probe.

section
IConfigurationSection

Configurazione per KubernetesProbesOptions.

Restituisce

Valore di services.

Si applica a

AddKubernetesProbes(IServiceCollection, Action<KubernetesProbesOptions>)

Origine:
KubernetesProbesExtensions.cs
Origine:
KubernetesProbesExtensions.cs

Registra i probe di livezza, avvio e idoneità usando le opzioni configurate.

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

Parametri

services
IServiceCollection

Contenitore di inserimento delle dipendenze a cui aggiungere il probe.

configure
Action<KubernetesProbesOptions>

Configurare l'azione per KubernetesProbesOptions.

Restituisce

Valore di services.

Si applica a