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

oci.NetworkFirewall.getNetworkFirewallPolicyAddressList

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 Address List resource in Oracle Cloud Infrastructure Network Firewall service.

    Get Address 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.GetNetworkFirewallPolicyAddressListArgs;
    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 testNetworkFirewallPolicyAddressList = NetworkFirewallFunctions.getNetworkFirewallPolicyAddressList(GetNetworkFirewallPolicyAddressListArgs.builder()
                .addressListName(testAddressList.name())
                .networkFirewallPolicyId(testNetworkFirewallPolicy.id())
                .build());
    
        }
    }
    
    variables:
      testNetworkFirewallPolicyAddressList:
        fn::invoke:
          Function: oci:NetworkFirewall:getNetworkFirewallPolicyAddressList
          Arguments:
            addressListName: ${testAddressList.name}
            networkFirewallPolicyId: ${testNetworkFirewallPolicy.id}
    

    Using getNetworkFirewallPolicyAddressList

    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 getNetworkFirewallPolicyAddressList(args: GetNetworkFirewallPolicyAddressListArgs, opts?: InvokeOptions): Promise<GetNetworkFirewallPolicyAddressListResult>
    function getNetworkFirewallPolicyAddressListOutput(args: GetNetworkFirewallPolicyAddressListOutputArgs, opts?: InvokeOptions): Output<GetNetworkFirewallPolicyAddressListResult>
    def get_network_firewall_policy_address_list(name: Optional[str] = None,
                                                 network_firewall_policy_id: Optional[str] = None,
                                                 opts: Optional[InvokeOptions] = None) -> GetNetworkFirewallPolicyAddressListResult
    def get_network_firewall_policy_address_list_output(name: Optional[pulumi.Input[str]] = None,
                                                 network_firewall_policy_id: Optional[pulumi.Input[str]] = None,
                                                 opts: Optional[InvokeOptions] = None) -> Output[GetNetworkFirewallPolicyAddressListResult]
    func GetNetworkFirewallPolicyAddressList(ctx *Context, args *GetNetworkFirewallPolicyAddressListArgs, opts ...InvokeOption) (*GetNetworkFirewallPolicyAddressListResult, error)
    func GetNetworkFirewallPolicyAddressListOutput(ctx *Context, args *GetNetworkFirewallPolicyAddressListOutputArgs, opts ...InvokeOption) GetNetworkFirewallPolicyAddressListResultOutput

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

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

    The following arguments are supported:

    Name string
    Unique name to identify the group of addresses to be used in the policy rules.
    NetworkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    Name string
    Unique name to identify the group of addresses to be used in the policy rules.
    NetworkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    name String
    Unique name to identify the group of addresses to be used in the policy rules.
    networkFirewallPolicyId String
    Unique Network Firewall Policy identifier
    name string
    Unique name to identify the group of addresses to be used in the policy rules.
    networkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    name str
    Unique name to identify the group of addresses to be used in the policy rules.
    network_firewall_policy_id str
    Unique Network Firewall Policy identifier
    name String
    Unique name to identify the group of addresses to be used in the policy rules.
    networkFirewallPolicyId String
    Unique Network Firewall Policy identifier

    getNetworkFirewallPolicyAddressList Result

    The following output properties are available:

    Addresses List<string>
    List of addresses.
    Id string
    Name string
    Unique name to identify the group of addresses to be used in the policy rules.
    NetworkFirewallPolicyId string
    ParentResourceId string
    OCID of the Network Firewall Policy this Address List belongs to.
    TotalAddresses int
    Count of total Addresses in the AddressList
    Type string
    Type of address List.
    Addresses []string
    List of addresses.
    Id string
    Name string
    Unique name to identify the group of addresses to be used in the policy rules.
    NetworkFirewallPolicyId string
    ParentResourceId string
    OCID of the Network Firewall Policy this Address List belongs to.
    TotalAddresses int
    Count of total Addresses in the AddressList
    Type string
    Type of address List.
    addresses List<String>
    List of addresses.
    id String
    name String
    Unique name to identify the group of addresses to be used in the policy rules.
    networkFirewallPolicyId String
    parentResourceId String
    OCID of the Network Firewall Policy this Address List belongs to.
    totalAddresses Integer
    Count of total Addresses in the AddressList
    type String
    Type of address List.
    addresses string[]
    List of addresses.
    id string
    name string
    Unique name to identify the group of addresses to be used in the policy rules.
    networkFirewallPolicyId string
    parentResourceId string
    OCID of the Network Firewall Policy this Address List belongs to.
    totalAddresses number
    Count of total Addresses in the AddressList
    type string
    Type of address List.
    addresses Sequence[str]
    List of addresses.
    id str
    name str
    Unique name to identify the group of addresses to be used in the policy rules.
    network_firewall_policy_id str
    parent_resource_id str
    OCID of the Network Firewall Policy this Address List belongs to.
    total_addresses int
    Count of total Addresses in the AddressList
    type str
    Type of address List.
    addresses List<String>
    List of addresses.
    id String
    name String
    Unique name to identify the group of addresses to be used in the policy rules.
    networkFirewallPolicyId String
    parentResourceId String
    OCID of the Network Firewall Policy this Address List belongs to.
    totalAddresses Number
    Count of total Addresses in the AddressList
    type String
    Type of address List.

    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