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

zia.getFirewallFilteringDestinationGroups

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_destination_groups data source to get information about IP destination groups option available in the Zscaler Internet Access cloud firewall. This data source can then be associated with a ZIA firewall filtering rule.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as zia from "@pulumi/zia";
    
    const example = zia.getFirewallFilteringDestinationGroups({
        name: "example",
    });
    
    import pulumi
    import pulumi_zia as zia
    
    example = zia.get_firewall_filtering_destination_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.LookupFirewallFilteringDestinationGroups(ctx, &zia.LookupFirewallFilteringDestinationGroupsArgs{
    			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.GetFirewallFilteringDestinationGroups.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.GetFirewallFilteringDestinationGroupsArgs;
    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.getFirewallFilteringDestinationGroups(GetFirewallFilteringDestinationGroupsArgs.builder()
                .name("example")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: zia:getFirewallFilteringDestinationGroups
          Arguments:
            name: example
    

    Using getFirewallFilteringDestinationGroups

    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 getFirewallFilteringDestinationGroups(args: GetFirewallFilteringDestinationGroupsArgs, opts?: InvokeOptions): Promise<GetFirewallFilteringDestinationGroupsResult>
    function getFirewallFilteringDestinationGroupsOutput(args: GetFirewallFilteringDestinationGroupsOutputArgs, opts?: InvokeOptions): Output<GetFirewallFilteringDestinationGroupsResult>
    def get_firewall_filtering_destination_groups(id: Optional[int] = None,
                                                  name: Optional[str] = None,
                                                  opts: Optional[InvokeOptions] = None) -> GetFirewallFilteringDestinationGroupsResult
    def get_firewall_filtering_destination_groups_output(id: Optional[pulumi.Input[int]] = None,
                                                  name: Optional[pulumi.Input[str]] = None,
                                                  opts: Optional[InvokeOptions] = None) -> Output[GetFirewallFilteringDestinationGroupsResult]
    func LookupFirewallFilteringDestinationGroups(ctx *Context, args *LookupFirewallFilteringDestinationGroupsArgs, opts ...InvokeOption) (*LookupFirewallFilteringDestinationGroupsResult, error)
    func LookupFirewallFilteringDestinationGroupsOutput(ctx *Context, args *LookupFirewallFilteringDestinationGroupsOutputArgs, opts ...InvokeOption) LookupFirewallFilteringDestinationGroupsResultOutput

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

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

    The following arguments are supported:

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

    getFirewallFilteringDestinationGroups Result

    The following output properties are available:

    Addresses List<string>
    (List of String) Destination IP addresses within the group
    Countries List<string>
    (List of String) Destination IP address counties. You can identify destinations based on the location of a server.
    Description string
    (String) Additional information about the destination IP group
    Id int
    IpCategories List<string>
    (List of String) Destination IP address URL categories. You can identify destinations based on the URL category of the domain. See list of all IP Categories Here

    • !> WARNING: The ip_categories attribute only accepts custom URL categories.
    Name string
    Type string
    (String) Destination IP group type (i.e., the group can contain destination IP addresses or FQDNs)
    Addresses []string
    (List of String) Destination IP addresses within the group
    Countries []string
    (List of String) Destination IP address counties. You can identify destinations based on the location of a server.
    Description string
    (String) Additional information about the destination IP group
    Id int
    IpCategories []string
    (List of String) Destination IP address URL categories. You can identify destinations based on the URL category of the domain. See list of all IP Categories Here

    • !> WARNING: The ip_categories attribute only accepts custom URL categories.
    Name string
    Type string
    (String) Destination IP group type (i.e., the group can contain destination IP addresses or FQDNs)
    addresses List<String>
    (List of String) Destination IP addresses within the group
    countries List<String>
    (List of String) Destination IP address counties. You can identify destinations based on the location of a server.
    description String
    (String) Additional information about the destination IP group
    id Integer
    ipCategories List<String>
    (List of String) Destination IP address URL categories. You can identify destinations based on the URL category of the domain. See list of all IP Categories Here

    • !> WARNING: The ip_categories attribute only accepts custom URL categories.
    name String
    type String
    (String) Destination IP group type (i.e., the group can contain destination IP addresses or FQDNs)
    addresses string[]
    (List of String) Destination IP addresses within the group
    countries string[]
    (List of String) Destination IP address counties. You can identify destinations based on the location of a server.
    description string
    (String) Additional information about the destination IP group
    id number
    ipCategories string[]
    (List of String) Destination IP address URL categories. You can identify destinations based on the URL category of the domain. See list of all IP Categories Here

    • !> WARNING: The ip_categories attribute only accepts custom URL categories.
    name string
    type string
    (String) Destination IP group type (i.e., the group can contain destination IP addresses or FQDNs)
    addresses Sequence[str]
    (List of String) Destination IP addresses within the group
    countries Sequence[str]
    (List of String) Destination IP address counties. You can identify destinations based on the location of a server.
    description str
    (String) Additional information about the destination IP group
    id int
    ip_categories Sequence[str]
    (List of String) Destination IP address URL categories. You can identify destinations based on the URL category of the domain. See list of all IP Categories Here

    • !> WARNING: The ip_categories attribute only accepts custom URL categories.
    name str
    type str
    (String) Destination IP group type (i.e., the group can contain destination IP addresses or FQDNs)
    addresses List<String>
    (List of String) Destination IP addresses within the group
    countries List<String>
    (List of String) Destination IP address counties. You can identify destinations based on the location of a server.
    description String
    (String) Additional information about the destination IP group
    id Number
    ipCategories List<String>
    (List of String) Destination IP address URL categories. You can identify destinations based on the URL category of the domain. See list of all IP Categories Here

    • !> WARNING: The ip_categories attribute only accepts custom URL categories.
    name String
    type String
    (String) Destination IP group type (i.e., the group can contain destination IP addresses or FQDNs)

    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