<filename>sdk/dotnet/Vpn/Outputs/IpsecServerIpsecConfig.cs<gh_stars>0// *** 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;

namespace Pulumi.AliCloud.Vpn.Outputs
{

    [OutputType]
    public sealed class IpsecServerIpsecConfig
    {
        /// <summary>
        /// The authentication algorithm that is used in Phase 2 negotiations. Default value: `sha1`.
        /// </summary>
        public readonly string? IpsecAuthAlg;
        /// <summary>
        /// The encryption algorithm that is used in Phase 2 negotiations. Default value: `aes`.
        /// </summary>
        public readonly string? IpsecEncAlg;
        /// <summary>
        /// The SA lifetime determined by Phase 2 negotiations. Valid values: `0` to `86400`. Default value: `86400`. Unit: `seconds`.
        /// </summary>
        public readonly int? IpsecLifetime;
        /// <summary>
        /// Forwards packets of all protocols. The Diffie-Hellman key exchange algorithm used in Phase 2 negotiations. Default value: `group2`.
        /// </summary>
        public readonly string? IpsecPfs;

        [OutputConstructor]
        private IpsecServerIpsecConfig(
            string? ipsecAuthAlg,

            string? ipsecEncAlg,

            int? ipsecLifetime,

            string? ipsecPfs)
        {
            IpsecAuthAlg = ipsecAuthAlg;
            IpsecEncAlg = ipsecEncAlg;
            IpsecLifetime = ipsecLifetime;
            IpsecPfs = ipsecPfs;
        }
    }
}
