Skip to content
DocsTry Aspire
DocsTry

withContainerImage

Method
📦 Aspire.Hosting.Radius v13.5.3-preview.1.26425.3
interface ProjectResource {
// ... omitted for brevity
withContainerImage(image: string): ProjectResource;
}

Signature

methodwithContainerImagebuilder
Associates a pre-built container image reference with a project resource so the Aspire.Hosting.Radius publisher can emit a valid Radius container manifest for it.
withContainerImage(image: string): ProjectResource
imagestring
ProjectResource

Applies to

This method applies to the following types: