zia.FirewallFilteringApplicationGroups
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as zia from "@bdzscaler/pulumi-zia";
// Add applications to a network application group
const example = new zia.FirewallFilteringApplicationGroups("example", {
description: "Example",
networkApplications: [
"LDAP",
"LDAPS",
"SRVLOC",
],
});
import pulumi
import zscaler_pulumi_zia as zia
# Add applications to a network application group
example = zia.FirewallFilteringApplicationGroups("example",
description="Example",
network_applications=[
"LDAP",
"LDAPS",
"SRVLOC",
])
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 {
// Add applications to a network application group
_, err := zia.NewFirewallFilteringApplicationGroups(ctx, "example", &zia.FirewallFilteringApplicationGroupsArgs{
Description: pulumi.String("Example"),
NetworkApplications: pulumi.StringArray{
pulumi.String("LDAP"),
pulumi.String("LDAPS"),
pulumi.String("SRVLOC"),
},
})
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(() =>
{
// Add applications to a network application group
var example = new Zia.FirewallFilteringApplicationGroups("example", new()
{
Description = "Example",
NetworkApplications = new[]
{
"LDAP",
"LDAPS",
"SRVLOC",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zia.FirewallFilteringApplicationGroups;
import com.pulumi.zia.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) {
// Add applications to a network application group
var example = new FirewallFilteringApplicationGroups("example", FirewallFilteringApplicationGroupsArgs.builder()
.description("Example")
.networkApplications(
"LDAP",
"LDAPS",
"SRVLOC")
.build());
}
}
resources:
# Add applications to a network application group
example:
type: zia:FirewallFilteringApplicationGroups
properties:
description: Example
networkApplications:
- LDAP
- LDAPS
- SRVLOC
Create FirewallFilteringApplicationGroups Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FirewallFilteringApplicationGroups(name: string, args?: FirewallFilteringApplicationGroupsArgs, opts?: CustomResourceOptions);
@overload
def FirewallFilteringApplicationGroups(resource_name: str,
args: Optional[FirewallFilteringApplicationGroupsArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def FirewallFilteringApplicationGroups(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
name: Optional[str] = None,
network_applications: Optional[Sequence[str]] = 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:FirewallFilteringApplicationGroups
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 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var firewallFilteringApplicationGroupsResource = new Zia.FirewallFilteringApplicationGroups("firewallFilteringApplicationGroupsResource", new()
{
Description = "string",
Name = "string",
NetworkApplications = new[]
{
"string",
},
});
example, err := zia.NewFirewallFilteringApplicationGroups(ctx, "firewallFilteringApplicationGroupsResource", &zia.FirewallFilteringApplicationGroupsArgs{
Description: pulumi.String("string"),
Name: pulumi.String("string"),
NetworkApplications: pulumi.StringArray{
pulumi.String("string"),
},
})
var firewallFilteringApplicationGroupsResource = new FirewallFilteringApplicationGroups("firewallFilteringApplicationGroupsResource", FirewallFilteringApplicationGroupsArgs.builder()
.description("string")
.name("string")
.networkApplications("string")
.build());
firewall_filtering_application_groups_resource = zia.FirewallFilteringApplicationGroups("firewallFilteringApplicationGroupsResource",
description="string",
name="string",
network_applications=["string"])
const firewallFilteringApplicationGroupsResource = new zia.FirewallFilteringApplicationGroups("firewallFilteringApplicationGroupsResource", {
description: "string",
name: "string",
networkApplications: ["string"],
});
type: zia:FirewallFilteringApplicationGroups
properties:
description: string
name: string
networkApplications:
- string
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
- Network
Applications 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
- Network
Applications []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
- network
Applications 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
- network
Applications 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
- network
Applications 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:
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.
- App
Id int - Description string
- Description of the network application group
- Name string
- Network application group name
- Network
Applications 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
- App
Id int - Description string
- Description of the network application group
- Name string
- Network application group name
- Network
Applications []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 Integer - description String
- Description of the network application group
- name String
- Network application group name
- network
Applications 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
- app
Id number - description string
- Description of the network application group
- name string
- Network application group name
- network
Applications 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
- app
Id Number - description String
- Description of the network application group
- name String
- Network application group name
- network
Applications 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
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_network_application_groups can be imported by using <GROUP_ID>
or <GROUP_NAME>
as the import ID.
For example:
$ pulumi import zia:index/firewallFilteringApplicationGroups:FirewallFilteringApplicationGroups example <group_id>
or
$ pulumi import zia:index/firewallFilteringApplicationGroups:FirewallFilteringApplicationGroups 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.