Share via


ContainerImagePushOptionsCallbackContext Class

Definition

Provides context information for container image push options callbacks.

public sealed class ContainerImagePushOptionsCallbackContext
type ContainerImagePushOptionsCallbackContext = class
Public NotInheritable Class ContainerImagePushOptionsCallbackContext
Inheritance
ContainerImagePushOptionsCallbackContext

Remarks

This context is passed to callbacks registered via WithImagePushOptions<T>(IResourceBuilder<T>, Action<ContainerImagePushOptionsCallbackContext>). Callbacks can use this context to access the resource being configured and modify the Options to customize how the container image is named and tagged when pushed to a registry.

Constructors

Name Description
ContainerImagePushOptionsCallbackContext()

Properties

Name Description
CancellationToken

Gets the cancellation token to observe while configuring image push options.

Options

Gets the container image push options that can be modified by the callback.

Resource

Gets the resource being configured for container image push operations.

Applies to