14 references to AzureServiceBusEmulatorResource
Aspire.Hosting.Azure.ServiceBus (14)
AzureServiceBusExtensions.cs (14)
229public static IResourceBuilder<AzureServiceBusResource> RunAsEmulator(this IResourceBuilder<AzureServiceBusResource> builder, Action<IResourceBuilder<AzureServiceBusEmulatorResource>>? configureContainer = null) 241AzureServiceBusEmulatorResource.EmulatorConfigJsonPath, 311var configFileMount = emulatorResource.Annotations.OfType<ContainerMountAnnotation>().Single(v => v.Target == AzureServiceBusEmulatorResource.EmulatorConfigJsonPath); 416var surrogate = new AzureServiceBusEmulatorResource(builder.Resource); 443/// <param name="builder">The builder for the <see cref="AzureServiceBusEmulatorResource"/>.</param> 446public static IResourceBuilder<AzureServiceBusEmulatorResource> WithConfigurationFile(this IResourceBuilder<AzureServiceBusEmulatorResource> builder, string path) 449var configFileMount = builder.Resource.Annotations.OfType<ContainerMountAnnotation>().LastOrDefault(v => v.Target == AzureServiceBusEmulatorResource.EmulatorConfigJsonPath); 455return builder.WithBindMount(path, AzureServiceBusEmulatorResource.EmulatorConfigJsonPath, isReadOnly: true); 461/// <param name="builder">The builder for the <see cref="AzureServiceBusEmulatorResource"/>.</param> 464public static IResourceBuilder<AzureServiceBusEmulatorResource> ConfigureEmulator(this IResourceBuilder<AzureServiceBusEmulatorResource> builder, Action<JsonNode> configJson) 480public static IResourceBuilder<AzureServiceBusEmulatorResource> WithHostPort(this IResourceBuilder<AzureServiceBusEmulatorResource> builder, int? port)