// *** 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 TwingateLabs.Twingate
{
    public static class GetTwingateSecurityPolicies
    {
        public static Task<GetTwingateSecurityPoliciesResult> InvokeAsync(GetTwingateSecurityPoliciesArgs? args = null, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.InvokeAsync<GetTwingateSecurityPoliciesResult>("twingate:index/getTwingateSecurityPolicies:getTwingateSecurityPolicies", args ?? new GetTwingateSecurityPoliciesArgs(), options.WithDefaults());

        public static Output<GetTwingateSecurityPoliciesResult> Invoke(GetTwingateSecurityPoliciesInvokeArgs? args = null, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.Invoke<GetTwingateSecurityPoliciesResult>("twingate:index/getTwingateSecurityPolicies:getTwingateSecurityPolicies", args ?? new GetTwingateSecurityPoliciesInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetTwingateSecurityPoliciesArgs : global::Pulumi.InvokeArgs
    {
        [Input("securityPolicies")]
        private List<Inputs.GetTwingateSecurityPoliciesSecurityPolicyArgs>? _securityPolicies;
        public List<Inputs.GetTwingateSecurityPoliciesSecurityPolicyArgs> SecurityPolicies
        {
            get => _securityPolicies ?? (_securityPolicies = new List<Inputs.GetTwingateSecurityPoliciesSecurityPolicyArgs>());
            set => _securityPolicies = value;
        }

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

    public sealed class GetTwingateSecurityPoliciesInvokeArgs : global::Pulumi.InvokeArgs
    {
        [Input("securityPolicies")]
        private InputList<Inputs.GetTwingateSecurityPoliciesSecurityPolicyInputArgs>? _securityPolicies;
        public InputList<Inputs.GetTwingateSecurityPoliciesSecurityPolicyInputArgs> SecurityPolicies
        {
            get => _securityPolicies ?? (_securityPolicies = new InputList<Inputs.GetTwingateSecurityPoliciesSecurityPolicyInputArgs>());
            set => _securityPolicies = value;
        }

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


    [OutputType]
    public sealed class GetTwingateSecurityPoliciesResult
    {
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<Outputs.GetTwingateSecurityPoliciesSecurityPolicyResult> SecurityPolicies;

        [OutputConstructor]
        private GetTwingateSecurityPoliciesResult(
            string id,

            ImmutableArray<Outputs.GetTwingateSecurityPoliciesSecurityPolicyResult> securityPolicies)
        {
            Id = id;
            SecurityPolicies = securityPolicies;
        }
    }
}
