AzureEventHubsResource Properties
ClassProperties9 members
Represents an Azure Event Hubs resource.
Gets the connection string template for the manifest for the Azure Event Hubs endpoint.
public ReferenceExpression ConnectionStringExpression { get; } Gets the "eventHubsEndpoint" output reference from the bicep template for the Azure Event Hubs resource.
public BicepOutputReference EventHubsEndpoint { get; } Gets the host name for the Event Hubs namespace.
public ReferenceExpression HostName { get; } Gets the "id" output reference for the resource.
public BicepOutputReference Id { get; } Gets a value indicating whether the Azure Event Hubs resource is running in the local emulator.
public bool IsEmulator { get; } Gets the "name" output reference for the resource.
public BicepOutputReference NameOutputReference { get; } Gets the port for the Event Hubs namespace.
public ReferenceExpression? Port { get; }Remarks
In container mode, resolves to the container's primary endpoint port. In Azure mode, return null.
Gets the default human-readable name of this resource's type.
public override string ResourceTypeDisplayName { get; }Remarks
Override this property to identify the service, such as Redis or PostgreSQL Server, independently of its technical resource type. The default is the resource type. This label does not change the resource name, service discovery, or OpenTelemetry identity. Use
ResourceBuilderExtensions.WithResourceTypeDisplayName to override the label for an instance. Gets the connection URI expression for the Event Hubs namespace.
public ReferenceExpression UriExpression { get; }Remarks
Format:
sb://{host}:{port} .