<filename>sdk/dotnet/Tencentcloud/Tsf/Outputs/ContainGroupHealthCheckSettingLivenessProbe.cs// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
using Pulumi;

namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Tsf.Outputs
{

    [OutputType]
    public sealed class ContainGroupHealthCheckSettingLivenessProbe
    {
        /// <summary>
        /// health check method. HTTP: check by HTTP interface; CMD: check by executing command; TCP: check by establishing TCP connection.
        /// </summary>
        public readonly string? ActionType;
        /// <summary>
        /// Execute command check mode, the command to execute.
        /// </summary>
        public readonly ImmutableArray<string> Commands;
        /// <summary>
        /// Indicates the number of consecutive health check successes for the backend container from success to failure.
        /// </summary>
        public readonly int? FailureThreshold;
        /// <summary>
        /// The time for the container to delay starting the health check.
        /// </summary>
        public readonly int? InitialDelaySeconds;
        /// <summary>
        /// The request path of the HTTP health check interface.
        /// </summary>
        public readonly string? Path;
        /// <summary>
        /// The interval at which health checks are performed.
        /// </summary>
        public readonly int? PeriodSeconds;
        /// <summary>
        /// service port.
        /// </summary>
        public readonly int? Port;
        /// <summary>
        /// The inspection protocol used by the HTTP health check method. HTTP and HTTPS are supported.
        /// </summary>
        public readonly string? Scheme;
        /// <summary>
        /// Indicates the number of consecutive health check successes for the backend container from failure to success.
        /// </summary>
        public readonly int? SuccessThreshold;
        /// <summary>
        /// The maximum timeout for each health check response.
        /// </summary>
        public readonly int? TimeoutSeconds;
        /// <summary>
        /// TSF_DEFAULT: tsf default readiness probe. K8S_NATIVE: k8s native probe. If not filled, it defaults to k8s native probe.
        /// </summary>
        public readonly string? Type;

        [OutputConstructor]
        private ContainGroupHealthCheckSettingLivenessProbe(
            string? actionType,

            ImmutableArray<string> commands,

            int? failureThreshold,

            int? initialDelaySeconds,

            string? path,

            int? periodSeconds,

            int? port,

            string? scheme,

            int? successThreshold,

            int? timeoutSeconds,

            string? type)
        {
            ActionType = actionType;
            Commands = commands;
            FailureThreshold = failureThreshold;
            InitialDelaySeconds = initialDelaySeconds;
            Path = path;
            PeriodSeconds = periodSeconds;
            Port = port;
            Scheme = scheme;
            SuccessThreshold = successThreshold;
            TimeoutSeconds = timeoutSeconds;
            Type = type;
        }
    }
}
