import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Bucket inventory rules. After creating a bucket inventory, TOS outputs various object information daily or weekly, including object count, size, storage type, and more. * * ## Import * * ```sh * $ pulumi import volcenginecc:tos/bucketInventory:BucketInventory example "bucket_name|inventory_id" * ``` */ export declare class BucketInventory extends pulumi.CustomResource { /** * Get an existing BucketInventory 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?: BucketInventoryState, opts?: pulumi.CustomResourceOptions): BucketInventory; /** * Returns true if the given object is an instance of BucketInventory. 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 BucketInventory; /** * Bucket name. */ readonly bucketName: pulumi.Output; /** * Information related to inventory files. */ readonly destination: pulumi.Output; /** * Prefix for filtering bucket inventory. */ readonly filter: pulumi.Output; /** * Object version to export. Options: All: export information for all object versions. Current: export information for the current object version. */ readonly includedObjectVersions: pulumi.Output; /** * Bucket inventory name, which must be globally unique within the current bucket. Details: Length must be 0–64 characters. Only lowercase letters a–z, uppercase letters A–Z, digits 0–9, hyphens (-), underscores (_), and periods (.) are allowed. The name must start and end with a lowercase letter a–z, uppercase letter A–Z, or digit 0–9. */ readonly inventoryId: pulumi.Output; /** * Whether to enable the bucket inventory feature. Options: true: enable; false: disable. */ readonly isEnabled: pulumi.Output; /** * Whether it is uncompressed. */ readonly isUnCompressed: pulumi.Output; /** * Information about exported inventory files. */ readonly optionalFields: pulumi.Output; /** * Bucket inventory export frequency information. */ readonly schedule: pulumi.Output; /** * Create a BucketInventory 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: BucketInventoryArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering BucketInventory resources. */ export interface BucketInventoryState { /** * Bucket name. */ bucketName?: pulumi.Input; /** * Information related to inventory files. */ destination?: pulumi.Input; /** * Prefix for filtering bucket inventory. */ filter?: pulumi.Input; /** * Object version to export. Options: All: export information for all object versions. Current: export information for the current object version. */ includedObjectVersions?: pulumi.Input; /** * Bucket inventory name, which must be globally unique within the current bucket. Details: Length must be 0–64 characters. Only lowercase letters a–z, uppercase letters A–Z, digits 0–9, hyphens (-), underscores (_), and periods (.) are allowed. The name must start and end with a lowercase letter a–z, uppercase letter A–Z, or digit 0–9. */ inventoryId?: pulumi.Input; /** * Whether to enable the bucket inventory feature. Options: true: enable; false: disable. */ isEnabled?: pulumi.Input; /** * Whether it is uncompressed. */ isUnCompressed?: pulumi.Input; /** * Information about exported inventory files. */ optionalFields?: pulumi.Input; /** * Bucket inventory export frequency information. */ schedule?: pulumi.Input; } /** * The set of arguments for constructing a BucketInventory resource. */ export interface BucketInventoryArgs { /** * Bucket name. */ bucketName: pulumi.Input; /** * Information related to inventory files. */ destination: pulumi.Input; /** * Prefix for filtering bucket inventory. */ filter?: pulumi.Input; /** * Object version to export. Options: All: export information for all object versions. Current: export information for the current object version. */ includedObjectVersions: pulumi.Input; /** * Bucket inventory name, which must be globally unique within the current bucket. Details: Length must be 0–64 characters. Only lowercase letters a–z, uppercase letters A–Z, digits 0–9, hyphens (-), underscores (_), and periods (.) are allowed. The name must start and end with a lowercase letter a–z, uppercase letter A–Z, or digit 0–9. */ inventoryId: pulumi.Input; /** * Whether to enable the bucket inventory feature. Options: true: enable; false: disable. */ isEnabled: pulumi.Input; /** * Whether it is uncompressed. */ isUnCompressed: pulumi.Input; /** * Information about exported inventory files. */ optionalFields?: pulumi.Input; /** * Bucket inventory export frequency information. */ schedule: pulumi.Input; }