withArgsReplace

Method
📦 Aspire.Hosting v17.0.0
interface ContainerResource {
// ... omitted for brevity
withArgsReplace(args: string[]): IResourceWithArgs;
}

Signature

methodwithArgsReplacebuilder
Replaces the arguments to be passed to a resource that supports arguments when it is launched.
withArgsReplace(args: string[]): IResourceWithArgs
argsstring[]The arguments to be passed to the resource when it is started.
IResourceWithArgs

Applies to

This method applies to the following types: