import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Logs in Oracle Cloud Infrastructure Logging service. * * Lists the specified log group's log objects. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testLogs = oci.logging.getLogs({ * logGroupId: testLogGroup.id, * displayName: logDisplayName, * logType: logLogType, * sourceResource: logSourceResource, * sourceService: logSourceService, * state: logState, * }); * ``` */ export declare function getLogs(args: GetLogsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getLogs. */ export interface GetLogsArgs { /** * Resource name. */ displayName?: string; filters?: inputs.Logging.GetLogsFilter[]; /** * OCID of a log group to work with. */ logGroupId: string; /** * The logType that the log object is for, whether custom or service. */ logType?: string; /** * Log object resource, which is a field of LogSummary.Configuration.Source. */ sourceResource?: string; /** * Service that created the log object, which is a field of LogSummary.Configuration.Source. */ sourceService?: string; /** * Lifecycle state of the log object */ state?: string; } /** * A collection of values returned by getLogs. */ export interface GetLogsResult { /** * The user-friendly display name. This must be unique within the enclosing resource, and it's changeable. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.Logging.GetLogsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Log group OCID. */ readonly logGroupId: string; /** * The logType that the log object is for, whether custom or service. */ readonly logType?: string; /** * The list of logs. */ readonly logs: outputs.Logging.GetLogsLog[]; readonly sourceResource?: string; readonly sourceService?: string; /** * The pipeline state. */ readonly state?: string; } /** * This data source provides the list of Logs in Oracle Cloud Infrastructure Logging service. * * Lists the specified log group's log objects. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testLogs = oci.logging.getLogs({ * logGroupId: testLogGroup.id, * displayName: logDisplayName, * logType: logLogType, * sourceResource: logSourceResource, * sourceService: logSourceService, * state: logState, * }); * ``` */ export declare function getLogsOutput(args: GetLogsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getLogs. */ export interface GetLogsOutputArgs { /** * Resource name. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * OCID of a log group to work with. */ logGroupId: pulumi.Input; /** * The logType that the log object is for, whether custom or service. */ logType?: pulumi.Input; /** * Log object resource, which is a field of LogSummary.Configuration.Source. */ sourceResource?: pulumi.Input; /** * Service that created the log object, which is a field of LogSummary.Configuration.Source. */ sourceService?: pulumi.Input; /** * Lifecycle state of the log object */ state?: pulumi.Input; } //# sourceMappingURL=getLogs.d.ts.map