Skip to content
Docs Try Aspire

AzureEventHubResource Properties

Class Properties 4 members
Represents an Azure Event Hub. Initializes a new instance of the AzureEventHubResource class.
ConnectionStringExpression Section titled ConnectionStringExpression ReferenceExpression
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; }
PartitionCount Section titled PartitionCount nullable long?
Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.
public long? PartitionCount { get; set; }