AzureEventBusOptions Class
Definition
- Namespace
- Savvyio.Extensions.QueueStorage.EventDriven
- Assemblies
- Savvyio.Extensions.QueueStorage.dll
Configuration options for AzureEventBus.
public class AzureEventBusOptions : IValidatableParameterObject, IParameterObject
- Inheritance
-
objectAzureEventBusOptions
- Implements
- Derived
Examples
AzureEventBusOptions configures the Azure Event Grid topic endpoint used to publish integration events.
using System;
using Savvyio.Extensions.QueueStorage.EventDriven;
namespace ExampleApp;
public class AzureEventBusSetup
{
public static AzureEventBusOptions CreateOptions()
{
return new AzureEventBusOptions
{
TopicEndpoint = new Uri("https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events")
};
}
}
Constructors
| Name | Description |
|---|---|
| AzureEventBusOptions() | Initializes a new instance of the AzureEventBusOptions class. |
Properties
| Name | Description |
|---|---|
| Credential | Gets or sets the token credential for Azure authentication. |
| KeyCredential | Gets or sets the key credential for Azure authentication. |
| SasCredential | Gets or sets the SAS credential for Azure authentication. |
| Settings | Gets the settings for the Event Grid publisher client. |
| TopicEndpoint | Gets or sets the topic endpoint URI. |
Methods
| Name | Description |
|---|---|
| ValidateOptions() | Validates the options to ensure they are in a valid state. |