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 Log Groups in Oracle Cloud Infrastructure Logging service. * * Lists all log groups for the specified compartment or tenancy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testLogGroups = oci.logging.getLogGroups({ * compartmentId: compartmentId, * displayName: logGroupDisplayName, * isCompartmentIdInSubtree: logGroupIsCompartmentIdInSubtree === "true", * }); * ``` */ export declare function getLogGroups(args: GetLogGroupsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getLogGroups. */ export interface GetLogGroupsArgs { /** * Compartment OCID to list resources in. See compartmentIdInSubtree for nested compartments traversal. */ compartmentId: string; /** * Resource name. */ displayName?: string; filters?: inputs.Logging.GetLogGroupsFilter[]; /** * Specifies whether or not nested compartments should be traversed. Defaults to false. */ isCompartmentIdInSubtree?: boolean; } /** * A collection of values returned by getLogGroups. */ export interface GetLogGroupsResult { /** * The OCID of the compartment that the resource belongs to. */ readonly compartmentId: string; /** * 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.GetLogGroupsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly isCompartmentIdInSubtree?: boolean; /** * The list of log_groups. */ readonly logGroups: outputs.Logging.GetLogGroupsLogGroup[]; } /** * This data source provides the list of Log Groups in Oracle Cloud Infrastructure Logging service. * * Lists all log groups for the specified compartment or tenancy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testLogGroups = oci.logging.getLogGroups({ * compartmentId: compartmentId, * displayName: logGroupDisplayName, * isCompartmentIdInSubtree: logGroupIsCompartmentIdInSubtree === "true", * }); * ``` */ export declare function getLogGroupsOutput(args: GetLogGroupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getLogGroups. */ export interface GetLogGroupsOutputArgs { /** * Compartment OCID to list resources in. See compartmentIdInSubtree for nested compartments traversal. */ compartmentId: pulumi.Input; /** * Resource name. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Specifies whether or not nested compartments should be traversed. Defaults to false. */ isCompartmentIdInSubtree?: pulumi.Input; } //# sourceMappingURL=getLogGroups.d.ts.map