<filename>sdk/dotnet/Tencentcloud/Ci/MediaSmartCoverTemplate.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.Ci
{
    /// <summary>
    /// Provides a resource to create a ci media_smart_cover_template
    /// 
    /// ## Example Usage
    /// 
    /// ```csharp
    /// using Pulumi;
    /// using Tencentcloud = TencentCloudIAC.PulumiPackage.Tencentcloud;
    /// 
    /// class MyStack : Stack
    /// {
    ///     public MyStack()
    ///     {
    ///         var mediaSmartCoverTemplate = new Tencentcloud.Ci.MediaSmartCoverTemplate("mediaSmartCoverTemplate", new Tencentcloud.Ci.MediaSmartCoverTemplateArgs
    ///         {
    ///             Bucket = "terraform-ci-xxxxxx",
    ///             SmartCover = new Tencentcloud.Ci.Inputs.MediaSmartCoverTemplateSmartCoverArgs
    ///             {
    ///                 Count = "10",
    ///                 DeleteDuplicates = "true",
    ///                 Format = "jpg",
    ///                 Height = "960",
    ///                 Width = "1280",
    ///             },
    ///         });
    ///     }
    /// 
    /// }
    /// ```
    /// 
    /// ## Import
    /// 
    /// ci media_smart_cover_template can be imported using the bucket#templateId, e.g.
    /// 
    /// ```sh
    ///  $ pulumi import tencentcloud:Ci/mediaSmartCoverTemplate:MediaSmartCoverTemplate media_smart_cover_template terraform-ci-xxxxxx#t1ede83acc305e423799d638044d859fb7
    /// ```
    /// </summary>
    [TencentcloudResourceType("tencentcloud:Ci/mediaSmartCoverTemplate:MediaSmartCoverTemplate")]
    public partial class MediaSmartCoverTemplate : Pulumi.CustomResource
    {
        /// <summary>
        /// bucket name.
        /// </summary>
        [Output("bucket")]
        public Output<string> Bucket { 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>
        /// Smart Cover Parameters.
        /// </summary>
        [Output("smartCover")]
        public Output<Outputs.MediaSmartCoverTemplateSmartCover> SmartCover { get; private set; } = null!;


        /// <summary>
        /// Create a MediaSmartCoverTemplate 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 MediaSmartCoverTemplate(string name, MediaSmartCoverTemplateArgs args, CustomResourceOptions? options = null)
            : base("tencentcloud:Ci/mediaSmartCoverTemplate:MediaSmartCoverTemplate", name, args ?? new MediaSmartCoverTemplateArgs(), MakeResourceOptions(options, ""))
        {
        }

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

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

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

        /// <summary>
        /// Smart Cover Parameters.
        /// </summary>
        [Input("smartCover", required: true)]
        public Input<Inputs.MediaSmartCoverTemplateSmartCoverArgs> SmartCover { get; set; } = null!;

        public MediaSmartCoverTemplateArgs()
        {
        }
    }

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

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

        /// <summary>
        /// Smart Cover Parameters.
        /// </summary>
        [Input("smartCover")]
        public Input<Inputs.MediaSmartCoverTemplateSmartCoverGetArgs>? SmartCover { get; set; }

        public MediaSmartCoverTemplateState()
        {
        }
    }
}
