import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Namespace Ingest Time Rules Management resource in Oracle Cloud Infrastructure Log Analytics service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/logan-api-spec/latest/NamespaceIngestTimeRulesManagement * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/log_analytics * Enables the specified ingest time rule. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNamespaceIngestTimeRulesManagement = new oci.loganalytics.NamespaceIngestTimeRulesManagement("test_namespace_ingest_time_rules_management", { * ingestTimeRuleId: testRule.id, * namespace: namespaceIngestTimeRulesManagementNamespace, * enableIngestTimeRule: enableIngestTimeRule === "true", * }); * ``` */ export declare class NamespaceIngestTimeRulesManagement extends pulumi.CustomResource { /** * Get an existing NamespaceIngestTimeRulesManagement resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: NamespaceIngestTimeRulesManagementState, opts?: pulumi.CustomResourceOptions): NamespaceIngestTimeRulesManagement; /** * Returns true if the given object is an instance of NamespaceIngestTimeRulesManagement. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is NamespaceIngestTimeRulesManagement; /** * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly enableIngestTimeRule: pulumi.Output; /** * Unique ocid of the ingest time rule. Ingest time rule ID can be obtained by running 'oci log-analytics ingest-time-rule list --namespace-name --compartment-id '. The json output 'id' parameter value contains the rule ID. */ readonly ingestTimeRuleId: pulumi.Output; /** * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get' */ readonly namespace: pulumi.Output; /** * Create a NamespaceIngestTimeRulesManagement resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: NamespaceIngestTimeRulesManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NamespaceIngestTimeRulesManagement resources. */ export interface NamespaceIngestTimeRulesManagementState { /** * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ enableIngestTimeRule?: pulumi.Input; /** * Unique ocid of the ingest time rule. Ingest time rule ID can be obtained by running 'oci log-analytics ingest-time-rule list --namespace-name --compartment-id '. The json output 'id' parameter value contains the rule ID. */ ingestTimeRuleId?: pulumi.Input; /** * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get' */ namespace?: pulumi.Input; } /** * The set of arguments for constructing a NamespaceIngestTimeRulesManagement resource. */ export interface NamespaceIngestTimeRulesManagementArgs { /** * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ enableIngestTimeRule: pulumi.Input; /** * Unique ocid of the ingest time rule. Ingest time rule ID can be obtained by running 'oci log-analytics ingest-time-rule list --namespace-name --compartment-id '. The json output 'id' parameter value contains the rule ID. */ ingestTimeRuleId: pulumi.Input; /** * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get' */ namespace: pulumi.Input; } //# sourceMappingURL=namespaceIngestTimeRulesManagement.d.ts.map