Skip to content
DocsTry Aspire
DocsTry

AzureDaprComponentPublishingAnnotation Constructors

RecordConstructors1 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)
{
// ...
}
}
PublishingActionAction<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.