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

zia.FirewallFilteringDestinationGroups

Explore with Pulumi AI

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

    The zia_firewall_filtering_destination_groups resource allows the creation and management of ZIA Cloud Firewall IP destination groups in the Zscaler Internet Access. This resource can then be associated with a ZIA cloud firewall filtering rule.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as zia from "@bdzscaler/pulumi-zia";
    
    // IP Destination Group of Type DSTN_FQDN
    const dstnFqdn = new zia.FirewallFilteringDestinationGroups("dstnFqdn", {
        addresses: [
            "test1.acme.com",
            "test2.acme.com",
            "test3.acme.com",
        ],
        description: "Example Destination FQDN",
        type: "DSTN_FQDN",
    });
    
    import pulumi
    import zscaler_pulumi_zia as zia
    
    # IP Destination Group of Type DSTN_FQDN
    dstn_fqdn = zia.FirewallFilteringDestinationGroups("dstnFqdn",
        addresses=[
            "test1.acme.com",
            "test2.acme.com",
            "test3.acme.com",
        ],
        description="Example Destination FQDN",
        type="DSTN_FQDN")
    
    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 {
    		// IP Destination Group of Type DSTN_FQDN
    		_, err := zia.NewFirewallFilteringDestinationGroups(ctx, "dstnFqdn", &zia.FirewallFilteringDestinationGroupsArgs{
    			Addresses: pulumi.StringArray{
    				pulumi.String("test1.acme.com"),
    				pulumi.String("test2.acme.com"),
    				pulumi.String("test3.acme.com"),
    			},
    			Description: pulumi.String("Example Destination FQDN"),
    			Type:        pulumi.String("DSTN_FQDN"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Zia = zscaler.PulumiPackage.Zia;
    
    return await Deployment.RunAsync(() => 
    {
        // IP Destination Group of Type DSTN_FQDN
        var dstnFqdn = new Zia.FirewallFilteringDestinationGroups("dstnFqdn", new()
        {
            Addresses = new[]
            {
                "test1.acme.com",
                "test2.acme.com",
                "test3.acme.com",
            },
            Description = "Example Destination FQDN",
            Type = "DSTN_FQDN",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.zia.FirewallFilteringDestinationGroups;
    import com.pulumi.zia.FirewallFilteringDestinationGroupsArgs;
    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) {
            // IP Destination Group of Type DSTN_FQDN
            var dstnFqdn = new FirewallFilteringDestinationGroups("dstnFqdn", FirewallFilteringDestinationGroupsArgs.builder()
                .addresses(            
                    "test1.acme.com",
                    "test2.acme.com",
                    "test3.acme.com")
                .description("Example Destination FQDN")
                .type("DSTN_FQDN")
                .build());
    
        }
    }
    
    resources:
      # IP Destination Group of Type DSTN_FQDN
      dstnFqdn:
        type: zia:FirewallFilteringDestinationGroups
        properties:
          addresses:
            - test1.acme.com
            - test2.acme.com
            - test3.acme.com
          description: Example Destination FQDN
          type: DSTN_FQDN
    
    import * as pulumi from "@pulumi/pulumi";
    import * as zia from "@bdzscaler/pulumi-zia";
    
    // IP Destination Group of Type DSTN_IP
    const exampleDstnIp = new zia.FirewallFilteringDestinationGroups("exampleDstnIp", {
        addresses: [
            "3.217.228.0-3.217.231.255",
            "3.235.112.0-3.235.119.255",
            "52.23.61.0-52.23.62.25",
            "35.80.88.0-35.80.95.255",
        ],
        description: "Example Destination IP",
        type: "DSTN_IP",
    });
    
    import pulumi
    import zscaler_pulumi_zia as zia
    
    # IP Destination Group of Type DSTN_IP
    example_dstn_ip = zia.FirewallFilteringDestinationGroups("exampleDstnIp",
        addresses=[
            "3.217.228.0-3.217.231.255",
            "3.235.112.0-3.235.119.255",
            "52.23.61.0-52.23.62.25",
            "35.80.88.0-35.80.95.255",
        ],
        description="Example Destination IP",
        type="DSTN_IP")
    
    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 {
    		// IP Destination Group of Type DSTN_IP
    		_, err := zia.NewFirewallFilteringDestinationGroups(ctx, "exampleDstnIp", &zia.FirewallFilteringDestinationGroupsArgs{
    			Addresses: pulumi.StringArray{
    				pulumi.String("3.217.228.0-3.217.231.255"),
    				pulumi.String("3.235.112.0-3.235.119.255"),
    				pulumi.String("52.23.61.0-52.23.62.25"),
    				pulumi.String("35.80.88.0-35.80.95.255"),
    			},
    			Description: pulumi.String("Example Destination IP"),
    			Type:        pulumi.String("DSTN_IP"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Zia = zscaler.PulumiPackage.Zia;
    
    return await Deployment.RunAsync(() => 
    {
        // IP Destination Group of Type DSTN_IP
        var exampleDstnIp = new Zia.FirewallFilteringDestinationGroups("exampleDstnIp", new()
        {
            Addresses = new[]
            {
                "3.217.228.0-3.217.231.255",
                "3.235.112.0-3.235.119.255",
                "52.23.61.0-52.23.62.25",
                "35.80.88.0-35.80.95.255",
            },
            Description = "Example Destination IP",
            Type = "DSTN_IP",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.zia.FirewallFilteringDestinationGroups;
    import com.pulumi.zia.FirewallFilteringDestinationGroupsArgs;
    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) {
            // IP Destination Group of Type DSTN_IP
            var exampleDstnIp = new FirewallFilteringDestinationGroups("exampleDstnIp", FirewallFilteringDestinationGroupsArgs.builder()
                .addresses(            
                    "3.217.228.0-3.217.231.255",
                    "3.235.112.0-3.235.119.255",
                    "52.23.61.0-52.23.62.25",
                    "35.80.88.0-35.80.95.255")
                .description("Example Destination IP")
                .type("DSTN_IP")
                .build());
    
        }
    }
    
    resources:
      # IP Destination Group of Type DSTN_IP
      exampleDstnIp:
        type: zia:FirewallFilteringDestinationGroups
        properties:
          addresses:
            - 3.217.228.0-3.217.231.255
            - 3.235.112.0-3.235.119.255
            - 52.23.61.0-52.23.62.25
            - 35.80.88.0-35.80.95.255
          description: Example Destination IP
          type: DSTN_IP
    
    import * as pulumi from "@pulumi/pulumi";
    import * as zia from "@bdzscaler/pulumi-zia";
    
    // IP Destination Group of Type DSTN_DOMAIN
    const exampleDstnDomain = new zia.FirewallFilteringDestinationGroups("exampleDstnDomain", {
        addresses: [
            "acme.com",
            "acme1.com",
        ],
        description: "Example Destination Domain",
        type: "DSTN_DOMAIN",
    });
    
    import pulumi
    import zscaler_pulumi_zia as zia
    
    # IP Destination Group of Type DSTN_DOMAIN
    example_dstn_domain = zia.FirewallFilteringDestinationGroups("exampleDstnDomain",
        addresses=[
            "acme.com",
            "acme1.com",
        ],
        description="Example Destination Domain",
        type="DSTN_DOMAIN")
    
    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 {
    		// IP Destination Group of Type DSTN_DOMAIN
    		_, err := zia.NewFirewallFilteringDestinationGroups(ctx, "exampleDstnDomain", &zia.FirewallFilteringDestinationGroupsArgs{
    			Addresses: pulumi.StringArray{
    				pulumi.String("acme.com"),
    				pulumi.String("acme1.com"),
    			},
    			Description: pulumi.String("Example Destination Domain"),
    			Type:        pulumi.String("DSTN_DOMAIN"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Zia = zscaler.PulumiPackage.Zia;
    
    return await Deployment.RunAsync(() => 
    {
        // IP Destination Group of Type DSTN_DOMAIN
        var exampleDstnDomain = new Zia.FirewallFilteringDestinationGroups("exampleDstnDomain", new()
        {
            Addresses = new[]
            {
                "acme.com",
                "acme1.com",
            },
            Description = "Example Destination Domain",
            Type = "DSTN_DOMAIN",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.zia.FirewallFilteringDestinationGroups;
    import com.pulumi.zia.FirewallFilteringDestinationGroupsArgs;
    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) {
            // IP Destination Group of Type DSTN_DOMAIN
            var exampleDstnDomain = new FirewallFilteringDestinationGroups("exampleDstnDomain", FirewallFilteringDestinationGroupsArgs.builder()
                .addresses(            
                    "acme.com",
                    "acme1.com")
                .description("Example Destination Domain")
                .type("DSTN_DOMAIN")
                .build());
    
        }
    }
    
    resources:
      # IP Destination Group of Type DSTN_DOMAIN
      exampleDstnDomain:
        type: zia:FirewallFilteringDestinationGroups
        properties:
          addresses:
            - acme.com
            - acme1.com
          description: Example Destination Domain
          type: DSTN_DOMAIN
    
    import * as pulumi from "@pulumi/pulumi";
    import * as zia from "@bdzscaler/pulumi-zia";
    
    // IP Destination Group of Type DSTN_OTHER
    const exampleDstnOther = new zia.FirewallFilteringDestinationGroups("exampleDstnOther", {
        countries: ["COUNTRY_CA"],
        description: "Example Destination Other",
        ipCategories: [
            "CUSTOM_01",
            "CUSTOM_02",
        ],
        type: "DSTN_OTHER",
    });
    
    import pulumi
    import zscaler_pulumi_zia as zia
    
    # IP Destination Group of Type DSTN_OTHER
    example_dstn_other = zia.FirewallFilteringDestinationGroups("exampleDstnOther",
        countries=["COUNTRY_CA"],
        description="Example Destination Other",
        ip_categories=[
            "CUSTOM_01",
            "CUSTOM_02",
        ],
        type="DSTN_OTHER")
    
    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 {
    		// IP Destination Group of Type DSTN_OTHER
    		_, err := zia.NewFirewallFilteringDestinationGroups(ctx, "exampleDstnOther", &zia.FirewallFilteringDestinationGroupsArgs{
    			Countries: pulumi.StringArray{
    				pulumi.String("COUNTRY_CA"),
    			},
    			Description: pulumi.String("Example Destination Other"),
    			IpCategories: pulumi.StringArray{
    				pulumi.String("CUSTOM_01"),
    				pulumi.String("CUSTOM_02"),
    			},
    			Type: pulumi.String("DSTN_OTHER"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Zia = zscaler.PulumiPackage.Zia;
    
    return await Deployment.RunAsync(() => 
    {
        // IP Destination Group of Type DSTN_OTHER
        var exampleDstnOther = new Zia.FirewallFilteringDestinationGroups("exampleDstnOther", new()
        {
            Countries = new[]
            {
                "COUNTRY_CA",
            },
            Description = "Example Destination Other",
            IpCategories = new[]
            {
                "CUSTOM_01",
                "CUSTOM_02",
            },
            Type = "DSTN_OTHER",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.zia.FirewallFilteringDestinationGroups;
    import com.pulumi.zia.FirewallFilteringDestinationGroupsArgs;
    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) {
            // IP Destination Group of Type DSTN_OTHER
            var exampleDstnOther = new FirewallFilteringDestinationGroups("exampleDstnOther", FirewallFilteringDestinationGroupsArgs.builder()
                .countries("COUNTRY_CA")
                .description("Example Destination Other")
                .ipCategories(            
                    "CUSTOM_01",
                    "CUSTOM_02")
                .type("DSTN_OTHER")
                .build());
    
        }
    }
    
    resources:
      # IP Destination Group of Type DSTN_OTHER
      exampleDstnOther:
        type: zia:FirewallFilteringDestinationGroups
        properties:
          countries:
            - COUNTRY_CA
          description: Example Destination Other
          ipCategories:
            - CUSTOM_01
            - CUSTOM_02
          type: DSTN_OTHER
    

    Create FirewallFilteringDestinationGroups Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FirewallFilteringDestinationGroups(name: string, args?: FirewallFilteringDestinationGroupsArgs, opts?: CustomResourceOptions);
    @overload
    def FirewallFilteringDestinationGroups(resource_name: str,
                                           args: Optional[FirewallFilteringDestinationGroupsArgs] = None,
                                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def FirewallFilteringDestinationGroups(resource_name: str,
                                           opts: Optional[ResourceOptions] = None,
                                           addresses: Optional[Sequence[str]] = None,
                                           countries: Optional[Sequence[str]] = None,
                                           description: Optional[str] = None,
                                           ip_categories: Optional[Sequence[str]] = None,
                                           name: Optional[str] = None,
                                           type: Optional[str] = None)
    func NewFirewallFilteringDestinationGroups(ctx *Context, name string, args *FirewallFilteringDestinationGroupsArgs, opts ...ResourceOption) (*FirewallFilteringDestinationGroups, error)
    public FirewallFilteringDestinationGroups(string name, FirewallFilteringDestinationGroupsArgs? args = null, CustomResourceOptions? opts = null)
    public FirewallFilteringDestinationGroups(String name, FirewallFilteringDestinationGroupsArgs args)
    public FirewallFilteringDestinationGroups(String name, FirewallFilteringDestinationGroupsArgs args, CustomResourceOptions options)
    
    type: zia:FirewallFilteringDestinationGroups
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args FirewallFilteringDestinationGroupsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FirewallFilteringDestinationGroupsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FirewallFilteringDestinationGroupsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FirewallFilteringDestinationGroupsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FirewallFilteringDestinationGroupsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var firewallFilteringDestinationGroupsResource = new Zia.FirewallFilteringDestinationGroups("firewallFilteringDestinationGroupsResource", new()
    {
        Addresses = new[]
        {
            "string",
        },
        Countries = new[]
        {
            "string",
        },
        Description = "string",
        IpCategories = new[]
        {
            "string",
        },
        Name = "string",
        Type = "string",
    });
    
    example, err := zia.NewFirewallFilteringDestinationGroups(ctx, "firewallFilteringDestinationGroupsResource", &zia.FirewallFilteringDestinationGroupsArgs{
    	Addresses: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Countries: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	IpCategories: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	Type: pulumi.String("string"),
    })
    
    var firewallFilteringDestinationGroupsResource = new FirewallFilteringDestinationGroups("firewallFilteringDestinationGroupsResource", FirewallFilteringDestinationGroupsArgs.builder()
        .addresses("string")
        .countries("string")
        .description("string")
        .ipCategories("string")
        .name("string")
        .type("string")
        .build());
    
    firewall_filtering_destination_groups_resource = zia.FirewallFilteringDestinationGroups("firewallFilteringDestinationGroupsResource",
        addresses=["string"],
        countries=["string"],
        description="string",
        ip_categories=["string"],
        name="string",
        type="string")
    
    const firewallFilteringDestinationGroupsResource = new zia.FirewallFilteringDestinationGroups("firewallFilteringDestinationGroupsResource", {
        addresses: ["string"],
        countries: ["string"],
        description: "string",
        ipCategories: ["string"],
        name: "string",
        type: "string",
    });
    
    type: zia:FirewallFilteringDestinationGroups
    properties:
        addresses:
            - string
        countries:
            - string
        description: string
        ipCategories:
            - string
        name: string
        type: string
    

    FirewallFilteringDestinationGroups Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The FirewallFilteringDestinationGroups resource accepts the following input properties:

    Addresses List<string>
    Destination IP addresses within the group
    Countries List<string>
    Destination countries for which the rule is applicable. If not set, the rule is not restricted to specific destination countries.
    Description string
    Additional information about the destination IP group
    IpCategories List<string>
    List of URL categories for which rule must be applied
    Name string
    Destination IP group name
    Type string
    Destination IP group type (i.e., the group can contain destination IP addresses or FQDNs)
    Addresses []string
    Destination IP addresses within the group
    Countries []string
    Destination countries for which the rule is applicable. If not set, the rule is not restricted to specific destination countries.
    Description string
    Additional information about the destination IP group
    IpCategories []string
    List of URL categories for which rule must be applied
    Name string
    Destination IP group name
    Type string
    Destination IP group type (i.e., the group can contain destination IP addresses or FQDNs)
    addresses List<String>
    Destination IP addresses within the group
    countries List<String>
    Destination countries for which the rule is applicable. If not set, the rule is not restricted to specific destination countries.
    description String
    Additional information about the destination IP group
    ipCategories List<String>
    List of URL categories for which rule must be applied
    name String
    Destination IP group name
    type String
    Destination IP group type (i.e., the group can contain destination IP addresses or FQDNs)
    addresses string[]
    Destination IP addresses within the group
    countries string[]
    Destination countries for which the rule is applicable. If not set, the rule is not restricted to specific destination countries.
    description string
    Additional information about the destination IP group
    ipCategories string[]
    List of URL categories for which rule must be applied
    name string
    Destination IP group name
    type string
    Destination IP group type (i.e., the group can contain destination IP addresses or FQDNs)
    addresses Sequence[str]
    Destination IP addresses within the group
    countries Sequence[str]
    Destination countries for which the rule is applicable. If not set, the rule is not restricted to specific destination countries.
    description str
    Additional information about the destination IP group
    ip_categories Sequence[str]
    List of URL categories for which rule must be applied
    name str
    Destination IP group name
    type str
    Destination IP group type (i.e., the group can contain destination IP addresses or FQDNs)
    addresses List<String>
    Destination IP addresses within the group
    countries List<String>
    Destination countries for which the rule is applicable. If not set, the rule is not restricted to specific destination countries.
    description String
    Additional information about the destination IP group
    ipCategories List<String>
    List of URL categories for which rule must be applied
    name String
    Destination IP group name
    type String
    Destination IP group type (i.e., the group can contain destination IP addresses or FQDNs)

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FirewallFilteringDestinationGroups resource produces the following output properties:

    GroupId int
    Unique identifer for the destination IP group
    Id string
    The provider-assigned unique ID for this managed resource.
    GroupId int
    Unique identifer for the destination IP group
    Id string
    The provider-assigned unique ID for this managed resource.
    groupId Integer
    Unique identifer for the destination IP group
    id String
    The provider-assigned unique ID for this managed resource.
    groupId number
    Unique identifer for the destination IP group
    id string
    The provider-assigned unique ID for this managed resource.
    group_id int
    Unique identifer for the destination IP group
    id str
    The provider-assigned unique ID for this managed resource.
    groupId Number
    Unique identifer for the destination IP group
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing FirewallFilteringDestinationGroups Resource

    Get an existing FirewallFilteringDestinationGroups resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: FirewallFilteringDestinationGroupsState, opts?: CustomResourceOptions): FirewallFilteringDestinationGroups
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            addresses: Optional[Sequence[str]] = None,
            countries: Optional[Sequence[str]] = None,
            description: Optional[str] = None,
            group_id: Optional[int] = None,
            ip_categories: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            type: Optional[str] = None) -> FirewallFilteringDestinationGroups
    func GetFirewallFilteringDestinationGroups(ctx *Context, name string, id IDInput, state *FirewallFilteringDestinationGroupsState, opts ...ResourceOption) (*FirewallFilteringDestinationGroups, error)
    public static FirewallFilteringDestinationGroups Get(string name, Input<string> id, FirewallFilteringDestinationGroupsState? state, CustomResourceOptions? opts = null)
    public static FirewallFilteringDestinationGroups get(String name, Output<String> id, FirewallFilteringDestinationGroupsState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Addresses List<string>
    Destination IP addresses within the group
    Countries List<string>
    Destination countries for which the rule is applicable. If not set, the rule is not restricted to specific destination countries.
    Description string
    Additional information about the destination IP group
    GroupId int
    Unique identifer for the destination IP group
    IpCategories List<string>
    List of URL categories for which rule must be applied
    Name string
    Destination IP group name
    Type string
    Destination IP group type (i.e., the group can contain destination IP addresses or FQDNs)
    Addresses []string
    Destination IP addresses within the group
    Countries []string
    Destination countries for which the rule is applicable. If not set, the rule is not restricted to specific destination countries.
    Description string
    Additional information about the destination IP group
    GroupId int
    Unique identifer for the destination IP group
    IpCategories []string
    List of URL categories for which rule must be applied
    Name string
    Destination IP group name
    Type string
    Destination IP group type (i.e., the group can contain destination IP addresses or FQDNs)
    addresses List<String>
    Destination IP addresses within the group
    countries List<String>
    Destination countries for which the rule is applicable. If not set, the rule is not restricted to specific destination countries.
    description String
    Additional information about the destination IP group
    groupId Integer
    Unique identifer for the destination IP group
    ipCategories List<String>
    List of URL categories for which rule must be applied
    name String
    Destination IP group name
    type String
    Destination IP group type (i.e., the group can contain destination IP addresses or FQDNs)
    addresses string[]
    Destination IP addresses within the group
    countries string[]
    Destination countries for which the rule is applicable. If not set, the rule is not restricted to specific destination countries.
    description string
    Additional information about the destination IP group
    groupId number
    Unique identifer for the destination IP group
    ipCategories string[]
    List of URL categories for which rule must be applied
    name string
    Destination IP group name
    type string
    Destination IP group type (i.e., the group can contain destination IP addresses or FQDNs)
    addresses Sequence[str]
    Destination IP addresses within the group
    countries Sequence[str]
    Destination countries for which the rule is applicable. If not set, the rule is not restricted to specific destination countries.
    description str
    Additional information about the destination IP group
    group_id int
    Unique identifer for the destination IP group
    ip_categories Sequence[str]
    List of URL categories for which rule must be applied
    name str
    Destination IP group name
    type str
    Destination IP group type (i.e., the group can contain destination IP addresses or FQDNs)
    addresses List<String>
    Destination IP addresses within the group
    countries List<String>
    Destination countries for which the rule is applicable. If not set, the rule is not restricted to specific destination countries.
    description String
    Additional information about the destination IP group
    groupId Number
    Unique identifer for the destination IP group
    ipCategories List<String>
    List of URL categories for which rule must be applied
    name String
    Destination IP group name
    type String
    Destination IP group type (i.e., the group can contain destination IP addresses or FQDNs)

    Import

    Zscaler offers a dedicated tool called Zscaler-Terraformer to allow the automated import of ZIA configurations into Terraform-compliant HashiCorp Configuration Language.

    Visit

    zia_firewall_filtering_destination_groups can be imported by using <GROUP_ID> or <GROUP_NAME> as the import ID.

    For example:

    $ pulumi import zia:index/firewallFilteringDestinationGroups:FirewallFilteringDestinationGroups example <group_id>
    

    or

    $ pulumi import zia:index/firewallFilteringDestinationGroups:FirewallFilteringDestinationGroups example <group_name>
    

    To learn more about importing existing cloud resources, see Importing resources.

    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