addRustFs

Method
📦 CommunityToolkit.Aspire.Hosting.RustFs v13.6.1
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addRustFs(
name: string,
accessKey?: ParameterResource,
secretKey?: ParameterResource,
port?: number,
consolePort?: number): RustFsResource;
}

Signature

methodaddRustFsbuilder
Adds a RustFs container to the application model. The default image is "rustfs/rustfs".
addRustFs(
name: string,
accessKey?: ParameterResource,
secretKey?: ParameterResource,
port?: number,
consolePort?: number): RustFsResource
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.
accessKeyParameterResourceoptionalThe parameter used to provide the access key for the RustFs resource. If `null` a random key will be generated.
secretKeyParameterResourceoptionalThe parameter used to provide the secret key for the RustFs resource. If `null` a random key will be generated.
portnumberoptionalThe host port for the RustFs S3-compatible API endpoint.
consolePortnumberoptionalThe host port for the RustFs console endpoint.
RustFsResource

Applies to

This method applies to the following types: