Skip to content
DocsTry Aspire
DocsTry

AzureEventHubResource Properties

ClassProperties4 members
Represents an Azure Event Hub. Initializes a new instance of the AzureEventHubResource class.
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
Gets the connection string expression for the Azure Event Hub.
public ReferenceExpression ConnectionStringExpression { get; }
The event hub name.
public string HubName { get; set; }
Gets the parent Azure Event Hubs resource.
public AzureEventHubsResource Parent { get; }
PartitionCountSection titled PartitionCountnullablelong?
Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.
public long? PartitionCount { get; set; }