import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Network Firewall Policy Url List resource in Oracle Cloud Infrastructure Network Firewall service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/network-firewall/latest/NetworkFirewallPolicyUrlList * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/network_firewall * * Creates a new Url List for the Network Firewall Policy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNetworkFirewallPolicyUrlList = new oci.networkfirewall.NetworkFirewallPolicyUrlList("test_network_firewall_policy_url_list", { * name: networkFirewallPolicyUrlListName, * networkFirewallPolicyId: testNetworkFirewallPolicy.id, * urls: [{ * pattern: networkFirewallPolicyUrlListUrlsPattern, * type: networkFirewallPolicyUrlListUrlsType, * }], * description: networkFirewallPolicyUrlListDescription, * }); * ``` * * ## Import * * NetworkFirewallPolicyUrlLists can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:NetworkFirewall/networkFirewallPolicyUrlList:NetworkFirewallPolicyUrlList test_network_firewall_policy_url_list "networkFirewallPolicies/{networkFirewallPolicyId}/urlLists/{urlListName}" * ``` */ export declare class NetworkFirewallPolicyUrlList extends pulumi.CustomResource { /** * Get an existing NetworkFirewallPolicyUrlList 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?: NetworkFirewallPolicyUrlListState, opts?: pulumi.CustomResourceOptions): NetworkFirewallPolicyUrlList; /** * Returns true if the given object is an instance of NetworkFirewallPolicyUrlList. 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 NetworkFirewallPolicyUrlList; /** * (Updatable) The description of the Url list. This field can be used to add additional info. */ readonly description: pulumi.Output; /** * Unique name to identify the group of urls to be used in the policy rules. */ readonly name: pulumi.Output; /** * Unique Network Firewall Policy identifier */ readonly networkFirewallPolicyId: pulumi.Output; /** * OCID of the Network Firewall Policy this URL List belongs to. */ readonly parentResourceId: pulumi.Output; /** * Total count of URLs in the URL List */ readonly totalUrls: pulumi.Output; /** * (Updatable) List of urls. */ readonly urls: pulumi.Output; /** * Create a NetworkFirewallPolicyUrlList 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: NetworkFirewallPolicyUrlListArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NetworkFirewallPolicyUrlList resources. */ export interface NetworkFirewallPolicyUrlListState { /** * (Updatable) The description of the Url list. This field can be used to add additional info. */ description?: pulumi.Input; /** * Unique name to identify the group of urls to be used in the policy rules. */ name?: pulumi.Input; /** * Unique Network Firewall Policy identifier */ networkFirewallPolicyId?: pulumi.Input; /** * OCID of the Network Firewall Policy this URL List belongs to. */ parentResourceId?: pulumi.Input; /** * Total count of URLs in the URL List */ totalUrls?: pulumi.Input; /** * (Updatable) List of urls. */ urls?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a NetworkFirewallPolicyUrlList resource. */ export interface NetworkFirewallPolicyUrlListArgs { /** * (Updatable) The description of the Url list. This field can be used to add additional info. */ description?: pulumi.Input; /** * Unique name to identify the group of urls to be used in the policy rules. */ name?: pulumi.Input; /** * Unique Network Firewall Policy identifier */ networkFirewallPolicyId: pulumi.Input; /** * (Updatable) List of urls. */ urls: pulumi.Input[]>; } //# sourceMappingURL=networkFirewallPolicyUrlList.d.ts.map