<reponame>Dwonczykj/gember_deploy// *** 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.Tsf
{
    /// <summary>
    /// Provides a resource to create a tsf application_release_config
    /// 
    /// ## Example Usage
    /// 
    /// ```csharp
    /// using Pulumi;
    /// using Tencentcloud = TencentCloudIAC.PulumiPackage.Tencentcloud;
    /// 
    /// class MyStack : Stack
    /// {
    ///     public MyStack()
    ///     {
    ///         var applicationReleaseConfig = new Tencentcloud.Tsf.ApplicationReleaseConfig("applicationReleaseConfig", new Tencentcloud.Tsf.ApplicationReleaseConfigArgs
    ///         {
    ///             ConfigId = "dcfg-nalqbqwv",
    ///             GroupId = "group-yxmz72gv",
    ///             ReleaseDesc = "terraform-test",
    ///         });
    ///     }
    /// 
    /// }
    /// ```
    /// 
    /// ## Import
    /// 
    /// tsf application_release_config can be imported using the configId#groupId#configReleaseId, e.g.
    /// 
    /// ```sh
    ///  $ pulumi import tencentcloud:Tsf/applicationReleaseConfig:ApplicationReleaseConfig application_release_config dcfg-nalqbqwv#group-yxmz72gv#dcfgr-maeeq2ea
    /// ```
    /// </summary>
    [TencentcloudResourceType("tencentcloud:Tsf/applicationReleaseConfig:ApplicationReleaseConfig")]
    public partial class ApplicationReleaseConfig : Pulumi.CustomResource
    {
        /// <summary>
        /// Application ID.
        /// </summary>
        [Output("applicationId")]
        public Output<string> ApplicationId { get; private set; } = null!;

        /// <summary>
        /// cluster ID.
        /// </summary>
        [Output("clusterId")]
        public Output<string> ClusterId { get; private set; } = null!;

        /// <summary>
        /// cluster name.
        /// </summary>
        [Output("clusterName")]
        public Output<string> ClusterName { get; private set; } = null!;

        /// <summary>
        /// Configuration ID.
        /// </summary>
        [Output("configId")]
        public Output<string> ConfigId { get; private set; } = null!;

        /// <summary>
        /// configuration item name.
        /// </summary>
        [Output("configName")]
        public Output<string> ConfigName { get; private set; } = null!;

        /// <summary>
        /// configuration item release ID.
        /// </summary>
        [Output("configReleaseId")]
        public Output<string> ConfigReleaseId { get; private set; } = null!;

        /// <summary>
        /// configuration item version.
        /// </summary>
        [Output("configVersion")]
        public Output<string> ConfigVersion { get; private set; } = null!;

        /// <summary>
        /// deployment group ID.
        /// </summary>
        [Output("groupId")]
        public Output<string> GroupId { get; private set; } = null!;

        /// <summary>
        /// deployment group name.
        /// </summary>
        [Output("groupName")]
        public Output<string> GroupName { get; private set; } = null!;

        /// <summary>
        /// Namespace ID.
        /// </summary>
        [Output("namespaceId")]
        public Output<string> NamespaceId { get; private set; } = null!;

        /// <summary>
        /// namespace name.
        /// </summary>
        [Output("namespaceName")]
        public Output<string> NamespaceName { get; private set; } = null!;

        /// <summary>
        /// release description.
        /// </summary>
        [Output("releaseDesc")]
        public Output<string> ReleaseDesc { get; private set; } = null!;

        /// <summary>
        /// release time.
        /// </summary>
        [Output("releaseTime")]
        public Output<string> ReleaseTime { get; private set; } = null!;


        /// <summary>
        /// Create a ApplicationReleaseConfig 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 ApplicationReleaseConfig(string name, ApplicationReleaseConfigArgs args, CustomResourceOptions? options = null)
            : base("tencentcloud:Tsf/applicationReleaseConfig:ApplicationReleaseConfig", name, args ?? new ApplicationReleaseConfigArgs(), MakeResourceOptions(options, ""))
        {
        }

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

    public sealed class ApplicationReleaseConfigArgs : Pulumi.ResourceArgs
    {
        /// <summary>
        /// Configuration ID.
        /// </summary>
        [Input("configId", required: true)]
        public Input<string> ConfigId { get; set; } = null!;

        /// <summary>
        /// deployment group ID.
        /// </summary>
        [Input("groupId", required: true)]
        public Input<string> GroupId { get; set; } = null!;

        /// <summary>
        /// release description.
        /// </summary>
        [Input("releaseDesc")]
        public Input<string>? ReleaseDesc { get; set; }

        public ApplicationReleaseConfigArgs()
        {
        }
    }

    public sealed class ApplicationReleaseConfigState : Pulumi.ResourceArgs
    {
        /// <summary>
        /// Application ID.
        /// </summary>
        [Input("applicationId")]
        public Input<string>? ApplicationId { get; set; }

        /// <summary>
        /// cluster ID.
        /// </summary>
        [Input("clusterId")]
        public Input<string>? ClusterId { get; set; }

        /// <summary>
        /// cluster name.
        /// </summary>
        [Input("clusterName")]
        public Input<string>? ClusterName { get; set; }

        /// <summary>
        /// Configuration ID.
        /// </summary>
        [Input("configId")]
        public Input<string>? ConfigId { get; set; }

        /// <summary>
        /// configuration item name.
        /// </summary>
        [Input("configName")]
        public Input<string>? ConfigName { get; set; }

        /// <summary>
        /// configuration item release ID.
        /// </summary>
        [Input("configReleaseId")]
        public Input<string>? ConfigReleaseId { get; set; }

        /// <summary>
        /// configuration item version.
        /// </summary>
        [Input("configVersion")]
        public Input<string>? ConfigVersion { get; set; }

        /// <summary>
        /// deployment group ID.
        /// </summary>
        [Input("groupId")]
        public Input<string>? GroupId { get; set; }

        /// <summary>
        /// deployment group name.
        /// </summary>
        [Input("groupName")]
        public Input<string>? GroupName { get; set; }

        /// <summary>
        /// Namespace ID.
        /// </summary>
        [Input("namespaceId")]
        public Input<string>? NamespaceId { get; set; }

        /// <summary>
        /// namespace name.
        /// </summary>
        [Input("namespaceName")]
        public Input<string>? NamespaceName { get; set; }

        /// <summary>
        /// release description.
        /// </summary>
        [Input("releaseDesc")]
        public Input<string>? ReleaseDesc { get; set; }

        /// <summary>
        /// release time.
        /// </summary>
        [Input("releaseTime")]
        public Input<string>? ReleaseTime { get; set; }

        public ApplicationReleaseConfigState()
        {
        }
    }
}
