AzureServiceBusQueueResource
Handle
Represents a Service Bus Queue. Initializes a new instance of the Azure class.
type AzureServiceBusQueueResource interface { ExpressionValue Resource ResourceWithConnectionString ResourceWithParent}14 members
Properties
property
ConnectionStringExpression *ReferenceExpression getGets the connection string expression for the Azure Service Bus Queue.
ConnectionStringExpression() *ReferenceExpressionproperty
DeadLetteringOnMessageExpiration *boolget · setA value that indicates whether this queue has dead letter support when a message expires.
DeadLetteringOnMessageExpiration() (*bool, error)SetDeadLetteringOnMessageExpiration(value *bool) AzureServiceBusQueueResourceproperty
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) AzureServiceBusQueueResourceproperty
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) AzureServiceBusQueueResourceproperty
ForwardDeadLetteredMessagesTo *stringget · setQueue/Topic name to forward the Dead Letter message.
ForwardDeadLetteredMessagesTo() (*string, error)SetForwardDeadLetteredMessagesTo(value *string) AzureServiceBusQueueResourceproperty
ForwardTo *stringget · setQueue/Topic name to forward the messages.
ForwardTo() (*string, error)SetForwardTo(value *string) AzureServiceBusQueueResourceproperty
LockDuration *float64get · setISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute.
LockDuration() (*float64, error)SetLockDuration(value *float64) AzureServiceBusQueueResourceproperty
MaxDeliveryCount *float64get · setThe maximum delivery count. A message is automatically dead-lettered after this number of deliveries.
MaxDeliveryCount() (*float64, error)SetMaxDeliveryCount(value *float64) AzureServiceBusQueueResourceproperty
ParentAzureServiceBusResource getGets the parent Azure Service Bus resource.
Parent() AzureServiceBusResourceproperty
QueueName stringget · setThe queue name.
QueueName() (string, error)SetQueueName(value string) AzureServiceBusQueueResourceproperty
RequiresDuplicateDetection *boolget · setA value indicating if this queue requires duplicate detection.
RequiresDuplicateDetection() (*bool, error)SetRequiresDuplicateDetection(value *bool) AzureServiceBusQueueResourceproperty
RequiresSession *boolget · setA value that indicates whether the queue supports the concept of sessions.
RequiresSession() (*bool, error)SetRequiresSession(value *bool) AzureServiceBusQueueResourceproperty
ResourceTypeDisplayName stringgetGets the ResourceTypeDisplayName property
ResourceTypeDisplayName() (string, error)Methods
Allows setting the properties of an Azure Service Bus Queue resource.
WithProperties(configure func(obj AzureServiceBusQueueResource)) AzureServiceBusQueueResourceParameters
configurefunc(obj AzureServiceBusQueueResource) callbackA method that can be used for customizing the AzureServiceBusQueueResource .Returns
AzureServiceBusQueueResource The resource builder.
Returns a handle; failures surface later via Err().