Skip to content
DocsTry Aspire
DocsTry

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

propertyconnectionStringExpressionReferenceExpressionget
Gets the connection string expression for the Minio
propertyhostEndpointReferenceExpressionget
Gets the host endpoint reference for this resource.
propertypasswordParameterParameterResourceget · set
The MinIO root password.
propertyportEndpointReferenceExpressionget
Gets the port endpoint reference for this resource.
propertyprimaryEndpointEndpointReferenceget
Gets the primary endpoint for the MinIO. This endpoint is used for all API calls over HTTP.
propertyrootUserParameterResourceget · set
The MinIO root user.
propertyuriExpressionReferenceExpressionget
Gets the connection URI expression for the MinIO server.

Methods

methodwithDataBindMountbuilder
Adds a bind mount for the data folder to a MinIO container resource.
withDataBindMount(source: string): MinioContainerResource
sourcestring
MinioContainerResource
methodwithDataVolumebuilder
Adds a named volume for the data folder to a MinIO container resource.
withDataVolume(name?: string): MinioContainerResource
namestringoptional
MinioContainerResource
methodwithHostPortbuilder
Configures the host port that the MinIO resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): MinioContainerResource
portnumber
MinioContainerResource
methodwithPasswordbuilder
Configures the password that the MinIO resource uses.
withPassword(password: ParameterResource): MinioContainerResource
passwordParameterResource
MinioContainerResource
methodwithUserNamebuilder
Configures the user name that the MinIO resource uses.
withUserName(userName: ParameterResource): MinioContainerResource
userNameParameterResource
MinioContainerResource