UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

87 lines (86 loc) 2.34 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of tos buckets * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tos.getBuckets({ * nameRegex: "test", * }); * ``` */ /** @deprecated volcengine.tos.Buckets has been deprecated in favor of volcengine.tos.getBuckets */ export declare function buckets(args?: BucketsArgs, opts?: pulumi.InvokeOptions): Promise<BucketsResult>; /** * A collection of arguments for invoking Buckets. */ export interface BucketsArgs { /** * The name the TOS bucket. */ bucketName?: string; /** * A Name Regex of TOS bucket. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by Buckets. */ export interface BucketsResult { readonly bucketName?: string; /** * The collection of TOS bucket query. */ readonly buckets: outputs.tos.BucketsBucket[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly nameRegex?: string; readonly outputFile?: string; /** * The total count of TOS bucket query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of tos buckets * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tos.getBuckets({ * nameRegex: "test", * }); * ``` */ /** @deprecated volcengine.tos.Buckets has been deprecated in favor of volcengine.tos.getBuckets */ export declare function bucketsOutput(args?: BucketsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<BucketsResult>; /** * A collection of arguments for invoking Buckets. */ export interface BucketsOutputArgs { /** * The name the TOS bucket. */ bucketName?: pulumi.Input<string>; /** * A Name Regex of TOS bucket. */ nameRegex?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }