Watch Aspire live streamsDocsTry Aspire

AzureServiceBusTopicResource Properties

ClassProperties7 members
Represents a Service Bus Topic. Initializes a new instance of the AzureServiceBusTopicResource class.
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
Gets the connection string expression for the Azure Service Bus Topic.
public ReferenceExpression ConnectionStringExpression { get; }
DefaultMessageTimeToLiveSection titled DefaultMessageTimeToLivenullableTimeSpan?
ISO 8601 default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.
public TimeSpan? DefaultMessageTimeToLive { get; set; }
DuplicateDetectionHistoryTimeWindowSection titled DuplicateDetectionHistoryTimeWindownullableTimeSpan?
ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
public TimeSpan? DuplicateDetectionHistoryTimeWindow { get; set; }
Gets the parent Azure Service Bus resource.
public AzureServiceBusResource Parent { get; }
RequiresDuplicateDetectionSection titled RequiresDuplicateDetectionnullablebool?
A value indicating if this topic requires duplicate detection.
public bool? RequiresDuplicateDetection { get; set; }
ResourceTypeDisplayNameSection titled ResourceTypeDisplayNameoverridestring
Gets the default human-readable name of this resource's type.
public override string ResourceTypeDisplayName { get; }
Override this property to identify the service, such as Redis or PostgreSQL Server, independently of its technical resource type. The default is the resource type. This label does not change the resource name, service discovery, or OpenTelemetry identity. Use ResourceBuilderExtensions.WithResourceTypeDisplayName to override the label for an instance.
The topic name.
public string TopicName { get; set; }