// *** 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 GetCloneListItemResult
    {
        /// <summary>
        /// Id of the task list corresponding to the clone task.
        /// </summary>
        public readonly int CloneJobId;
        /// <summary>
        /// The newly spawned instance Id of the clone task.
        /// </summary>
        public readonly string DstInstanceId;
        /// <summary>
        /// Task end time.
        /// </summary>
        public readonly string EndTime;
        /// <summary>
        /// Id of the region where the cloned instance is located.
        /// </summary>
        public readonly int NewRegionId;
        /// <summary>
        /// The strategy used by the clone instance includes the following types: timepoint: specify the point-in-time rollback, backupset: specify the backup file rollback.
        /// </summary>
        public readonly string RollbackStrategy;
        /// <summary>
        /// The time point when the clone instance is rolled back.
        /// </summary>
        public readonly string RollbackTargetTime;
        /// <summary>
        /// The source instance Id of the clone task.
        /// </summary>
        public readonly string SrcInstanceId;
        /// <summary>
        /// Id of the region where the source instance is located.
        /// </summary>
        public readonly int SrcRegionId;
        /// <summary>
        /// Task start time.
        /// </summary>
        public readonly string StartTime;
        /// <summary>
        /// Task status, including the following status: initial, running, wait_complete, success, failed.
        /// </summary>
        public readonly string TaskStatus;

        [OutputConstructor]
        private GetCloneListItemResult(
            int cloneJobId,

            string dstInstanceId,

            string endTime,

            int newRegionId,

            string rollbackStrategy,

            string rollbackTargetTime,

            string srcInstanceId,

            int srcRegionId,

            string startTime,

            string taskStatus)
        {
            CloneJobId = cloneJobId;
            DstInstanceId = dstInstanceId;
            EndTime = endTime;
            NewRegionId = newRegionId;
            RollbackStrategy = rollbackStrategy;
            RollbackTargetTime = rollbackTargetTime;
            SrcInstanceId = srcInstanceId;
            SrcRegionId = srcRegionId;
            StartTime = startTime;
            TaskStatus = taskStatus;
        }
    }
}
