<reponame>Dwonczykj/gember_deploy<filename>sdk/dotnet/Tencentcloud/Mps/AiRecognitionTemplate.cs// *** 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.Mps
{
    /// <summary>
    /// Provides a resource to create a mps ai_recognition_template
    /// 
    /// ## Example Usage
    /// 
    /// ```csharp
    /// using Pulumi;
    /// using Tencentcloud = TencentCloudIAC.PulumiPackage.Tencentcloud;
    /// 
    /// class MyStack : Stack
    /// {
    ///     public MyStack()
    ///     {
    ///         var aiRecognitionTemplate = new Tencentcloud.Mps.AiRecognitionTemplate("aiRecognitionTemplate", new Tencentcloud.Mps.AiRecognitionTemplateArgs
    ///         {
    ///             AsrFullTextConfigure = new Tencentcloud.Mps.Inputs.AiRecognitionTemplateAsrFullTextConfigureArgs
    ///             {
    ///                 Switch = "OFF",
    ///             },
    ///             AsrWordsConfigure = new Tencentcloud.Mps.Inputs.AiRecognitionTemplateAsrWordsConfigureArgs
    ///             {
    ///                 LabelSets = {},
    ///                 Switch = "OFF",
    ///             },
    ///             FaceConfigure = new Tencentcloud.Mps.Inputs.AiRecognitionTemplateFaceConfigureArgs
    ///             {
    ///                 DefaultLibraryLabelSets = 
    ///                 {
    ///                     "entertainment",
    ///                     "sport",
    ///                 },
    ///                 FaceLibrary = "All",
    ///                 Score = 85,
    ///                 Switch = "ON",
    ///                 UserDefineLibraryLabelSets = {},
    ///             },
    ///             OcrFullTextConfigure = new Tencentcloud.Mps.Inputs.AiRecognitionTemplateOcrFullTextConfigureArgs
    ///             {
    ///                 Switch = "OFF",
    ///             },
    ///             OcrWordsConfigure = new Tencentcloud.Mps.Inputs.AiRecognitionTemplateOcrWordsConfigureArgs
    ///             {
    ///                 LabelSets = {},
    ///                 Switch = "OFF",
    ///             },
    ///         });
    ///     }
    /// 
    /// }
    /// ```
    /// 
    /// ## Import
    /// 
    /// mps ai_recognition_template can be imported using the id, e.g.
    /// 
    /// ```sh
    ///  $ pulumi import tencentcloud:Mps/aiRecognitionTemplate:AiRecognitionTemplate ai_recognition_template ai_recognition_template_id
    /// ```
    /// </summary>
    [TencentcloudResourceType("tencentcloud:Mps/aiRecognitionTemplate:AiRecognitionTemplate")]
    public partial class AiRecognitionTemplate : Pulumi.CustomResource
    {
        /// <summary>
        /// Asr full text recognition control parameters.
        /// </summary>
        [Output("asrFullTextConfigure")]
        public Output<Outputs.AiRecognitionTemplateAsrFullTextConfigure?> AsrFullTextConfigure { get; private set; } = null!;

        /// <summary>
        /// Asr word recognition control parameters.
        /// </summary>
        [Output("asrWordsConfigure")]
        public Output<Outputs.AiRecognitionTemplateAsrWordsConfigure?> AsrWordsConfigure { get; private set; } = null!;

        /// <summary>
        /// Ai recognition template description information, length limit: 256 characters.
        /// </summary>
        [Output("comment")]
        public Output<string?> Comment { get; private set; } = null!;

        /// <summary>
        /// Face recognition control parameters.
        /// </summary>
        [Output("faceConfigure")]
        public Output<Outputs.AiRecognitionTemplateFaceConfigure?> FaceConfigure { get; private set; } = null!;

        /// <summary>
        /// Ai recognition template name, length limit: 64 characters.
        /// </summary>
        [Output("name")]
        public Output<string> Name { get; private set; } = null!;

        /// <summary>
        /// Ocr full text control parameters.
        /// </summary>
        [Output("ocrFullTextConfigure")]
        public Output<Outputs.AiRecognitionTemplateOcrFullTextConfigure?> OcrFullTextConfigure { get; private set; } = null!;

        /// <summary>
        /// Ocr words recognition control parameters.
        /// </summary>
        [Output("ocrWordsConfigure")]
        public Output<Outputs.AiRecognitionTemplateOcrWordsConfigure?> OcrWordsConfigure { get; private set; } = null!;


        /// <summary>
        /// Create a AiRecognitionTemplate 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 AiRecognitionTemplate(string name, AiRecognitionTemplateArgs? args = null, CustomResourceOptions? options = null)
            : base("tencentcloud:Mps/aiRecognitionTemplate:AiRecognitionTemplate", name, args ?? new AiRecognitionTemplateArgs(), MakeResourceOptions(options, ""))
        {
        }

        private AiRecognitionTemplate(string name, Input<string> id, AiRecognitionTemplateState? state = null, CustomResourceOptions? options = null)
            : base("tencentcloud:Mps/aiRecognitionTemplate:AiRecognitionTemplate", 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 AiRecognitionTemplate 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 AiRecognitionTemplate Get(string name, Input<string> id, AiRecognitionTemplateState? state = null, CustomResourceOptions? options = null)
        {
            return new AiRecognitionTemplate(name, id, state, options);
        }
    }

    public sealed class AiRecognitionTemplateArgs : Pulumi.ResourceArgs
    {
        /// <summary>
        /// Asr full text recognition control parameters.
        /// </summary>
        [Input("asrFullTextConfigure")]
        public Input<Inputs.AiRecognitionTemplateAsrFullTextConfigureArgs>? AsrFullTextConfigure { get; set; }

        /// <summary>
        /// Asr word recognition control parameters.
        /// </summary>
        [Input("asrWordsConfigure")]
        public Input<Inputs.AiRecognitionTemplateAsrWordsConfigureArgs>? AsrWordsConfigure { get; set; }

        /// <summary>
        /// Ai recognition template description information, length limit: 256 characters.
        /// </summary>
        [Input("comment")]
        public Input<string>? Comment { get; set; }

        /// <summary>
        /// Face recognition control parameters.
        /// </summary>
        [Input("faceConfigure")]
        public Input<Inputs.AiRecognitionTemplateFaceConfigureArgs>? FaceConfigure { get; set; }

        /// <summary>
        /// Ai recognition template name, length limit: 64 characters.
        /// </summary>
        [Input("name")]
        public Input<string>? Name { get; set; }

        /// <summary>
        /// Ocr full text control parameters.
        /// </summary>
        [Input("ocrFullTextConfigure")]
        public Input<Inputs.AiRecognitionTemplateOcrFullTextConfigureArgs>? OcrFullTextConfigure { get; set; }

        /// <summary>
        /// Ocr words recognition control parameters.
        /// </summary>
        [Input("ocrWordsConfigure")]
        public Input<Inputs.AiRecognitionTemplateOcrWordsConfigureArgs>? OcrWordsConfigure { get; set; }

        public AiRecognitionTemplateArgs()
        {
        }
    }

    public sealed class AiRecognitionTemplateState : Pulumi.ResourceArgs
    {
        /// <summary>
        /// Asr full text recognition control parameters.
        /// </summary>
        [Input("asrFullTextConfigure")]
        public Input<Inputs.AiRecognitionTemplateAsrFullTextConfigureGetArgs>? AsrFullTextConfigure { get; set; }

        /// <summary>
        /// Asr word recognition control parameters.
        /// </summary>
        [Input("asrWordsConfigure")]
        public Input<Inputs.AiRecognitionTemplateAsrWordsConfigureGetArgs>? AsrWordsConfigure { get; set; }

        /// <summary>
        /// Ai recognition template description information, length limit: 256 characters.
        /// </summary>
        [Input("comment")]
        public Input<string>? Comment { get; set; }

        /// <summary>
        /// Face recognition control parameters.
        /// </summary>
        [Input("faceConfigure")]
        public Input<Inputs.AiRecognitionTemplateFaceConfigureGetArgs>? FaceConfigure { get; set; }

        /// <summary>
        /// Ai recognition template name, length limit: 64 characters.
        /// </summary>
        [Input("name")]
        public Input<string>? Name { get; set; }

        /// <summary>
        /// Ocr full text control parameters.
        /// </summary>
        [Input("ocrFullTextConfigure")]
        public Input<Inputs.AiRecognitionTemplateOcrFullTextConfigureGetArgs>? OcrFullTextConfigure { get; set; }

        /// <summary>
        /// Ocr words recognition control parameters.
        /// </summary>
        [Input("ocrWordsConfigure")]
        public Input<Inputs.AiRecognitionTemplateOcrWordsConfigureGetArgs>? OcrWordsConfigure { get; set; }

        public AiRecognitionTemplateState()
        {
        }
    }
}
