共用方式為


KubernetesProbesExtensions.AddKubernetesProbes 方法

定義

多載

AddKubernetesProbes(IServiceCollection)

使用預設選項註冊即時、啟動和整備探查。

AddKubernetesProbes(IServiceCollection, IConfigurationSection)

使用已設定的選項註冊即時性、啟動和整備探查。

AddKubernetesProbes(IServiceCollection, Action<KubernetesProbesOptions>)

使用已設定的選項註冊即時性、啟動和整備探查。

AddKubernetesProbes(IServiceCollection)

來源:
KubernetesProbesExtensions.cs
來源:
KubernetesProbesExtensions.cs

使用預設選項註冊即時、啟動和整備探查。

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

參數

services
IServiceCollection

要加入探查的相依性插入容器。

傳回

services 的值。

適用於

AddKubernetesProbes(IServiceCollection, IConfigurationSection)

來源:
KubernetesProbesExtensions.cs
來源:
KubernetesProbesExtensions.cs

使用已設定的選項註冊即時性、啟動和整備探查。

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

參數

services
IServiceCollection

要加入探查的相依性插入容器。

傳回

services 的值。

適用於

AddKubernetesProbes(IServiceCollection, Action<KubernetesProbesOptions>)

來源:
KubernetesProbesExtensions.cs
來源:
KubernetesProbesExtensions.cs

使用已設定的選項註冊即時性、啟動和整備探查。

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

參數

services
IServiceCollection

要加入探查的相依性插入容器。

傳回

services 的值。

適用於