Aspire.Hosting.Azure.ServiceBus
Official
📦 Aspire.Hosting.Azure.ServiceBusv13.4.011Functions
9Types
9 types and 51 members
Types
Functions
method
addAzureServiceBusbuilderAdds an Azure Service Bus Namespace resource to the application model. This resource can be used to create queue, topic, and subscription resources.
addAzureServiceBus(name: string): AzureServiceBusResourcemethod
addServiceBusQueuebuilderAdds an Azure Service Bus Queue resource to the application model.
addServiceBusQueue(name: string, queueName?: string): AzureServiceBusQueueResourcemethod
addServiceBusSubscriptionbuilderAdds an Azure Service Bus Subscription resource to the application model.
addServiceBusSubscription(name: string, subscriptionName?: string): AzureServiceBusSubscriptionResourcemethod
addServiceBusTopicbuilderAdds an Azure Service Bus Topic resource to the application model.
addServiceBusTopic(name: string, topicName?: string): AzureServiceBusTopicResourcemethod
runAsEmulatorbuilderConfigures the Azure Service Bus resource to run with the local emulator
runAsEmulator(configureContainer?: (obj: AzureServiceBusEmulatorResource) => Promise<void>): AzureServiceBusResourcemethod
withConfigurationFilebuilderCopies the configuration file into an Azure Service Bus emulator resource.
withConfigurationFile(path: string): AzureServiceBusEmulatorResourcemethod
withHostPortbuilderConfigures the host port for the Azure Service Bus emulator is exposed on instead of using randomly assigned port.
withHostPort(port: number): AzureServiceBusEmulatorResourcemethod
withPropertiesbuilderAllows setting the properties of an Azure Service Bus Queue resource.
withProperties(configure: (obj: AzureServiceBusQueueResource) => Promise<void>): AzureServiceBusQueueResourcemethod
withPropertiesbuilderAllows setting the properties of an Azure Service Bus Topic resource.
withProperties(configure: (obj: AzureServiceBusTopicResource) => Promise<void>): AzureServiceBusTopicResourcemethod
withPropertiesbuilderAllows setting the properties of an Azure Service Bus Subscription resource.
withProperties(configure: (obj: AzureServiceBusSubscriptionResource) => Promise<void>): AzureServiceBusSubscriptionResourcemethod
withServiceBusRoleAssignmentsbuilderAssigns the specified roles to the given resource, granting it the necessary permissions on the target Azure Service Bus namespace. This replaces the default role assignments for the resource.
withServiceBusRoleAssignments(target: AzureServiceBusResource, roles: AzureServiceBusRole[]): IResource