1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getFirewallFilteringApplicationGroups
Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler

zia.getFirewallFilteringApplicationGroups

Explore with Pulumi AI

zia logo
Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler

    Use the zia_firewall_filtering_network_application_groups data source to get information about a network application group available in the Zscaler Internet Access cloud firewall. This data source can then be associated with a ZIA firewall filtering network application rule.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as zia from "@pulumi/zia";
    
    const example = zia.getFirewallFilteringApplicationGroups({
        name: "example",
    });
    
    import pulumi
    import pulumi_zia as zia
    
    example = zia.get_firewall_filtering_application_groups(name="example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/zscaler/pulumi-zia/sdk/go/zia"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := zia.LookupFirewallFilteringApplicationGroups(ctx, &zia.LookupFirewallFilteringApplicationGroupsArgs{
    			Name: pulumi.StringRef("example"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Zia = Pulumi.Zia;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Zia.GetFirewallFilteringApplicationGroups.Invoke(new()
        {
            Name = "example",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.zia.ZiaFunctions;
    import com.pulumi.zia.inputs.GetFirewallFilteringApplicationGroupsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = ZiaFunctions.getFirewallFilteringApplicationGroups(GetFirewallFilteringApplicationGroupsArgs.builder()
                .name("example")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: zia:getFirewallFilteringApplicationGroups
          Arguments:
            name: example
    

    Using getFirewallFilteringApplicationGroups

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getFirewallFilteringApplicationGroups(args: GetFirewallFilteringApplicationGroupsArgs, opts?: InvokeOptions): Promise<GetFirewallFilteringApplicationGroupsResult>
    function getFirewallFilteringApplicationGroupsOutput(args: GetFirewallFilteringApplicationGroupsOutputArgs, opts?: InvokeOptions): Output<GetFirewallFilteringApplicationGroupsResult>
    def get_firewall_filtering_application_groups(id: Optional[int] = None,
                                                  name: Optional[str] = None,
                                                  opts: Optional[InvokeOptions] = None) -> GetFirewallFilteringApplicationGroupsResult
    def get_firewall_filtering_application_groups_output(id: Optional[pulumi.Input[int]] = None,
                                                  name: Optional[pulumi.Input[str]] = None,
                                                  opts: Optional[InvokeOptions] = None) -> Output[GetFirewallFilteringApplicationGroupsResult]
    func LookupFirewallFilteringApplicationGroups(ctx *Context, args *LookupFirewallFilteringApplicationGroupsArgs, opts ...InvokeOption) (*LookupFirewallFilteringApplicationGroupsResult, error)
    func LookupFirewallFilteringApplicationGroupsOutput(ctx *Context, args *LookupFirewallFilteringApplicationGroupsOutputArgs, opts ...InvokeOption) LookupFirewallFilteringApplicationGroupsResultOutput

    > Note: This function is named LookupFirewallFilteringApplicationGroups in the Go SDK.

    public static class GetFirewallFilteringApplicationGroups 
    {
        public static Task<GetFirewallFilteringApplicationGroupsResult> InvokeAsync(GetFirewallFilteringApplicationGroupsArgs args, InvokeOptions? opts = null)
        public static Output<GetFirewallFilteringApplicationGroupsResult> Invoke(GetFirewallFilteringApplicationGroupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFirewallFilteringApplicationGroupsResult> getFirewallFilteringApplicationGroups(GetFirewallFilteringApplicationGroupsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: zia:index/getFirewallFilteringApplicationGroups:getFirewallFilteringApplicationGroups
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id int
    The ID of the ip source group resource.
    Name string
    The name of the ip source group to be exported.
    Id int
    The ID of the ip source group resource.
    Name string
    The name of the ip source group to be exported.
    id Integer
    The ID of the ip source group resource.
    name String
    The name of the ip source group to be exported.
    id number
    The ID of the ip source group resource.
    name string
    The name of the ip source group to be exported.
    id int
    The ID of the ip source group resource.
    name str
    The name of the ip source group to be exported.
    id Number
    The ID of the ip source group resource.
    name String
    The name of the ip source group to be exported.

    getFirewallFilteringApplicationGroups Result

    The following output properties are available:

    Description string
    (String)
    Id int
    The ID of this resource.
    Name string
    NetworkApplications List<string>
    (List of String)
    Description string
    (String)
    Id int
    The ID of this resource.
    Name string
    NetworkApplications []string
    (List of String)
    description String
    (String)
    id Integer
    The ID of this resource.
    name String
    networkApplications List<String>
    (List of String)
    description string
    (String)
    id number
    The ID of this resource.
    name string
    networkApplications string[]
    (List of String)
    description str
    (String)
    id int
    The ID of this resource.
    name str
    network_applications Sequence[str]
    (List of String)
    description String
    (String)
    id Number
    The ID of this resource.
    name String
    networkApplications List<String>
    (List of String)

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    MIT
    Notes
    This Pulumi package is based on the zia Terraform Provider.
    zia logo
    Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler