1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. NetworkFirewall
  5. getNetworkFirewallPolicyUrlLists
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

oci.NetworkFirewall.getNetworkFirewallPolicyUrlLists

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 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,
    });
    
    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)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/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
    	})
    }
    
    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,
        });
    
    });
    
    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());
    
        }
    }
    
    variables:
      testNetworkFirewallPolicyUrlLists:
        fn::invoke:
          Function: oci:NetworkFirewall:getNetworkFirewallPolicyUrlLists
          Arguments:
            networkFirewallPolicyId: ${testNetworkFirewallPolicy.id}
            displayName: ${networkFirewallPolicyUrlListDisplayName}
    

    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>
    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]
    func GetNetworkFirewallPolicyUrlLists(ctx *Context, args *GetNetworkFirewallPolicyUrlListsArgs, opts ...InvokeOption) (*GetNetworkFirewallPolicyUrlListsResult, error)
    func GetNetworkFirewallPolicyUrlListsOutput(ctx *Context, args *GetNetworkFirewallPolicyUrlListsOutputArgs, opts ...InvokeOption) GetNetworkFirewallPolicyUrlListsResultOutput

    > 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)
    }
    public static CompletableFuture<GetNetworkFirewallPolicyUrlListsResult> getNetworkFirewallPolicyUrlLists(GetNetworkFirewallPolicyUrlListsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:NetworkFirewall/getNetworkFirewallPolicyUrlLists:getNetworkFirewallPolicyUrlLists
      arguments:
        # arguments dictionary

    The following arguments are supported:

    NetworkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters List<GetNetworkFirewallPolicyUrlListsFilter>
    NetworkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters []GetNetworkFirewallPolicyUrlListsFilter
    networkFirewallPolicyId String
    Unique Network Firewall Policy identifier
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<GetPolicyUrlListsFilter>
    networkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    displayName string
    A filter to return only resources that match the entire display name given.
    filters GetNetworkFirewallPolicyUrlListsFilter[]
    network_firewall_policy_id str
    Unique Network Firewall Policy identifier
    display_name str
    A filter to return only resources that match the entire display name given.
    filters Sequence[networkfirewall.GetNetworkFirewallPolicyUrlListsFilter]
    networkFirewallPolicyId String
    Unique Network Firewall Policy identifier
    displayName String
    A filter to return only resources that match the entire display name given.
    filters 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 string
    Unique name identifier for the URL list.
    Values List<string>
    Regex bool
    Name string
    Unique name identifier for the URL list.
    Values []string
    Regex bool
    name String
    Unique name identifier for the URL list.
    values List<String>
    regex Boolean
    name string
    Unique name identifier for the URL list.
    values string[]
    regex boolean
    name str
    Unique name identifier for the URL list.
    values Sequence[str]
    regex bool
    name String
    Unique name identifier for the URL list.
    values List<String>
    regex Boolean

    GetNetworkFirewallPolicyUrlListsUrlListSummaryCollection

    GetNetworkFirewallPolicyUrlListsUrlListSummaryCollectionItem

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

    GetNetworkFirewallPolicyUrlListsUrlListSummaryCollectionItemUrl

    Pattern 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 string
    The type of pattern.

    • SIMPLE - A simple pattern with optional subdomain and/or path suffix wildcards.
    Pattern 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 string
    The type of pattern.

    • SIMPLE - A simple pattern with optional subdomain and/or path suffix wildcards.
    pattern 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 String
    The type of pattern.

    • SIMPLE - A simple pattern with optional subdomain and/or path suffix wildcards.
    pattern 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 string
    The type of pattern.

    • SIMPLE - A simple pattern with optional subdomain and/or path suffix wildcards.
    pattern 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 str
    The type of pattern.

    • SIMPLE - A simple pattern with optional subdomain and/or path suffix wildcards.
    pattern 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 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.
    oci logo
    Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi