import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::TOS::Bucket */ export declare function getBucket(args: GetBucketArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBucket. */ export interface GetBucketArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getBucket. */ export interface GetBucketResult { /** * Bucket access control permissions */ readonly acl: outputs.tos.GetBucketAcl; readonly aclGrant: outputs.tos.GetBucketAclGrant; /** * Bucket availability zone redundancy type. Includes single-az: single availability zone redundancy, multi-az: multi availability zone redundancy */ readonly azRedundancy: string; /** * Bucket type. Includes hns: hierarchical bucket type, fns: flat bucket type */ readonly bucketType: string; /** * Bucket creation time */ readonly creationDate: string; /** * Bucket versioning status. Enabled: Enable versioning. Suspended: Suspend versioning */ readonly enableVersionStatus: string; /** * TOS protocol public access domain name for the bucket */ readonly extranetEndpoint: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Private network access domain name for the bucket's TOS protocol */ readonly intranetEndpoint: string; /** * Bucket lifecycle */ readonly lifecycleConfigs: outputs.tos.GetBucketLifecycleConfig[]; /** * Bucket region */ readonly location: string; /** * Bucket name */ readonly name: string; /** * Bucket object lock (WORM retention policy) configuration. After configuring the bucket retention policy, if no object retention time is specified when uploading an object, the newly uploaded object will inherit the bucket retention time */ readonly objectLockConfiguration: outputs.tos.GetBucketObjectLockConfiguration; /** * String in JSON format containing bucket policy information. The total size of all bucket policy JSONs for a single bucket must not exceed 20KB */ readonly policy: string; /** * Project associated with the bucket */ readonly projectName: string; /** * Default storage class for the bucket. Includes STANDARD: Standard storage. IA: Infrequent access storage. INTELLIGENT*TIERING: Intelligent tiering storage. ARCHIVE*FR: Archive flashback storage. ARCHIVE: Archive storage. COLD*ARCHIVE: Cold archive storage. DEEP*COLD_ARCHIVE: Deep cold archive storage */ readonly storageClass: string; /** * Bucket tag information */ readonly tags: outputs.tos.GetBucketTag[]; } /** * Data Source schema for Volcengine::TOS::Bucket */ export declare function getBucketOutput(args: GetBucketOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBucket. */ export interface GetBucketOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }