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

zia.Firewall.FirewallFilteringApplicationGroups

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

Example Usage

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

return await Deployment.RunAsync(() => 
{
    // Add applications to a network application group
    var example = new Zia.Firewall.FirewallFilteringApplicationGroups("example", new()
    {
        Description = "Example",
        NetworkApplications = new[]
        {
            "LDAP",
            "LDAPS",
            "SRVLOC",
        },
    });

});
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.NewFirewallFilteringApplicationGroups(ctx, "example", &Firewall.FirewallFilteringApplicationGroupsArgs{
			Description: pulumi.String("Example"),
			NetworkApplications: pulumi.StringArray{
				pulumi.String("LDAP"),
				pulumi.String("LDAPS"),
				pulumi.String("SRVLOC"),
			},
		})
		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.FirewallFilteringApplicationGroups;
import com.pulumi.zia.Firewall.FirewallFilteringApplicationGroupsArgs;
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) {
        var example = new FirewallFilteringApplicationGroups("example", FirewallFilteringApplicationGroupsArgs.builder()        
            .description("Example")
            .networkApplications(            
                "LDAP",
                "LDAPS",
                "SRVLOC")
            .build());

    }
}
import pulumi
import zscaler_pulumi_zia as zia

# Add applications to a network application group
example = zia.firewall.FirewallFilteringApplicationGroups("example",
    description="Example",
    network_applications=[
        "LDAP",
        "LDAPS",
        "SRVLOC",
    ])
import * as pulumi from "@pulumi/pulumi";
import * as zia from "@zscaler/pulumi-zia";

// Add applications to a network application group
const example = new zia.firewall.FirewallFilteringApplicationGroups("example", {
    description: "Example",
    networkApplications: [
        "LDAP",
        "LDAPS",
        "SRVLOC",
    ],
});
resources:
  # Add applications to a network application group
  example:
    type: zia:Firewall:FirewallFilteringApplicationGroups
    properties:
      description: Example
      networkApplications:
        - LDAP
        - LDAPS
        - SRVLOC

Create FirewallFilteringApplicationGroups Resource

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

name string
The unique name of the resource.
args FirewallFilteringApplicationGroupsArgs
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 FirewallFilteringApplicationGroupsArgs
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 FirewallFilteringApplicationGroupsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FirewallFilteringApplicationGroupsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args FirewallFilteringApplicationGroupsArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

FirewallFilteringApplicationGroups 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 FirewallFilteringApplicationGroups resource accepts the following input properties:

Description string

Description of the network application group

Name string

Network application group name

NetworkApplications List<string>

Any number of applications to be added to the group

  • Refer to the Zscaler API Swagger for the complete list of applications ZIA API Guide
Description string

Description of the network application group

Name string

Network application group name

NetworkApplications []string

Any number of applications to be added to the group

  • Refer to the Zscaler API Swagger for the complete list of applications ZIA API Guide
description String

Description of the network application group

name String

Network application group name

networkApplications List<String>

Any number of applications to be added to the group

  • Refer to the Zscaler API Swagger for the complete list of applications ZIA API Guide
description string

Description of the network application group

name string

Network application group name

networkApplications string[]

Any number of applications to be added to the group

  • Refer to the Zscaler API Swagger for the complete list of applications ZIA API Guide
description str

Description of the network application group

name str

Network application group name

network_applications Sequence[str]

Any number of applications to be added to the group

  • Refer to the Zscaler API Swagger for the complete list of applications ZIA API Guide
description String

Description of the network application group

name String

Network application group name

networkApplications List<String>

Any number of applications to be added to the group

  • Refer to the Zscaler API Swagger for the complete list of applications ZIA API Guide

Outputs

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

AppId int
Id string

The provider-assigned unique ID for this managed resource.

AppId int
Id string

The provider-assigned unique ID for this managed resource.

appId Integer
id String

The provider-assigned unique ID for this managed resource.

appId number
id string

The provider-assigned unique ID for this managed resource.

app_id int
id str

The provider-assigned unique ID for this managed resource.

appId Number
id String

The provider-assigned unique ID for this managed resource.

Look up Existing FirewallFilteringApplicationGroups Resource

Get an existing FirewallFilteringApplicationGroups 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?: FirewallFilteringApplicationGroupsState, opts?: CustomResourceOptions): FirewallFilteringApplicationGroups
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        app_id: Optional[int] = None,
        description: Optional[str] = None,
        name: Optional[str] = None,
        network_applications: Optional[Sequence[str]] = None) -> FirewallFilteringApplicationGroups
func GetFirewallFilteringApplicationGroups(ctx *Context, name string, id IDInput, state *FirewallFilteringApplicationGroupsState, opts ...ResourceOption) (*FirewallFilteringApplicationGroups, error)
public static FirewallFilteringApplicationGroups Get(string name, Input<string> id, FirewallFilteringApplicationGroupsState? state, CustomResourceOptions? opts = null)
public static FirewallFilteringApplicationGroups get(String name, Output<String> id, FirewallFilteringApplicationGroupsState 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:
AppId int
Description string

Description of the network application group

Name string

Network application group name

NetworkApplications List<string>

Any number of applications to be added to the group

  • Refer to the Zscaler API Swagger for the complete list of applications ZIA API Guide
AppId int
Description string

Description of the network application group

Name string

Network application group name

NetworkApplications []string

Any number of applications to be added to the group

  • Refer to the Zscaler API Swagger for the complete list of applications ZIA API Guide
appId Integer
description String

Description of the network application group

name String

Network application group name

networkApplications List<String>

Any number of applications to be added to the group

  • Refer to the Zscaler API Swagger for the complete list of applications ZIA API Guide
appId number
description string

Description of the network application group

name string

Network application group name

networkApplications string[]

Any number of applications to be added to the group

  • Refer to the Zscaler API Swagger for the complete list of applications ZIA API Guide
app_id int
description str

Description of the network application group

name str

Network application group name

network_applications Sequence[str]

Any number of applications to be added to the group

  • Refer to the Zscaler API Swagger for the complete list of applications ZIA API Guide
appId Number
description String

Description of the network application group

name String

Network application group name

networkApplications List<String>

Any number of applications to be added to the group

  • Refer to the Zscaler API Swagger for the complete list of applications ZIA API Guide

Package Details

Repository
zia zscaler/pulumi-zia
License
MIT
Notes

This Pulumi package is based on the zia Terraform Provider.