1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getFwNetworkService
Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler
zia logo
Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler

    Use this data source to look up a firewall network service by ID or name.

    Using getFwNetworkService

    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 getFwNetworkService(args: GetFwNetworkServiceArgs, opts?: InvokeOptions): Promise<GetFwNetworkServiceResult>
    function getFwNetworkServiceOutput(args: GetFwNetworkServiceOutputArgs, opts?: InvokeOptions): Output<GetFwNetworkServiceResult>
    def get_fw_network_service(name: Optional[str] = None,
                               network_service_id: Optional[int] = None,
                               opts: Optional[InvokeOptions] = None) -> GetFwNetworkServiceResult
    def get_fw_network_service_output(name: Optional[pulumi.Input[str]] = None,
                               network_service_id: Optional[pulumi.Input[int]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetFwNetworkServiceResult]
    func LookupFwNetworkService(ctx *Context, args *LookupFwNetworkServiceArgs, opts ...InvokeOption) (*LookupFwNetworkServiceResult, error)
    func LookupFwNetworkServiceOutput(ctx *Context, args *LookupFwNetworkServiceOutputArgs, opts ...InvokeOption) LookupFwNetworkServiceResultOutput

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

    public static class GetFwNetworkService 
    {
        public static Task<GetFwNetworkServiceResult> InvokeAsync(GetFwNetworkServiceArgs args, InvokeOptions? opts = null)
        public static Output<GetFwNetworkServiceResult> Invoke(GetFwNetworkServiceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFwNetworkServiceResult> getFwNetworkService(GetFwNetworkServiceArgs args, InvokeOptions options)
    public static Output<GetFwNetworkServiceResult> getFwNetworkService(GetFwNetworkServiceArgs args, InvokeOptions options)
    
    fn::invoke:
      function: zia:getFwNetworkService
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the network service to look up.
    NetworkServiceId int
    The ID of the network service to look up.
    Name string
    The name of the network service to look up.
    NetworkServiceId int
    The ID of the network service to look up.
    name String
    The name of the network service to look up.
    networkServiceId Integer
    The ID of the network service to look up.
    name string
    The name of the network service to look up.
    networkServiceId number
    The ID of the network service to look up.
    name str
    The name of the network service to look up.
    network_service_id int
    The ID of the network service to look up.
    name String
    The name of the network service to look up.
    networkServiceId Number
    The ID of the network service to look up.

    getFwNetworkService Result

    The following output properties are available:

    Name string
    The name of the network service.
    NetworkServiceId int
    The ID of the network service.
    Name string
    The name of the network service.
    NetworkServiceId int
    The ID of the network service.
    name String
    The name of the network service.
    networkServiceId Integer
    The ID of the network service.
    name string
    The name of the network service.
    networkServiceId number
    The ID of the network service.
    name str
    The name of the network service.
    network_service_id int
    The ID of the network service.
    name String
    The name of the network service.
    networkServiceId Number
    The ID of the network service.

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    zia logo
    Viewing docs for pulumi-resource-zia v1.3.8
    published on Friday, Mar 13, 2026 by Zscaler
      Try Pulumi Cloud free. Your team will thank you.