Skip to content
DocsTry Aspire
DocsTry

withPassword

Method
📦 Aspire.Hosting.MySql v13.4.0
interface MySqlServerResource {
// ... omitted for brevity
withPassword(password: ParameterResource): MySqlServerResource;
}

Signature

methodwithPasswordbuilder
Configures the password that the MySQL resource uses.
withPassword(password: ParameterResource): MySqlServerResource
passwordParameterResource
MySqlServerResource

Applies to

This method applies to the following types: