/** * Logging Management API * Use the Logging Management API to create, read, list, update, move and delete log groups, log objects, log saved searches, and agent configurations. For more information, see [Logging Overview](https://docs.oracle.com/iaas/Content/Logging/Concepts/loggingoverview.htm). * OpenAPI spec version: 20200531 * * * 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 to create a log object. */ export interface CreateLogDetails { /** * The user-friendly display name. This must be unique within the enclosing resource, * and it's changeable. Avoid entering confidential information. * */ "displayName": string; /** * The logType that the log object is for, whether custom or service. */ "logType": CreateLogDetails.LogType; /** * Whether or not this resource is currently enabled. */ "isEnabled"?: boolean; /** * 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; }; }; /** * 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; }; "configuration"?: model.Configuration; /** * Log retention duration in 30-day increments (30, 60, 90 and so on until 180). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "retentionDuration"?: number; } export declare namespace CreateLogDetails { enum LogType { Custom = "CUSTOM", Service = "SERVICE" } function getJsonObj(obj: CreateLogDetails): object; function getDeserializedJsonObj(obj: CreateLogDetails): object; }