Oracle Cloud Infrastructure
getNetworkAddressList
This data source provides details about a specific Network Address List resource in Oracle Cloud Infrastructure Waf service.
Gets a NetworkAddressList by OCID.
Example Usage
using Pulumi;
using Oci = Pulumi.Oci;
class MyStack : Stack
{
public MyStack()
{
var testNetworkAddressList = Output.Create(Oci.Waf.GetNetworkAddressList.InvokeAsync(new Oci.Waf.GetNetworkAddressListArgs
{
NetworkAddressListId = oci_waf_network_address_list.Test_network_address_list.Id,
}));
}
}
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Waf"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Waf.GetNetworkAddressList(ctx, &waf.GetNetworkAddressListArgs{
NetworkAddressListId: oci_waf_network_address_list.Test_network_address_list.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_oci as oci
test_network_address_list = oci.Waf.get_network_address_list(network_address_list_id=oci_waf_network_address_list["test_network_address_list"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testNetworkAddressList = oci.Waf.getNetworkAddressList({
networkAddressListId: oci_waf_network_address_list.test_network_address_list.id,
});
Coming soon!
Using getNetworkAddressList
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 getNetworkAddressList(args: GetNetworkAddressListArgs, opts?: InvokeOptions): Promise<GetNetworkAddressListResult>
function getNetworkAddressListOutput(args: GetNetworkAddressListOutputArgs, opts?: InvokeOptions): Output<GetNetworkAddressListResult>
def get_network_address_list(network_address_list_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworkAddressListResult
def get_network_address_list_output(network_address_list_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetworkAddressListResult]
func GetNetworkAddressList(ctx *Context, args *GetNetworkAddressListArgs, opts ...InvokeOption) (*GetNetworkAddressListResult, error)
func GetNetworkAddressListOutput(ctx *Context, args *GetNetworkAddressListOutputArgs, opts ...InvokeOption) GetNetworkAddressListResultOutput
> Note: This function is named GetNetworkAddressList
in the Go SDK.
public static class GetNetworkAddressList
{
public static Task<GetNetworkAddressListResult> InvokeAsync(GetNetworkAddressListArgs args, InvokeOptions? opts = null)
public static Output<GetNetworkAddressListResult> Invoke(GetNetworkAddressListInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNetworkAddressListResult> getNetworkAddressList(GetNetworkAddressListArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: oci:Waf/getNetworkAddressList:getNetworkAddressList
Arguments:
# Arguments dictionary
The following arguments are supported:
- Network
Address stringList Id The OCID of the NetworkAddressList.
- Network
Address stringList Id The OCID of the NetworkAddressList.
- network
Address StringList Id The OCID of the NetworkAddressList.
- network
Address stringList Id The OCID of the NetworkAddressList.
- network_
address_ strlist_ id The OCID of the NetworkAddressList.
- network
Address StringList Id The OCID of the NetworkAddressList.
getNetworkAddressList Result
The following output properties are available:
- Addresses List<string>
A private IP address or CIDR IP address range.
- Compartment
Id string The OCID of the compartment.
- Dictionary<string, object>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string NetworkAddressList display name, can be renamed.
- Dictionary<string, object>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
The OCID of the NetworkAddressList.
- Lifecycle
Details string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- Network
Address stringList Id - State string
The current state of the NetworkAddressList.
- Dictionary<string, object>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
- Time
Updated string The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
- Type string
Type of NetworkAddressList.
- Vcn
Addresses List<GetNetwork Address List Vcn Address> A list of private address prefixes, each associated with a particular VCN. To specify all addresses in a VCN, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
- Addresses []string
A private IP address or CIDR IP address range.
- Compartment
Id string The OCID of the compartment.
- map[string]interface{}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string NetworkAddressList display name, can be renamed.
- map[string]interface{}
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
The OCID of the NetworkAddressList.
- Lifecycle
Details string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- Network
Address stringList Id - State string
The current state of the NetworkAddressList.
- map[string]interface{}
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
- Time
Updated string The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
- Type string
Type of NetworkAddressList.
- Vcn
Addresses []GetNetwork Address List Vcn Address A list of private address prefixes, each associated with a particular VCN. To specify all addresses in a VCN, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
- addresses List<String>
A private IP address or CIDR IP address range.
- compartment
Id String The OCID of the compartment.
- Map<String,Object>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String NetworkAddressList display name, can be renamed.
- Map<String,Object>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
The OCID of the NetworkAddressList.
- lifecycle
Details String A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- network
Address StringList Id - state String
The current state of the NetworkAddressList.
- Map<String,Object>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
- time
Updated String The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
- type String
Type of NetworkAddressList.
- vcn
Addresses List<GetNetwork Address List Vcn Address> A list of private address prefixes, each associated with a particular VCN. To specify all addresses in a VCN, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
- addresses string[]
A private IP address or CIDR IP address range.
- compartment
Id string The OCID of the compartment.
- {[key: string]: any}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string NetworkAddressList display name, can be renamed.
- {[key: string]: any}
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id string
The OCID of the NetworkAddressList.
- lifecycle
Details string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- network
Address stringList Id - state string
The current state of the NetworkAddressList.
- {[key: string]: any}
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
- time
Updated string The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
- type string
Type of NetworkAddressList.
- vcn
Addresses GetNetwork Address List Vcn Address[] A list of private address prefixes, each associated with a particular VCN. To specify all addresses in a VCN, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
- addresses Sequence[str]
A private IP address or CIDR IP address range.
- compartment_
id str The OCID of the compartment.
- Mapping[str, Any]
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str NetworkAddressList display name, can be renamed.
- Mapping[str, Any]
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id str
The OCID of the NetworkAddressList.
- lifecycle_
details str A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- network_
address_ strlist_ id - state str
The current state of the NetworkAddressList.
- Mapping[str, Any]
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
- time_
updated str The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
- type str
Type of NetworkAddressList.
- vcn_
addresses GetNetwork Address List Vcn Address] A list of private address prefixes, each associated with a particular VCN. To specify all addresses in a VCN, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
- addresses List<String>
A private IP address or CIDR IP address range.
- compartment
Id String The OCID of the compartment.
- Map<Any>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String NetworkAddressList display name, can be renamed.
- Map<Any>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
The OCID of the NetworkAddressList.
- lifecycle
Details String A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- network
Address StringList Id - state String
The current state of the NetworkAddressList.
- Map<Any>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
- time
Updated String The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
- type String
Type of NetworkAddressList.
- vcn
Addresses List<Property Map> A list of private address prefixes, each associated with a particular VCN. To specify all addresses in a VCN, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
Supporting Types
GetNetworkAddressListVcnAddress
Package Details
- Repository
- https://github.com/pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.