AzureServiceBusSubscriptionResource
Handle
Represents a Service Bus Subscription. Initializes a new instance of the Azure class.
type AzureServiceBusSubscriptionResource interface { ExpressionValue Resource ResourceWithConnectionString ResourceWithParent}13 members
Properties
property
ConnectionStringExpression *ReferenceExpression getGets the connection string expression for the Azure Service Bus Subscription.
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) AzureServiceBusSubscriptionResourceproperty
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) AzureServiceBusSubscriptionResourceproperty
ForwardDeadLetteredMessagesTo *stringget · setQueue/Topic name to forward the Dead Letter message.
ForwardDeadLetteredMessagesTo() (*string, error)SetForwardDeadLetteredMessagesTo(value *string) AzureServiceBusSubscriptionResourceproperty
ForwardTo *stringget · setQueue/Topic name to forward the messages.
ForwardTo() (*string, error)SetForwardTo(value *string) AzureServiceBusSubscriptionResourceproperty
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) AzureServiceBusSubscriptionResourceproperty
MaxDeliveryCount *float64get · setThe maximum delivery count. A message is automatically deadlettered after this number of deliveries. default value is 10.
MaxDeliveryCount() (*float64, error)SetMaxDeliveryCount(value *float64) AzureServiceBusSubscriptionResourceproperty
ParentAzureServiceBusTopicResource getGets the parent Azure Service Bus Topic resource.
Parent() AzureServiceBusTopicResourceproperty
RequiresSession *boolget · setA value that indicates whether the queue supports the concept of sessions.
RequiresSession() (*bool, error)SetRequiresSession(value *bool) AzureServiceBusSubscriptionResourceproperty
ResourceTypeDisplayName stringgetGets the ResourceTypeDisplayName property
ResourceTypeDisplayName() (string, error)property
Rules*List[*AzureServiceBusRule] getThe rules for this subscription.
Rules() *List[*AzureServiceBusRule]property
SubscriptionName stringget · setThe subscription name.
SubscriptionName() (string, error)SetSubscriptionName(value string) AzureServiceBusSubscriptionResourceMethods
Allows setting the properties of an Azure Service Bus Subscription resource.
WithProperties(configure func(obj AzureServiceBusSubscriptionResource)) AzureServiceBusSubscriptionResourceParameters
configurefunc(obj AzureServiceBusSubscriptionResource) callbackA method that can be used for customizing the AzureServiceBusSubscriptionResource .Returns
AzureServiceBusSubscriptionResource The resource builder.
Returns a handle; failures surface later via Err().