/** * Data Safe API * APIs for using Oracle Data Safe. * OpenAPI spec version: 20181201 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * The details used to create a new audit profile. */ export interface CreateAuditProfileDetails { /** * The display name of the audit profile. The name does not have to be unique, and it's updatable. */ "displayName"?: string; /** * The OCID of the compartment where you want to create the audit profile. */ "compartmentId": string; /** * The OCID of the target database or target database group for which the audit profile is created. */ "targetId": string; /** * The description of the audit profile. */ "description"?: string; /** * The resource type that is represented by the audit profile. */ "targetType": model.AuditProfileTargetType; /** * Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, * potentially incurring additional charges. The default value is inherited from the global settings. * You can change at the global level or at the target level. * */ "isPaidUsageEnabled"?: boolean; /** * Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. * Minimum: 1; Maximum: 12 months * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "onlineMonths"?: number; /** * Number of months the audit records will be stored offline in the offline archive. * Minimum: 0; Maximum: 72 months. * If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "offlineMonths"?: number; /** * Indicates whether audit paid usage settings specified at the target database level override both the global and the target database group level paid usage settings. * Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, * potentially incurring additional charges. For more information, see [Data Safe Price List](https://www.oracle.com/cloud/price-list/#data-safe). * */ "isOverrideGlobalPaidUsage"?: boolean; /** * 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) *
Example: {@code {\"Department\": \"Finance\"}} * */ "freeformTags"?: { [key: string]: string; }; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) * Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} * */ "definedTags"?: { [key: string]: { [key: string]: any; }; }; } export declare namespace CreateAuditProfileDetails { function getJsonObj(obj: CreateAuditProfileDetails): object; function getDeserializedJsonObj(obj: CreateAuditProfileDetails): object; }