AzureServiceBusTopicResource
Handle
interface AzureServiceBusTopicResource extends IExpressionValue, IManifestExpressionProvider, IResource, IResourceWithConnectionString, IResourceWithParent, AzureServiceBusResource]], IValueProvider, IValueWithReferences, IResourceWithAzureFunctionsConfig { readonly connectionStringExpression: ReferenceExpression; defaultMessageTimeToLive: timespan; duplicateDetectionHistoryTimeWindow: timespan; readonly parent: AzureServiceBusResource; requiresDuplicateDetection: boolean; readonly resourceTypeDisplayName: string; topicName: string; addServiceBusSubscription( name: string, subscriptionName?: string): AzureServiceBusSubscriptionResource; withProperties(configure: (obj: AzureServiceBusTopicResource) => Promise<void>): AzureServiceBusTopicResource;}13 members
Properties
property
connectionStringExpression ReferenceExpression getGets the connection string expression for the Azure Service Bus Topic.
property
defaultMessageTimeToLive timespanget · setISO 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.
property
duplicateDetectionHistoryTimeWindow timespanget · setISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
property
parentAzureServiceBusResource getGets the parent Azure Service Bus resource.
property
requiresDuplicateDetection booleanget · setA value indicating if this topic requires duplicate detection.
property
resourceTypeDisplayName stringgetGets the ResourceTypeDisplayName property
property
topicName stringget · setThe topic name.
Methods
Adds an Azure Service Bus Subscription resource to the application model.
addServiceBusSubscription( name: string, subscriptionName?: string): AzureServiceBusSubscriptionResourceParameters
namestringThe name of the subscription resource.subscriptionName stringoptionalThe name of the Service Bus Subscription. If not provided, this defaults to the same value as `name`.Returns
AzureServiceBusSubscriptionResource Allows setting the properties of an Azure Service Bus Topic resource.
withProperties(configure: (obj: AzureServiceBusTopicResource) => Promise<void>): AzureServiceBusTopicResourceParameters
configure(obj: AzureServiceBusTopicResource) => Promise<void> A method that can be used for customizing the `AzureServiceBusTopicResource`.Returns
AzureServiceBusTopicResource