MySqlServerResource
Class net10.0
A resource that represents a MySQL container.
namespace Aspire.Hosting.ApplicationModel;
public class MySqlServerResource : Aspire.Hosting.ApplicationModel.ContainerResource, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...} ContainerResourceIManifestExpressionProviderIResourceIResourceWithConnectionStringIValueProviderIValueWithReferences
9 members
Constructors1
Section titled ConstructorsMySqlServerResource(string, ParameterResource) Initializes a new instance of the
MySqlServerResource class. Properties8
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the MySQL server.
DatabasesgetIReadOnlyDictionary<string, string> A dictionary where the key is the resource name and the value is the database name.
HostgetEndpointReferenceExpression Gets the host endpoint reference for this resource.
JdbcConnectionStringgetReferenceExpression Gets the JDBC connection string for the MySQL server.
PasswordParameterget; setParameterResource Gets or sets the parameter that contains the MySQL server password.
PortgetEndpointReferenceExpression Gets the port endpoint reference for this resource.
PrimaryEndpointgetEndpointReference Gets the primary endpoint for the MySQL server.
UriExpressiongetReferenceExpression Gets the connection URI expression for the MySQL server.