Share via


DeploymentImageTagCallbackAnnotation Class

Definition

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.

Applies to