import * as pulumi from "@pulumi/pulumi"; /** * Allows management of the Logpull Retention settings used to control whether or not to retain HTTP request logs. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const example = new cloudflare.LogpullRetention("example", { * enabled: true, * zoneId: "fb54f084ca7f7b732d3d3ecbd8ef7bf2", * }); * ``` * * ## Import * * You can import existing Logpull Retention using the zone ID as the identifier. * * ```sh * $ pulumi import cloudflare:index/logpullRetention:LogpullRetention example fb54f084ca7f7b732d3d3ecbd8ef7bf2 * ``` */ export declare class LogpullRetention extends pulumi.CustomResource { /** * Get an existing LogpullRetention 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?: LogpullRetentionState, opts?: pulumi.CustomResourceOptions): LogpullRetention; /** * Returns true if the given object is an instance of LogpullRetention. 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 LogpullRetention; /** * Whether you wish to retain logs or not. */ readonly enabled: pulumi.Output; /** * The zone ID to apply the log retention to. */ readonly zoneId: pulumi.Output; /** * Create a LogpullRetention 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: LogpullRetentionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LogpullRetention resources. */ export interface LogpullRetentionState { /** * Whether you wish to retain logs or not. */ enabled?: pulumi.Input; /** * The zone ID to apply the log retention to. */ zoneId?: pulumi.Input; } /** * The set of arguments for constructing a LogpullRetention resource. */ export interface LogpullRetentionArgs { /** * Whether you wish to retain logs or not. */ enabled: pulumi.Input; /** * The zone ID to apply the log retention to. */ zoneId: pulumi.Input; }