WithContainerImage
Method
func (ProjectResource) WithContainerImage(image string) ProjectResourceSignature
method
WithContainerImage builderAssociates 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) ProjectResourceParameters
imagestringA fully-qualified image reference in [registry/]image[:tag] form (for example localhost:5001/apiservice:latest ). When the tag is omitted latest is used.Returns
ProjectResource The same I for chaining.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
CSharpAppResourcetype
ProjectResource