<filename>sdk/dotnet/Tencentcloud/Mysql/Outputs/GetBinLogItemResult.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.Mysql.Outputs
{

    [OutputType]
    public sealed class GetBinLogItemResult
    {
        /// <summary>
        /// binlog file deadline.
        /// </summary>
        public readonly string BinlogFinishTime;
        /// <summary>
        /// Binlog file start time.
        /// </summary>
        public readonly string BinlogStartTime;
        /// <summary>
        /// Storage method, 0-regular storage, 1-archive storage, the default is 0.
        /// </summary>
        public readonly int CosStorageType;
        /// <summary>
        /// File storage time, time format: 2016-03-17 02:10:37.
        /// </summary>
        public readonly string Date;
        /// <summary>
        /// Instance ID, in the format: cdb-c1nl9rpv. Same instance ID as displayed in the ApsaraDB for Console page.
        /// </summary>
        public readonly string InstanceId;
        /// <summary>
        /// download link.
        /// </summary>
        public readonly string InternetUrl;
        /// <summary>
        /// download link.
        /// </summary>
        public readonly string IntranetUrl;
        /// <summary>
        /// binlog log backup file name.
        /// </summary>
        public readonly string Name;
        /// <summary>
        /// The region where remote backup is located.
        /// </summary>
        public readonly string Region;
        /// <summary>
        /// Binlog remote backup details.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetBinLogItemRemoteInfoResult> RemoteInfos;
        /// <summary>
        /// Backup file size, unit: Byte.
        /// </summary>
        public readonly int Size;
        /// <summary>
        /// Backup task status. Possible values are `SUCCESS`: backup succeeded, `FAILED`: backup failed, `RUNNING`: backup in progress.
        /// </summary>
        public readonly string Status;
        /// <summary>
        /// Specific log type, possible values are: binlog - binary log.
        /// </summary>
        public readonly string Type;

        [OutputConstructor]
        private GetBinLogItemResult(
            string binlogFinishTime,

            string binlogStartTime,

            int cosStorageType,

            string date,

            string instanceId,

            string internetUrl,

            string intranetUrl,

            string name,

            string region,

            ImmutableArray<Outputs.GetBinLogItemRemoteInfoResult> remoteInfos,

            int size,

            string status,

            string type)
        {
            BinlogFinishTime = binlogFinishTime;
            BinlogStartTime = binlogStartTime;
            CosStorageType = cosStorageType;
            Date = date;
            InstanceId = instanceId;
            InternetUrl = internetUrl;
            IntranetUrl = intranetUrl;
            Name = name;
            Region = region;
            RemoteInfos = remoteInfos;
            Size = size;
            Status = status;
            Type = type;
        }
    }
}
