zia.Firewall.getFirewallFilteringNetworkServiceGroups

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

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

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

});
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.GetFirewallFilteringNetworkServiceGroups(ctx, &firewall.GetFirewallFilteringNetworkServiceGroupsArgs{
			Name: pulumi.StringRef("Corporate Custom SSH TCP_10022"),
		}, 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.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 = FirewallFunctions.getFirewallFilteringNetworkServiceGroups(GetFirewallFilteringNetworkServiceGroupsArgs.builder()
            .name("Corporate Custom SSH TCP_10022")
            .build());

    }
}
import pulumi
import pulumi_zia as zia

example = zia.Firewall.get_firewall_filtering_network_service_groups(name="Corporate Custom SSH TCP_10022")
import * as pulumi from "@pulumi/pulumi";
import * as zia from "@pulumi/zia";

const example = zia.Firewall.getFirewallFilteringNetworkServiceGroups({
    name: "Corporate Custom SSH TCP_10022",
});
variables:
  example:
    fn::invoke:
      Function: zia:Firewall:getFirewallFilteringNetworkServiceGroups
      Arguments:
        name: Corporate Custom SSH TCP_10022

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>
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]
func GetFirewallFilteringNetworkServiceGroups(ctx *Context, args *GetFirewallFilteringNetworkServiceGroupsArgs, opts ...InvokeOption) (*GetFirewallFilteringNetworkServiceGroupsResult, error)
func GetFirewallFilteringNetworkServiceGroupsOutput(ctx *Context, args *GetFirewallFilteringNetworkServiceGroupsOutputArgs, opts ...InvokeOption) GetFirewallFilteringNetworkServiceGroupsResultOutput

> 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)
}
public static CompletableFuture<GetFirewallFilteringNetworkServiceGroupsResult> getFirewallFilteringNetworkServiceGroups(GetFirewallFilteringNetworkServiceGroupsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: zia:Firewall/getFirewallFilteringNetworkServiceGroups:getFirewallFilteringNetworkServiceGroups
  arguments:
    # arguments dictionary

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 []GetFirewallFilteringNetworkServiceGroupsService

(Number) The ID of this resource.

description String

(String)

id Integer

(Number)

name String

(String)

services List<GetFilteringNetworkServiceGroupsService>

(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 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 string

(String)

Id int

The ID of the ip source group to be exported.

IsNameL10nTag bool

(Bool) - Default: false

Name string

The name of the ip source group to be exported.

Description string

(String)

Id int

The ID of the ip source group to be exported.

IsNameL10nTag bool

(Bool) - Default: false

Name string

The name of the ip source group to be exported.

description String

(String)

id Integer

The ID of the ip source group to be exported.

isNameL10nTag Boolean

(Bool) - Default: false

name String

The name of the ip source group to be exported.

description string

(String)

id number

The ID of the ip source group to be exported.

isNameL10nTag boolean

(Bool) - Default: false

name string

The name of the ip source group to be exported.

description str

(String)

id int

The ID of the ip source group to be exported.

is_name_l10n_tag bool

(Bool) - Default: false

name str

The name of the ip source group to be exported.

description String

(String)

id Number

The ID of the ip source group to be exported.

isNameL10nTag 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.