DaprComponentResource Constructors
ClassConstructors1 member
Represents a Dapr component resource.
Constructor(string, string)Section titled Constructor(string, string) Initializes a new instance of
DaprComponentResource. public sealed class DaprComponentResource{ public DaprComponentResource( string name, string type) { // ... }}Parameters
namestringThe resource name.typestringThe Dapr component type. This may be a generic "state" or "pubsub" if Aspire should choose an appropriate type when running or deploying.