1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. NetworkFirewall
  5. getNetworkFirewallPolicyUrlLists
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.NetworkFirewall.getNetworkFirewallPolicyUrlLists

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

This data source provides the list of Network Firewall Policy Url Lists in Oracle Cloud Infrastructure Network Firewall service.

Returns a list of URL lists for the Network Firewall Policy.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testNetworkFirewallPolicyUrlLists = oci.NetworkFirewall.getNetworkFirewallPolicyUrlLists({
    networkFirewallPolicyId: testNetworkFirewallPolicy.id,
    displayName: networkFirewallPolicyUrlListDisplayName,
});
Copy
import pulumi
import pulumi_oci as oci

test_network_firewall_policy_url_lists = oci.NetworkFirewall.get_network_firewall_policy_url_lists(network_firewall_policy_id=test_network_firewall_policy["id"],
    display_name=network_firewall_policy_url_list_display_name)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/networkfirewall"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := networkfirewall.GetNetworkFirewallPolicyUrlLists(ctx, &networkfirewall.GetNetworkFirewallPolicyUrlListsArgs{
			NetworkFirewallPolicyId: testNetworkFirewallPolicy.Id,
			DisplayName:             pulumi.StringRef(networkFirewallPolicyUrlListDisplayName),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testNetworkFirewallPolicyUrlLists = Oci.NetworkFirewall.GetNetworkFirewallPolicyUrlLists.Invoke(new()
    {
        NetworkFirewallPolicyId = testNetworkFirewallPolicy.Id,
        DisplayName = networkFirewallPolicyUrlListDisplayName,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.NetworkFirewall.NetworkFirewallFunctions;
import com.pulumi.oci.NetworkFirewall.inputs.GetNetworkFirewallPolicyUrlListsArgs;
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 testNetworkFirewallPolicyUrlLists = NetworkFirewallFunctions.getNetworkFirewallPolicyUrlLists(GetNetworkFirewallPolicyUrlListsArgs.builder()
            .networkFirewallPolicyId(testNetworkFirewallPolicy.id())
            .displayName(networkFirewallPolicyUrlListDisplayName)
            .build());

    }
}
Copy
variables:
  testNetworkFirewallPolicyUrlLists:
    fn::invoke:
      function: oci:NetworkFirewall:getNetworkFirewallPolicyUrlLists
      arguments:
        networkFirewallPolicyId: ${testNetworkFirewallPolicy.id}
        displayName: ${networkFirewallPolicyUrlListDisplayName}
Copy

Using getNetworkFirewallPolicyUrlLists

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 getNetworkFirewallPolicyUrlLists(args: GetNetworkFirewallPolicyUrlListsArgs, opts?: InvokeOptions): Promise<GetNetworkFirewallPolicyUrlListsResult>
function getNetworkFirewallPolicyUrlListsOutput(args: GetNetworkFirewallPolicyUrlListsOutputArgs, opts?: InvokeOptions): Output<GetNetworkFirewallPolicyUrlListsResult>
Copy
def get_network_firewall_policy_url_lists(display_name: Optional[str] = None,
                                          filters: Optional[Sequence[_networkfirewall.GetNetworkFirewallPolicyUrlListsFilter]] = None,
                                          network_firewall_policy_id: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetNetworkFirewallPolicyUrlListsResult
def get_network_firewall_policy_url_lists_output(display_name: Optional[pulumi.Input[str]] = None,
                                          filters: Optional[pulumi.Input[Sequence[pulumi.Input[_networkfirewall.GetNetworkFirewallPolicyUrlListsFilterArgs]]]] = None,
                                          network_firewall_policy_id: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetNetworkFirewallPolicyUrlListsResult]
Copy
func GetNetworkFirewallPolicyUrlLists(ctx *Context, args *GetNetworkFirewallPolicyUrlListsArgs, opts ...InvokeOption) (*GetNetworkFirewallPolicyUrlListsResult, error)
func GetNetworkFirewallPolicyUrlListsOutput(ctx *Context, args *GetNetworkFirewallPolicyUrlListsOutputArgs, opts ...InvokeOption) GetNetworkFirewallPolicyUrlListsResultOutput
Copy

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

public static class GetNetworkFirewallPolicyUrlLists 
{
    public static Task<GetNetworkFirewallPolicyUrlListsResult> InvokeAsync(GetNetworkFirewallPolicyUrlListsArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkFirewallPolicyUrlListsResult> Invoke(GetNetworkFirewallPolicyUrlListsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetNetworkFirewallPolicyUrlListsResult> getNetworkFirewallPolicyUrlLists(GetNetworkFirewallPolicyUrlListsArgs args, InvokeOptions options)
public static Output<GetNetworkFirewallPolicyUrlListsResult> getNetworkFirewallPolicyUrlLists(GetNetworkFirewallPolicyUrlListsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:NetworkFirewall/getNetworkFirewallPolicyUrlLists:getNetworkFirewallPolicyUrlLists
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

NetworkFirewallPolicyId This property is required. string
Unique Network Firewall Policy identifier
DisplayName string
A filter to return only resources that match the entire display name given.
Filters Changes to this property will trigger replacement. List<GetNetworkFirewallPolicyUrlListsFilter>
NetworkFirewallPolicyId This property is required. string
Unique Network Firewall Policy identifier
DisplayName string
A filter to return only resources that match the entire display name given.
Filters Changes to this property will trigger replacement. []GetNetworkFirewallPolicyUrlListsFilter
networkFirewallPolicyId This property is required. String
Unique Network Firewall Policy identifier
displayName String
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. List<GetPolicyUrlListsFilter>
networkFirewallPolicyId This property is required. string
Unique Network Firewall Policy identifier
displayName string
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. GetNetworkFirewallPolicyUrlListsFilter[]
network_firewall_policy_id This property is required. str
Unique Network Firewall Policy identifier
display_name str
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. Sequence[networkfirewall.GetNetworkFirewallPolicyUrlListsFilter]
networkFirewallPolicyId This property is required. String
Unique Network Firewall Policy identifier
displayName String
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. List<Property Map>

getNetworkFirewallPolicyUrlLists Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
NetworkFirewallPolicyId string
UrlListSummaryCollections List<GetNetworkFirewallPolicyUrlListsUrlListSummaryCollection>
The list of url_list_summary_collection.
DisplayName string
Filters List<GetNetworkFirewallPolicyUrlListsFilter>
Id string
The provider-assigned unique ID for this managed resource.
NetworkFirewallPolicyId string
UrlListSummaryCollections []GetNetworkFirewallPolicyUrlListsUrlListSummaryCollection
The list of url_list_summary_collection.
DisplayName string
Filters []GetNetworkFirewallPolicyUrlListsFilter
id String
The provider-assigned unique ID for this managed resource.
networkFirewallPolicyId String
urlListSummaryCollections List<GetPolicyUrlListsUrlListSummaryCollection>
The list of url_list_summary_collection.
displayName String
filters List<GetPolicyUrlListsFilter>
id string
The provider-assigned unique ID for this managed resource.
networkFirewallPolicyId string
urlListSummaryCollections GetNetworkFirewallPolicyUrlListsUrlListSummaryCollection[]
The list of url_list_summary_collection.
displayName string
filters GetNetworkFirewallPolicyUrlListsFilter[]
id String
The provider-assigned unique ID for this managed resource.
networkFirewallPolicyId String
urlListSummaryCollections List<Property Map>
The list of url_list_summary_collection.
displayName String
filters List<Property Map>

Supporting Types

GetNetworkFirewallPolicyUrlListsFilter

Name This property is required. string
Unique name identifier for the URL list.
Values This property is required. List<string>
Regex bool
Name This property is required. string
Unique name identifier for the URL list.
Values This property is required. []string
Regex bool
name This property is required. String
Unique name identifier for the URL list.
values This property is required. List<String>
regex Boolean
name This property is required. string
Unique name identifier for the URL list.
values This property is required. string[]
regex boolean
name This property is required. str
Unique name identifier for the URL list.
values This property is required. Sequence[str]
regex bool
name This property is required. String
Unique name identifier for the URL list.
values This property is required. List<String>
regex Boolean

GetNetworkFirewallPolicyUrlListsUrlListSummaryCollection

items This property is required. List<Property Map>

GetNetworkFirewallPolicyUrlListsUrlListSummaryCollectionItem

Name This property is required. string
Unique name identifier for the URL list.
NetworkFirewallPolicyId This property is required. string
Unique Network Firewall Policy identifier
ParentResourceId This property is required. string
OCID of the Network Firewall Policy this URL List belongs to.
TotalUrls This property is required. int
Total count of URLs in the URL List
Urls This property is required. List<GetNetworkFirewallPolicyUrlListsUrlListSummaryCollectionItemUrl>
List of urls.
Name This property is required. string
Unique name identifier for the URL list.
NetworkFirewallPolicyId This property is required. string
Unique Network Firewall Policy identifier
ParentResourceId This property is required. string
OCID of the Network Firewall Policy this URL List belongs to.
TotalUrls This property is required. int
Total count of URLs in the URL List
Urls This property is required. []GetNetworkFirewallPolicyUrlListsUrlListSummaryCollectionItemUrl
List of urls.
name This property is required. String
Unique name identifier for the URL list.
networkFirewallPolicyId This property is required. String
Unique Network Firewall Policy identifier
parentResourceId This property is required. String
OCID of the Network Firewall Policy this URL List belongs to.
totalUrls This property is required. Integer
Total count of URLs in the URL List
urls This property is required. List<GetPolicyUrlListsUrlListSummaryCollectionItemUrl>
List of urls.
name This property is required. string
Unique name identifier for the URL list.
networkFirewallPolicyId This property is required. string
Unique Network Firewall Policy identifier
parentResourceId This property is required. string
OCID of the Network Firewall Policy this URL List belongs to.
totalUrls This property is required. number
Total count of URLs in the URL List
urls This property is required. GetNetworkFirewallPolicyUrlListsUrlListSummaryCollectionItemUrl[]
List of urls.
name This property is required. str
Unique name identifier for the URL list.
network_firewall_policy_id This property is required. str
Unique Network Firewall Policy identifier
parent_resource_id This property is required. str
OCID of the Network Firewall Policy this URL List belongs to.
total_urls This property is required. int
Total count of URLs in the URL List
urls This property is required. Sequence[networkfirewall.GetNetworkFirewallPolicyUrlListsUrlListSummaryCollectionItemUrl]
List of urls.
name This property is required. String
Unique name identifier for the URL list.
networkFirewallPolicyId This property is required. String
Unique Network Firewall Policy identifier
parentResourceId This property is required. String
OCID of the Network Firewall Policy this URL List belongs to.
totalUrls This property is required. Number
Total count of URLs in the URL List
urls This property is required. List<Property Map>
List of urls.

GetNetworkFirewallPolicyUrlListsUrlListSummaryCollectionItemUrl

Pattern This property is required. string
A string consisting of a concatenation of optional host component and optional path component. The host component may start with *. to match the case-insensitive domain and all its subdomains. The path component must start with a /, and may end with * to match all paths of which it is a case-sensitive prefix. A missing host component matches all request domains, and a missing path component matches all request paths. An empty value matches all requests.
Type This property is required. string
The type of pattern.

  • SIMPLE - A simple pattern with optional subdomain and/or path suffix wildcards.
Pattern This property is required. string
A string consisting of a concatenation of optional host component and optional path component. The host component may start with *. to match the case-insensitive domain and all its subdomains. The path component must start with a /, and may end with * to match all paths of which it is a case-sensitive prefix. A missing host component matches all request domains, and a missing path component matches all request paths. An empty value matches all requests.
Type This property is required. string
The type of pattern.

  • SIMPLE - A simple pattern with optional subdomain and/or path suffix wildcards.
pattern This property is required. String
A string consisting of a concatenation of optional host component and optional path component. The host component may start with *. to match the case-insensitive domain and all its subdomains. The path component must start with a /, and may end with * to match all paths of which it is a case-sensitive prefix. A missing host component matches all request domains, and a missing path component matches all request paths. An empty value matches all requests.
type This property is required. String
The type of pattern.

  • SIMPLE - A simple pattern with optional subdomain and/or path suffix wildcards.
pattern This property is required. string
A string consisting of a concatenation of optional host component and optional path component. The host component may start with *. to match the case-insensitive domain and all its subdomains. The path component must start with a /, and may end with * to match all paths of which it is a case-sensitive prefix. A missing host component matches all request domains, and a missing path component matches all request paths. An empty value matches all requests.
type This property is required. string
The type of pattern.

  • SIMPLE - A simple pattern with optional subdomain and/or path suffix wildcards.
pattern This property is required. str
A string consisting of a concatenation of optional host component and optional path component. The host component may start with *. to match the case-insensitive domain and all its subdomains. The path component must start with a /, and may end with * to match all paths of which it is a case-sensitive prefix. A missing host component matches all request domains, and a missing path component matches all request paths. An empty value matches all requests.
type This property is required. str
The type of pattern.

  • SIMPLE - A simple pattern with optional subdomain and/or path suffix wildcards.
pattern This property is required. String
A string consisting of a concatenation of optional host component and optional path component. The host component may start with *. to match the case-insensitive domain and all its subdomains. The path component must start with a /, and may end with * to match all paths of which it is a case-sensitive prefix. A missing host component matches all request domains, and a missing path component matches all request paths. An empty value matches all requests.
type This property is required. String
The type of pattern.

  • SIMPLE - A simple pattern with optional subdomain and/or path suffix wildcards.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi