<filename>sdk/dotnet/Zia/Firewall/GetFirewallFilteringNetworkServiceGroups.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;
using Pulumi;

namespace zscaler.PulumiPackage.Zia.Firewall
{
    public static class GetFirewallFilteringNetworkServiceGroups
    {
        /// <summary>
        /// Use the **zia_firewall_filtering_network_service_groups** data source to get information about a network service groups available in the Zscaler Internet Access cloud firewall. This data source can then be associated with a ZIA firewall filtering network service rule.
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// ```csharp
        /// using System.Collections.Generic;
        /// using Pulumi;
        /// using Zia = Pulumi.Zia;
        /// 
        /// return await Deployment.RunAsync(() =&gt; 
        /// {
        ///     var example = Zia.Firewall.GetFirewallFilteringNetworkServiceGroups.Invoke(new()
        ///     {
        ///         Name = "Corporate Custom SSH TCP_10022",
        ///     });
        /// 
        /// });
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Task<GetFirewallFilteringNetworkServiceGroupsResult> InvokeAsync(GetFirewallFilteringNetworkServiceGroupsArgs? args = null, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.InvokeAsync<GetFirewallFilteringNetworkServiceGroupsResult>("zia:Firewall/getFirewallFilteringNetworkServiceGroups:getFirewallFilteringNetworkServiceGroups", args ?? new GetFirewallFilteringNetworkServiceGroupsArgs(), options.WithDefaults());

        /// <summary>
        /// Use the **zia_firewall_filtering_network_service_groups** data source to get information about a network service groups available in the Zscaler Internet Access cloud firewall. This data source can then be associated with a ZIA firewall filtering network service rule.
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// ```csharp
        /// using System.Collections.Generic;
        /// using Pulumi;
        /// using Zia = Pulumi.Zia;
        /// 
        /// return await Deployment.RunAsync(() =&gt; 
        /// {
        ///     var example = Zia.Firewall.GetFirewallFilteringNetworkServiceGroups.Invoke(new()
        ///     {
        ///         Name = "Corporate Custom SSH TCP_10022",
        ///     });
        /// 
        /// });
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Output<GetFirewallFilteringNetworkServiceGroupsResult> Invoke(GetFirewallFilteringNetworkServiceGroupsInvokeArgs? args = null, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.Invoke<GetFirewallFilteringNetworkServiceGroupsResult>("zia:Firewall/getFirewallFilteringNetworkServiceGroups:getFirewallFilteringNetworkServiceGroups", args ?? new GetFirewallFilteringNetworkServiceGroupsInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetFirewallFilteringNetworkServiceGroupsArgs : global::Pulumi.InvokeArgs
    {
        /// <summary>
        /// The ID of the ip source group to be exported.
        /// </summary>
        [Input("id")]
        public int? Id { get; set; }

        /// <summary>
        /// The name of the ip source group to be exported.
        /// </summary>
        [Input("name")]
        public string? Name { get; set; }

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

    public sealed class GetFirewallFilteringNetworkServiceGroupsInvokeArgs : global::Pulumi.InvokeArgs
    {
        /// <summary>
        /// The ID of the ip source group to be exported.
        /// </summary>
        [Input("id")]
        public Input<int>? Id { get; set; }

        /// <summary>
        /// The name of the ip source group to be exported.
        /// </summary>
        [Input("name")]
        public Input<string>? Name { get; set; }

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


    [OutputType]
    public sealed class GetFirewallFilteringNetworkServiceGroupsResult
    {
        /// <summary>
        /// (String)
        /// </summary>
        public readonly string Description;
        /// <summary>
        /// (Number)
        /// </summary>
        public readonly int Id;
        /// <summary>
        /// (String)
        /// </summary>
        public readonly string Name;
        /// <summary>
        /// (Number) The ID of this resource.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetFirewallFilteringNetworkServiceGroupsServiceResult> Services;

        [OutputConstructor]
        private GetFirewallFilteringNetworkServiceGroupsResult(
            string description,

            int id,

            string name,

            ImmutableArray<Outputs.GetFirewallFilteringNetworkServiceGroupsServiceResult> services)
        {
            Description = description;
            Id = id;
            Name = name;
            Services = services;
        }
    }
}
