Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler
zia.getFirewallFilteringApplication
Explore with Pulumi AI
Use the zia_firewall_filtering_network_application data source to get information about a network application available in the Zscaler Internet Access cloud firewall. This data source can then be associated with a ZIA firewall filtering network application rule.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zia from "@pulumi/zia";
const apns = zia.getFirewallFilteringApplication({
id: "APNS",
locale: "en-US",
});
import pulumi
import pulumi_zia as zia
apns = zia.get_firewall_filtering_application(id="APNS",
locale="en-US")
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.GetFirewallFilteringApplication(ctx, &zia.GetFirewallFilteringApplicationArgs{
Id: pulumi.StringRef("APNS"),
Locale: pulumi.StringRef("en-US"),
}, 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 apns = Zia.GetFirewallFilteringApplication.Invoke(new()
{
Id = "APNS",
Locale = "en-US",
});
});
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.GetFirewallFilteringApplicationArgs;
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 apns = ZiaFunctions.getFirewallFilteringApplication(GetFirewallFilteringApplicationArgs.builder()
.id("APNS")
.locale("en-US")
.build());
}
}
variables:
apns:
fn::invoke:
Function: zia:getFirewallFilteringApplication
Arguments:
id: APNS
locale: en-US
import * as pulumi from "@pulumi/pulumi";
import * as zia from "@pulumi/zia";
const dict = zia.getFirewallFilteringApplication({
id: "DICT",
});
import pulumi
import pulumi_zia as zia
dict = zia.get_firewall_filtering_application(id="DICT")
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.GetFirewallFilteringApplication(ctx, &zia.GetFirewallFilteringApplicationArgs{
Id: pulumi.StringRef("DICT"),
}, 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 dict = Zia.GetFirewallFilteringApplication.Invoke(new()
{
Id = "DICT",
});
});
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.GetFirewallFilteringApplicationArgs;
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 dict = ZiaFunctions.getFirewallFilteringApplication(GetFirewallFilteringApplicationArgs.builder()
.id("DICT")
.build());
}
}
variables:
dict:
fn::invoke:
Function: zia:getFirewallFilteringApplication
Arguments:
id: DICT
Using getFirewallFilteringApplication
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 getFirewallFilteringApplication(args: GetFirewallFilteringApplicationArgs, opts?: InvokeOptions): Promise<GetFirewallFilteringApplicationResult>
function getFirewallFilteringApplicationOutput(args: GetFirewallFilteringApplicationOutputArgs, opts?: InvokeOptions): Output<GetFirewallFilteringApplicationResult>
def get_firewall_filtering_application(id: Optional[str] = None,
locale: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFirewallFilteringApplicationResult
def get_firewall_filtering_application_output(id: Optional[pulumi.Input[str]] = None,
locale: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFirewallFilteringApplicationResult]
func GetFirewallFilteringApplication(ctx *Context, args *GetFirewallFilteringApplicationArgs, opts ...InvokeOption) (*GetFirewallFilteringApplicationResult, error)
func GetFirewallFilteringApplicationOutput(ctx *Context, args *GetFirewallFilteringApplicationOutputArgs, opts ...InvokeOption) GetFirewallFilteringApplicationResultOutput
> Note: This function is named GetFirewallFilteringApplication
in the Go SDK.
public static class GetFirewallFilteringApplication
{
public static Task<GetFirewallFilteringApplicationResult> InvokeAsync(GetFirewallFilteringApplicationArgs args, InvokeOptions? opts = null)
public static Output<GetFirewallFilteringApplicationResult> Invoke(GetFirewallFilteringApplicationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFirewallFilteringApplicationResult> getFirewallFilteringApplication(GetFirewallFilteringApplicationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zia:index/getFirewallFilteringApplication:getFirewallFilteringApplication
arguments:
# arguments dictionary
The following arguments are supported:
getFirewallFilteringApplication Result
The following output properties are available:
- Deprecated bool
- (Boolean)
- Description string
- (String)
- Parent
Category string - (String)
- Id string
- Locale string
- Deprecated bool
- (Boolean)
- Description string
- (String)
- Parent
Category string - (String)
- Id string
- Locale string
- deprecated Boolean
- (Boolean)
- description String
- (String)
- parent
Category String - (String)
- id String
- locale String
- deprecated boolean
- (Boolean)
- description string
- (String)
- parent
Category string - (String)
- id string
- locale string
- deprecated bool
- (Boolean)
- description str
- (String)
- parent_
category str - (String)
- id str
- locale str
- deprecated Boolean
- (Boolean)
- description String
- (String)
- parent
Category String - (String)
- id String
- locale String
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.