// *** 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 zscaler.PulumiPackage.Zia.LocationManagement.Inputs
{

    public sealed class LocationManagementVpnCredentialArgs : global::Pulumi.ResourceArgs
    {
        [Input("comments")]
        public Input<string>? Comments { get; set; }

        [Input("fqdn")]
        public Input<string>? Fqdn { get; set; }

        /// <summary>
        /// VPN credential resource id. The value is required if `ip_addresses` are not defined.
        /// </summary>
        [Input("id")]
        public Input<int>? Id { get; set; }

        [Input("ipAddress")]
        public Input<string>? IpAddress { get; set; }

        [Input("preSharedKey")]
        private Input<string>? _preSharedKey;
        public Input<string>? PreSharedKey
        {
            get => _preSharedKey;
            set
            {
                var emptySecret = Output.CreateSecret(0);
                _preSharedKey = Output.Tuple<Input<string>?, int>(value, emptySecret).Apply(t => t.Item1);
            }
        }

        [Input("type")]
        public Input<string>? Type { get; set; }

        public LocationManagementVpnCredentialArgs()
        {
        }
        public static new LocationManagementVpnCredentialArgs Empty => new LocationManagementVpnCredentialArgs();
    }
}
