<reponame>Dwonczykj/gember_deploy// *** 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.Tem.Outputs
{

    [OutputType]
    public sealed class WorkloadLiveness
    {
        /// <summary>
        /// script.
        /// </summary>
        public readonly string? Exec;
        /// <summary>
        /// initial delay seconds for liveness check.
        /// </summary>
        public readonly int? InitialDelaySeconds;
        /// <summary>
        /// path.
        /// </summary>
        public readonly string? Path;
        /// <summary>
        /// period seconds for liveness check.
        /// </summary>
        public readonly int? PeriodSeconds;
        /// <summary>
        /// liveness check port.
        /// </summary>
        public readonly int? Port;
        /// <summary>
        /// protocol.
        /// </summary>
        public readonly string? Protocol;
        /// <summary>
        /// timeout seconds for liveness check.
        /// </summary>
        public readonly int? TimeoutSeconds;
        /// <summary>
        /// check type, support HttpGet, TcpSocket and Exec.
        /// </summary>
        public readonly string Type;

        [OutputConstructor]
        private WorkloadLiveness(
            string? exec,

            int? initialDelaySeconds,

            string? path,

            int? periodSeconds,

            int? port,

            string? protocol,

            int? timeoutSeconds,

            string type)
        {
            Exec = exec;
            InitialDelaySeconds = initialDelaySeconds;
            Path = path;
            PeriodSeconds = periodSeconds;
            Port = port;
            Protocol = protocol;
            TimeoutSeconds = timeoutSeconds;
            Type = type;
        }
    }
}
