Skip to content
DocsTry Aspire
DocsTry

withPassword

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

Signature

methodwithPasswordbuilder
Configures the password that the SqlServer resource is used.
withPassword(password: ParameterResource): SqlServerServerResource
passwordParameterResource
SqlServerServerResource

Applies to

This method applies to the following types: