Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.NetworkFirewall.getNetworkFirewallPolicyAddressList
Explore with Pulumi AI
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.
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- Name string
- Unique name to identify the group of addresses to be used in the policy rules.
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- name String
- Unique name to identify the group of addresses to be used in the policy rules.
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
- name string
- Unique name to identify the group of addresses to be used in the policy rules.
- network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- name str
- Unique name to identify the group of addresses to be used in the policy rules.
- network_
firewall_ strpolicy_ id - Unique Network Firewall Policy identifier
- name String
- Unique name to identify the group of addresses to be used in the policy rules.
- network
Firewall StringPolicy Id - 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.
- Network
Firewall stringPolicy Id - Parent
Resource stringId - OCID of the Network Firewall Policy this Address List belongs to.
- Total
Addresses 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.
- Network
Firewall stringPolicy Id - Parent
Resource stringId - OCID of the Network Firewall Policy this Address List belongs to.
- Total
Addresses 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.
- network
Firewall StringPolicy Id - parent
Resource StringId - OCID of the Network Firewall Policy this Address List belongs to.
- total
Addresses 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.
- network
Firewall stringPolicy Id - parent
Resource stringId - OCID of the Network Firewall Policy this Address List belongs to.
- total
Addresses 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_ strpolicy_ id - parent_
resource_ strid - 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.
- network
Firewall StringPolicy Id - parent
Resource StringId - OCID of the Network Firewall Policy this Address List belongs to.
- total
Addresses 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.