Skip to content
DocsTry Aspire
DocsTry

AzureDaprComponentResource Constructors

ClassConstructors1 member
Represents an Azure Dapr component resource.
Constructor(string, Action<AzureResourceInfrastructure>)Section titled Constructor(string, Action<AzureResourceInfrastructure>)
Represents an Azure Dapr component resource.
public class AzureDaprComponentResource
{
public AzureDaprComponentResource(
string bicepIdentifier,
Action<AzureResourceInfrastructure> configureInfrastructure)
{
// ...
}
}
bicepIdentifierstringThe Bicep identifier.
configureInfrastructureAction<AzureResourceInfrastructure>The action to configure the Azure resource infrastructure.
Initializes a new instance of the AzureDaprComponentResource class.