import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Configuration resource in Oracle Cloud Infrastructure Audit service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/audit/latest/Configuration * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/audit * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConfiguration = new oci.audit.Configuration("test_configuration", { * compartmentId: tenancyOcid, * retentionPeriodDays: Number(configurationRetentionPeriodDays), * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class Configuration extends pulumi.CustomResource { /** * Get an existing Configuration 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?: ConfigurationState, opts?: pulumi.CustomResourceOptions): Configuration; /** * Returns true if the given object is an instance of Configuration. 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 Configuration; /** * ID of the root compartment (tenancy) */ readonly compartmentId: pulumi.Output; /** * (Updatable) The retention period setting, specified in days. The minimum is 90, the maximum 365. Example: `90` * * ** 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 retentionPeriodDays: pulumi.Output; /** * Create a Configuration 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: ConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Configuration resources. */ export interface ConfigurationState { /** * ID of the root compartment (tenancy) */ compartmentId?: pulumi.Input; /** * (Updatable) The retention period setting, specified in days. The minimum is 90, the maximum 365. Example: `90` * * ** 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 */ retentionPeriodDays?: pulumi.Input; } /** * The set of arguments for constructing a Configuration resource. */ export interface ConfigurationArgs { /** * ID of the root compartment (tenancy) */ compartmentId: pulumi.Input; /** * (Updatable) The retention period setting, specified in days. The minimum is 90, the maximum 365. Example: `90` * * ** 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 */ retentionPeriodDays: pulumi.Input; } //# sourceMappingURL=configuration.d.ts.map