addRustFs
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addRustFs( name: string, accessKey?: ParameterResource, secretKey?: ParameterResource, port?: number, consolePort?: number): RustFsResource;}Signature
method
addRustFs builderAdds a RustFs container to the application model. The default image is "rustfs/rustfs".
addRustFs( name: string, accessKey?: ParameterResource, secretKey?: ParameterResource, port?: number, consolePort?: number): RustFsResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.accessKey ParameterResource optionalThe parameter used to provide the access key for the RustFs resource. If `null` a random key will be generated.secretKey ParameterResource optionalThe 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.consolePort numberoptionalThe host port for the RustFs console endpoint.Returns
RustFsResource Applies to
This method applies to the following types: