AzureEventHubsResource
Classnet10.0
Represents an Azure Event Hubs resource.
namespace Aspire.Hosting.Azure;
public class AzureEventHubsResource : Aspire.Hosting.Azure.AzureProvisioningResource, Aspire.Hosting.ApplicationModel.IExpressionValue, 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.IAzureNspAssociationTarget, Aspire.Hosting.Azure.IAzurePrivateEndpointTarget, Aspire.Hosting.Azure.IResourceWithAzureFunctionsConfig{ // ...}AzureProvisioningResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithEndpointsIValueProviderIValueWithReferencesIAzureNspAssociationTargetIAzurePrivateEndpointTargetIResourceWithAzureFunctionsConfig
10 members
Constructors1
Section titled Constructors Represents an Azure Event Hubs resource.
Properties8
Section titled PropertiesReferenceExpression Gets the connection string template for the manifest for the Azure Event Hubs endpoint.
BicepOutputReference Gets the "eventHubsEndpoint" output reference from the bicep template for the Azure Event Hubs resource.
IsEmulatorgetbool Gets a value indicating whether the Azure Event Hubs resource is running in the local emulator.
ReferenceExpression Gets the connection URI expression for the Event Hubs namespace.
Methods1
Section titled MethodsProvisionableResource Adds a new
Primitives.ProvisionableResource into infra. The new resource represents a reference to the current Azure.AzureProvisioningResource via https://learn.microsoft.com/azure/azure-resource-manager/bicep/existing-resource.