Skip to content
Docs Try Aspire

AzureEventHubsResource Properties

Class Properties 7 members
Represents an Azure Event Hubs resource.
ConnectionStringExpression Section titled ConnectionStringExpression ReferenceExpression
Gets the connection string template for the manifest for the Azure Event Hubs endpoint.
public ReferenceExpression ConnectionStringExpression { get; }
EventHubsEndpoint Section titled EventHubsEndpoint BicepOutputReference
Gets the "eventHubsEndpoint" output reference from the bicep template for the Azure Event Hubs resource.
public BicepOutputReference EventHubsEndpoint { get; }
HostName Section titled HostName ReferenceExpression
Gets the host name for the Event Hubs namespace.
public ReferenceExpression HostName { get; }
Gets a value indicating whether the Azure Event Hubs 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 Event Hubs namespace.
public ReferenceExpression? Port { get; }
In container mode, resolves to the container's primary endpoint port. In Azure mode, return null.
UriExpression Section titled UriExpression ReferenceExpression
Gets the connection URI expression for the Event Hubs namespace.
public ReferenceExpression UriExpression { get; }
Format: sb://{host}:{port}.