import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Security Recipe resource in Oracle Cloud Infrastructure Cloud Guard service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/cloud-guard/latest/SecurityRecipe * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/certificatesguard * * Creates a security zone recipe (SecurityRecipe resource), using parameters * passed in a CreateSecurityRecipeDetails resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSecurityRecipe = new oci.cloudguard.SecurityRecipe("test_security_recipe", { * compartmentId: compartmentId, * displayName: securityRecipeDisplayName, * securityPolicies: securityRecipeSecurityPolicies, * definedTags: { * "foo-namespace.bar-key": "value", * }, * description: securityRecipeDescription, * freeformTags: { * "bar-key": "value", * }, * }); * ``` * * ## Import * * SecurityRecipes can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:CloudGuard/securityRecipe:SecurityRecipe test_security_recipe "id" * ``` */ export declare class SecurityRecipe extends pulumi.CustomResource { /** * Get an existing SecurityRecipe 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?: SecurityRecipeState, opts?: pulumi.CustomResourceOptions): SecurityRecipe; /** * Returns true if the given object is an instance of SecurityRecipe. 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 SecurityRecipe; /** * (Updatable) The OCID of the compartment in which to create the recipe */ 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) The recipe's description */ readonly description: pulumi.Output; /** * (Updatable) The recipe's display name. * * Avoid entering confidential information. */ 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"}` * * Avoid entering confidential information. */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * A message describing the current state in more detail. For example, this can be used to provide actionable information for a recipe in the `Failed` state. */ readonly lifecycleDetails: pulumi.Output; /** * The owner of the recipe */ readonly owner: pulumi.Output; /** * (Updatable) The list of security policy IDs to include in the recipe * * ** 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 securityPolicies: pulumi.Output; /** * The current lifecycle state of the recipe */ readonly state: pulumi.Output; /** * The time the recipe was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time the recipe was last updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * Create a SecurityRecipe 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: SecurityRecipeArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SecurityRecipe resources. */ export interface SecurityRecipeState { /** * (Updatable) The OCID of the compartment in which to create the recipe */ 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) The recipe's description */ description?: pulumi.Input; /** * (Updatable) The recipe's display name. * * Avoid entering confidential information. */ 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"}` * * Avoid entering confidential information. */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A message describing the current state in more detail. For example, this can be used to provide actionable information for a recipe in the `Failed` state. */ lifecycleDetails?: pulumi.Input; /** * The owner of the recipe */ owner?: pulumi.Input; /** * (Updatable) The list of security policy IDs to include in the recipe * * ** 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 */ securityPolicies?: pulumi.Input[] | undefined>; /** * The current lifecycle state of the recipe */ state?: pulumi.Input; /** * The time the recipe was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time the recipe was last updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a SecurityRecipe resource. */ export interface SecurityRecipeArgs { /** * (Updatable) The OCID of the compartment in which to create the recipe */ 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) The recipe's description */ description?: pulumi.Input; /** * (Updatable) The recipe's display name. * * Avoid entering confidential information. */ 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"}` * * Avoid entering confidential information. */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The list of security policy IDs to include in the recipe * * ** 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 */ securityPolicies: pulumi.Input[]>; } //# sourceMappingURL=securityRecipe.d.ts.map