Skip to content
DocsTry Aspire
DocsTry

SeaweedFSContainerResource

Handle
📦 CommunityToolkit.Aspire.Hosting.SeaweedFS v13.5.0
interface SeaweedFSContainerResource
extends IComputeResource,
IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithArgs,
IResourceWithConnectionString,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport,
IValueProvider,
IValueWithReferences {
withAccessKey(accessKey: ParameterResource): SeaweedFSContainerResource;
withDataBindMount(
source: string,
isReadOnly?: boolean): SeaweedFSContainerResource;
withDataVolume(
name?: string,
isReadOnly?: boolean): SeaweedFSContainerResource;
withFiler(filerPort?: number): SeaweedFSContainerResource;
withHostPort(port: number): SeaweedFSContainerResource;
withS3(s3Port?: number): SeaweedFSContainerResource;
withS3ConfigFile(configFilePath: string): SeaweedFSContainerResource;
withSecretKey(secretKey: ParameterResource): SeaweedFSContainerResource;
}

Methods

methodwithAccessKeybuilder
Configures the Access Key that the SeaweedFS S3 resource uses.
withAccessKey(accessKey: ParameterResource): SeaweedFSContainerResource
accessKeyParameterResource
SeaweedFSContainerResource
methodwithDataBindMountbuilder
Adds a bind mount for the SeaweedFS data folder.
withDataBindMount(
source: string,
isReadOnly?: boolean): SeaweedFSContainerResource
sourcestring
isReadOnlybooleanoptional= False
SeaweedFSContainerResource
methodwithDataVolumebuilder
Adds a named volume for the SeaweedFS data folder.
withDataVolume(
name?: string,
isReadOnly?: boolean): SeaweedFSContainerResource
namestringoptional
isReadOnlybooleanoptional= False
SeaweedFSContainerResource
methodwithFilerbuilder
Enables the SeaweedFS Native Filer API.
withFiler(filerPort?: number): SeaweedFSContainerResource
filerPortnumberoptional
SeaweedFSContainerResource
methodwithHostPortbuilder
Configures the Master API host port that the SeaweedFS resource is exposed on.
withHostPort(port: number): SeaweedFSContainerResource
portnumber
SeaweedFSContainerResource
methodwithS3builder
Enables the SeaweedFS S3-Compatible API Gateway.
withS3(s3Port?: number): SeaweedFSContainerResource
s3Portnumberoptional
SeaweedFSContainerResource
methodwithS3ConfigFilebuilder
Configures the SeaweedFS S3 API to use a specific external security configuration file.
withS3ConfigFile(configFilePath: string): SeaweedFSContainerResource
configFilePathstring
SeaweedFSContainerResource
methodwithSecretKeybuilder
Configures the Secret Key that the SeaweedFS S3 resource uses.
withSecretKey(secretKey: ParameterResource): SeaweedFSContainerResource
secretKeyParameterResource
SeaweedFSContainerResource