AzureServiceBusResource

Handle
📦 Aspire.Hosting.Azure.ServiceBus v17.0.0
interface AzureServiceBusResource
extends IAzureResource,
IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithConnectionString,
IResourceWithEndpoints,
IResourceWithParameters,
IValueProvider,
IValueWithReferences,
IAzureNspAssociationTarget,
IAzurePrivateEndpointTarget,
IResourceWithAzureFunctionsConfig {
addServiceBusQueue(
name: string,
queueName?: string): AzureServiceBusQueueResource;
addServiceBusTopic(
name: string,
topicName?: string): AzureServiceBusTopicResource;
runAsEmulator(configureContainer?: (obj: AzureServiceBusEmulatorResource) => Promise<void>): AzureServiceBusResource;
}

Methods

methodaddServiceBusQueuebuilder
Adds an Azure Service Bus Queue resource to the application model.
addServiceBusQueue(
name: string,
queueName?: string): AzureServiceBusQueueResource
namestringThe name of the queue resource.
queueNamestringoptionalThe name of the Service Bus Queue. If not provided, this defaults to the same value as `name`.
AzureServiceBusQueueResource
methodaddServiceBusTopicbuilder
Adds an Azure Service Bus Topic resource to the application model.
addServiceBusTopic(
name: string,
topicName?: string): AzureServiceBusTopicResource
namestringThe name of the topic resource.
topicNamestringoptionalThe name of the Service Bus Topic. If not provided, this defaults to the same value as `name`.
AzureServiceBusTopicResource
methodrunAsEmulatorbuilder
Configures the Azure Service Bus resource to run with the local emulator
runAsEmulator(configureContainer?: (obj: AzureServiceBusEmulatorResource) => Promise<void>): AzureServiceBusResource
configureContainer(obj: AzureServiceBusEmulatorResource) => Promise<void>optional
AzureServiceBusResource