import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Network Firewall Policy Application resource in Oracle Cloud Infrastructure Network Firewall service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/network-firewall/latest/NetworkFirewallPolicyApplication * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/network_firewall * * Creates a new Application inside the Network Firewall Policy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNetworkFirewallPolicyApplication = new oci.networkfirewall.NetworkFirewallPolicyApplication("test_network_firewall_policy_application", { * icmpType: Number(networkFirewallPolicyApplicationIcmpType), * name: networkFirewallPolicyApplicationName, * networkFirewallPolicyId: testNetworkFirewallPolicy.id, * type: networkFirewallPolicyApplicationType, * description: networkFirewallPolicyApplicationDescription, * icmpCode: Number(networkFirewallPolicyApplicationIcmpCode), * }); * ``` * * ## Import * * NetworkFirewallPolicyApplications can be imported using the `name`, e.g. * * ```sh * $ pulumi import oci:NetworkFirewall/networkFirewallPolicyApplication:NetworkFirewallPolicyApplication test_network_firewall_policy_application "networkFirewallPolicies/{networkFirewallPolicyId}/applications/{applicationName}" * ``` */ export declare class NetworkFirewallPolicyApplication extends pulumi.CustomResource { /** * Get an existing NetworkFirewallPolicyApplication 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?: NetworkFirewallPolicyApplicationState, opts?: pulumi.CustomResourceOptions): NetworkFirewallPolicyApplication; /** * Returns true if the given object is an instance of NetworkFirewallPolicyApplication. 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 NetworkFirewallPolicyApplication; /** * (Updatable) The description of the application. This field can be used to add additional info. */ readonly description: pulumi.Output; /** * (Updatable) The value of the ICMP/ICMP_V6 message code (subtype) field as defined by [RFC 4443](https://www.rfc-editor.org/rfc/rfc4443.html#section-2.1). */ readonly icmpCode: pulumi.Output; /** * (Updatable) The value of the ICMP/ICMP_V6 message type field as defined by [RFC 4443](https://www.rfc-editor.org/rfc/rfc4443.html#section-2.1). */ readonly icmpType: pulumi.Output; /** * Name of the application */ readonly name: pulumi.Output; /** * Unique Network Firewall Policy identifier */ readonly networkFirewallPolicyId: pulumi.Output; /** * OCID of the Network Firewall Policy this application belongs to. */ readonly parentResourceId: pulumi.Output; /** * Describes the type of application. The accepted values are - * ICMP * ICMP_V6 * * ** 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 type: pulumi.Output; /** * Create a NetworkFirewallPolicyApplication 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: NetworkFirewallPolicyApplicationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NetworkFirewallPolicyApplication resources. */ export interface NetworkFirewallPolicyApplicationState { /** * (Updatable) The description of the application. This field can be used to add additional info. */ description?: pulumi.Input; /** * (Updatable) The value of the ICMP/ICMP_V6 message code (subtype) field as defined by [RFC 4443](https://www.rfc-editor.org/rfc/rfc4443.html#section-2.1). */ icmpCode?: pulumi.Input; /** * (Updatable) The value of the ICMP/ICMP_V6 message type field as defined by [RFC 4443](https://www.rfc-editor.org/rfc/rfc4443.html#section-2.1). */ icmpType?: pulumi.Input; /** * Name of the application */ name?: pulumi.Input; /** * Unique Network Firewall Policy identifier */ networkFirewallPolicyId?: pulumi.Input; /** * OCID of the Network Firewall Policy this application belongs to. */ parentResourceId?: pulumi.Input; /** * Describes the type of application. The accepted values are - * ICMP * ICMP_V6 * * ** 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 */ type?: pulumi.Input; } /** * The set of arguments for constructing a NetworkFirewallPolicyApplication resource. */ export interface NetworkFirewallPolicyApplicationArgs { /** * (Updatable) The description of the application. This field can be used to add additional info. */ description?: pulumi.Input; /** * (Updatable) The value of the ICMP/ICMP_V6 message code (subtype) field as defined by [RFC 4443](https://www.rfc-editor.org/rfc/rfc4443.html#section-2.1). */ icmpCode?: pulumi.Input; /** * (Updatable) The value of the ICMP/ICMP_V6 message type field as defined by [RFC 4443](https://www.rfc-editor.org/rfc/rfc4443.html#section-2.1). */ icmpType: pulumi.Input; /** * Name of the application */ name?: pulumi.Input; /** * Unique Network Firewall Policy identifier */ networkFirewallPolicyId: pulumi.Input; /** * Describes the type of application. The accepted values are - * ICMP * ICMP_V6 * * ** 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 */ type: pulumi.Input; } //# sourceMappingURL=networkFirewallPolicyApplication.d.ts.map