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",
});
import pulumi
import pulumi_zia as zia
example = zia.get_firewall_filtering_network_service_groups(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"
)
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
})
}
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",
});
});
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());
}
}
variables:
example:
fn::invoke:
Function: zia: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:index/getFirewallFilteringNetworkServiceGroups:getFirewallFilteringNetworkServiceGroups
arguments:
# arguments dictionary
The following arguments are supported:
getFirewallFilteringNetworkServiceGroups Result
The following output properties are available:
- Description string
- (String)
- Id int
- (Number)
- Name string
- (String)
- Services
List<zscaler.
Pulumi Package. Zia. Outputs. Get Firewall Filtering Network Service Groups Service> - (Number) The ID of this resource.
- Description string
- (String)
- Id int
- (Number)
- Name string
- (String)
- Services
[]Get
Firewall Filtering Network Service Groups Service - (Number) The ID of this resource.
- description String
- (String)
- id Integer
- (Number)
- name String
- (String)
- services
List<Get
Firewall Filtering Network Service Groups Service> - (Number) The ID of this resource.
- description string
- (String)
- id number
- (Number)
- name string
- (String)
- services
Get
Firewall Filtering Network Service Groups Service[] - (Number) The ID of this resource.
- description str
- (String)
- id int
- (Number)
- name str
- (String)
- services
Sequence[Get
Firewall Filtering Network Service Groups Service] - (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.
- Is
Name boolL10n Tag - (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.
- Is
Name boolL10n Tag - (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.
- is
Name BooleanL10n Tag - (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.
- is
Name booleanL10n Tag - (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_ booll10n_ tag - (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.
- is
Name BooleanL10n Tag - (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.