ContainerImagePushOptionsCallbackContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |