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