ContainerBuildOptionsCallbackContext 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.
Context for configuring container build options via a callback.
public sealed class ContainerBuildOptionsCallbackContext
type ContainerBuildOptionsCallbackContext = class
Public NotInheritable Class ContainerBuildOptionsCallbackContext
- Inheritance
-
ContainerBuildOptionsCallbackContext
Constructors
| Name | Description |
|---|---|
| ContainerBuildOptionsCallbackContext(IResource, IServiceProvider, ILogger, CancellationToken, DistributedApplicationExecutionContext) |
Initializes a new instance of ContainerBuildOptionsCallbackContext. |
Properties
| Name | Description |
|---|---|
| CancellationToken |
Gets the cancellation token. |
| ExecutionContext |
Gets the distributed application execution context. |
| ImageFormat |
Gets or sets the container image format. |
| LocalImageName |
Gets or sets the local image name for the built container. |
| LocalImageTag |
Gets or sets the local image tag for the built container. |
| Logger |
Gets the logger instance. |
| OutputPath |
Gets or sets the output path for the container archive. |
| Resource |
Gets the resource being built. |
| Services |
Gets the service provider. |
| TargetPlatform |
Gets or sets the target platform for the container. |