AzureServiceBusTopicResource
Class net10.0
Represents a Service Bus Topic. Initializes a new instance of the
AzureServiceBusTopicResource class. namespace Aspire.Hosting.Azure;
public class AzureServiceBusTopicResource : Aspire.Hosting.ApplicationModel.Resource, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IResourceWithParent, Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.Azure.AzureServiceBusResource>, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences, Aspire.Hosting.Azure.IResourceWithAzureFunctionsConfig{ // ...} ResourceIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithParentIResourceWithParent<AzureServiceBusResource>IValueProviderIValueWithReferencesIResourceWithAzureFunctionsConfig
7 members
Remarks
Section titled Remarks Use
AzureProvisioningResourceExtensions.ConfigureInfrastructure to configure specific Azure.Provisioning properties. Constructors1
Section titled ConstructorsAzureServiceBusTopicResource(string, string, AzureServiceBusResource) Represents a Service Bus Topic. Initializes a new instance of the
AzureServiceBusTopicResource class. Properties6
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the Azure Service Bus Topic.
DefaultMessageTimeToLiveget; setTimeSpan? 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.
DuplicateDetectionHistoryTimeWindowget; setTimeSpan? ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
Parentget Gets the parent Azure Service Bus resource.
RequiresDuplicateDetectionget; setbool? A value indicating if this topic requires duplicate detection.
TopicNameget; setstring The topic name.