Skip to content
Docs Try Aspire

IResourceWithArgs

Interface TypeScript
📦 Aspire.Hosting.OpenAI v13.2.0-preview.1.26159.1
interface IResourceWithArgs {
withArgs(args: string[]): IResourceWithArgs;
withArgsCallback(callback: (obj: CommandLineArgsCallbackContext) => void): IResourceWithArgs;
withArgsCallbackAsync(callback: (arg: CommandLineArgsCallbackContext) => void): IResourceWithArgs;
}

Methods

method withArgs builder
Adds arguments
withArgs(args: string[]): IResourceWithArgs
args string[]
IResourceWithArgs
method withArgsCallback builder
Sets command-line arguments via callback
withArgsCallback(callback: (obj: CommandLineArgsCallbackContext) => void): IResourceWithArgs
callback (obj: CommandLineArgsCallbackContext) => void
IResourceWithArgs
method withArgsCallbackAsync builder
Sets command-line arguments via async callback
withArgsCallbackAsync(callback: (arg: CommandLineArgsCallbackContext) => void): IResourceWithArgs
callback (arg: CommandLineArgsCallbackContext) => void
IResourceWithArgs