Skip to content
DocsTry Aspire
DocsTry

addBucket

Method
📦 CommunityToolkit.Aspire.Hosting.RustFs v13.5.0
interface RustFsResource {
// ... omitted for brevity
addBucket(bucketName: string): RustFsBucketResource;
}

Signature

methodaddBucketbuilder
Adds a bucket to the RustFs resource. The bucket is created by issuing a signed `PUT` request to the RustFs S3 API after the server resource becomes ready.
addBucket(bucketName: string): RustFsBucketResource
bucketNamestring
RustFsBucketResource

Applies to

This method applies to the following types: