你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ContainerProbe 构造函数

定义

重载

ContainerProbe()

初始化 ContainerProbe 类的新实例。

ContainerProbe(ContainerExec, ContainerHttpGet, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

初始化 ContainerProbe 类的新实例。

ContainerProbe()

初始化 ContainerProbe 类的新实例。

public ContainerProbe ();
Public Sub New ()

适用于

ContainerProbe(ContainerExec, ContainerHttpGet, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

初始化 ContainerProbe 类的新实例。

public ContainerProbe (Microsoft.Azure.Management.ContainerInstance.Models.ContainerExec exec = default, Microsoft.Azure.Management.ContainerInstance.Models.ContainerHttpGet httpGet = default, int? initialDelaySeconds = default, int? periodSeconds = default, int? failureThreshold = default, int? successThreshold = default, int? timeoutSeconds = default);
new Microsoft.Azure.Management.ContainerInstance.Models.ContainerProbe : Microsoft.Azure.Management.ContainerInstance.Models.ContainerExec * Microsoft.Azure.Management.ContainerInstance.Models.ContainerHttpGet * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.ContainerInstance.Models.ContainerProbe
Public Sub New (Optional exec As ContainerExec = Nothing, Optional httpGet As ContainerHttpGet = Nothing, Optional initialDelaySeconds As Nullable(Of Integer) = Nothing, Optional periodSeconds As Nullable(Of Integer) = Nothing, Optional failureThreshold As Nullable(Of Integer) = Nothing, Optional successThreshold As Nullable(Of Integer) = Nothing, Optional timeoutSeconds As Nullable(Of Integer) = Nothing)

参数

exec
ContainerExec

要探测的执行命令

httpGet
ContainerHttpGet

要探测的 Http Get 设置

initialDelaySeconds
Nullable<Int32>

初始延迟秒数。

periodSeconds
Nullable<Int32>

时间段秒数。

failureThreshold
Nullable<Int32>

失败阈值。

successThreshold
Nullable<Int32>

成功阈值。

timeoutSeconds
Nullable<Int32>

超时秒数。

适用于