Skip to content
DocsTry Aspire
DocsTry

withImagePushOptions

Method
📦 Aspire.Hosting v13.4.0
interface ContainerResource {
// ... omitted for brevity
withImagePushOptions(callback: callback): IComputeResource;
}

Signature

methodwithImagePushOptionsbuilder
Adds an asynchronous callback to configure container image push options for the resource.
withImagePushOptions(callback: (arg: ContainerImagePushOptionsCallbackContext) => Promise<void>): IComputeResource
callback(arg: ContainerImagePushOptionsCallbackContext) => Promise<void>
IComputeResource

Applies to

This method applies to the following types: