Skip to content
DocsTry Aspire
DocsTry

AzureEventHubsResource Properties

ClassProperties8 members
Represents an Azure Event Hubs resource.
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
Gets the connection string template for the manifest for the Azure Event Hubs endpoint.
public ReferenceExpression ConnectionStringExpression { get; }
EventHubsEndpointSection titled EventHubsEndpointBicepOutputReference
Gets the "eventHubsEndpoint" output reference from the bicep template for the Azure Event Hubs resource.
public BicepOutputReference EventHubsEndpoint { get; }
HostNameSection titled HostNameReferenceExpression
Gets the host name for the Event Hubs 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 Event Hubs 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 Event Hubs namespace.
public ReferenceExpression? Port { get; }
In container mode, resolves to the container's primary endpoint port. In Azure mode, return null.
UriExpressionSection titled UriExpressionReferenceExpression
Gets the connection URI expression for the Event Hubs namespace.
public ReferenceExpression UriExpression { get; }
Format: sb://{host}:{port}.