Skip to content
DocsTry Aspire
DocsTry

IResourceWithArgs.withArgs

Method
📦 Aspire.Hosting v13.4.0
interface IResourceWithArgs {
// ... omitted for brevity
withArgs(args: string[]): IResourceWithArgs;
}

Signature

methodwithArgsbuilder
Adds arguments to be passed to a resource that supports arguments when it is launched.
withArgs(args: string[]): IResourceWithArgs
argsstring[]
IResourceWithArgs

Defined on

This method is defined on the following type: