1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getFirewallFilteringNetworkServices
Zscaler Internet Access v0.0.6 published on Wednesday, Apr 10, 2024 by Zscaler

zia.getFirewallFilteringNetworkServices

Explore with Pulumi AI

zia logo
Zscaler Internet Access v0.0.6 published on Wednesday, Apr 10, 2024 by Zscaler

    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:

    Id int
    The ID of the application layer service to be exported.
    Name string
    Name of the application layer service that you want to control. It can include any character and spaces.
    Id int
    The ID of the application layer service to be exported.
    Name string
    Name of the application layer service that you want to control. It can include any character and spaces.
    id Integer
    The ID of the application layer service to be exported.
    name String
    Name of the application layer service that you want to control. It can include any character and spaces.
    id number
    The ID of the application layer service to be exported.
    name string
    Name of the application layer service that you want to control. It can include any character and spaces.
    id int
    The ID of the application layer service to be exported.
    name str
    Name of the application layer service that you want to control. It can include any character and spaces.
    id Number
    The ID of the application layer service to be exported.
    name String
    Name of the application layer service that you want to control. It can include any character and spaces.

    getFirewallFilteringNetworkServices Result

    The following output properties are available:

    Description string
    (String) (Optional) Enter additional notes or information. The description cannot exceed 10240 characters.
    DestTcpPorts List<zscaler.PulumiPackage.Zia.Outputs.GetFirewallFilteringNetworkServicesDestTcpPort>
    (Required) The TCP destination port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
    DestUdpPorts List<zscaler.PulumiPackage.Zia.Outputs.GetFirewallFilteringNetworkServicesDestUdpPort>
    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
    IsNameL10nTag bool
    (Bool) - Default: false
    Name string
    SrcTcpPorts List<zscaler.PulumiPackage.Zia.Outputs.GetFirewallFilteringNetworkServicesSrcTcpPort>
    (Optional) The TCP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service
    SrcUdpPorts List<zscaler.PulumiPackage.Zia.Outputs.GetFirewallFilteringNetworkServicesSrcUdpPort>
    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 and CUSTOM
    Description string
    (String) (Optional) Enter additional notes or information. The description cannot exceed 10240 characters.
    DestTcpPorts []GetFirewallFilteringNetworkServicesDestTcpPort
    (Required) The TCP destination port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
    DestUdpPorts []GetFirewallFilteringNetworkServicesDestUdpPort
    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
    IsNameL10nTag bool
    (Bool) - Default: false
    Name string
    SrcTcpPorts []GetFirewallFilteringNetworkServicesSrcTcpPort
    (Optional) The TCP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service
    SrcUdpPorts []GetFirewallFilteringNetworkServicesSrcUdpPort
    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 and CUSTOM
    description String
    (String) (Optional) Enter additional notes or information. The description cannot exceed 10240 characters.
    destTcpPorts List<GetFirewallFilteringNetworkServicesDestTcpPort>
    (Required) The TCP destination port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
    destUdpPorts List<GetFirewallFilteringNetworkServicesDestUdpPort>
    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
    isNameL10nTag Boolean
    (Bool) - Default: false
    name String
    srcTcpPorts List<GetFirewallFilteringNetworkServicesSrcTcpPort>
    (Optional) The TCP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service
    srcUdpPorts List<GetFirewallFilteringNetworkServicesSrcUdpPort>
    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 and CUSTOM
    description string
    (String) (Optional) Enter additional notes or information. The description cannot exceed 10240 characters.
    destTcpPorts GetFirewallFilteringNetworkServicesDestTcpPort[]
    (Required) The TCP destination port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
    destUdpPorts GetFirewallFilteringNetworkServicesDestUdpPort[]
    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
    isNameL10nTag boolean
    (Bool) - Default: false
    name string
    srcTcpPorts GetFirewallFilteringNetworkServicesSrcTcpPort[]
    (Optional) The TCP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service
    srcUdpPorts GetFirewallFilteringNetworkServicesSrcUdpPort[]
    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 and CUSTOM
    description str
    (String) (Optional) Enter additional notes or information. The description cannot exceed 10240 characters.
    dest_tcp_ports Sequence[GetFirewallFilteringNetworkServicesDestTcpPort]
    (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_ports Sequence[GetFirewallFilteringNetworkServicesDestUdpPort]
    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_l10n_tag bool
    (Bool) - Default: false
    name str
    src_tcp_ports Sequence[GetFirewallFilteringNetworkServicesSrcTcpPort]
    (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_ports Sequence[GetFirewallFilteringNetworkServicesSrcUdpPort]
    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 and CUSTOM
    description String
    (String) (Optional) Enter additional notes or information. The description cannot exceed 10240 characters.
    destTcpPorts List<Property Map>
    (Required) The TCP destination port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service.
    destUdpPorts List<Property Map>
    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
    isNameL10nTag Boolean
    (Bool) - Default: false
    name String
    srcTcpPorts List<Property Map>
    (Optional) The TCP source port number (example: 50) or port number range (example: 1000-1050), if any, that is used by the network service
    srcUdpPorts List<Property Map>
    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 and CUSTOM

    Supporting Types

    GetFirewallFilteringNetworkServicesDestTcpPort

    End int
    (Number)
    Start int
    (Number)
    End int
    (Number)
    Start int
    (Number)
    end Integer
    (Number)
    start Integer
    (Number)
    end number
    (Number)
    start number
    (Number)
    end int
    (Number)
    start int
    (Number)
    end Number
    (Number)
    start Number
    (Number)

    GetFirewallFilteringNetworkServicesDestUdpPort

    End int
    (Number)
    Start int
    (Number)
    End int
    (Number)
    Start int
    (Number)
    end Integer
    (Number)
    start Integer
    (Number)
    end number
    (Number)
    start number
    (Number)
    end int
    (Number)
    start int
    (Number)
    end Number
    (Number)
    start Number
    (Number)

    GetFirewallFilteringNetworkServicesSrcTcpPort

    End int
    (Number)
    Start int
    (Number)
    End int
    (Number)
    Start int
    (Number)
    end Integer
    (Number)
    start Integer
    (Number)
    end number
    (Number)
    start number
    (Number)
    end int
    (Number)
    start int
    (Number)
    end Number
    (Number)
    start Number
    (Number)

    GetFirewallFilteringNetworkServicesSrcUdpPort

    End int
    (Number)
    Start int
    (Number)
    End int
    (Number)
    Start int
    (Number)
    end Integer
    (Number)
    start Integer
    (Number)
    end number
    (Number)
    start number
    (Number)
    end int
    (Number)
    start int
    (Number)
    end Number
    (Number)
    start Number
    (Number)

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    MIT
    Notes
    This Pulumi package is based on the zia Terraform Provider.
    zia logo
    Zscaler Internet Access v0.0.6 published on Wednesday, Apr 10, 2024 by Zscaler