1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. NetworkFirewall
  5. getNetworkFirewallPolicyUrlList
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.NetworkFirewall.getNetworkFirewallPolicyUrlList

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This data source provides details about a specific Network Firewall Policy Url List resource in Oracle Cloud Infrastructure Network Firewall service.

    Get Url List by the given name in the context of network firewall policy.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    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.GetNetworkFirewallPolicyUrlListArgs;
    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 testNetworkFirewallPolicyUrlList = NetworkFirewallFunctions.getNetworkFirewallPolicyUrlList(GetNetworkFirewallPolicyUrlListArgs.builder()
                .networkFirewallPolicyId(testNetworkFirewallPolicy.id())
                .urlListName(networkFirewallPolicyUrlListUrlListName)
                .build());
    
        }
    }
    
    variables:
      testNetworkFirewallPolicyUrlList:
        fn::invoke:
          Function: oci:NetworkFirewall:getNetworkFirewallPolicyUrlList
          Arguments:
            networkFirewallPolicyId: ${testNetworkFirewallPolicy.id}
            urlListName: ${networkFirewallPolicyUrlListUrlListName}
    

    Using getNetworkFirewallPolicyUrlList

    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 getNetworkFirewallPolicyUrlList(args: GetNetworkFirewallPolicyUrlListArgs, opts?: InvokeOptions): Promise<GetNetworkFirewallPolicyUrlListResult>
    function getNetworkFirewallPolicyUrlListOutput(args: GetNetworkFirewallPolicyUrlListOutputArgs, opts?: InvokeOptions): Output<GetNetworkFirewallPolicyUrlListResult>
    def get_network_firewall_policy_url_list(name: Optional[str] = None,
                                             network_firewall_policy_id: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetNetworkFirewallPolicyUrlListResult
    def get_network_firewall_policy_url_list_output(name: Optional[pulumi.Input[str]] = None,
                                             network_firewall_policy_id: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetNetworkFirewallPolicyUrlListResult]
    func GetNetworkFirewallPolicyUrlList(ctx *Context, args *GetNetworkFirewallPolicyUrlListArgs, opts ...InvokeOption) (*GetNetworkFirewallPolicyUrlListResult, error)
    func GetNetworkFirewallPolicyUrlListOutput(ctx *Context, args *GetNetworkFirewallPolicyUrlListOutputArgs, opts ...InvokeOption) GetNetworkFirewallPolicyUrlListResultOutput

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

    public static class GetNetworkFirewallPolicyUrlList 
    {
        public static Task<GetNetworkFirewallPolicyUrlListResult> InvokeAsync(GetNetworkFirewallPolicyUrlListArgs args, InvokeOptions? opts = null)
        public static Output<GetNetworkFirewallPolicyUrlListResult> Invoke(GetNetworkFirewallPolicyUrlListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNetworkFirewallPolicyUrlListResult> getNetworkFirewallPolicyUrlList(GetNetworkFirewallPolicyUrlListArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:NetworkFirewall/getNetworkFirewallPolicyUrlList:getNetworkFirewallPolicyUrlList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Unique name identifier for the URL list.
    NetworkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    Name string
    Unique name identifier for the URL list.
    NetworkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    name String
    Unique name identifier for the URL list.
    networkFirewallPolicyId String
    Unique Network Firewall Policy identifier
    name string
    Unique name identifier for the URL list.
    networkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    name str
    Unique name identifier for the URL list.
    network_firewall_policy_id str
    Unique Network Firewall Policy identifier
    name String
    Unique name identifier for the URL list.
    networkFirewallPolicyId String
    Unique Network Firewall Policy identifier

    getNetworkFirewallPolicyUrlList Result

    The following output properties are available:

    Id string
    Name string
    Unique name identifier for the URL list.
    NetworkFirewallPolicyId string
    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<GetNetworkFirewallPolicyUrlListUrl>
    List of urls.
    Id string
    Name string
    Unique name identifier for the URL list.
    NetworkFirewallPolicyId string
    ParentResourceId string
    OCID of the Network Firewall Policy this URL List belongs to.
    TotalUrls int
    Total count of URLs in the URL List
    Urls []GetNetworkFirewallPolicyUrlListUrl
    List of urls.
    id String
    name String
    Unique name identifier for the URL list.
    networkFirewallPolicyId String
    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<GetPolicyUrlListUrl>
    List of urls.
    id string
    name string
    Unique name identifier for the URL list.
    networkFirewallPolicyId string
    parentResourceId string
    OCID of the Network Firewall Policy this URL List belongs to.
    totalUrls number
    Total count of URLs in the URL List
    urls GetNetworkFirewallPolicyUrlListUrl[]
    List of urls.
    id str
    name str
    Unique name identifier for the URL list.
    network_firewall_policy_id str
    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.GetNetworkFirewallPolicyUrlListUrl]
    List of urls.
    id String
    name String
    Unique name identifier for the URL list.
    networkFirewallPolicyId String
    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.

    Supporting Types

    GetNetworkFirewallPolicyUrlListUrl

    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 v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi