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 Analytics Log Groups in Oracle Cloud Infrastructure Log Analytics service. * * Returns a list of log groups in a compartment. You may limit the number of log groups, provide sorting options, and filter the results by specifying a display name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testLogAnalyticsLogGroups = oci.loganalytics.getLogAnalyticsLogGroups({ * compartmentId: compartmentId, * namespace: logAnalyticsLogGroupNamespace, * displayName: logAnalyticsLogGroupDisplayName, * }); * ``` */ export declare function getLogAnalyticsLogGroups(args: GetLogAnalyticsLogGroupsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getLogAnalyticsLogGroups. */ export interface GetLogAnalyticsLogGroupsArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: string; /** * A filter to return only log analytics log groups whose displayName matches the entire display name given. The match is case-insensitive. */ displayName?: string; filters?: inputs.LogAnalytics.GetLogAnalyticsLogGroupsFilter[]; /** * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get' */ namespace: string; } /** * A collection of values returned by getLogAnalyticsLogGroups. */ export interface GetLogAnalyticsLogGroupsResult { /** * Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ readonly compartmentId: string; /** * A user-friendly name that is changeable and that does not have to be unique. Format: a leading alphanumeric, followed by zero or more alphanumerics, underscores, spaces, backslashes, or hyphens in any order). No trailing spaces allowed. */ readonly displayName?: string; readonly filters?: outputs.LogAnalytics.GetLogAnalyticsLogGroupsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of log_analytics_log_group_summary_collection. */ readonly logAnalyticsLogGroupSummaryCollections: outputs.LogAnalytics.GetLogAnalyticsLogGroupsLogAnalyticsLogGroupSummaryCollection[]; readonly namespace: string; } /** * This data source provides the list of Log Analytics Log Groups in Oracle Cloud Infrastructure Log Analytics service. * * Returns a list of log groups in a compartment. You may limit the number of log groups, provide sorting options, and filter the results by specifying a display name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testLogAnalyticsLogGroups = oci.loganalytics.getLogAnalyticsLogGroups({ * compartmentId: compartmentId, * namespace: logAnalyticsLogGroupNamespace, * displayName: logAnalyticsLogGroupDisplayName, * }); * ``` */ export declare function getLogAnalyticsLogGroupsOutput(args: GetLogAnalyticsLogGroupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getLogAnalyticsLogGroups. */ export interface GetLogAnalyticsLogGroupsOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * A filter to return only log analytics log groups whose displayName matches the entire display name given. The match is case-insensitive. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get' */ namespace: pulumi.Input; } //# sourceMappingURL=getLogAnalyticsLogGroups.d.ts.map