Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler
zia.getFirewallFilteringSourceIPGroups
Explore with Pulumi AI
Use the zia_firewall_filtering_ip_source_groups data source to get information about ip source groups available in the Zscaler Internet Access cloud firewall. This data source can then be associated with a ZIA firewall filtering rule.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zia from "@pulumi/zia";
const example = zia.getFirewallFilteringSourceIPGroups({
name: "example",
});
import pulumi
import pulumi_zia as zia
example = zia.get_firewall_filtering_source_ip_groups(name="example")
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.GetFirewallFilteringSourceIPGroups(ctx, &zia.GetFirewallFilteringSourceIPGroupsArgs{
Name: pulumi.StringRef("example"),
}, 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.GetFirewallFilteringSourceIPGroups.Invoke(new()
{
Name = "example",
});
});
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.GetFirewallFilteringSourceIPGroupsArgs;
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.getFirewallFilteringSourceIPGroups(GetFirewallFilteringSourceIPGroupsArgs.builder()
.name("example")
.build());
}
}
variables:
example:
fn::invoke:
Function: zia:getFirewallFilteringSourceIPGroups
Arguments:
name: example
Using getFirewallFilteringSourceIPGroups
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 getFirewallFilteringSourceIPGroups(args: GetFirewallFilteringSourceIPGroupsArgs, opts?: InvokeOptions): Promise<GetFirewallFilteringSourceIPGroupsResult>
function getFirewallFilteringSourceIPGroupsOutput(args: GetFirewallFilteringSourceIPGroupsOutputArgs, opts?: InvokeOptions): Output<GetFirewallFilteringSourceIPGroupsResult>
def get_firewall_filtering_source_ip_groups(id: Optional[int] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFirewallFilteringSourceIPGroupsResult
def get_firewall_filtering_source_ip_groups_output(id: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFirewallFilteringSourceIPGroupsResult]
func GetFirewallFilteringSourceIPGroups(ctx *Context, args *GetFirewallFilteringSourceIPGroupsArgs, opts ...InvokeOption) (*GetFirewallFilteringSourceIPGroupsResult, error)
func GetFirewallFilteringSourceIPGroupsOutput(ctx *Context, args *GetFirewallFilteringSourceIPGroupsOutputArgs, opts ...InvokeOption) GetFirewallFilteringSourceIPGroupsResultOutput
> Note: This function is named GetFirewallFilteringSourceIPGroups
in the Go SDK.
public static class GetFirewallFilteringSourceIPGroups
{
public static Task<GetFirewallFilteringSourceIPGroupsResult> InvokeAsync(GetFirewallFilteringSourceIPGroupsArgs args, InvokeOptions? opts = null)
public static Output<GetFirewallFilteringSourceIPGroupsResult> Invoke(GetFirewallFilteringSourceIPGroupsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFirewallFilteringSourceIPGroupsResult> getFirewallFilteringSourceIPGroups(GetFirewallFilteringSourceIPGroupsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zia:index/getFirewallFilteringSourceIPGroups:getFirewallFilteringSourceIPGroups
arguments:
# arguments dictionary
The following arguments are supported:
getFirewallFilteringSourceIPGroups Result
The following output properties are available:
- Description string
- (String)
- Id int
- The ID of this resource.
- Ip
Addresses List<string> - (List of String)
- Name string
- Description string
- (String)
- Id int
- The ID of this resource.
- Ip
Addresses []string - (List of String)
- Name string
- description String
- (String)
- id Integer
- The ID of this resource.
- ip
Addresses List<String> - (List of String)
- name String
- description string
- (String)
- id number
- The ID of this resource.
- ip
Addresses string[] - (List of String)
- name string
- description str
- (String)
- id int
- The ID of this resource.
- ip_
addresses Sequence[str] - (List of String)
- name str
- description String
- (String)
- id Number
- The ID of this resource.
- ip
Addresses List<String> - (List of String)
- name String
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.