Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler
zia.getFirewallFilteringNetworkServices
Explore with Pulumi AI
The zia_firewall_filtering_network_service data source to get information about a network service 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.getFirewallFilteringNetworkServices({
name: "ICMP_ANY",
});
import pulumi
import pulumi_zia as zia
example = zia.get_firewall_filtering_network_services(name="ICMP_ANY")
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.LookupFirewallFilteringNetworkServices(ctx, &zia.LookupFirewallFilteringNetworkServicesArgs{
Name: pulumi.StringRef("ICMP_ANY"),
}, 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.GetFirewallFilteringNetworkServices.Invoke(new()
{
Name = "ICMP_ANY",
});
});
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.GetFirewallFilteringNetworkServicesArgs;
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.getFirewallFilteringNetworkServices(GetFirewallFilteringNetworkServicesArgs.builder()
.name("ICMP_ANY")
.build());
}
}
variables:
example:
fn::invoke:
Function: zia:getFirewallFilteringNetworkServices
Arguments:
name: ICMP_ANY
Using getFirewallFilteringNetworkServices
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 getFirewallFilteringNetworkServices(args: GetFirewallFilteringNetworkServicesArgs, opts?: InvokeOptions): Promise<GetFirewallFilteringNetworkServicesResult>
function getFirewallFilteringNetworkServicesOutput(args: GetFirewallFilteringNetworkServicesOutputArgs, opts?: InvokeOptions): Output<GetFirewallFilteringNetworkServicesResult>
def get_firewall_filtering_network_services(id: Optional[int] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFirewallFilteringNetworkServicesResult
def get_firewall_filtering_network_services_output(id: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFirewallFilteringNetworkServicesResult]
func LookupFirewallFilteringNetworkServices(ctx *Context, args *LookupFirewallFilteringNetworkServicesArgs, opts ...InvokeOption) (*LookupFirewallFilteringNetworkServicesResult, error)
func LookupFirewallFilteringNetworkServicesOutput(ctx *Context, args *LookupFirewallFilteringNetworkServicesOutputArgs, opts ...InvokeOption) LookupFirewallFilteringNetworkServicesResultOutput
> Note: This function is named LookupFirewallFilteringNetworkServices
in the Go SDK.
public static class GetFirewallFilteringNetworkServices
{
public static Task<GetFirewallFilteringNetworkServicesResult> InvokeAsync(GetFirewallFilteringNetworkServicesArgs args, InvokeOptions? opts = null)
public static Output<GetFirewallFilteringNetworkServicesResult> Invoke(GetFirewallFilteringNetworkServicesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFirewallFilteringNetworkServicesResult> getFirewallFilteringNetworkServices(GetFirewallFilteringNetworkServicesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zia:index/getFirewallFilteringNetworkServices:getFirewallFilteringNetworkServices
arguments:
# arguments dictionary
The following arguments are supported:
getFirewallFilteringNetworkServices Result
The following output properties are available:
- Description string
- (String) (Optional) Enter additional notes or information. The description cannot exceed 10240 characters.
- Dest
Tcp List<zscaler.Ports Pulumi Package. Zia. Outputs. Get Firewall Filtering Network Services Dest Tcp Port> - (Required) The TCP destination port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
- Dest
Udp List<zscaler.Ports Pulumi Package. Zia. Outputs. Get Firewall Filtering Network Services Dest Udp Port> - The UDP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
- Id int
- Is
Name boolL10n Tag - (Bool) - Default: false
- Name string
- Src
Tcp List<zscaler.Ports Pulumi Package. Zia. Outputs. Get Firewall Filtering Network Services Src Tcp Port> - (Optional) The TCP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service
- Src
Udp List<zscaler.Ports Pulumi Package. Zia. Outputs. Get Firewall Filtering Network Services Src Udp Port> - The UDP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
- Tag string
- Type string
- (String) - Supported values are:
STANDARD
,PREDEFINED
andCUSTOM
- Description string
- (String) (Optional) Enter additional notes or information. The description cannot exceed 10240 characters.
- Dest
Tcp []GetPorts Firewall Filtering Network Services Dest Tcp Port - (Required) The TCP destination port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
- Dest
Udp []GetPorts Firewall Filtering Network Services Dest Udp Port - The UDP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
- Id int
- Is
Name boolL10n Tag - (Bool) - Default: false
- Name string
- Src
Tcp []GetPorts Firewall Filtering Network Services Src Tcp Port - (Optional) The TCP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service
- Src
Udp []GetPorts Firewall Filtering Network Services Src Udp Port - The UDP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
- Tag string
- Type string
- (String) - Supported values are:
STANDARD
,PREDEFINED
andCUSTOM
- description String
- (String) (Optional) Enter additional notes or information. The description cannot exceed 10240 characters.
- dest
Tcp List<GetPorts Firewall Filtering Network Services Dest Tcp Port> - (Required) The TCP destination port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
- dest
Udp List<GetPorts Firewall Filtering Network Services Dest Udp Port> - The UDP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
- id Integer
- is
Name BooleanL10n Tag - (Bool) - Default: false
- name String
- src
Tcp List<GetPorts Firewall Filtering Network Services Src Tcp Port> - (Optional) The TCP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service
- src
Udp List<GetPorts Firewall Filtering Network Services Src Udp Port> - The UDP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
- tag String
- type String
- (String) - Supported values are:
STANDARD
,PREDEFINED
andCUSTOM
- description string
- (String) (Optional) Enter additional notes or information. The description cannot exceed 10240 characters.
- dest
Tcp GetPorts Firewall Filtering Network Services Dest Tcp Port[] - (Required) The TCP destination port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
- dest
Udp GetPorts Firewall Filtering Network Services Dest Udp Port[] - The UDP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
- id number
- is
Name booleanL10n Tag - (Bool) - Default: false
- name string
- src
Tcp GetPorts Firewall Filtering Network Services Src Tcp Port[] - (Optional) The TCP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service
- src
Udp GetPorts Firewall Filtering Network Services Src Udp Port[] - The UDP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
- tag string
- type string
- (String) - Supported values are:
STANDARD
,PREDEFINED
andCUSTOM
- description str
- (String) (Optional) Enter additional notes or information. The description cannot exceed 10240 characters.
- dest_
tcp_ Sequence[Getports Firewall Filtering Network Services Dest Tcp Port] - (Required) The TCP destination port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
- dest_
udp_ Sequence[Getports Firewall Filtering Network Services Dest Udp Port] - The UDP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
- id int
- is_
name_ booll10n_ tag - (Bool) - Default: false
- name str
- src_
tcp_ Sequence[Getports Firewall Filtering Network Services Src Tcp Port] - (Optional) The TCP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service
- src_
udp_ Sequence[Getports Firewall Filtering Network Services Src Udp Port] - The UDP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
- tag str
- type str
- (String) - Supported values are:
STANDARD
,PREDEFINED
andCUSTOM
- description String
- (String) (Optional) Enter additional notes or information. The description cannot exceed 10240 characters.
- dest
Tcp List<Property Map>Ports - (Required) The TCP destination port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
- dest
Udp List<Property Map>Ports - The UDP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
- id Number
- is
Name BooleanL10n Tag - (Bool) - Default: false
- name String
- src
Tcp List<Property Map>Ports - (Optional) The TCP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service
- src
Udp List<Property Map>Ports - The UDP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
- tag String
- type String
- (String) - Supported values are:
STANDARD
,PREDEFINED
andCUSTOM
Supporting Types
GetFirewallFilteringNetworkServicesDestTcpPort
GetFirewallFilteringNetworkServicesDestUdpPort
GetFirewallFilteringNetworkServicesSrcTcpPort
GetFirewallFilteringNetworkServicesSrcUdpPort
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.