Table of Contents

Class AzureEventBusOptions

Namespace
Savvyio.Extensions.QueueStorage.EventDriven
Assembly
Savvyio.Extensions.QueueStorage.dll

Configuration options for AzureEventBus.

public class AzureEventBusOptions : IValidatableParameterObject, IParameterObject
Inheritance
AzureEventBusOptions
Implements
Derived

Constructors

AzureEventBusOptions()

Initializes a new instance of the AzureEventBusOptions class.

public AzureEventBusOptions()

Remarks

The following table shows the initial property values for an instance of AzureEventBusOptions.

PropertyInitial Value
Credentialnew DefaultAzureCredential()
KeyCredentialnew QueueClientOptions()
SasCredentialnull
TopicEndpointnull

Properties

Credential

Gets or sets the token credential for Azure authentication.

public TokenCredential Credential { get; set; }

Property Value

TokenCredential

The token credential.

Remarks

Setting this property will nullify SasCredential and KeyCredential as they are mutually exclusive.

KeyCredential

Gets or sets the key credential for Azure authentication.

public AzureKeyCredential KeyCredential { get; set; }

Property Value

AzureKeyCredential

The key credential.

Remarks

Setting this property will nullify Credential and SasCredential as they are mutually exclusive.

SasCredential

Gets or sets the SAS credential for Azure authentication.

public AzureSasCredential SasCredential { get; set; }

Property Value

AzureSasCredential

The SAS credential.

Remarks

Setting this property will nullify Credential and KeyCredential as they are mutually exclusive.

Settings

Gets the settings for the Event Grid publisher client.

public EventGridPublisherClientOptions Settings { get; }

Property Value

EventGridPublisherClientOptions

The Event Grid publisher client options.

TopicEndpoint

Gets or sets the topic endpoint URI.

public Uri TopicEndpoint { get; set; }

Property Value

Uri

The topic endpoint URI.

Methods

ValidateOptions()

Validates the options to ensure they are in a valid state.

public void ValidateOptions()

Exceptions

InvalidOperationException

Thrown when the options are in an invalid state.