import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Security Zone resource in Oracle Cloud Infrastructure Cloud Guard service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/cloud-guard/latest/SecurityZone * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/certificatesguard * * Creates a security zone (SecurityZone resource) for a compartment. Pass parameters * through a CreateSecurityZoneDetails resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSecurityZone = new oci.cloudguard.SecurityZone("test_security_zone", { * compartmentId: compartmentId, * displayName: securityZoneDisplayName, * securityZoneRecipeId: testSecurityZoneRecipe.id, * definedTags: { * "foo-namespace.bar-key": "value", * }, * description: securityZoneDescription, * freeformTags: { * "bar-key": "value", * }, * isInheritanceAfterDeleteEnabled: securityZoneIsInheritanceAfterDeleteEnabled === "true", * }); * ``` * * ## Import * * SecurityZones can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:CloudGuard/securityZone:SecurityZone test_security_zone "id" * ``` */ export declare class SecurityZone extends pulumi.CustomResource { /** * Get an existing SecurityZone 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?: SecurityZoneState, opts?: pulumi.CustomResourceOptions): SecurityZone; /** * Returns true if the given object is an instance of SecurityZone. 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 SecurityZone; /** * (Updatable) The OCID of the compartment for the security zone */ 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 security zone's description */ readonly description: pulumi.Output; /** * (Updatable) The security zone's display name */ 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; }>; /** * List of inherited compartments */ readonly inheritedByCompartments: pulumi.Output; /** * (Updatable) Indicates if upon deletion of the security zone the comparment should inherit parent security zone */ readonly isInheritanceAfterDeleteEnabled: pulumi.Output; /** * A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the `Failed` state. */ readonly lifecycleDetails: pulumi.Output; /** * (Updatable) The OCID of the security zone recipe (`SecurityRecipe` resource) for the security zone * * ** 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 securityZoneRecipeId: pulumi.Output; /** * The OCID of the target associated with the security zone */ readonly securityZoneTargetId: pulumi.Output; /** * The current lifecycle state of the security zone */ readonly state: pulumi.Output; /** * The time the security zone was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time the security zone was last updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * Create a SecurityZone 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: SecurityZoneArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SecurityZone resources. */ export interface SecurityZoneState { /** * (Updatable) The OCID of the compartment for the security zone */ 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 security zone's description */ description?: pulumi.Input; /** * (Updatable) The security zone's display name */ 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>; /** * List of inherited compartments */ inheritedByCompartments?: pulumi.Input[] | undefined>; /** * (Updatable) Indicates if upon deletion of the security zone the comparment should inherit parent security zone */ isInheritanceAfterDeleteEnabled?: pulumi.Input; /** * A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the `Failed` state. */ lifecycleDetails?: pulumi.Input; /** * (Updatable) The OCID of the security zone recipe (`SecurityRecipe` resource) for the security zone * * ** 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 */ securityZoneRecipeId?: pulumi.Input; /** * The OCID of the target associated with the security zone */ securityZoneTargetId?: pulumi.Input; /** * The current lifecycle state of the security zone */ state?: pulumi.Input; /** * The time the security zone was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time the security zone was last updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a SecurityZone resource. */ export interface SecurityZoneArgs { /** * (Updatable) The OCID of the compartment for the security zone */ 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 security zone's description */ description?: pulumi.Input; /** * (Updatable) The security zone's display name */ 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) Indicates if upon deletion of the security zone the comparment should inherit parent security zone */ isInheritanceAfterDeleteEnabled?: pulumi.Input; /** * (Updatable) The OCID of the security zone recipe (`SecurityRecipe` resource) for the security zone * * ** 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 */ securityZoneRecipeId: pulumi.Input; } //# sourceMappingURL=securityZone.d.ts.map