import * as pulumi from "@pulumi/pulumi";
/**
 * This resource provides the Sensitive Type resource in Oracle Cloud Infrastructure Data Safe service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-safe/latest/SensitiveType
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datasafe
 *
 * Creates a new sensitive type, which can be a basic sensitive type with regular expressions or a sensitive category.
 * While sensitive types are used for data discovery, sensitive categories are used for logically grouping the related
 * or similar sensitive types.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testSensitiveType = new oci.datasafe.SensitiveType("test_sensitive_type", {
 *     compartmentId: compartmentId,
 *     entityType: sensitiveTypeEntityType,
 *     commentPattern: sensitiveTypeCommentPattern,
 *     dataPattern: sensitiveTypeDataPattern,
 *     defaultMaskingFormatId: testDefaultMaskingFormat.id,
 *     definedTags: {
 *         "Operations.CostCenter": "42",
 *     },
 *     description: sensitiveTypeDescription,
 *     displayName: sensitiveTypeDisplayName,
 *     freeformTags: {
 *         Department: "Finance",
 *     },
 *     namePattern: sensitiveTypeNamePattern,
 *     parentCategoryId: testCategory.id,
 *     searchType: sensitiveTypeSearchType,
 *     shortName: sensitiveTypeShortName,
 * });
 * ```
 *
 * ## Import
 *
 * SensitiveTypes can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:DataSafe/sensitiveType:SensitiveType test_sensitive_type "id"
 * ```
 */
export declare class SensitiveType extends pulumi.CustomResource {
    /**
     * Get an existing SensitiveType 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<pulumi.ID>, state?: SensitiveTypeState, opts?: pulumi.CustomResourceOptions): SensitiveType;
    /**
     * Returns true if the given object is an instance of SensitiveType.  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 SensitiveType;
    /**
     * (Updatable) A regular expression to be used by data discovery for matching column comments.
     */
    readonly commentPattern: pulumi.Output<string>;
    /**
     * (Updatable) The OCID of the compartment where the sensitive type should be created.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (Updatable) A regular expression to be used by data discovery for matching column data values.
     */
    readonly dataPattern: pulumi.Output<string>;
    /**
     * (Updatable) The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
     */
    readonly defaultMaskingFormatId: pulumi.Output<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) The description of the sensitive type.
     */
    readonly description: pulumi.Output<string>;
    /**
     * (Updatable) The display name of the sensitive type. The name does not have to be unique, and it's changeable.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * (Updatable) The entity type. It can be either a sensitive type with regular expressions or a sensitive category used for grouping similar sensitive types.
     */
    readonly entityType: pulumi.Output<string>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)  Example: `{"Department": "Finance"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * Specifies whether the sensitive type is common. Common sensitive types belong to  library sensitive types which are frequently used to perform sensitive data discovery.
     */
    readonly isCommon: pulumi.Output<boolean>;
    /**
     * (Updatable) A regular expression to be used by data discovery for matching column names.
     */
    readonly namePattern: pulumi.Output<string>;
    /**
     * (Updatable) The OCID of the parent sensitive category.
     */
    readonly parentCategoryId: pulumi.Output<string>;
    /**
     * (Updatable) The search type indicating how the column name, comment and data patterns should be used by data discovery. [Learn more](https://docs.oracle.com/en/cloud/paas/data-safe/udscs/sensitive-types.html#GUID-1D1AD98E-B93F-4FF2-80AE-CB7D8A14F6CC).
     */
    readonly searchType: pulumi.Output<string>;
    /**
     * (Updatable) The short name of the sensitive type.
     *
     *
     * ** 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 shortName: pulumi.Output<string>;
    /**
     * Specifies whether the sensitive type is user-defined or predefined.
     */
    readonly source: pulumi.Output<string>;
    /**
     * The current state of the sensitive type.
     */
    readonly state: pulumi.Output<string>;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    readonly systemTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The date and time the sensitive type was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The date and time the sensitive type was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * Create a SensitiveType 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: SensitiveTypeArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering SensitiveType resources.
 */
export interface SensitiveTypeState {
    /**
     * (Updatable) A regular expression to be used by data discovery for matching column comments.
     */
    commentPattern?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The OCID of the compartment where the sensitive type should be created.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A regular expression to be used by data discovery for matching column data values.
     */
    dataPattern?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
     */
    defaultMaskingFormatId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) The description of the sensitive type.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The display name of the sensitive type. The name does not have to be unique, and it's changeable.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The entity type. It can be either a sensitive type with regular expressions or a sensitive category used for grouping similar sensitive types.
     */
    entityType?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)  Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Specifies whether the sensitive type is common. Common sensitive types belong to  library sensitive types which are frequently used to perform sensitive data discovery.
     */
    isCommon?: pulumi.Input<boolean | undefined>;
    /**
     * (Updatable) A regular expression to be used by data discovery for matching column names.
     */
    namePattern?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The OCID of the parent sensitive category.
     */
    parentCategoryId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The search type indicating how the column name, comment and data patterns should be used by data discovery. [Learn more](https://docs.oracle.com/en/cloud/paas/data-safe/udscs/sensitive-types.html#GUID-1D1AD98E-B93F-4FF2-80AE-CB7D8A14F6CC).
     */
    searchType?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The short name of the sensitive type.
     *
     *
     * ** 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
     */
    shortName?: pulumi.Input<string | undefined>;
    /**
     * Specifies whether the sensitive type is user-defined or predefined.
     */
    source?: pulumi.Input<string | undefined>;
    /**
     * The current state of the sensitive type.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    systemTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The date and time the sensitive type was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The date and time the sensitive type was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
     */
    timeUpdated?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a SensitiveType resource.
 */
export interface SensitiveTypeArgs {
    /**
     * (Updatable) A regular expression to be used by data discovery for matching column comments.
     */
    commentPattern?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The OCID of the compartment where the sensitive type should be created.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) A regular expression to be used by data discovery for matching column data values.
     */
    dataPattern?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
     */
    defaultMaskingFormatId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) The description of the sensitive type.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The display name of the sensitive type. The name does not have to be unique, and it's changeable.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The entity type. It can be either a sensitive type with regular expressions or a sensitive category used for grouping similar sensitive types.
     */
    entityType: pulumi.Input<string>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)  Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) A regular expression to be used by data discovery for matching column names.
     */
    namePattern?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The OCID of the parent sensitive category.
     */
    parentCategoryId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The search type indicating how the column name, comment and data patterns should be used by data discovery. [Learn more](https://docs.oracle.com/en/cloud/paas/data-safe/udscs/sensitive-types.html#GUID-1D1AD98E-B93F-4FF2-80AE-CB7D8A14F6CC).
     */
    searchType?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The short name of the sensitive type.
     *
     *
     * ** 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
     */
    shortName?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=sensitiveType.d.ts.map