AzureServiceBusResource
Classnet10.0
Represents an Azure Service Bus resource.
namespace Aspire.Hosting.Azure;
public class AzureServiceBusResource : Aspire.Hosting.Azure.AzureProvisioningResource, Aspire.Hosting.ApplicationModel.IExpressionValue, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IResourceWithEndpoints, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences, Aspire.Hosting.Azure.IAzureNspAssociationTarget, Aspire.Hosting.Azure.IAzurePrivateEndpointTarget, Aspire.Hosting.Azure.IResourceWithAzureFunctionsConfig{ // ...}AzureProvisioningResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithEndpointsIValueProviderIValueWithReferencesIAzureNspAssociationTargetIAzurePrivateEndpointTargetIResourceWithAzureFunctionsConfig
10 members
Constructors1
Section titled Constructors Represents an Azure Service Bus resource.
Properties8
Section titled PropertiesReferenceExpression Gets the connection string template for the manifest for the Azure Service Bus endpoint.
IsEmulatorgetbool Gets a value indicating whether the Azure Service Bus resource is running in the local emulator.
BicepOutputReference Gets the "serviceBusEndpoint" output reference from the bicep template for the Azure Storage resource.
ReferenceExpression Gets the connection URI expression for the Service Bus namespace.
Methods1
Section titled MethodsProvisionableResource Adds a new
Primitives.ProvisionableResource into infra. The new resource represents a reference to the current Azure.AzureProvisioningResource via https://learn.microsoft.com/azure/azure-resource-manager/bicep/existing-resource.