Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.NetworkFirewall.getNetworkFirewallPolicyUrlLists
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 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:
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Network Firewall Policy Url Lists Filter>
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Network Firewall Policy Url Lists Filter
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Policy Url Lists Filter>
- network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Network Firewall Policy Url Lists Filter[]
- network_
firewall_ strpolicy_ id - Unique Network Firewall Policy identifier
- display_
name str - A filter to return only resources that match the entire display name given.
- filters
Sequence[networkfirewall.
Get Network Firewall Policy Url Lists Filter]
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
- display
Name 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.
- Network
Firewall stringPolicy Id - Url
List List<GetSummary Collections Network Firewall Policy Url Lists Url List Summary Collection> - The list of url_list_summary_collection.
- Display
Name string - Filters
List<Get
Network Firewall Policy Url Lists Filter>
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Firewall stringPolicy Id - Url
List []GetSummary Collections Network Firewall Policy Url Lists Url List Summary Collection - The list of url_list_summary_collection.
- Display
Name string - Filters
[]Get
Network Firewall Policy Url Lists Filter
- id String
- The provider-assigned unique ID for this managed resource.
- network
Firewall StringPolicy Id - url
List List<GetSummary Collections Policy Url Lists Url List Summary Collection> - The list of url_list_summary_collection.
- display
Name String - filters
List<Get
Policy Url Lists Filter>
- id string
- The provider-assigned unique ID for this managed resource.
- network
Firewall stringPolicy Id - url
List GetSummary Collections Network Firewall Policy Url Lists Url List Summary Collection[] - The list of url_list_summary_collection.
- display
Name string - filters
Get
Network Firewall Policy Url Lists Filter[]
- id str
- The provider-assigned unique ID for this managed resource.
- network_
firewall_ strpolicy_ id - url_
list_ Sequence[networkfirewall.summary_ collections Get Network Firewall Policy Url Lists Url List Summary Collection] - The list of url_list_summary_collection.
- display_
name str - filters
Sequence[networkfirewall.
Get Network Firewall Policy Url Lists Filter]
- id String
- The provider-assigned unique ID for this managed resource.
- network
Firewall StringPolicy Id - url
List List<Property Map>Summary Collections - The list of url_list_summary_collection.
- display
Name String - filters List<Property Map>
Supporting Types
GetNetworkFirewallPolicyUrlListsFilter
GetNetworkFirewallPolicyUrlListsUrlListSummaryCollection
GetNetworkFirewallPolicyUrlListsUrlListSummaryCollectionItem
- Name string
- Unique name identifier for the URL list.
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- Parent
Resource stringId - OCID of the Network Firewall Policy this URL List belongs to.
- Total
Urls int - Total count of URLs in the URL List
- Urls
List<Get
Network Firewall Policy Url Lists Url List Summary Collection Item Url> - List of urls.
- Name string
- Unique name identifier for the URL list.
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- Parent
Resource stringId - OCID of the Network Firewall Policy this URL List belongs to.
- Total
Urls int - Total count of URLs in the URL List
- Urls
[]Get
Network Firewall Policy Url Lists Url List Summary Collection Item Url - List of urls.
- name String
- Unique name identifier for the URL list.
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
- parent
Resource StringId - OCID of the Network Firewall Policy this URL List belongs to.
- total
Urls Integer - Total count of URLs in the URL List
- urls
List<Get
Policy Url Lists Url List Summary Collection Item Url> - List of urls.
- name string
- Unique name identifier for the URL list.
- network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- parent
Resource stringId - OCID of the Network Firewall Policy this URL List belongs to.
- total
Urls number - Total count of URLs in the URL List
- urls
Get
Network Firewall Policy Url Lists Url List Summary Collection Item Url[] - List of urls.
- name str
- Unique name identifier for the URL list.
- network_
firewall_ strpolicy_ id - Unique Network Firewall Policy identifier
- parent_
resource_ strid - 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.
Get Network Firewall Policy Url Lists Url List Summary Collection Item Url] - List of urls.
- name String
- Unique name identifier for the URL list.
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
- parent
Resource StringId - OCID of the Network Firewall Policy this URL List belongs to.
- total
Urls 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.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi