<filename>sdk/dotnet/ActionTrail/Outputs/GetHistoryDeliveryJobsJobResult.cs<gh_stars>0// *** 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.ActionTrail.Outputs
{

    [OutputType]
    public sealed class GetHistoryDeliveryJobsJobResult
    {
        /// <summary>
        /// The time when the task was created.
        /// </summary>
        public readonly string CreateTime;
        /// <summary>
        /// The time when the task ended.
        /// </summary>
        public readonly string EndTime;
        public readonly string HistoryDeliveryJobId;
        /// <summary>
        /// The home region of the trail.
        /// </summary>
        public readonly string HomeRegion;
        /// <summary>
        /// The ID of the History Delivery Job.
        /// </summary>
        public readonly string Id;
        /// <summary>
        /// Detail status of delivery job.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetHistoryDeliveryJobsJobJobStatusResult> JobStatuses;
        /// <summary>
        /// The time when the task started.
        /// </summary>
        public readonly string StartTime;
        /// <summary>
        /// The status of the task. Valid values: `0`, `1`, `2`, `3`. `0`: The task is initializing. `1`: The task is delivering historical events. `2`: The delivery of historical events is complete. `3`: The task fails.
        /// </summary>
        public readonly int Status;
        /// <summary>
        /// The name of the trail.
        /// </summary>
        public readonly string TrailName;
        /// <summary>
        /// The time when the task was updated.
        /// </summary>
        public readonly string UpdatedTime;

        [OutputConstructor]
        private GetHistoryDeliveryJobsJobResult(
            string createTime,

            string endTime,

            string historyDeliveryJobId,

            string homeRegion,

            string id,

            ImmutableArray<Outputs.GetHistoryDeliveryJobsJobJobStatusResult> jobStatuses,

            string startTime,

            int status,

            string trailName,

            string updatedTime)
        {
            CreateTime = createTime;
            EndTime = endTime;
            HistoryDeliveryJobId = historyDeliveryJobId;
            HomeRegion = homeRegion;
            Id = id;
            JobStatuses = jobStatuses;
            StartTime = startTime;
            Status = status;
            TrailName = trailName;
            UpdatedTime = updatedTime;
        }
    }
}
