Skip to content
DocsTry Aspire
DocsTry

RustFsResource.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

Defined on

This method is defined on the following type: