There are two ways of how to configure the Azure Events Hub Connector:
Configure the Azure Events Hub Connector using the Aspire Rest API
Configure the Azure Events Hub Connector using the Aspire Admin API.