ContainerResource.WithImageSHA256

Method
📦 Aspire.Hosting v17.0.0
type ContainerResource interface {
// ... omitted for brevity
WithImageSHA256(sha256 string) ContainerResource
}

Signature

methodWithImageSHA256builder
Allows setting the image to a specific sha256 on a container.
WithImageSHA256(sha256 string) ContainerResource
sha256stringRegistry value.
ContainerResource

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: