DeploymentImageTagCallbackAnnotation 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.
Represents an annotation for a deployment-specific tag that can be applied to resources during deployment.
public sealed class DeploymentImageTagCallbackAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type DeploymentImageTagCallbackAnnotation = class
interface IResourceAnnotation
Public NotInheritable Class DeploymentImageTagCallbackAnnotation
Implements IResourceAnnotation
- Inheritance
-
DeploymentImageTagCallbackAnnotation
- Implements
Constructors
| DeploymentImageTagCallbackAnnotation(Func<DeploymentImageTagCallbackAnnotationContext,String>) |
Initializes a new instance of the DeploymentImageTagCallbackAnnotation class with a synchronous callback. |
| DeploymentImageTagCallbackAnnotation(Func<DeploymentImageTagCallbackAnnotationContext,Task<String>>) |
Initializes a new instance of the DeploymentImageTagCallbackAnnotation class with an asynchronous callback. |
Properties
| Callback |
Gets the callback that returns the deployment tag name. |