AzureEventHubsResource
Class net10.0
Represents an Azure Event Hubs resource.
namespace Aspire.Hosting.Azure;
public class AzureEventHubsResource : Aspire.Hosting.Azure.AzureProvisioningResource, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IResourceWithEndpoints, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences, Aspire.Hosting.Azure.IResourceWithAzureFunctionsConfig{ // ...} AzureProvisioningResourceIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithEndpointsIValueProviderIValueWithReferencesIResourceWithAzureFunctionsConfig
9 members
Constructors1
Section titled ConstructorsProperties7
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string template for the manifest for the Azure Event Hubs endpoint.
EventHubsEndpointgetBicepOutputReference Gets the "eventHubsEndpoint" output reference from the bicep template for the Azure Event Hubs resource.
HostNamegetReferenceExpression Gets the host name for the Event Hubs namespace.
IsEmulatorgetbool Gets a value indicating whether the Azure Event Hubs resource is running in the local emulator.
NameOutputReferencegetBicepOutputReference Gets the "name" output reference for the resource.
PortgetReferenceExpression? Gets the port for the Event Hubs namespace.
UriExpressiongetReferenceExpression Gets the connection URI expression for the Event Hubs namespace.