Skip to content
Docs Try Aspire
Docs Try

ContainerResource.withImageSHA256

Method
📦 Aspire.Hosting v13.4.0
interface ContainerResource {
// ... omitted for brevity
withImageSHA256(sha256: string): ContainerResource;
}

Signature

method withImageSHA256 builder
Allows setting the image to a specific sha256 on a container.
withImageSHA256(sha256: string): ContainerResource
sha256 string
ContainerResource

Defined on

This method is defined on the following type: