Class Probe

    • Constructor Detail

      • Probe

        public Probe()
      • Probe

        public Probe​(Probe source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getInitialDelaySeconds

        public Long getInitialDelaySeconds()
        Get 启动后,延迟探测时间 单位:秒 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        InitialDelaySeconds 启动后,延迟探测时间 单位:秒 注意:此字段可能返回 null,表示取不到有效值。
      • setInitialDelaySeconds

        public void setInitialDelaySeconds​(Long InitialDelaySeconds)
        Set 启动后,延迟探测时间 单位:秒 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        InitialDelaySeconds - 启动后,延迟探测时间 单位:秒 注意:此字段可能返回 null,表示取不到有效值。
      • getPeriodSeconds

        public Long getPeriodSeconds()
        Get 探测间隔,单位:秒 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        PeriodSeconds 探测间隔,单位:秒 注意:此字段可能返回 null,表示取不到有效值。
      • setPeriodSeconds

        public void setPeriodSeconds​(Long PeriodSeconds)
        Set 探测间隔,单位:秒 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        PeriodSeconds - 探测间隔,单位:秒 注意:此字段可能返回 null,表示取不到有效值。
      • getTimeoutSeconds

        public Long getTimeoutSeconds()
        Get 探测超时时间 单位:秒 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        TimeoutSeconds 探测超时时间 单位:秒 注意:此字段可能返回 null,表示取不到有效值。
      • setTimeoutSeconds

        public void setTimeoutSeconds​(Long TimeoutSeconds)
        Set 探测超时时间 单位:秒 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        TimeoutSeconds - 探测超时时间 单位:秒 注意:此字段可能返回 null,表示取不到有效值。
      • getSuccessThreshold

        public Long getSuccessThreshold()
        Get 失败后检查成功的最小连续成功次数。默认为1.活跃度必须为1。最小值为1 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        SuccessThreshold 失败后检查成功的最小连续成功次数。默认为1.活跃度必须为1。最小值为1 注意:此字段可能返回 null,表示取不到有效值。
      • setSuccessThreshold

        public void setSuccessThreshold​(Long SuccessThreshold)
        Set 失败后检查成功的最小连续成功次数。默认为1.活跃度必须为1。最小值为1 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        SuccessThreshold - 失败后检查成功的最小连续成功次数。默认为1.活跃度必须为1。最小值为1 注意:此字段可能返回 null,表示取不到有效值。
      • getFailureThreshold

        public Long getFailureThreshold()
        Get 当Pod成功启动且检查失败时,放弃之前尝试次数。默认为3.最小值为1 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        FailureThreshold 当Pod成功启动且检查失败时,放弃之前尝试次数。默认为3.最小值为1 注意:此字段可能返回 null,表示取不到有效值。
      • setFailureThreshold

        public void setFailureThreshold​(Long FailureThreshold)
        Set 当Pod成功启动且检查失败时,放弃之前尝试次数。默认为3.最小值为1 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        FailureThreshold - 当Pod成功启动且检查失败时,放弃之前尝试次数。默认为3.最小值为1 注意:此字段可能返回 null,表示取不到有效值。
      • getHttpProbe

        public HttpProbe getHttpProbe()
        Get HTTP探测配置 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        HttpProbe HTTP探测配置 注意:此字段可能返回 null,表示取不到有效值。
      • setHttpProbe

        public void setHttpProbe​(HttpProbe HttpProbe)
        Set HTTP探测配置 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        HttpProbe - HTTP探测配置 注意:此字段可能返回 null,表示取不到有效值。
      • getTcpProbe

        public TcpProbe getTcpProbe()
        Get TCP探测配置 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        TcpProbe TCP探测配置 注意:此字段可能返回 null,表示取不到有效值。
      • setTcpProbe

        public void setTcpProbe​(TcpProbe TcpProbe)
        Set TCP探测配置 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        TcpProbe - TCP探测配置 注意:此字段可能返回 null,表示取不到有效值。