zia logo
Zscaler Internet Access v0.0.3, Jan 30 23

zia.Firewall.getFirewallFilteringDestinationGroups

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

using System.Collections.Generic;
using Pulumi;
using Zia = Pulumi.Zia;

return await Deployment.RunAsync(() => 
{
    var example = Zia.Firewall.GetFirewallFilteringDestinationGroups.Invoke(new()
    {
        Name = "example",
    });

});
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/zscaler/pulumi-zia/sdk/go/zia/Firewall"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Firewall.GetFirewallFilteringDestinationGroups(ctx, &firewall.GetFirewallFilteringDestinationGroupsArgs{
			Name: pulumi.StringRef("example"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zia.Firewall.FirewallFunctions;
import com.pulumi.zia.Firewall.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 = FirewallFunctions.getFirewallFilteringDestinationGroups(GetFirewallFilteringDestinationGroupsArgs.builder()
            .name("example")
            .build());

    }
}
import pulumi
import pulumi_zia as zia

example = zia.Firewall.get_firewall_filtering_destination_groups(name="example")
import * as pulumi from "@pulumi/pulumi";
import * as zia from "@pulumi/zia";

const example = zia.Firewall.getFirewallFilteringDestinationGroups({
    name: "example",
});
variables:
  example:
    fn::invoke:
      Function: zia:Firewall: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 GetFirewallFilteringDestinationGroups(ctx *Context, args *GetFirewallFilteringDestinationGroupsArgs, opts ...InvokeOption) (*GetFirewallFilteringDestinationGroupsResult, error)
func GetFirewallFilteringDestinationGroupsOutput(ctx *Context, args *GetFirewallFilteringDestinationGroupsOutputArgs, opts ...InvokeOption) GetFirewallFilteringDestinationGroupsResultOutput

> Note: This function is named GetFirewallFilteringDestinationGroups 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:Firewall/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.

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.

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.

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.

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.

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.

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.