Skip to content
Docs Try Aspire
Docs Try

MinioContainerResource

Handle
📦 CommunityToolkit.Aspire.Hosting.Minio v13.4.0
interface MinioContainerResource
extends IComputeResource,
IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithArgs,
IResourceWithConnectionString,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport,
IValueProvider,
IValueWithReferences {
readonly connectionStringExpression: ReferenceExpression;
readonly host: EndpointReferenceExpression;
passwordParameter: ParameterResource;
readonly port: EndpointReferenceExpression;
readonly primaryEndpoint: EndpointReference;
rootUser: ParameterResource;
readonly uriExpression: ReferenceExpression;
withDataBindMount(source: string): MinioContainerResource;
withDataVolume(name?: string): MinioContainerResource;
withHostPort(port: number): MinioContainerResource;
withPassword(password: ParameterResource): MinioContainerResource;
withUserName(userName: ParameterResource): MinioContainerResource;
}

Properties

property connectionStringExpression ReferenceExpression get
Gets the connection string expression for the Minio
property host EndpointReferenceExpression get
Gets the host endpoint reference for this resource.
property passwordParameter ParameterResource get · set
The MinIO root password.
property port EndpointReferenceExpression get
Gets the port endpoint reference for this resource.
property primaryEndpoint EndpointReference get
Gets the primary endpoint for the MinIO. This endpoint is used for all API calls over HTTP.
property rootUser ParameterResource get · set
The MinIO root user.
property uriExpression ReferenceExpression get
Gets the connection URI expression for the MinIO server.

Methods

method withDataBindMount builder
Adds a bind mount for the data folder to a MinIO container resource.
withDataBindMount(source: string): MinioContainerResource
source string
MinioContainerResource
method withDataVolume builder
Adds a named volume for the data folder to a MinIO container resource.
withDataVolume(name?: string): MinioContainerResource
name string optional
MinioContainerResource
method withHostPort builder
Configures the host port that the MinIO resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): MinioContainerResource
port number
MinioContainerResource
method withPassword builder
Configures the password that the MinIO resource uses.
withPassword(password: ParameterResource): MinioContainerResource
password ParameterResource
MinioContainerResource
method withUserName builder
Configures the user name that the MinIO resource uses.
withUserName(userName: ParameterResource): MinioContainerResource
userName ParameterResource
MinioContainerResource