MySqlBuilderExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides extension methods for adding MySQL resources to an IDistributedApplicationBuilder.
public static class MySqlBuilderExtensions
type MySqlBuilderExtensions = class
Public Module MySqlBuilderExtensions
- Inheritance
-
MySqlBuilderExtensions
Methods
AddDatabase(IResourceBuilder<MySqlServerResource>, String, String) |
Adds a MySQL database to the application model. |
AddMySql(IDistributedApplicationBuilder, String, IResourceBuilder<ParameterResource>, Nullable<Int32>) |
Adds a MySQL server resource to the application model. For local development a container is used. This version the package defaults to the 8.3.0 tag of the mysql container image |
WithDataBindMount(IResourceBuilder<MySqlServerResource>, String, Boolean) |
Adds a bind mount for the data folder to a MySql container resource. |
WithDataVolume(IResourceBuilder<MySqlServerResource>, String, Boolean) |
Adds a named volume for the data folder to a MySql container resource. |
WithHostPort(IResourceBuilder<PhpMyAdminContainerResource>, Nullable<Int32>) |
Configures the host port that the PGAdmin resource is exposed on instead of using randomly assigned port. |
WithInitBindMount(IResourceBuilder<MySqlServerResource>, String, Boolean) |
Adds a bind mount for the init folder to a MySql container resource. |
WithPhpMyAdmin<T>(IResourceBuilder<T>, Action<IResourceBuilder<PhpMyAdminContainerResource>>, String) |
Adds a phpMyAdmin administration and development platform for MySql to the application model. This version the package defaults to the 5.2 tag of the phpmyadmin container image |