<reponame>pulumiverse/pulumi-vra// *** 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 Pulumiverse.Vra.Deployment.Outputs
{

    [OutputType]
    public sealed class DeploymentLastRequest
    {
        /// <summary>
        /// Identifier of the requested action.
        /// </summary>
        public readonly string? ActionId;
        /// <summary>
        /// Time at which the request was approved.
        /// </summary>
        public readonly string? ApprovedAt;
        /// <summary>
        /// Identifier of the requested blueprint in the form ‘UUID:version’.
        /// </summary>
        public readonly string? BlueprintId;
        /// <summary>
        /// Indicates whether request can be canceled or not.
        /// </summary>
        public readonly bool? Cancelable;
        /// <summary>
        /// The id of the vRA catalog item to request the deployment. Conflicts with `blueprint_id` and `blueprint_content`.
        /// </summary>
        public readonly string? CatalogItemId;
        /// <summary>
        /// Time at which the request completed.
        /// </summary>
        public readonly string? CompletedAt;
        /// <summary>
        /// The number of tasks completed while fulfilling this request.
        /// </summary>
        public readonly int? CompletedTasks;
        /// <summary>
        /// Creation time (e.g. date format ‘2019-07-13T23:16:49.310Z’).
        /// </summary>
        public readonly string? CreatedAt;
        /// <summary>
        /// Longer user-friendly details of the request.
        /// </summary>
        public readonly string? Details;
        /// <summary>
        /// Indicates whether request is in dismissed state.
        /// </summary>
        public readonly bool? Dismissed;
        /// <summary>
        /// Unique identifier of the resource.
        /// </summary>
        public readonly string? Id;
        /// <summary>
        /// Time at which the request was initialized.
        /// </summary>
        public readonly string? InitializedAt;
        /// <summary>
        /// Inputs provided by the user. For inputs including those with default values, refer to `inputs_including_defaults`.
        /// </summary>
        public readonly ImmutableDictionary<string, string>? Inputs;
        /// <summary>
        /// A human-friendly name used as an identifier in APIs that support this option.
        /// </summary>
        public readonly string? Name;
        /// <summary>
        /// Request outputs.
        /// </summary>
        public readonly ImmutableDictionary<string, string>? Outputs;
        /// <summary>
        /// The user that initiated the request.
        /// </summary>
        public readonly string? RequestedBy;
        public readonly ImmutableArray<string> ResourceIds;
        /// <summary>
        /// Deployment status. Supported values are: `CREATE_SUCCESSFUL`, `CREATE_INPROGRESS`, `CREATE_FAILED`, `UPDATE_SUCCESSFUL`, `UPDATE_INPROGRESS`, `UPDATE_FAILED`, `DELETE_SUCCESSFUL`, `DELETE_INPROGRESS`, `DELETE_FAILED`, `ACTION_SUCCESSFUL`, `ACTION_INPROGRESS`, `ACTION_FAILED`.
        /// </summary>
        public readonly string? Status;
        public readonly int? TotalTasks;
        /// <summary>
        /// Last update time (e.g. date format ‘2019-07-13T23:16:49.310Z’).
        /// </summary>
        public readonly string? UpdatedAt;

        [OutputConstructor]
        private DeploymentLastRequest(
            string? actionId,

            string? approvedAt,

            string? blueprintId,

            bool? cancelable,

            string? catalogItemId,

            string? completedAt,

            int? completedTasks,

            string? createdAt,

            string? details,

            bool? dismissed,

            string? id,

            string? initializedAt,

            ImmutableDictionary<string, string>? inputs,

            string? name,

            ImmutableDictionary<string, string>? outputs,

            string? requestedBy,

            ImmutableArray<string> resourceIds,

            string? status,

            int? totalTasks,

            string? updatedAt)
        {
            ActionId = actionId;
            ApprovedAt = approvedAt;
            BlueprintId = blueprintId;
            Cancelable = cancelable;
            CatalogItemId = catalogItemId;
            CompletedAt = completedAt;
            CompletedTasks = completedTasks;
            CreatedAt = createdAt;
            Details = details;
            Dismissed = dismissed;
            Id = id;
            InitializedAt = initializedAt;
            Inputs = inputs;
            Name = name;
            Outputs = outputs;
            RequestedBy = requestedBy;
            ResourceIds = resourceIds;
            Status = status;
            TotalTasks = totalTasks;
            UpdatedAt = updatedAt;
        }
    }
}
