// *** 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.Ci
{
    /// <summary>
    /// Provides a resource to create a ci media_video_process_template
    /// 
    /// ## Example Usage
    /// 
    /// ```csharp
    /// using Pulumi;
    /// using Tencentcloud = TencentCloudIAC.PulumiPackage.Tencentcloud;
    /// 
    /// class MyStack : Stack
    /// {
    ///     public MyStack()
    ///     {
    ///         var mediaVideoProcessTemplate = new Tencentcloud.Ci.MediaVideoProcessTemplate("mediaVideoProcessTemplate", new Tencentcloud.Ci.MediaVideoProcessTemplateArgs
    ///         {
    ///             Bucket = "terraform-ci-xxxxxx",
    ///             ColorEnhance = new Tencentcloud.Ci.Inputs.MediaVideoProcessTemplateColorEnhanceArgs
    ///             {
    ///                 Contrast = "",
    ///                 Correction = "",
    ///                 Enable = "true",
    ///                 Saturation = "",
    ///             },
    ///             MsSharpen = new Tencentcloud.Ci.Inputs.MediaVideoProcessTemplateMsSharpenArgs
    ///             {
    ///                 Enable = "false",
    ///                 SharpenLevel = "",
    ///             },
    ///         });
    ///     }
    /// 
    /// }
    /// ```
    /// 
    /// ## Import
    /// 
    /// ci media_video_process_template can be imported using the bucket#templateId, e.g.
    /// 
    /// ```sh
    ///  $ pulumi import tencentcloud:Ci/mediaVideoProcessTemplate:MediaVideoProcessTemplate media_video_process_template terraform-ci-xxxxxx#t1d5694d87639a4593a9fd7e9025d26f52
    /// ```
    /// </summary>
    [TencentcloudResourceType("tencentcloud:Ci/mediaVideoProcessTemplate:MediaVideoProcessTemplate")]
    public partial class MediaVideoProcessTemplate : Pulumi.CustomResource
    {
        /// <summary>
        /// bucket name.
        /// </summary>
        [Output("bucket")]
        public Output<string> Bucket { get; private set; } = null!;

        /// <summary>
        /// color enhancement.
        /// </summary>
        [Output("colorEnhance")]
        public Output<Outputs.MediaVideoProcessTemplateColorEnhance?> ColorEnhance { get; private set; } = null!;

        /// <summary>
        /// detail enhancement, ColorEnhance and MsSharpen cannot both be empty.
        /// </summary>
        [Output("msSharpen")]
        public Output<Outputs.MediaVideoProcessTemplateMsSharpen?> MsSharpen { get; private set; } = null!;

        /// <summary>
        /// The template name only supports `Chinese`, `English`, `numbers`, `_`, `-` and `*`.
        /// </summary>
        [Output("name")]
        public Output<string> Name { get; private set; } = null!;


        /// <summary>
        /// Create a MediaVideoProcessTemplate resource with the given unique name, arguments, and options.
        /// </summary>
        ///
        /// <param name="name">The unique name of the resource</param>
        /// <param name="args">The arguments used to populate this resource's properties</param>
        /// <param name="options">A bag of options that control this resource's behavior</param>
        public MediaVideoProcessTemplate(string name, MediaVideoProcessTemplateArgs args, CustomResourceOptions? options = null)
            : base("tencentcloud:Ci/mediaVideoProcessTemplate:MediaVideoProcessTemplate", name, args ?? new MediaVideoProcessTemplateArgs(), MakeResourceOptions(options, ""))
        {
        }

        private MediaVideoProcessTemplate(string name, Input<string> id, MediaVideoProcessTemplateState? state = null, CustomResourceOptions? options = null)
            : base("tencentcloud:Ci/mediaVideoProcessTemplate:MediaVideoProcessTemplate", name, state, MakeResourceOptions(options, id))
        {
        }

        private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id)
        {
            var defaultOptions = new CustomResourceOptions
            {
                Version = Utilities.Version,
                PluginDownloadURL = "github://api.github.com/tencentcloudstack",
            };
            var merged = CustomResourceOptions.Merge(defaultOptions, options);
            // Override the ID if one was specified for consistency with other language SDKs.
            merged.Id = id ?? merged.Id;
            return merged;
        }
        /// <summary>
        /// Get an existing MediaVideoProcessTemplate resource's state with the given name, ID, and optional extra
        /// properties used to qualify the lookup.
        /// </summary>
        ///
        /// <param name="name">The unique name of the resulting resource.</param>
        /// <param name="id">The unique provider ID of the resource to lookup.</param>
        /// <param name="state">Any extra arguments used during the lookup.</param>
        /// <param name="options">A bag of options that control this resource's behavior</param>
        public static MediaVideoProcessTemplate Get(string name, Input<string> id, MediaVideoProcessTemplateState? state = null, CustomResourceOptions? options = null)
        {
            return new MediaVideoProcessTemplate(name, id, state, options);
        }
    }

    public sealed class MediaVideoProcessTemplateArgs : Pulumi.ResourceArgs
    {
        /// <summary>
        /// bucket name.
        /// </summary>
        [Input("bucket", required: true)]
        public Input<string> Bucket { get; set; } = null!;

        /// <summary>
        /// color enhancement.
        /// </summary>
        [Input("colorEnhance")]
        public Input<Inputs.MediaVideoProcessTemplateColorEnhanceArgs>? ColorEnhance { get; set; }

        /// <summary>
        /// detail enhancement, ColorEnhance and MsSharpen cannot both be empty.
        /// </summary>
        [Input("msSharpen")]
        public Input<Inputs.MediaVideoProcessTemplateMsSharpenArgs>? MsSharpen { get; set; }

        /// <summary>
        /// The template name only supports `Chinese`, `English`, `numbers`, `_`, `-` and `*`.
        /// </summary>
        [Input("name")]
        public Input<string>? Name { get; set; }

        public MediaVideoProcessTemplateArgs()
        {
        }
    }

    public sealed class MediaVideoProcessTemplateState : Pulumi.ResourceArgs
    {
        /// <summary>
        /// bucket name.
        /// </summary>
        [Input("bucket")]
        public Input<string>? Bucket { get; set; }

        /// <summary>
        /// color enhancement.
        /// </summary>
        [Input("colorEnhance")]
        public Input<Inputs.MediaVideoProcessTemplateColorEnhanceGetArgs>? ColorEnhance { get; set; }

        /// <summary>
        /// detail enhancement, ColorEnhance and MsSharpen cannot both be empty.
        /// </summary>
        [Input("msSharpen")]
        public Input<Inputs.MediaVideoProcessTemplateMsSharpenGetArgs>? MsSharpen { get; set; }

        /// <summary>
        /// The template name only supports `Chinese`, `English`, `numbers`, `_`, `-` and `*`.
        /// </summary>
        [Input("name")]
        public Input<string>? Name { get; set; }

        public MediaVideoProcessTemplateState()
        {
        }
    }
}
