Skip to content
DocsTry Aspire
DocsTry

AzureServiceBusTopicResource Properties

ClassProperties6 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; }
The topic name.
public string TopicName { get; set; }