<filename>sdk/dotnet/Ots/Outputs/GetTunnelsTunnelResult.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;

namespace Pulumi.AliCloud.Ots.Outputs
{

    [OutputType]
    public sealed class GetTunnelsTunnelResult
    {
        /// <summary>
        /// The channels of OTS tunnel. Each element contains the following attributes:
        /// </summary>
        public readonly ImmutableArray<Outputs.GetTunnelsTunnelChannelResult> Channels;
        /// <summary>
        /// The creation time of the Tunnel.
        /// </summary>
        public readonly int CreateTime;
        /// <summary>
        /// Whether the tunnel has expired.
        /// </summary>
        public readonly bool Expired;
        /// <summary>
        /// The resource ID. The value is `&lt;instance_name&gt;:&lt;table_name&gt;:&lt;tunnel_name&gt;`.
        /// </summary>
        public readonly string Id;
        /// <summary>
        /// The name of OTS instance.
        /// </summary>
        public readonly string InstanceName;
        /// <summary>
        /// The name of OTS table.
        /// </summary>
        public readonly string TableName;
        /// <summary>
        /// The tunnel id of the OTS which could not be changed.
        /// </summary>
        public readonly string TunnelId;
        /// <summary>
        /// The tunnel name of the OTS which could not be changed.
        /// </summary>
        public readonly string TunnelName;
        /// <summary>
        /// The latest consumption time of the tunnel, unix time in nanosecond.
        /// </summary>
        public readonly int TunnelRpo;
        /// <summary>
        /// The stage of OTS tunnel, valid values: `InitBaseDataAndStreamShard`, `ProcessBaseData`, `ProcessStream`.
        /// </summary>
        public readonly string TunnelStage;
        /// <summary>
        /// The type of the OTS tunnel, valid values: `BaseAndStream`, `BaseData`, `Stream`.
        /// </summary>
        public readonly string TunnelType;

        [OutputConstructor]
        private GetTunnelsTunnelResult(
            ImmutableArray<Outputs.GetTunnelsTunnelChannelResult> channels,

            int createTime,

            bool expired,

            string id,

            string instanceName,

            string tableName,

            string tunnelId,

            string tunnelName,

            int tunnelRpo,

            string tunnelStage,

            string tunnelType)
        {
            Channels = channels;
            CreateTime = createTime;
            Expired = expired;
            Id = id;
            InstanceName = instanceName;
            TableName = tableName;
            TunnelId = tunnelId;
            TunnelName = tunnelName;
            TunnelRpo = tunnelRpo;
            TunnelStage = tunnelStage;
            TunnelType = tunnelType;
        }
    }
}
