MySqlServerResource.WithPassword

Method
📦 Aspire.Hosting.MySql v17.0.0
type MySqlServerResource interface {
// ... omitted for brevity
WithPassword(password ParameterResource) MySqlServerResource
}

Signature

methodWithPasswordbuilder
Configures the password that the MySQL resource uses.
WithPassword(password ParameterResource) MySqlServerResource
passwordParameterResourceThe parameter used to provide the password for the MySQL resource.
MySqlServerResource

The resource builder.

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

Defined on

This method is defined on the following type: