Watch Aspire live streamsDocsTry Aspire

withImagePullPolicy

Method
📦 Aspire.Hosting v13.6.5
interface ContainerResource {
// ... omitted for brevity
withImagePullPolicy(pullPolicy: ImagePullPolicy): ContainerResource;
}

Signature

methodwithImagePullPolicybuilder
Sets the pull policy for the container resource.
withImagePullPolicy(pullPolicy: ImagePullPolicy): ContainerResource
pullPolicyImagePullPolicyThe pull policy behavior for the container resource.
ContainerResource

Applies to

This method applies to the following types: