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 Object Collection Rules in Oracle Cloud Infrastructure Log Analytics service. * * Gets list of configuration details of Object Storage based collection rules. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testLogAnalyticsObjectCollectionRules = oci.loganalytics.getLogAnalyticsObjectCollectionRules({ * compartmentId: compartmentId, * namespace: logAnalyticsObjectCollectionRuleNamespace, * name: logAnalyticsObjectCollectionRuleName, * state: logAnalyticsObjectCollectionRuleState, * }); * ``` */ export declare function getLogAnalyticsObjectCollectionRules(args: GetLogAnalyticsObjectCollectionRulesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getLogAnalyticsObjectCollectionRules. */ export interface GetLogAnalyticsObjectCollectionRulesArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: string; filters?: inputs.LogAnalytics.GetLogAnalyticsObjectCollectionRulesFilter[]; /** * A filter to return rules only matching with this name. */ name?: string; /** * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get' */ namespace: string; /** * Lifecycle state filter. */ state?: string; } /** * A collection of values returned by getLogAnalyticsObjectCollectionRules. */ export interface GetLogAnalyticsObjectCollectionRulesResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which this rule belongs. */ readonly compartmentId: string; readonly filters?: outputs.LogAnalytics.GetLogAnalyticsObjectCollectionRulesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of log_analytics_object_collection_rule_collection. */ readonly logAnalyticsObjectCollectionRuleCollections: outputs.LogAnalytics.GetLogAnalyticsObjectCollectionRulesLogAnalyticsObjectCollectionRuleCollection[]; /** * A unique name to the rule. The name must be unique, within the tenancy, and cannot be changed. */ readonly name?: string; readonly namespace: string; /** * The current state of the rule. */ readonly state?: string; } /** * This data source provides the list of Log Analytics Object Collection Rules in Oracle Cloud Infrastructure Log Analytics service. * * Gets list of configuration details of Object Storage based collection rules. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testLogAnalyticsObjectCollectionRules = oci.loganalytics.getLogAnalyticsObjectCollectionRules({ * compartmentId: compartmentId, * namespace: logAnalyticsObjectCollectionRuleNamespace, * name: logAnalyticsObjectCollectionRuleName, * state: logAnalyticsObjectCollectionRuleState, * }); * ``` */ export declare function getLogAnalyticsObjectCollectionRulesOutput(args: GetLogAnalyticsObjectCollectionRulesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getLogAnalyticsObjectCollectionRules. */ export interface GetLogAnalyticsObjectCollectionRulesOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return rules only matching with this name. */ name?: pulumi.Input; /** * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get' */ namespace: pulumi.Input; /** * Lifecycle state filter. */ state?: pulumi.Input; } //# sourceMappingURL=getLogAnalyticsObjectCollectionRules.d.ts.map