Skip to content
DocsTry Aspire
DocsTry

AzureServiceBusResource Properties

ClassProperties8 members
Represents an Azure Service Bus resource.
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
Gets the connection string template for the manifest for the Azure Service Bus endpoint.
public ReferenceExpression ConnectionStringExpression { get; }
HostNameSection titled HostNameReferenceExpression
Gets the host name for the Service Bus namespace.
public ReferenceExpression HostName { get; }
IdSection titled IdBicepOutputReference
Gets the "id" output reference for the resource.
public BicepOutputReference Id { get; }
Gets a value indicating whether the Azure Service Bus resource is running in the local emulator.
public bool IsEmulator { get; }
NameOutputReferenceSection titled NameOutputReferenceBicepOutputReference
Gets the "name" output reference for the resource.
public BicepOutputReference NameOutputReference { get; }
PortSection titled PortnullableReferenceExpression?
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.
ServiceBusEndpointSection titled ServiceBusEndpointBicepOutputReference
Gets the "serviceBusEndpoint" output reference from the bicep template for the Azure Storage resource.
public BicepOutputReference ServiceBusEndpoint { get; }
UriExpressionSection titled UriExpressionReferenceExpression
Gets the connection URI expression for the Service Bus namespace.
public ReferenceExpression UriExpression { get; }
Format: sb://{host}.