Skip to content
Docs Try Aspire

AzureServiceBusResource Properties

Class Properties 7 members
Represents an Azure Service Bus resource.
ConnectionStringExpression Section titled ConnectionStringExpression ReferenceExpression
Gets the connection string template for the manifest for the Azure Service Bus endpoint.
public ReferenceExpression ConnectionStringExpression { get; }
HostName Section titled HostName ReferenceExpression
Gets the host name for the Service Bus namespace.
public ReferenceExpression HostName { get; }
Gets a value indicating whether the Azure Service Bus resource is running in the local emulator.
public bool IsEmulator { get; }
NameOutputReference Section titled NameOutputReference BicepOutputReference
Gets the "name" output reference for the resource.
public BicepOutputReference NameOutputReference { get; }
Port Section titled Port nullable ReferenceExpression?
Gets the port for the Service Bus namespace.
public ReferenceExpression? Port { get; }
In container mode, resolves to the container's primary endpoint port. In Azure mode, return null.
ServiceBusEndpoint Section titled ServiceBusEndpoint BicepOutputReference
Gets the "serviceBusEndpoint" output reference from the bicep template for the Azure Storage resource.
public BicepOutputReference ServiceBusEndpoint { get; }
UriExpression Section titled UriExpression ReferenceExpression
Gets the connection URI expression for the Service Bus namespace.
public ReferenceExpression UriExpression { get; }
Format: sb://{host}.