AzureServiceBusTopicResource.AddServiceBusSubscription

Method
📦 Aspire.Hosting.Azure.ServiceBus v17.0.0
type AzureServiceBusTopicResource interface {
// ... omitted for brevity
AddServiceBusSubscription(
name string,
options ...*AddServiceBusSubscriptionOptions,
) AzureServiceBusSubscriptionResource
}

Signature

methodAddServiceBusSubscriptionbuilder
Adds an Azure Service Bus Subscription resource to the application model.
AddServiceBusSubscription(
name string,
options ...*AddServiceBusSubscriptionOptions,
) AzureServiceBusSubscriptionResource
namestringThe name of the subscription resource.
options...*AddServiceBusSubscriptionOptionsOptional settings, described under Options.

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

SubscriptionName*stringThe name of the Service Bus Subscription. If not provided, this defaults to the same value as name.
AzureServiceBusSubscriptionResource

The resource builder.

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

Defined on

This method is defined on the following type: