Skip to content
DocsTry Aspire
DocsTry

withTerminal

Method
📦 Aspire.Hosting v13.5.0
interface ContainerResource {
// ... omitted for brevity
withTerminal(): IResource;
}

Signature

methodwithTerminalbuilder
Adds an interactive terminal session to a resource using the default terminal options.
withTerminal(): IResource
IResource

Applies to

This method applies to the following types: