Skip to content
DocsTry Aspire
DocsTry

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

propertyconnectionStringExpressionReferenceExpressionget
Gets the connection string expression composed of the scheduler connection string and the TaskHub name.
propertytaskHubNameReferenceExpressionget
Gets the name of the Task Hub. If not provided, the logical name of this resource is returned.

Methods

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