DurableTaskHubResource
Classsealednet10.0
Represents a Durable Task hub resource. A Task Hub groups durable orchestrations and activities. This resource extends the scheduler connection string with the TaskHub name so that clients can connect to the correct hub.
namespace Aspire.Hosting.Azure.DurableTask;
public sealed class DurableTaskHubResource : Aspire.Hosting.ApplicationModel.Resource, Aspire.Hosting.ApplicationModel.IExpressionValue, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IResourceWithParent, Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.Azure.DurableTask.DurableTaskSchedulerResource>, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences, Aspire.Hosting.Azure.IResourceWithAzureFunctionsConfig{ // ...}ResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithParentIResourceWithParent<DurableTaskSchedulerResource>IValueProviderIValueWithReferencesIResourceWithAzureFunctionsConfig
Constructors1
Section titled Constructors Represents a Durable Task hub resource. A Task Hub groups durable orchestrations and activities. This resource extends the scheduler connection string with the TaskHub name so that clients can connect to the correct hub.
Properties3
Section titled PropertiesReferenceExpression Gets the connection string expression composed of the scheduler connection string and the TaskHub name.
Parentget Gets the parent durable task scheduler resource that provides the base connection string.
TaskHubName getReferenceExpression Gets the name of the Task Hub. If not provided, the logical name of this resource is returned.