ContainerImagePushOptionsCallbackContext
Classsealednet10.0
Provides context information for container image push options callbacks.
namespace Aspire.Hosting.ApplicationModel;
public sealed class ContainerImagePushOptionsCallbackContext{ // ...}Remarks
Section titled Remarks This context is passed to callbacks registered via
ResourceBuilderExtensions.WithImagePushOptions . Callbacks can use this context to access the resource being configured and modify the ContainerImagePushOptionsCallbackContext.Options to customize how the container image is named and tagged when pushed to a registry. Constructors1
Section titled ConstructorsProperties3
Section titled PropertiesCancellationToken get; initCancellationToken Gets the cancellation token to observe while configuring image push options.
Optionsget; init Gets the container image push options that can be modified by the callback.