// *** 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.Inputs
{

    public sealed class DeploymentLastRequestArgs : global::Pulumi.ResourceArgs
    {
        /// <summary>
        /// Identifier of the requested action.
        /// </summary>
        [Input("actionId")]
        public Input<string>? ActionId { get; set; }

        /// <summary>
        /// Time at which the request was approved.
        /// </summary>
        [Input("approvedAt")]
        public Input<string>? ApprovedAt { get; set; }

        /// <summary>
        /// Identifier of the requested blueprint in the form ‘UUID:version’.
        /// </summary>
        [Input("blueprintId")]
        public Input<string>? BlueprintId { get; set; }

        /// <summary>
        /// Indicates whether request can be canceled or not.
        /// </summary>
        [Input("cancelable")]
        public Input<bool>? Cancelable { get; set; }

        /// <summary>
        /// The id of the vRA catalog item to request the deployment. Conflicts with `blueprint_id` and `blueprint_content`.
        /// </summary>
        [Input("catalogItemId")]
        public Input<string>? CatalogItemId { get; set; }

        /// <summary>
        /// Time at which the request completed.
        /// </summary>
        [Input("completedAt")]
        public Input<string>? CompletedAt { get; set; }

        /// <summary>
        /// The number of tasks completed while fulfilling this request.
        /// </summary>
        [Input("completedTasks")]
        public Input<int>? CompletedTasks { get; set; }

        /// <summary>
        /// Creation time (e.g. date format ‘2019-07-13T23:16:49.310Z’).
        /// </summary>
        [Input("createdAt")]
        public Input<string>? CreatedAt { get; set; }

        /// <summary>
        /// Longer user-friendly details of the request.
        /// </summary>
        [Input("details")]
        public Input<string>? Details { get; set; }

        /// <summary>
        /// Indicates whether request is in dismissed state.
        /// </summary>
        [Input("dismissed")]
        public Input<bool>? Dismissed { get; set; }

        /// <summary>
        /// Unique identifier of the resource.
        /// </summary>
        [Input("id")]
        public Input<string>? Id { get; set; }

        /// <summary>
        /// Time at which the request was initialized.
        /// </summary>
        [Input("initializedAt")]
        public Input<string>? InitializedAt { get; set; }

        [Input("inputs")]
        private InputMap<string>? _inputs;

        /// <summary>
        /// Inputs provided by the user. For inputs including those with default values, refer to `inputs_including_defaults`.
        /// </summary>
        public InputMap<string> Inputs
        {
            get => _inputs ?? (_inputs = new InputMap<string>());
            set => _inputs = value;
        }

        /// <summary>
        /// A human-friendly name used as an identifier in APIs that support this option.
        /// </summary>
        [Input("name")]
        public Input<string>? Name { get; set; }

        [Input("outputs")]
        private InputMap<string>? _outputs;

        /// <summary>
        /// Request outputs.
        /// </summary>
        public InputMap<string> Outputs
        {
            get => _outputs ?? (_outputs = new InputMap<string>());
            set => _outputs = value;
        }

        /// <summary>
        /// The user that initiated the request.
        /// </summary>
        [Input("requestedBy")]
        public Input<string>? RequestedBy { get; set; }

        [Input("resourceIds")]
        private InputList<string>? _resourceIds;
        public InputList<string> ResourceIds
        {
            get => _resourceIds ?? (_resourceIds = new InputList<string>());
            set => _resourceIds = value;
        }

        /// <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>
        [Input("status")]
        public Input<string>? Status { get; set; }

        [Input("totalTasks")]
        public Input<int>? TotalTasks { get; set; }

        /// <summary>
        /// Last update time (e.g. date format ‘2019-07-13T23:16:49.310Z’).
        /// </summary>
        [Input("updatedAt")]
        public Input<string>? UpdatedAt { get; set; }

        public DeploymentLastRequestArgs()
        {
        }
        public static new DeploymentLastRequestArgs Empty => new DeploymentLastRequestArgs();
    }
}
