你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ContainerProbe 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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 设置