AzureServiceBusResource

Handle
📦 Aspire.Hosting.Azure.ServiceBus v17.0.0

Represents an Azure Service Bus resource.

type AzureServiceBusResource interface {
ExpressionValue
Resource
ResourceWithConnectionString
ResourceWithEndpoints
}

Methods

methodAddServiceBusQueuebuilder
Adds an Azure Service Bus Queue resource to the application model.
AddServiceBusQueue(
name string,
options ...*AddServiceBusQueueOptions,
) AzureServiceBusQueueResource
namestringThe name of the queue resource.
options...*AddServiceBusQueueOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*AddServiceBusQueueOptions argument.

QueueName*stringThe name of the Service Bus Queue. If not provided, this defaults to the same value as name.
AzureServiceBusQueueResource

The resource builder.

Returns a handle; failures surface later via Err().

methodAddServiceBusTopicbuilder
Adds an Azure Service Bus Topic resource to the application model.
AddServiceBusTopic(
name string,
options ...*AddServiceBusTopicOptions,
) AzureServiceBusTopicResource
namestringThe name of the topic resource.
options...*AddServiceBusTopicOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*AddServiceBusTopicOptions argument.

TopicName*stringThe name of the Service Bus Topic. If not provided, this defaults to the same value as name.
AzureServiceBusTopicResource

The resource builder.

Returns a handle; failures surface later via Err().

methodRunAsEmulatorbuilder
Configures the Azure Service Bus resource to run with the local emulator
RunAsEmulator(options ...*RunAsEmulatorOptions) AzureServiceBusResource
options...*RunAsEmulatorOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*RunAsEmulatorOptions argument.

ConfigureContainerfunc(obj AzureServiceBusEmulatorResource)callback
AzureServiceBusResource

Returns a handle; failures surface later via Err().