EventGridModelFactory.ServiceBusActiveMessagesAvailableWithNoListenersEventData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ServiceBusActiveMessagesAvailableWithNoListenersEventData.
public static Azure.Messaging.EventGrid.SystemEvents.ServiceBusActiveMessagesAvailableWithNoListenersEventData ServiceBusActiveMessagesAvailableWithNoListenersEventData (string namespaceName = default, string requestUri = default, string entityType = default, string queueName = default, string topicName = default, string subscriptionName = default);
static member ServiceBusActiveMessagesAvailableWithNoListenersEventData : string * string * string * string * string * string -> Azure.Messaging.EventGrid.SystemEvents.ServiceBusActiveMessagesAvailableWithNoListenersEventData
Public Shared Function ServiceBusActiveMessagesAvailableWithNoListenersEventData (Optional namespaceName As String = Nothing, Optional requestUri As String = Nothing, Optional entityType As String = Nothing, Optional queueName As String = Nothing, Optional topicName As String = Nothing, Optional subscriptionName As String = Nothing) As ServiceBusActiveMessagesAvailableWithNoListenersEventData
Parameters
- namespaceName
- String
The namespace name of the Microsoft.ServiceBus resource.
- requestUri
- String
The endpoint of the Microsoft.ServiceBus resource.
- entityType
- String
The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.
- queueName
- String
The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null.
- topicName
- String
The name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null.
- subscriptionName
- String
The name of the Microsoft.ServiceBus topic's subscription. If the entity type is of type 'queue', then this value will be null.
Returns
A new ServiceBusActiveMessagesAvailableWithNoListenersEventData instance for mocking.