AzureEventHubsExtensions.WithConfigurationFile Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a bind mount for the configuration file of an Azure Event Hubs emulator resource.
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureEventHubsEmulatorResource> WithConfigurationFile(this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureEventHubsEmulatorResource> builder, string path);
static member WithConfigurationFile : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureEventHubsEmulatorResource> * string -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureEventHubsEmulatorResource>
<Extension()>
Public Function WithConfigurationFile (builder As IResourceBuilder(Of AzureEventHubsEmulatorResource), path As String) As IResourceBuilder(Of AzureEventHubsEmulatorResource)
Parameters
The builder for the AzureEventHubsEmulatorResource.
- path
- String
Path to the file on the AppHost where the emulator configuration is located.
Returns
A reference to the IResourceBuilder<T>.