import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Network Address List resource in Oracle Cloud Infrastructure Waf service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/waf/latest/NetworkAddressList * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/web_app_firewall * * Creates a new NetworkAddressList. * * ## Example Usage * * ```typescript * 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 * * NetworkAddressLists can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Waf/networkAddressList:NetworkAddressList test_network_address_list "id" * ``` */ export declare class NetworkAddressList extends pulumi.CustomResource { /** * Get an existing NetworkAddressList resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: NetworkAddressListState, opts?: pulumi.CustomResourceOptions): NetworkAddressList; /** * Returns true if the given object is an instance of NetworkAddressList. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is NetworkAddressList; /** * (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. */ readonly addresses: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) NetworkAddressList display name, can be renamed. */ readonly displayName: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: 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. */ readonly lifecycleDetails: pulumi.Output; /** * The current state of the NetworkAddressList. */ readonly state: pulumi.Output; /** * (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time the NetworkAddressList was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time the NetworkAddressList was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * (Updatable) Type of NetworkAddressList. */ readonly type: pulumi.Output; /** * (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. */ readonly vcnAddresses: pulumi.Output; /** * Create a NetworkAddressList resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: NetworkAddressListArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NetworkAddressList resources. */ export interface NetworkAddressListState { /** * (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. */ addresses?: pulumi.Input[] | undefined>; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) NetworkAddressList display name, can be renamed. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state. */ lifecycleDetails?: pulumi.Input; /** * The current state of the NetworkAddressList. */ state?: pulumi.Input; /** * (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time the NetworkAddressList was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time the NetworkAddressList was updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; /** * (Updatable) Type of NetworkAddressList. */ type?: pulumi.Input; /** * (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. */ vcnAddresses?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a NetworkAddressList resource. */ export interface NetworkAddressListArgs { /** * (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. */ addresses?: pulumi.Input[] | undefined>; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) NetworkAddressList display name, can be renamed. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Type of NetworkAddressList. */ type: pulumi.Input; /** * (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. */ vcnAddresses?: pulumi.Input[] | undefined>; } //# sourceMappingURL=networkAddressList.d.ts.map