Skip to content
Docs Try Aspire
Docs Try

withImagePushOptions

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

Signature

method withImagePushOptions builder
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: