import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleR2BucketLifecycle = cloudflare.getR2BucketLifecycle({ * accountId: "023e105f4ecef8ad9ca31a8372d0c353", * bucketName: "example-bucket", * }); * ``` */ export declare function getR2BucketLifecycle(args: GetR2BucketLifecycleArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getR2BucketLifecycle. */ export interface GetR2BucketLifecycleArgs { /** * Account ID. */ accountId: string; /** * Name of the bucket. */ bucketName: string; } /** * A collection of values returned by getR2BucketLifecycle. */ export interface GetR2BucketLifecycleResult { /** * Account ID. */ readonly accountId: string; /** * Name of the bucket. */ readonly bucketName: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly rules: outputs.GetR2BucketLifecycleRule[]; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleR2BucketLifecycle = cloudflare.getR2BucketLifecycle({ * accountId: "023e105f4ecef8ad9ca31a8372d0c353", * bucketName: "example-bucket", * }); * ``` */ export declare function getR2BucketLifecycleOutput(args: GetR2BucketLifecycleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getR2BucketLifecycle. */ export interface GetR2BucketLifecycleOutputArgs { /** * Account ID. */ accountId: pulumi.Input; /** * Name of the bucket. */ bucketName: pulumi.Input; }