<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.Vpn
{
    /// <summary>
    /// Provides a resource to create a vpc vpn_customer_gateway_configuration_download
    /// 
    /// ## Example Usage
    /// 
    /// ```csharp
    /// using Pulumi;
    /// using Tencentcloud = TencentCloudIAC.PulumiPackage.Tencentcloud;
    /// 
    /// class MyStack : Stack
    /// {
    ///     public MyStack()
    ///     {
    ///         var vpnCustomerGatewayConfigurationDownload = new Tencentcloud.Vpn.CustomerGatewayConfigurationDownload("vpnCustomerGatewayConfigurationDownload", new Tencentcloud.Vpn.CustomerGatewayConfigurationDownloadArgs
    ///         {
    ///             CustomerGatewayVendor = new Tencentcloud.Vpn.Inputs.CustomerGatewayConfigurationDownloadCustomerGatewayVendorArgs
    ///             {
    ///                 Platform = "comware",
    ///                 SoftwareVersion = "V1.0",
    ///                 VendorName = "h3c",
    ///             },
    ///             InterfaceName = "test",
    ///             VpnConnectionId = "vpnx-kme2tx8m",
    ///             VpnGatewayId = "vpngw-gt8bianl",
    ///         });
    ///     }
    /// 
    /// }
    /// ```
    /// </summary>
    [TencentcloudResourceType("tencentcloud:Vpn/customerGatewayConfigurationDownload:CustomerGatewayConfigurationDownload")]
    public partial class CustomerGatewayConfigurationDownload : Pulumi.CustomResource
    {
        /// <summary>
        /// xml configuration.
        /// </summary>
        [Output("customerGatewayConfiguration")]
        public Output<string> CustomerGatewayConfiguration { get; private set; } = null!;

        /// <summary>
        /// Customer Gateway Vendor Info.
        /// </summary>
        [Output("customerGatewayVendor")]
        public Output<Outputs.CustomerGatewayConfigurationDownloadCustomerGatewayVendor> CustomerGatewayVendor { get; private set; } = null!;

        /// <summary>
        /// VPN connection access device physical interface name.
        /// </summary>
        [Output("interfaceName")]
        public Output<string> InterfaceName { get; private set; } = null!;

        /// <summary>
        /// VPN Connection Instance id.
        /// </summary>
        [Output("vpnConnectionId")]
        public Output<string> VpnConnectionId { get; private set; } = null!;

        /// <summary>
        /// VPN Gateway Instance ID.
        /// </summary>
        [Output("vpnGatewayId")]
        public Output<string> VpnGatewayId { get; private set; } = null!;


        /// <summary>
        /// Create a CustomerGatewayConfigurationDownload 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 CustomerGatewayConfigurationDownload(string name, CustomerGatewayConfigurationDownloadArgs args, CustomResourceOptions? options = null)
            : base("tencentcloud:Vpn/customerGatewayConfigurationDownload:CustomerGatewayConfigurationDownload", name, args ?? new CustomerGatewayConfigurationDownloadArgs(), MakeResourceOptions(options, ""))
        {
        }

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

    public sealed class CustomerGatewayConfigurationDownloadArgs : Pulumi.ResourceArgs
    {
        /// <summary>
        /// Customer Gateway Vendor Info.
        /// </summary>
        [Input("customerGatewayVendor", required: true)]
        public Input<Inputs.CustomerGatewayConfigurationDownloadCustomerGatewayVendorArgs> CustomerGatewayVendor { get; set; } = null!;

        /// <summary>
        /// VPN connection access device physical interface name.
        /// </summary>
        [Input("interfaceName", required: true)]
        public Input<string> InterfaceName { get; set; } = null!;

        /// <summary>
        /// VPN Connection Instance id.
        /// </summary>
        [Input("vpnConnectionId", required: true)]
        public Input<string> VpnConnectionId { get; set; } = null!;

        /// <summary>
        /// VPN Gateway Instance ID.
        /// </summary>
        [Input("vpnGatewayId", required: true)]
        public Input<string> VpnGatewayId { get; set; } = null!;

        public CustomerGatewayConfigurationDownloadArgs()
        {
        }
    }

    public sealed class CustomerGatewayConfigurationDownloadState : Pulumi.ResourceArgs
    {
        /// <summary>
        /// xml configuration.
        /// </summary>
        [Input("customerGatewayConfiguration")]
        public Input<string>? CustomerGatewayConfiguration { get; set; }

        /// <summary>
        /// Customer Gateway Vendor Info.
        /// </summary>
        [Input("customerGatewayVendor")]
        public Input<Inputs.CustomerGatewayConfigurationDownloadCustomerGatewayVendorGetArgs>? CustomerGatewayVendor { get; set; }

        /// <summary>
        /// VPN connection access device physical interface name.
        /// </summary>
        [Input("interfaceName")]
        public Input<string>? InterfaceName { get; set; }

        /// <summary>
        /// VPN Connection Instance id.
        /// </summary>
        [Input("vpnConnectionId")]
        public Input<string>? VpnConnectionId { get; set; }

        /// <summary>
        /// VPN Gateway Instance ID.
        /// </summary>
        [Input("vpnGatewayId")]
        public Input<string>? VpnGatewayId { get; set; }

        public CustomerGatewayConfigurationDownloadState()
        {
        }
    }
}
