Skip to content
Docs Try Aspire
Docs Try

DurableTaskHubResource

Handle
📦 Aspire.Hosting.Azure.Functions v13.4.0
interface DurableTaskHubResource
extends IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithConnectionString,
IResourceWithParent,
DurableTaskSchedulerResource]],
IValueProvider,
IValueWithReferences,
IResourceWithAzureFunctionsConfig {
readonly connectionStringExpression: ReferenceExpression;
readonly taskHubName: ReferenceExpression;
withTaskHubName(taskHubName: ParameterResource): DurableTaskHubResource;
}

Properties

property connectionStringExpression ReferenceExpression get
Gets the connection string expression composed of the scheduler connection string and the TaskHub name.
property taskHubName ReferenceExpression get
Gets the name of the Task Hub. If not provided, the logical name of this resource is returned.

Methods

method withTaskHubName builder
Sets the Durable Task hub name from a string or parameter resource.
withTaskHubName(taskHubName: ParameterResource): DurableTaskHubResource
taskHubName ParameterResource
DurableTaskHubResource