Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithPhpMyAdmin

Method
📦 Aspire.Hosting.MySql v17.0.0
func (MySqlServerResource) WithPhpMyAdmin(options ...*WithPhpMyAdminOptions) MySqlServerResource

Signature

methodWithPhpMyAdminbuilder
Adds a phpMyAdmin administration and development platform for MySql to the application model.
WithPhpMyAdmin(options ...*WithPhpMyAdminOptions) MySqlServerResource
options...*WithPhpMyAdminOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithPhpMyAdminOptions argument.

ConfigureContainerfunc(obj PhpMyAdminContainerResource)callbackCallback to configure PhpMyAdmin container resource.
ContainerName*stringThe name of the container (Optional).
MySqlServerResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: