AzureServiceBusTopicResource
Handle
Represents a Service Bus Topic. Initializes a new instance of the Azure class.
type AzureServiceBusTopicResource interface { ExpressionValue Resource ResourceWithConnectionString ResourceWithParent}9 members
Properties
property
ConnectionStringExpression *ReferenceExpression getGets the connection string expression for the Azure Service Bus Topic.
ConnectionStringExpression() *ReferenceExpressionproperty
DefaultMessageTimeToLive *float64get · 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.
DefaultMessageTimeToLive() (*float64, error)SetDefaultMessageTimeToLive(value *float64) AzureServiceBusTopicResourceproperty
DuplicateDetectionHistoryTimeWindow *float64get · setISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
DuplicateDetectionHistoryTimeWindow() (*float64, error)SetDuplicateDetectionHistoryTimeWindow(value *float64) AzureServiceBusTopicResourceproperty
ParentAzureServiceBusResource getGets the parent Azure Service Bus resource.
Parent() AzureServiceBusResourceproperty
RequiresDuplicateDetection *boolget · setA value indicating if this topic requires duplicate detection.
RequiresDuplicateDetection() (*bool, error)SetRequiresDuplicateDetection(value *bool) AzureServiceBusTopicResourceproperty
ResourceTypeDisplayName stringgetGets the ResourceTypeDisplayName property
ResourceTypeDisplayName() (string, error)property
TopicName stringget · setThe topic name.
TopicName() (string, error)SetTopicName(value string) AzureServiceBusTopicResourceMethods
Adds an Azure Service Bus Subscription resource to the application model.
AddServiceBusSubscription( name string, options ...*AddServiceBusSubscriptionOptions,) AzureServiceBusSubscriptionResourceParameters
namestringThe name of the subscription resource.options...*AddServiceBusSubscriptionOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddServiceBusSubscriptionOptions argument.
SubscriptionName *stringThe name of the Service Bus Subscription. If not provided, this defaults to the same value as name.Returns
AzureServiceBusSubscriptionResource The resource builder.
Returns a handle; failures surface later via Err().
Allows setting the properties of an Azure Service Bus Topic resource.
WithProperties(configure func(obj AzureServiceBusTopicResource)) AzureServiceBusTopicResourceParameters
configurefunc(obj AzureServiceBusTopicResource) callbackA method that can be used for customizing the AzureServiceBusTopicResource .Returns
AzureServiceBusTopicResource The resource builder.
Returns a handle; failures surface later via Err().