1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Waf
  5. NetworkAddressList
Oracle Cloud Infrastructure v2.2.0 published on Friday, Jul 12, 2024 by Pulumi

oci.Waf.NetworkAddressList

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.2.0 published on Friday, Jul 12, 2024 by Pulumi

    This resource provides the Network Address List resource in Oracle Cloud Infrastructure Waf service.

    Creates a new NetworkAddressList.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testNetworkAddressList = new oci.waf.NetworkAddressList("test_network_address_list", {
        compartmentId: compartmentId,
        type: networkAddressListType,
        addresses: networkAddressListAddresses,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        displayName: networkAddressListDisplayName,
        freeformTags: {
            "bar-key": "value",
        },
        systemTags: networkAddressListSystemTags,
        vcnAddresses: [{
            addresses: networkAddressListVcnAddressesAddresses,
            vcnId: testVcn.id,
        }],
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_network_address_list = oci.waf.NetworkAddressList("test_network_address_list",
        compartment_id=compartment_id,
        type=network_address_list_type,
        addresses=network_address_list_addresses,
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        display_name=network_address_list_display_name,
        freeform_tags={
            "bar-key": "value",
        },
        system_tags=network_address_list_system_tags,
        vcn_addresses=[oci.waf.NetworkAddressListVcnAddressArgs(
            addresses=network_address_list_vcn_addresses_addresses,
            vcn_id=test_vcn["id"],
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Waf"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Waf.NewNetworkAddressList(ctx, "test_network_address_list", &Waf.NetworkAddressListArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			Type:          pulumi.Any(networkAddressListType),
    			Addresses:     pulumi.Any(networkAddressListAddresses),
    			DefinedTags: pulumi.Map{
    				"foo-namespace.bar-key": pulumi.Any("value"),
    			},
    			DisplayName: pulumi.Any(networkAddressListDisplayName),
    			FreeformTags: pulumi.Map{
    				"bar-key": pulumi.Any("value"),
    			},
    			SystemTags: pulumi.Any(networkAddressListSystemTags),
    			VcnAddresses: waf.NetworkAddressListVcnAddressArray{
    				&waf.NetworkAddressListVcnAddressArgs{
    					Addresses: pulumi.Any(networkAddressListVcnAddressesAddresses),
    					VcnId:     pulumi.Any(testVcn.Id),
    				},
    			},
    		})
    		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 testNetworkAddressList = new Oci.Waf.NetworkAddressList("test_network_address_list", new()
        {
            CompartmentId = compartmentId,
            Type = networkAddressListType,
            Addresses = networkAddressListAddresses,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            DisplayName = networkAddressListDisplayName,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            SystemTags = networkAddressListSystemTags,
            VcnAddresses = new[]
            {
                new Oci.Waf.Inputs.NetworkAddressListVcnAddressArgs
                {
                    Addresses = networkAddressListVcnAddressesAddresses,
                    VcnId = testVcn.Id,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Waf.NetworkAddressList;
    import com.pulumi.oci.Waf.NetworkAddressListArgs;
    import com.pulumi.oci.Waf.inputs.NetworkAddressListVcnAddressArgs;
    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) {
            var testNetworkAddressList = new NetworkAddressList("testNetworkAddressList", NetworkAddressListArgs.builder()
                .compartmentId(compartmentId)
                .type(networkAddressListType)
                .addresses(networkAddressListAddresses)
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .displayName(networkAddressListDisplayName)
                .freeformTags(Map.of("bar-key", "value"))
                .systemTags(networkAddressListSystemTags)
                .vcnAddresses(NetworkAddressListVcnAddressArgs.builder()
                    .addresses(networkAddressListVcnAddressesAddresses)
                    .vcnId(testVcn.id())
                    .build())
                .build());
    
        }
    }
    
    resources:
      testNetworkAddressList:
        type: oci:Waf:NetworkAddressList
        name: test_network_address_list
        properties:
          compartmentId: ${compartmentId}
          type: ${networkAddressListType}
          addresses: ${networkAddressListAddresses}
          definedTags:
            foo-namespace.bar-key: value
          displayName: ${networkAddressListDisplayName}
          freeformTags:
            bar-key: value
          systemTags: ${networkAddressListSystemTags}
          vcnAddresses:
            - addresses: ${networkAddressListVcnAddressesAddresses}
              vcnId: ${testVcn.id}
    

    Create NetworkAddressList Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new NetworkAddressList(name: string, args: NetworkAddressListArgs, opts?: CustomResourceOptions);
    @overload
    def NetworkAddressList(resource_name: str,
                           args: NetworkAddressListArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def NetworkAddressList(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           compartment_id: Optional[str] = None,
                           type: Optional[str] = None,
                           addresses: Optional[Sequence[str]] = None,
                           defined_tags: Optional[Mapping[str, Any]] = None,
                           display_name: Optional[str] = None,
                           freeform_tags: Optional[Mapping[str, Any]] = None,
                           system_tags: Optional[Mapping[str, Any]] = None,
                           vcn_addresses: Optional[Sequence[_waf.NetworkAddressListVcnAddressArgs]] = None)
    func NewNetworkAddressList(ctx *Context, name string, args NetworkAddressListArgs, opts ...ResourceOption) (*NetworkAddressList, error)
    public NetworkAddressList(string name, NetworkAddressListArgs args, CustomResourceOptions? opts = null)
    public NetworkAddressList(String name, NetworkAddressListArgs args)
    public NetworkAddressList(String name, NetworkAddressListArgs args, CustomResourceOptions options)
    
    type: oci:Waf:NetworkAddressList
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args NetworkAddressListArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args NetworkAddressListArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args NetworkAddressListArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetworkAddressListArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NetworkAddressListArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var networkAddressListResource = new Oci.Waf.NetworkAddressList("networkAddressListResource", new()
    {
        CompartmentId = "string",
        Type = "string",
        Addresses = new[]
        {
            "string",
        },
        DefinedTags = 
        {
            { "string", "any" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
        SystemTags = 
        {
            { "string", "any" },
        },
        VcnAddresses = new[]
        {
            new Oci.Waf.Inputs.NetworkAddressListVcnAddressArgs
            {
                Addresses = "string",
                VcnId = "string",
            },
        },
    });
    
    example, err := Waf.NewNetworkAddressList(ctx, "networkAddressListResource", &Waf.NetworkAddressListArgs{
    	CompartmentId: pulumi.String("string"),
    	Type:          pulumi.String("string"),
    	Addresses: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	SystemTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	VcnAddresses: waf.NetworkAddressListVcnAddressArray{
    		&waf.NetworkAddressListVcnAddressArgs{
    			Addresses: pulumi.String("string"),
    			VcnId:     pulumi.String("string"),
    		},
    	},
    })
    
    var networkAddressListResource = new NetworkAddressList("networkAddressListResource", NetworkAddressListArgs.builder()
        .compartmentId("string")
        .type("string")
        .addresses("string")
        .definedTags(Map.of("string", "any"))
        .displayName("string")
        .freeformTags(Map.of("string", "any"))
        .systemTags(Map.of("string", "any"))
        .vcnAddresses(NetworkAddressListVcnAddressArgs.builder()
            .addresses("string")
            .vcnId("string")
            .build())
        .build());
    
    network_address_list_resource = oci.waf.NetworkAddressList("networkAddressListResource",
        compartment_id="string",
        type="string",
        addresses=["string"],
        defined_tags={
            "string": "any",
        },
        display_name="string",
        freeform_tags={
            "string": "any",
        },
        system_tags={
            "string": "any",
        },
        vcn_addresses=[oci.waf.NetworkAddressListVcnAddressArgs(
            addresses="string",
            vcn_id="string",
        )])
    
    const networkAddressListResource = new oci.waf.NetworkAddressList("networkAddressListResource", {
        compartmentId: "string",
        type: "string",
        addresses: ["string"],
        definedTags: {
            string: "any",
        },
        displayName: "string",
        freeformTags: {
            string: "any",
        },
        systemTags: {
            string: "any",
        },
        vcnAddresses: [{
            addresses: "string",
            vcnId: "string",
        }],
    });
    
    type: oci:Waf:NetworkAddressList
    properties:
        addresses:
            - string
        compartmentId: string
        definedTags:
            string: any
        displayName: string
        freeformTags:
            string: any
        systemTags:
            string: any
        type: string
        vcnAddresses:
            - addresses: string
              vcnId: string
    

    NetworkAddressList Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The NetworkAddressList resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment.
    Type string
    (Updatable) Type of NetworkAddressList.
    Addresses List<string>
    (Updatable) A list of IP address prefixes in CIDR notation. To specify all addresses, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) NetworkAddressList display name, can be renamed.
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    SystemTags Dictionary<string, object>
    (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    VcnAddresses List<NetworkAddressListVcnAddress>
    (Updatable) 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.
    CompartmentId string
    (Updatable) The OCID of the compartment.
    Type string
    (Updatable) Type of NetworkAddressList.
    Addresses []string
    (Updatable) A list of IP address prefixes in CIDR notation. To specify all addresses, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) NetworkAddressList display name, can be renamed.
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    SystemTags map[string]interface{}
    (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    VcnAddresses []NetworkAddressListVcnAddressArgs
    (Updatable) 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.
    compartmentId String
    (Updatable) The OCID of the compartment.
    type String
    (Updatable) Type of NetworkAddressList.
    addresses List<String>
    (Updatable) A list of IP address prefixes in CIDR notation. To specify all addresses, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) NetworkAddressList display name, can be renamed.
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    systemTags Map<String,Object>
    (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    vcnAddresses List<NetworkAddressListVcnAddress>
    (Updatable) 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.
    compartmentId string
    (Updatable) The OCID of the compartment.
    type string
    (Updatable) Type of NetworkAddressList.
    addresses string[]
    (Updatable) A list of IP address prefixes in CIDR notation. To specify all addresses, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    (Updatable) NetworkAddressList display name, can be renamed.
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    systemTags {[key: string]: any}
    (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    vcnAddresses NetworkAddressListVcnAddress[]
    (Updatable) 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.
    compartment_id str
    (Updatable) The OCID of the compartment.
    type str
    (Updatable) Type of NetworkAddressList.
    addresses Sequence[str]
    (Updatable) A list of IP address prefixes in CIDR notation. To specify all addresses, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    display_name str
    (Updatable) NetworkAddressList display name, can be renamed.
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    system_tags Mapping[str, Any]
    (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    vcn_addresses Sequence[waf.NetworkAddressListVcnAddressArgs]
    (Updatable) 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.
    compartmentId String
    (Updatable) The OCID of the compartment.
    type String
    (Updatable) Type of NetworkAddressList.
    addresses List<String>
    (Updatable) A list of IP address prefixes in CIDR notation. To specify all addresses, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) NetworkAddressList display name, can be renamed.
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    systemTags Map<Any>
    (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    vcnAddresses List<Property Map>
    (Updatable) 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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NetworkAddressList resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails 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.
    State string
    The current state of the NetworkAddressList.
    TimeCreated string
    The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails 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.
    State string
    The current state of the NetworkAddressList.
    TimeCreated string
    The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails 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.
    state String
    The current state of the NetworkAddressList.
    timeCreated String
    The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails 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.
    state string
    The current state of the NetworkAddressList.
    timeCreated string
    The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    state str
    The current state of the NetworkAddressList.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails 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.
    state String
    The current state of the NetworkAddressList.
    timeCreated String
    The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.

    Look up Existing NetworkAddressList Resource

    Get an existing NetworkAddressList resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: NetworkAddressListState, opts?: CustomResourceOptions): NetworkAddressList
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            addresses: Optional[Sequence[str]] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            lifecycle_details: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None,
            type: Optional[str] = None,
            vcn_addresses: Optional[Sequence[_waf.NetworkAddressListVcnAddressArgs]] = None) -> NetworkAddressList
    func GetNetworkAddressList(ctx *Context, name string, id IDInput, state *NetworkAddressListState, opts ...ResourceOption) (*NetworkAddressList, error)
    public static NetworkAddressList Get(string name, Input<string> id, NetworkAddressListState? state, CustomResourceOptions? opts = null)
    public static NetworkAddressList get(String name, Output<String> id, NetworkAddressListState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Addresses List<string>
    (Updatable) A list of IP address prefixes in CIDR notation. To specify all addresses, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
    CompartmentId string
    (Updatable) The OCID of the compartment.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) NetworkAddressList display name, can be renamed.
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    LifecycleDetails 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.
    State string
    The current state of the NetworkAddressList.
    SystemTags Dictionary<string, object>
    (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
    Type string
    (Updatable) Type of NetworkAddressList.
    VcnAddresses List<NetworkAddressListVcnAddress>
    (Updatable) 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
    (Updatable) A list of IP address prefixes in CIDR notation. To specify all addresses, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
    CompartmentId string
    (Updatable) The OCID of the compartment.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) NetworkAddressList display name, can be renamed.
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    LifecycleDetails 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.
    State string
    The current state of the NetworkAddressList.
    SystemTags map[string]interface{}
    (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
    Type string
    (Updatable) Type of NetworkAddressList.
    VcnAddresses []NetworkAddressListVcnAddressArgs
    (Updatable) 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>
    (Updatable) A list of IP address prefixes in CIDR notation. To specify all addresses, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
    compartmentId String
    (Updatable) The OCID of the compartment.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) NetworkAddressList display name, can be renamed.
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails 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.
    state String
    The current state of the NetworkAddressList.
    systemTags Map<String,Object>
    (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
    type String
    (Updatable) Type of NetworkAddressList.
    vcnAddresses List<NetworkAddressListVcnAddress>
    (Updatable) 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[]
    (Updatable) A list of IP address prefixes in CIDR notation. To specify all addresses, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
    compartmentId string
    (Updatable) The OCID of the compartment.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    (Updatable) NetworkAddressList display name, can be renamed.
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails 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.
    state string
    The current state of the NetworkAddressList.
    systemTags {[key: string]: any}
    (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
    type string
    (Updatable) Type of NetworkAddressList.
    vcnAddresses NetworkAddressListVcnAddress[]
    (Updatable) 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]
    (Updatable) A list of IP address prefixes in CIDR notation. To specify all addresses, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
    compartment_id str
    (Updatable) The OCID of the compartment.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    display_name str
    (Updatable) NetworkAddressList display name, can be renamed.
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    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.
    state str
    The current state of the NetworkAddressList.
    system_tags Mapping[str, Any]
    (Updatable) 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
    (Updatable) Type of NetworkAddressList.
    vcn_addresses Sequence[waf.NetworkAddressListVcnAddressArgs]
    (Updatable) 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>
    (Updatable) A list of IP address prefixes in CIDR notation. To specify all addresses, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
    compartmentId String
    (Updatable) The OCID of the compartment.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) NetworkAddressList display name, can be renamed.
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails 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.
    state String
    The current state of the NetworkAddressList.
    systemTags Map<Any>
    (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
    type String
    (Updatable) Type of NetworkAddressList.
    vcnAddresses List<Property Map>
    (Updatable) 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

    NetworkAddressListVcnAddress, NetworkAddressListVcnAddressArgs

    Addresses string
    (Updatable) A private IP address or CIDR IP address range.
    VcnId string

    (Updatable) The OCID of the VCN.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Addresses string
    (Updatable) A private IP address or CIDR IP address range.
    VcnId string

    (Updatable) The OCID of the VCN.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    addresses String
    (Updatable) A private IP address or CIDR IP address range.
    vcnId String

    (Updatable) The OCID of the VCN.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    addresses string
    (Updatable) A private IP address or CIDR IP address range.
    vcnId string

    (Updatable) The OCID of the VCN.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    addresses str
    (Updatable) A private IP address or CIDR IP address range.
    vcn_id str

    (Updatable) The OCID of the VCN.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    addresses String
    (Updatable) A private IP address or CIDR IP address range.
    vcnId String

    (Updatable) The OCID of the VCN.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Import

    NetworkAddressLists can be imported using the id, e.g.

    $ pulumi import oci:Waf/networkAddressList:NetworkAddressList test_network_address_list "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.2.0 published on Friday, Jul 12, 2024 by Pulumi