Skip to content
Docs Try Aspire

AzureDaprComponentPublishingAnnotation Constructors

Record Constructors 1 member
Represents an annotation that defines a publishing action for Azure Dapr components.
Constructor(Action<AzureResourceInfrastructure>) Section titled Constructor(Action<AzureResourceInfrastructure>)
Represents an annotation that defines a publishing action for Azure Dapr components.
public record AzureDaprComponentPublishingAnnotation
{
public AzureDaprComponentPublishingAnnotation(
Action<AzureResourceInfrastructure> PublishingAction)
{
// ...
}
}
PublishingAction Action<AzureResourceInfrastructure> The action to be executed on the Azure.AzureResourceInfrastructure during the publishing process. This action allows for customization of the infrastructure configuration.
This annotation is used to specify a custom action that is executed during the publishing process of Azure Dapr components. The action is applied to the provided Azure.AzureResourceInfrastructure instance, allowing customization of the resource infrastructure.