Auth0 v3.19.1 published on Wednesday, Apr 30, 2025 by Pulumi
auth0.getNetworkAcl
Explore with Pulumi AI
Data source to retrieve a specific Auth0 Network ACL by ID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as auth0 from "@pulumi/auth0";
// An Auth0 network acl loaded using its ID.
const myNetworkAcl = auth0.getNetworkAcl({
id: "167f9a50-4444-3333-1111-ndfdaf953ab4",
});
import pulumi
import pulumi_auth0 as auth0
# An Auth0 network acl loaded using its ID.
my_network_acl = auth0.get_network_acl(id="167f9a50-4444-3333-1111-ndfdaf953ab4")
package main
import (
"github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// An Auth0 network acl loaded using its ID.
_, err := auth0.LookupNetworkAcl(ctx, &auth0.LookupNetworkAclArgs{
Id: "167f9a50-4444-3333-1111-ndfdaf953ab4",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Auth0 = Pulumi.Auth0;
return await Deployment.RunAsync(() =>
{
// An Auth0 network acl loaded using its ID.
var myNetworkAcl = Auth0.GetNetworkAcl.Invoke(new()
{
Id = "167f9a50-4444-3333-1111-ndfdaf953ab4",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.auth0.Auth0Functions;
import com.pulumi.auth0.inputs.GetNetworkAclArgs;
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) {
// An Auth0 network acl loaded using its ID.
final var myNetworkAcl = Auth0Functions.getNetworkAcl(GetNetworkAclArgs.builder()
.id("167f9a50-4444-3333-1111-ndfdaf953ab4")
.build());
}
}
variables:
# An Auth0 network acl loaded using its ID.
myNetworkAcl:
fn::invoke:
function: auth0:getNetworkAcl
arguments:
id: 167f9a50-4444-3333-1111-ndfdaf953ab4
Using getNetworkAcl
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 getNetworkAcl(args: GetNetworkAclArgs, opts?: InvokeOptions): Promise<GetNetworkAclResult>
function getNetworkAclOutput(args: GetNetworkAclOutputArgs, opts?: InvokeOptions): Output<GetNetworkAclResult>
def get_network_acl(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworkAclResult
def get_network_acl_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetworkAclResult]
func LookupNetworkAcl(ctx *Context, args *LookupNetworkAclArgs, opts ...InvokeOption) (*LookupNetworkAclResult, error)
func LookupNetworkAclOutput(ctx *Context, args *LookupNetworkAclOutputArgs, opts ...InvokeOption) LookupNetworkAclResultOutput
> Note: This function is named LookupNetworkAcl
in the Go SDK.
public static class GetNetworkAcl
{
public static Task<GetNetworkAclResult> InvokeAsync(GetNetworkAclArgs args, InvokeOptions? opts = null)
public static Output<GetNetworkAclResult> Invoke(GetNetworkAclInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNetworkAclResult> getNetworkAcl(GetNetworkAclArgs args, InvokeOptions options)
public static Output<GetNetworkAclResult> getNetworkAcl(GetNetworkAclArgs args, InvokeOptions options)
fn::invoke:
function: auth0:index/getNetworkAcl:getNetworkAcl
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The ID of the Network ACL.
- Id string
- The ID of the Network ACL.
- id String
- The ID of the Network ACL.
- id string
- The ID of the Network ACL.
- id str
- The ID of the Network ACL.
- id String
- The ID of the Network ACL.
getNetworkAcl Result
The following output properties are available:
- Active bool
- Whether the Network ACL is active
- Description string
- The description of the Network ACL
- Id string
- The ID of the Network ACL.
- Priority int
- The priority of the Network ACL. Must be unique between 1 and 10.
- Rules
List<Get
Network Acl Rule> - The rule of the Network ACL
- Active bool
- Whether the Network ACL is active
- Description string
- The description of the Network ACL
- Id string
- The ID of the Network ACL.
- Priority int
- The priority of the Network ACL. Must be unique between 1 and 10.
- Rules
[]Get
Network Acl Rule - The rule of the Network ACL
- active Boolean
- Whether the Network ACL is active
- description String
- The description of the Network ACL
- id String
- The ID of the Network ACL.
- priority Integer
- The priority of the Network ACL. Must be unique between 1 and 10.
- rules
List<Get
Network Acl Rule> - The rule of the Network ACL
- active boolean
- Whether the Network ACL is active
- description string
- The description of the Network ACL
- id string
- The ID of the Network ACL.
- priority number
- The priority of the Network ACL. Must be unique between 1 and 10.
- rules
Get
Network Acl Rule[] - The rule of the Network ACL
- active bool
- Whether the Network ACL is active
- description str
- The description of the Network ACL
- id str
- The ID of the Network ACL.
- priority int
- The priority of the Network ACL. Must be unique between 1 and 10.
- rules
Sequence[Get
Network Acl Rule] - The rule of the Network ACL
- active Boolean
- Whether the Network ACL is active
- description String
- The description of the Network ACL
- id String
- The ID of the Network ACL.
- priority Number
- The priority of the Network ACL. Must be unique between 1 and 10.
- rules List<Property Map>
- The rule of the Network ACL
Supporting Types
GetNetworkAclRule
- Actions
List<Get
Network Acl Rule Action> - The action configuration for the Network ACL Rule. Only one action type (block, allow, log, or redirect) should be specified.
- Matches
List<Get
Network Acl Rule Match> - The configuration for the Network ACL Rule
- Not
Matches List<GetNetwork Acl Rule Not Match> - The configuration for the Network ACL Rule
- Scope string
- The scope of the Network ACL Rule
- Actions
[]Get
Network Acl Rule Action - The action configuration for the Network ACL Rule. Only one action type (block, allow, log, or redirect) should be specified.
- Matches
[]Get
Network Acl Rule Match - The configuration for the Network ACL Rule
- Not
Matches []GetNetwork Acl Rule Not Match - The configuration for the Network ACL Rule
- Scope string
- The scope of the Network ACL Rule
- actions
List<Get
Network Acl Rule Action> - The action configuration for the Network ACL Rule. Only one action type (block, allow, log, or redirect) should be specified.
- matches
List<Get
Network Acl Rule Match> - The configuration for the Network ACL Rule
- not
Matches List<GetNetwork Acl Rule Not Match> - The configuration for the Network ACL Rule
- scope String
- The scope of the Network ACL Rule
- actions
Get
Network Acl Rule Action[] - The action configuration for the Network ACL Rule. Only one action type (block, allow, log, or redirect) should be specified.
- matches
Get
Network Acl Rule Match[] - The configuration for the Network ACL Rule
- not
Matches GetNetwork Acl Rule Not Match[] - The configuration for the Network ACL Rule
- scope string
- The scope of the Network ACL Rule
- actions
Sequence[Get
Network Acl Rule Action] - The action configuration for the Network ACL Rule. Only one action type (block, allow, log, or redirect) should be specified.
- matches
Sequence[Get
Network Acl Rule Match] - The configuration for the Network ACL Rule
- not_
matches Sequence[GetNetwork Acl Rule Not Match] - The configuration for the Network ACL Rule
- scope str
- The scope of the Network ACL Rule
- actions List<Property Map>
- The action configuration for the Network ACL Rule. Only one action type (block, allow, log, or redirect) should be specified.
- matches List<Property Map>
- The configuration for the Network ACL Rule
- not
Matches List<Property Map> - The configuration for the Network ACL Rule
- scope String
- The scope of the Network ACL Rule
GetNetworkAclRuleAction
- Allow bool
- If true, allows the request. When using allow action, no other properties should be set.
- Block bool
- If true, blocks the request. When using block action, no other properties should be set.
- Log bool
- If true, logs the request. When using log action, no other properties should be set.
- Redirect bool
- If true, redirects the request. When using redirect action, redirect_uri must also be specified.
- Redirect
Uri string - The URI to redirect to when redirect is true. Required when redirect is true. Must be between 1 and 2000 characters.
- Allow bool
- If true, allows the request. When using allow action, no other properties should be set.
- Block bool
- If true, blocks the request. When using block action, no other properties should be set.
- Log bool
- If true, logs the request. When using log action, no other properties should be set.
- Redirect bool
- If true, redirects the request. When using redirect action, redirect_uri must also be specified.
- Redirect
Uri string - The URI to redirect to when redirect is true. Required when redirect is true. Must be between 1 and 2000 characters.
- allow Boolean
- If true, allows the request. When using allow action, no other properties should be set.
- block Boolean
- If true, blocks the request. When using block action, no other properties should be set.
- log Boolean
- If true, logs the request. When using log action, no other properties should be set.
- redirect Boolean
- If true, redirects the request. When using redirect action, redirect_uri must also be specified.
- redirect
Uri String - The URI to redirect to when redirect is true. Required when redirect is true. Must be between 1 and 2000 characters.
- allow boolean
- If true, allows the request. When using allow action, no other properties should be set.
- block boolean
- If true, blocks the request. When using block action, no other properties should be set.
- log boolean
- If true, logs the request. When using log action, no other properties should be set.
- redirect boolean
- If true, redirects the request. When using redirect action, redirect_uri must also be specified.
- redirect
Uri string - The URI to redirect to when redirect is true. Required when redirect is true. Must be between 1 and 2000 characters.
- allow bool
- If true, allows the request. When using allow action, no other properties should be set.
- block bool
- If true, blocks the request. When using block action, no other properties should be set.
- log bool
- If true, logs the request. When using log action, no other properties should be set.
- redirect bool
- If true, redirects the request. When using redirect action, redirect_uri must also be specified.
- redirect_
uri str - The URI to redirect to when redirect is true. Required when redirect is true. Must be between 1 and 2000 characters.
- allow Boolean
- If true, allows the request. When using allow action, no other properties should be set.
- block Boolean
- If true, blocks the request. When using block action, no other properties should be set.
- log Boolean
- If true, logs the request. When using log action, no other properties should be set.
- redirect Boolean
- If true, redirects the request. When using redirect action, redirect_uri must also be specified.
- redirect
Uri String - The URI to redirect to when redirect is true. Required when redirect is true. Must be between 1 and 2000 characters.
GetNetworkAclRuleMatch
- Asns List<int>
- ASNs. Must contain between 1 and 10 unique items.
- Geo
Country List<string>Codes - Geo Country Codes. Must contain between 1 and 10 unique items.
- Geo
Subdivision List<string>Codes - Geo Subdivision Codes. Must contain between 1 and 10 unique items.
- Ipv4Cidrs List<string>
- IPv4 CIDRs. Must contain between 1 and 10 unique items. Can be IPv4 addresses or CIDR blocks.
- Ipv6Cidrs List<string>
- IPv6 CIDRs. Must contain between 1 and 10 unique items. Can be IPv6 addresses or CIDR blocks.
- Ja3Fingerprints List<string>
- JA3 Fingerprints. Must contain between 1 and 10 unique items.
- Ja4Fingerprints List<string>
- JA4 Fingerprints. Must contain between 1 and 10 unique items.
- User
Agents List<string> - User Agents. Must contain between 1 and 10 unique items.
- Asns []int
- ASNs. Must contain between 1 and 10 unique items.
- Geo
Country []stringCodes - Geo Country Codes. Must contain between 1 and 10 unique items.
- Geo
Subdivision []stringCodes - Geo Subdivision Codes. Must contain between 1 and 10 unique items.
- Ipv4Cidrs []string
- IPv4 CIDRs. Must contain between 1 and 10 unique items. Can be IPv4 addresses or CIDR blocks.
- Ipv6Cidrs []string
- IPv6 CIDRs. Must contain between 1 and 10 unique items. Can be IPv6 addresses or CIDR blocks.
- Ja3Fingerprints []string
- JA3 Fingerprints. Must contain between 1 and 10 unique items.
- Ja4Fingerprints []string
- JA4 Fingerprints. Must contain between 1 and 10 unique items.
- User
Agents []string - User Agents. Must contain between 1 and 10 unique items.
- asns List<Integer>
- ASNs. Must contain between 1 and 10 unique items.
- geo
Country List<String>Codes - Geo Country Codes. Must contain between 1 and 10 unique items.
- geo
Subdivision List<String>Codes - Geo Subdivision Codes. Must contain between 1 and 10 unique items.
- ipv4Cidrs List<String>
- IPv4 CIDRs. Must contain between 1 and 10 unique items. Can be IPv4 addresses or CIDR blocks.
- ipv6Cidrs List<String>
- IPv6 CIDRs. Must contain between 1 and 10 unique items. Can be IPv6 addresses or CIDR blocks.
- ja3Fingerprints List<String>
- JA3 Fingerprints. Must contain between 1 and 10 unique items.
- ja4Fingerprints List<String>
- JA4 Fingerprints. Must contain between 1 and 10 unique items.
- user
Agents List<String> - User Agents. Must contain between 1 and 10 unique items.
- asns number[]
- ASNs. Must contain between 1 and 10 unique items.
- geo
Country string[]Codes - Geo Country Codes. Must contain between 1 and 10 unique items.
- geo
Subdivision string[]Codes - Geo Subdivision Codes. Must contain between 1 and 10 unique items.
- ipv4Cidrs string[]
- IPv4 CIDRs. Must contain between 1 and 10 unique items. Can be IPv4 addresses or CIDR blocks.
- ipv6Cidrs string[]
- IPv6 CIDRs. Must contain between 1 and 10 unique items. Can be IPv6 addresses or CIDR blocks.
- ja3Fingerprints string[]
- JA3 Fingerprints. Must contain between 1 and 10 unique items.
- ja4Fingerprints string[]
- JA4 Fingerprints. Must contain between 1 and 10 unique items.
- user
Agents string[] - User Agents. Must contain between 1 and 10 unique items.
- asns Sequence[int]
- ASNs. Must contain between 1 and 10 unique items.
- geo_
country_ Sequence[str]codes - Geo Country Codes. Must contain between 1 and 10 unique items.
- geo_
subdivision_ Sequence[str]codes - Geo Subdivision Codes. Must contain between 1 and 10 unique items.
- ipv4_
cidrs Sequence[str] - IPv4 CIDRs. Must contain between 1 and 10 unique items. Can be IPv4 addresses or CIDR blocks.
- ipv6_
cidrs Sequence[str] - IPv6 CIDRs. Must contain between 1 and 10 unique items. Can be IPv6 addresses or CIDR blocks.
- ja3_
fingerprints Sequence[str] - JA3 Fingerprints. Must contain between 1 and 10 unique items.
- ja4_
fingerprints Sequence[str] - JA4 Fingerprints. Must contain between 1 and 10 unique items.
- user_
agents Sequence[str] - User Agents. Must contain between 1 and 10 unique items.
- asns List<Number>
- ASNs. Must contain between 1 and 10 unique items.
- geo
Country List<String>Codes - Geo Country Codes. Must contain between 1 and 10 unique items.
- geo
Subdivision List<String>Codes - Geo Subdivision Codes. Must contain between 1 and 10 unique items.
- ipv4Cidrs List<String>
- IPv4 CIDRs. Must contain between 1 and 10 unique items. Can be IPv4 addresses or CIDR blocks.
- ipv6Cidrs List<String>
- IPv6 CIDRs. Must contain between 1 and 10 unique items. Can be IPv6 addresses or CIDR blocks.
- ja3Fingerprints List<String>
- JA3 Fingerprints. Must contain between 1 and 10 unique items.
- ja4Fingerprints List<String>
- JA4 Fingerprints. Must contain between 1 and 10 unique items.
- user
Agents List<String> - User Agents. Must contain between 1 and 10 unique items.
GetNetworkAclRuleNotMatch
- Asns List<int>
- ASNs. Must contain between 1 and 10 unique items.
- Geo
Country List<string>Codes - Geo Country Codes. Must contain between 1 and 10 unique items.
- Geo
Subdivision List<string>Codes - Geo Subdivision Codes. Must contain between 1 and 10 unique items.
- Ipv4Cidrs List<string>
- IPv4 CIDRs. Must contain between 1 and 10 unique items. Can be IPv4 addresses or CIDR blocks.
- Ipv6Cidrs List<string>
- IPv6 CIDRs. Must contain between 1 and 10 unique items. Can be IPv6 addresses or CIDR blocks.
- Ja3Fingerprints List<string>
- JA3 Fingerprints. Must contain between 1 and 10 unique items.
- Ja4Fingerprints List<string>
- JA4 Fingerprints. Must contain between 1 and 10 unique items.
- User
Agents List<string> - User Agents. Must contain between 1 and 10 unique items.
- Asns []int
- ASNs. Must contain between 1 and 10 unique items.
- Geo
Country []stringCodes - Geo Country Codes. Must contain between 1 and 10 unique items.
- Geo
Subdivision []stringCodes - Geo Subdivision Codes. Must contain between 1 and 10 unique items.
- Ipv4Cidrs []string
- IPv4 CIDRs. Must contain between 1 and 10 unique items. Can be IPv4 addresses or CIDR blocks.
- Ipv6Cidrs []string
- IPv6 CIDRs. Must contain between 1 and 10 unique items. Can be IPv6 addresses or CIDR blocks.
- Ja3Fingerprints []string
- JA3 Fingerprints. Must contain between 1 and 10 unique items.
- Ja4Fingerprints []string
- JA4 Fingerprints. Must contain between 1 and 10 unique items.
- User
Agents []string - User Agents. Must contain between 1 and 10 unique items.
- asns List<Integer>
- ASNs. Must contain between 1 and 10 unique items.
- geo
Country List<String>Codes - Geo Country Codes. Must contain between 1 and 10 unique items.
- geo
Subdivision List<String>Codes - Geo Subdivision Codes. Must contain between 1 and 10 unique items.
- ipv4Cidrs List<String>
- IPv4 CIDRs. Must contain between 1 and 10 unique items. Can be IPv4 addresses or CIDR blocks.
- ipv6Cidrs List<String>
- IPv6 CIDRs. Must contain between 1 and 10 unique items. Can be IPv6 addresses or CIDR blocks.
- ja3Fingerprints List<String>
- JA3 Fingerprints. Must contain between 1 and 10 unique items.
- ja4Fingerprints List<String>
- JA4 Fingerprints. Must contain between 1 and 10 unique items.
- user
Agents List<String> - User Agents. Must contain between 1 and 10 unique items.
- asns number[]
- ASNs. Must contain between 1 and 10 unique items.
- geo
Country string[]Codes - Geo Country Codes. Must contain between 1 and 10 unique items.
- geo
Subdivision string[]Codes - Geo Subdivision Codes. Must contain between 1 and 10 unique items.
- ipv4Cidrs string[]
- IPv4 CIDRs. Must contain between 1 and 10 unique items. Can be IPv4 addresses or CIDR blocks.
- ipv6Cidrs string[]
- IPv6 CIDRs. Must contain between 1 and 10 unique items. Can be IPv6 addresses or CIDR blocks.
- ja3Fingerprints string[]
- JA3 Fingerprints. Must contain between 1 and 10 unique items.
- ja4Fingerprints string[]
- JA4 Fingerprints. Must contain between 1 and 10 unique items.
- user
Agents string[] - User Agents. Must contain between 1 and 10 unique items.
- asns Sequence[int]
- ASNs. Must contain between 1 and 10 unique items.
- geo_
country_ Sequence[str]codes - Geo Country Codes. Must contain between 1 and 10 unique items.
- geo_
subdivision_ Sequence[str]codes - Geo Subdivision Codes. Must contain between 1 and 10 unique items.
- ipv4_
cidrs Sequence[str] - IPv4 CIDRs. Must contain between 1 and 10 unique items. Can be IPv4 addresses or CIDR blocks.
- ipv6_
cidrs Sequence[str] - IPv6 CIDRs. Must contain between 1 and 10 unique items. Can be IPv6 addresses or CIDR blocks.
- ja3_
fingerprints Sequence[str] - JA3 Fingerprints. Must contain between 1 and 10 unique items.
- ja4_
fingerprints Sequence[str] - JA4 Fingerprints. Must contain between 1 and 10 unique items.
- user_
agents Sequence[str] - User Agents. Must contain between 1 and 10 unique items.
- asns List<Number>
- ASNs. Must contain between 1 and 10 unique items.
- geo
Country List<String>Codes - Geo Country Codes. Must contain between 1 and 10 unique items.
- geo
Subdivision List<String>Codes - Geo Subdivision Codes. Must contain between 1 and 10 unique items.
- ipv4Cidrs List<String>
- IPv4 CIDRs. Must contain between 1 and 10 unique items. Can be IPv4 addresses or CIDR blocks.
- ipv6Cidrs List<String>
- IPv6 CIDRs. Must contain between 1 and 10 unique items. Can be IPv6 addresses or CIDR blocks.
- ja3Fingerprints List<String>
- JA3 Fingerprints. Must contain between 1 and 10 unique items.
- ja4Fingerprints List<String>
- JA4 Fingerprints. Must contain between 1 and 10 unique items.
- user
Agents List<String> - User Agents. Must contain between 1 and 10 unique items.
Package Details
- Repository
- Auth0 pulumi/pulumi-auth0
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
auth0
Terraform Provider.