import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Network Firewall Policy Service 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/NetworkFirewallPolicyServiceList * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/network_firewall * * Creates a new ServiceList for the Network Firewall Policy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNetworkFirewallPolicyServiceList = new oci.networkfirewall.NetworkFirewallPolicyServiceList("test_network_firewall_policy_service_list", { * name: networkFirewallPolicyServiceListName, * networkFirewallPolicyId: testNetworkFirewallPolicy.id, * services: networkFirewallPolicyServiceListServices, * description: networkFirewallPolicyServiceListDescription, * }); * ``` * * ## Import * * NetworkFirewallPolicyServiceLists can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:NetworkFirewall/networkFirewallPolicyServiceList:NetworkFirewallPolicyServiceList test_network_firewall_policy_service_list "networkFirewallPolicies/{networkFirewallPolicyId}/serviceLists/{serviceListName}" * ``` */ export declare class NetworkFirewallPolicyServiceList extends pulumi.CustomResource { /** * Get an existing NetworkFirewallPolicyServiceList 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?: NetworkFirewallPolicyServiceListState, opts?: pulumi.CustomResourceOptions): NetworkFirewallPolicyServiceList; /** * Returns true if the given object is an instance of NetworkFirewallPolicyServiceList. 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 NetworkFirewallPolicyServiceList; /** * (Updatable) The description of the service list. This field can be used to add additional info. */ readonly description: pulumi.Output; /** * Name of the service Group. */ readonly name: pulumi.Output; /** * Unique Network Firewall Policy identifier */ readonly networkFirewallPolicyId: pulumi.Output; /** * OCID of the Network Firewall Policy this serviceList belongs to. */ readonly parentResourceId: pulumi.Output; /** * (Updatable) Collection of service names. The services referenced in the service list must already be present in the policy before being used in the service list. * * ** 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 */ readonly services: pulumi.Output; /** * Count of total services in the given service List. */ readonly totalServices: pulumi.Output; /** * Create a NetworkFirewallPolicyServiceList 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: NetworkFirewallPolicyServiceListArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NetworkFirewallPolicyServiceList resources. */ export interface NetworkFirewallPolicyServiceListState { /** * (Updatable) The description of the service list. This field can be used to add additional info. */ description?: pulumi.Input; /** * Name of the service Group. */ name?: pulumi.Input; /** * Unique Network Firewall Policy identifier */ networkFirewallPolicyId?: pulumi.Input; /** * OCID of the Network Firewall Policy this serviceList belongs to. */ parentResourceId?: pulumi.Input; /** * (Updatable) Collection of service names. The services referenced in the service list must already be present in the policy before being used in the service list. * * ** 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 */ services?: pulumi.Input[] | undefined>; /** * Count of total services in the given service List. */ totalServices?: pulumi.Input; } /** * The set of arguments for constructing a NetworkFirewallPolicyServiceList resource. */ export interface NetworkFirewallPolicyServiceListArgs { /** * (Updatable) The description of the service list. This field can be used to add additional info. */ description?: pulumi.Input; /** * Name of the service Group. */ name?: pulumi.Input; /** * Unique Network Firewall Policy identifier */ networkFirewallPolicyId: pulumi.Input; /** * (Updatable) Collection of service names. The services referenced in the service list must already be present in the policy before being used in the service list. * * ** 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 */ services: pulumi.Input[]>; } //# sourceMappingURL=networkFirewallPolicyServiceList.d.ts.map