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

zia.getFirewallFilteringNetworkServiceGroups

Explore with Pulumi AI

Use the zia_firewall_filtering_network_service_groups data source to get information about a network service groups available in the Zscaler Internet Access cloud firewall. This data source can then be associated with a ZIA firewall filtering network service rule.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as zia from "@pulumi/zia";

const example = zia.getFirewallFilteringNetworkServiceGroups({
    name: "Corporate Custom SSH TCP_10022",
});
Copy
import pulumi
import pulumi_zia as zia

example = zia.get_firewall_filtering_network_service_groups(name="Corporate Custom SSH TCP_10022")
Copy
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.GetFirewallFilteringNetworkServiceGroups(ctx, &zia.GetFirewallFilteringNetworkServiceGroupsArgs{
			Name: pulumi.StringRef("Corporate Custom SSH TCP_10022"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zia = Pulumi.Zia;

return await Deployment.RunAsync(() => 
{
    var example = Zia.GetFirewallFilteringNetworkServiceGroups.Invoke(new()
    {
        Name = "Corporate Custom SSH TCP_10022",
    });

});
Copy
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.GetFirewallFilteringNetworkServiceGroupsArgs;
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.getFirewallFilteringNetworkServiceGroups(GetFirewallFilteringNetworkServiceGroupsArgs.builder()
            .name("Corporate Custom SSH TCP_10022")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      Function: zia:getFirewallFilteringNetworkServiceGroups
      Arguments:
        name: Corporate Custom SSH TCP_10022
Copy

Using getFirewallFilteringNetworkServiceGroups

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 getFirewallFilteringNetworkServiceGroups(args: GetFirewallFilteringNetworkServiceGroupsArgs, opts?: InvokeOptions): Promise<GetFirewallFilteringNetworkServiceGroupsResult>
function getFirewallFilteringNetworkServiceGroupsOutput(args: GetFirewallFilteringNetworkServiceGroupsOutputArgs, opts?: InvokeOptions): Output<GetFirewallFilteringNetworkServiceGroupsResult>
Copy
def get_firewall_filtering_network_service_groups(id: Optional[int] = None,
                                                  name: Optional[str] = None,
                                                  opts: Optional[InvokeOptions] = None) -> GetFirewallFilteringNetworkServiceGroupsResult
def get_firewall_filtering_network_service_groups_output(id: Optional[pulumi.Input[int]] = None,
                                                  name: Optional[pulumi.Input[str]] = None,
                                                  opts: Optional[InvokeOptions] = None) -> Output[GetFirewallFilteringNetworkServiceGroupsResult]
Copy
func GetFirewallFilteringNetworkServiceGroups(ctx *Context, args *GetFirewallFilteringNetworkServiceGroupsArgs, opts ...InvokeOption) (*GetFirewallFilteringNetworkServiceGroupsResult, error)
func GetFirewallFilteringNetworkServiceGroupsOutput(ctx *Context, args *GetFirewallFilteringNetworkServiceGroupsOutputArgs, opts ...InvokeOption) GetFirewallFilteringNetworkServiceGroupsResultOutput
Copy

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

public static class GetFirewallFilteringNetworkServiceGroups 
{
    public static Task<GetFirewallFilteringNetworkServiceGroupsResult> InvokeAsync(GetFirewallFilteringNetworkServiceGroupsArgs args, InvokeOptions? opts = null)
    public static Output<GetFirewallFilteringNetworkServiceGroupsResult> Invoke(GetFirewallFilteringNetworkServiceGroupsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetFirewallFilteringNetworkServiceGroupsResult> getFirewallFilteringNetworkServiceGroups(GetFirewallFilteringNetworkServiceGroupsArgs args, InvokeOptions options)
public static Output<GetFirewallFilteringNetworkServiceGroupsResult> getFirewallFilteringNetworkServiceGroups(GetFirewallFilteringNetworkServiceGroupsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: zia:index/getFirewallFilteringNetworkServiceGroups:getFirewallFilteringNetworkServiceGroups
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

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

getFirewallFilteringNetworkServiceGroups Result

The following output properties are available:

Description string
(String)
Id int
(Number)
Name string
(String)
Services List<zscaler.PulumiPackage.Zia.Outputs.GetFirewallFilteringNetworkServiceGroupsService>
(Number) The ID of this resource.
Description string
(String)
Id int
(Number)
Name string
(String)
Services []GetFirewallFilteringNetworkServiceGroupsService
(Number) The ID of this resource.
description String
(String)
id Integer
(Number)
name String
(String)
services List<GetFirewallFilteringNetworkServiceGroupsService>
(Number) The ID of this resource.
description string
(String)
id number
(Number)
name string
(String)
services GetFirewallFilteringNetworkServiceGroupsService[]
(Number) The ID of this resource.
description str
(String)
id int
(Number)
name str
(String)
services Sequence[GetFirewallFilteringNetworkServiceGroupsService]
(Number) The ID of this resource.
description String
(String)
id Number
(Number)
name String
(String)
services List<Property Map>
(Number) The ID of this resource.

Supporting Types

GetFirewallFilteringNetworkServiceGroupsService

Description This property is required. string
(String)
Id This property is required. int
The ID of the ip source group to be exported.
IsNameL10nTag This property is required. bool
(Bool) - Default: false
Name string
The name of the ip source group to be exported.
Description This property is required. string
(String)
Id This property is required. int
The ID of the ip source group to be exported.
IsNameL10nTag This property is required. bool
(Bool) - Default: false
Name string
The name of the ip source group to be exported.
description This property is required. String
(String)
id This property is required. Integer
The ID of the ip source group to be exported.
isNameL10nTag This property is required. Boolean
(Bool) - Default: false
name String
The name of the ip source group to be exported.
description This property is required. string
(String)
id This property is required. number
The ID of the ip source group to be exported.
isNameL10nTag This property is required. boolean
(Bool) - Default: false
name string
The name of the ip source group to be exported.
description This property is required. str
(String)
id This property is required. int
The ID of the ip source group to be exported.
is_name_l10n_tag This property is required. bool
(Bool) - Default: false
name str
The name of the ip source group to be exported.
description This property is required. String
(String)
id This property is required. Number
The ID of the ip source group to be exported.
isNameL10nTag This property is required. Boolean
(Bool) - Default: false
name String
The name of the ip source group to be exported.

Package Details

Repository
zia zscaler/pulumi-zia
License
MIT
Notes
This Pulumi package is based on the zia Terraform Provider.