ContainerImagePushOptionsCallbackAnnotation.Callback Property

Definition

Gets the callback function that configures image push options.

public Func<Aspire.Hosting.ApplicationModel.ContainerImagePushOptionsCallbackContext,System.Threading.Tasks.Task> Callback { get; }
member this.Callback : Func<Aspire.Hosting.ApplicationModel.ContainerImagePushOptionsCallbackContext, System.Threading.Tasks.Task>
Public ReadOnly Property Callback As Func(Of ContainerImagePushOptionsCallbackContext, Task)

Property Value

An asynchronous function that accepts a ContainerImagePushOptionsCallbackContext and modifies the ContainerImagePushOptions within it. The function is invoked when the image push options need to be resolved for the associated resource.

Applies to