import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Namespace Storage Archival Config 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/NamespaceStorageArchivalConfig * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/log_analytics * * This API updates the archiving configuration * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNamespaceStorageArchivalConfig = new oci.loganalytics.NamespaceStorageArchivalConfig("test_namespace_storage_archival_config", { * archivingConfiguration: { * activeStorageDuration: namespaceStorageArchivalConfigArchivingConfigurationActiveStorageDuration, * archivalStorageDuration: namespaceStorageArchivalConfigArchivingConfigurationArchivalStorageDuration, * timeOldestActiveBucketEnded: namespaceStorageArchivalConfigArchivingConfigurationTimeOldestActiveBucketEnded, * }, * namespace: namespaceStorageArchivalConfigNamespace, * }); * ``` */ export declare class NamespaceStorageArchivalConfig extends pulumi.CustomResource { /** * Get an existing NamespaceStorageArchivalConfig 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?: NamespaceStorageArchivalConfigState, opts?: pulumi.CustomResourceOptions): NamespaceStorageArchivalConfig; /** * Returns true if the given object is an instance of NamespaceStorageArchivalConfig. 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 NamespaceStorageArchivalConfig; /** * (Updatable) This is the configuration for data archiving in object storage */ readonly archivingConfiguration: pulumi.Output; /** * This indicates if old data can be archived for a tenancy */ readonly isArchivingEnabled: 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 NamespaceStorageArchivalConfig 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: NamespaceStorageArchivalConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NamespaceStorageArchivalConfig resources. */ export interface NamespaceStorageArchivalConfigState { /** * (Updatable) This is the configuration for data archiving in object storage */ archivingConfiguration?: pulumi.Input; /** * This indicates if old data can be archived for a tenancy */ isArchivingEnabled?: 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 NamespaceStorageArchivalConfig resource. */ export interface NamespaceStorageArchivalConfigArgs { /** * (Updatable) This is the configuration for data archiving in object storage */ archivingConfiguration: 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=namespaceStorageArchivalConfig.d.ts.map