20 instantiations of AzureResourceInfrastructure
Aspire.Hosting.Azure (1)
AzureProvisioningResource.cs (1)
77var infrastructure = new AzureResourceInfrastructure(this, Name);
Aspire.Hosting.Azure.Tests (19)
AzureAIFoundryExtensionsTests.cs (1)
158var infrastructure = new AzureResourceInfrastructure(aiFoundryResource, "test-foundry");
AzureAppConfigurationExtensionsTests.cs (1)
99var infrastructure = new AzureResourceInfrastructure(appConfigurationResource, "test-app-config");
AzureAppServiceEnvironmentExtensionsTests.cs (1)
15var infrastructure = new AzureResourceInfrastructure(appServiceEnvironmentResource, "test-app-service-env");
AzureContainerAppEnvironmentExtensionsTests.cs (1)
17var infrastructure = new AzureResourceInfrastructure(containerAppEnvironmentResource, "test-container-app-env");
AzureContainerRegistryTests.cs (1)
101var infrastructure = new AzureResourceInfrastructure(containerRegistryResource, "test-acr");
AzureCosmosDBExtensionsTests.cs (1)
558var infrastructure = new AzureResourceInfrastructure(cosmosDBResource, "test-cosmosdb");
AzureEventHubsExtensionsTests.cs (1)
626var infrastructure = new AzureResourceInfrastructure(eventHubsResource, "test-eventhubs");
AzureKeyVaultTests.cs (1)
349var infrastructure = new AzureResourceInfrastructure(keyVaultResource, "test-keyvault");
AzureLogAnalyticsWorkspaceExtensionsTests.cs (1)
37var infrastructure = new AzureResourceInfrastructure(logAnalyticsWorkspaceResource, "test-log-workspace");
AzureOpenAIExtensionsTests.cs (1)
115var infrastructure = new AzureResourceInfrastructure(openAIResource, "test-openai");
AzurePostgresExtensionsTests.cs (1)
552var infrastructure = new AzureResourceInfrastructure(postgresResource, "test-postgres");
AzureRedisExtensionsTests.cs (1)
272var infrastructure = new AzureResourceInfrastructure(redisResource, "test-redis");
AzureSearchExtensionsTests.cs (1)
104var infrastructure = new AzureResourceInfrastructure(searchResource, "test-search");
AzureServiceBusExtensionsTests.cs (1)
847var infrastructure = new AzureResourceInfrastructure(serviceBusResource, "test-servicebus");
AzureSignalRExtensionsTests.cs (1)
74var infrastructure = new AzureResourceInfrastructure(signalRResource, "test-signalr");
AzureSqlExtensionsTests.cs (1)
305var infrastructure = new AzureResourceInfrastructure(sqlResource, "test-sql");
AzureStorageExtensionsTests.cs (1)
898var infrastructure = new AzureResourceInfrastructure(storageResource, "test-storage");
AzureUserAssignedIdentityTests.cs (1)
337var infrastructure = new AzureResourceInfrastructure(userAssignedIdentityResource, "test-identity");
AzureWebPubSubExtensionsTests.cs (1)
358var infrastructure = new AzureResourceInfrastructure(webPubSubResource, "test-webpubsub");
192 references to AzureResourceInfrastructure
Aspire.Hosting.Azure (37)
AzureProvisioningResource.cs (11)
18public class AzureProvisioningResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) 24public Action<AzureResourceInfrastructure> ConfigureInfrastructure { get; internal set; } = configureInfrastructure ?? throw new ArgumentNullException(nameof(configureInfrastructure)); 36/// <param name="infra">The <see cref="AzureResourceInfrastructure"/> to add the existing resource into.</param> 38public virtual ProvisionableResource AddAsExistingResource(AzureResourceInfrastructure infra) => throw new NotImplementedException(); 46var infra = roleAssignmentContext.Infrastructure; 77var infrastructure = new AzureResourceInfrastructure(this, Name); 117/// <param name="infrastructure">The <see cref="AzureResourceInfrastructure"/> that will contain the <see cref="ProvisionableResource"/>.</param> 121public static T CreateExistingOrNewProvisionableResource<T>(AzureResourceInfrastructure infrastructure, Func<string, BicepValue<string>, T> createExisting, Func<AzureResourceInfrastructure, T> createNew) 161public static bool TryApplyExistingResourceNameAndScope(IAzureResource aspireResource, AzureResourceInfrastructure infra, ProvisionableResource provisionableResource) 221private void EnsureParametersAlign(AzureResourceInfrastructure infrastructure)
AzureProvisioningResourceExtensions.cs (18)
24public static IResourceBuilder<AzureProvisioningResource> AddAzureInfrastructure(this IDistributedApplicationBuilder builder, [ResourceName] string name, Action<AzureResourceInfrastructure> configureInfrastructure) 39public static IResourceBuilder<T> ConfigureInfrastructure<T>(this IResourceBuilder<T> builder, Action<AzureResourceInfrastructure> configure) 50/// Gets or creates a <see cref="KeyVaultSecret"/> resource in the specified <see cref="AzureResourceInfrastructure"/> 58/// <param name="infrastructure">The <see cref="AzureResourceInfrastructure"/> in which to locate or add the <see cref="KeyVaultSecret"/>.</param> 62public static KeyVaultSecret AsKeyVaultSecret(this IAzureKeyVaultSecretReference secretReference, AzureResourceInfrastructure infrastructure) 110/// <param name="infrastructure">The <see cref="AzureResourceInfrastructure"/> that contains the <see cref="ProvisioningParameter"/>.</param> 120public static ProvisioningParameter AsProvisioningParameter(this IResourceBuilder<ParameterResource> parameterResourceBuilder, AzureResourceInfrastructure infrastructure, string? parameterName = null) 132/// <param name="infrastructure">The <see cref="AzureResourceInfrastructure"/> that contains the <see cref="ProvisioningParameter"/>.</param> 136public static ProvisioningParameter AsProvisioningParameter(this IManifestExpressionProvider manifestExpressionProvider, AzureResourceInfrastructure infrastructure, string? parameterName = null, bool? isSecure = null) 156/// <param name="infrastructure">The <see cref="AzureResourceInfrastructure"/> that contains the <see cref="ProvisioningParameter"/>.</param> 166public static ProvisioningParameter AsProvisioningParameter(this ParameterResource parameterResource, AzureResourceInfrastructure infrastructure, string? parameterName = null) 185/// <param name="infrastructure">The <see cref="AzureResourceInfrastructure"/> that contains the <see cref="ProvisioningParameter"/>.</param> 195public static ProvisioningParameter AsProvisioningParameter(this BicepOutputReference outputReference, AzureResourceInfrastructure infrastructure, string? parameterName = null) 214/// <param name="infrastructure">The <see cref="AzureResourceInfrastructure"/> that contains the <see cref="ProvisioningParameter"/>.</param> 222public static ProvisioningParameter AsProvisioningParameter(this EndpointReference endpointReference, AzureResourceInfrastructure infrastructure, string parameterName) 240/// <param name="infrastructure">The <see cref="AzureResourceInfrastructure"/> that contains the <see cref="ProvisioningParameter"/>.</param> 248public static ProvisioningParameter AsProvisioningParameter(this ReferenceExpression expression, AzureResourceInfrastructure infrastructure, string parameterName) 259private static ProvisioningParameter GetOrAddParameter(AzureResourceInfrastructure infrastructure, string parameterName, bool? isSecure = null)
AzureResourceInfrastructure.cs (1)
29/// The Aspire <see cref="AzureProvisioningResource"/> resource that this <see cref="AzureResourceInfrastructure"/> represents.
AzureResourcePreparer.cs (4)
320AzureResourceInfrastructure infra, 342AzureResourceInfrastructure infrastructure, 349public AzureResourceInfrastructure Infrastructure { get; } = infrastructure; 513AzureResourceInfrastructure infra,
AzureUserAssignedIdentityResource.cs (2)
41private static void ConfigureAppIdentityInfrastructure(AzureResourceInfrastructure infrastructure) 67public override ProvisionableResource AddAsExistingResource(AzureResourceInfrastructure infra)
IAddRoleAssignmentsContext.cs (1)
17public AzureResourceInfrastructure Infrastructure { get; }
Aspire.Hosting.Azure.AIFoundry (3)
AzureAIFoundryExtensions.cs (1)
350private static void ConfigureInfrastructure(AzureResourceInfrastructure infrastructure)
AzureAIFoundryResource.cs (2)
15public class AzureAIFoundryResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) : 61public override ProvisionableResource AddAsExistingResource(AzureResourceInfrastructure infra)
Aspire.Hosting.Azure.AppConfiguration (3)
AzureAppConfigurationExtensions.cs (1)
37var configureInfrastructure = (AzureResourceInfrastructure infrastructure) =>
AzureAppConfigurationResource.cs (2)
15public class AzureAppConfigurationResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) 45public override ProvisionableResource AddAsExistingResource(AzureResourceInfrastructure infra)
Aspire.Hosting.Azure.AppContainers (14)
AzureContainerAppContainerExtensions.cs (1)
34public static IResourceBuilder<T> PublishAsAzureContainerApp<T>(this IResourceBuilder<T> container, Action<AzureResourceInfrastructure, ContainerApp> configure)
AzureContainerAppCustomizationAnnotation.cs (2)
12public sealed class AzureContainerAppCustomizationAnnotation(Action<AzureResourceInfrastructure, ContainerApp> configure) 18public Action<AzureResourceInfrastructure, ContainerApp> Configure { get; } = configure ?? throw new ArgumentNullException(nameof(configure));
AzureContainerAppEnvironmentResource.cs (2)
15public class AzureContainerAppEnvironmentResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) : 90public override ProvisionableResource AddAsExistingResource(AzureResourceInfrastructure infra)
AzureContainerAppExecutableExtensions.cs (1)
34public static IResourceBuilder<T> PublishAsAzureContainerApp<T>(this IResourceBuilder<T> executable, Action<AzureResourceInfrastructure, ContainerApp> configure)
AzureContainerAppProjectExtensions.cs (1)
34public static IResourceBuilder<T> PublishAsAzureContainerApp<T>(this IResourceBuilder<T> project, Action<AzureResourceInfrastructure, ContainerApp> configure)
ContainerAppContext.cs (3)
46private AzureResourceInfrastructure? _infrastructure; 47public AzureResourceInfrastructure Infra => _infrastructure ?? throw new InvalidOperationException("Infra is not set"); 49public void BuildContainerApp(AzureResourceInfrastructure infra)
ContainerAppExtensions.cs (4)
24/// <exception cref="ArgumentException">Throws if the container app resource is not parented to a <see cref="AzureResourceInfrastructure"/>.</exception> 29/// in conjunction with the <see cref="AzureContainerAppContainerExtensions.PublishAsAzureContainerApp{T}(IResourceBuilder{T}, Action{AzureResourceInfrastructure, ContainerApp})"/> 43/// method via the <see cref="AzureContainerAppContainerExtensions.PublishAsAzureContainerApp{T}(IResourceBuilder{T}, Action{AzureResourceInfrastructure, ContainerApp})"/> 64if (app.ParentInfrastructure is not AzureResourceInfrastructure module)
Aspire.Hosting.Azure.ApplicationInsights (2)
AzureApplicationInsightsExtensions.cs (1)
43var configureInfrastructure = (AzureResourceInfrastructure infrastructure) =>
AzureApplicationInsightsResource.cs (1)
13public class AzureApplicationInsightsResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure)
Aspire.Hosting.Azure.AppService (8)
AzureAppServiceComputeResourceExtensions.cs (1)
32public static IResourceBuilder<T> PublishAsAzureAppServiceWebsite<T>(this IResourceBuilder<T> builder, Action<AzureResourceInfrastructure, WebSite> configure)
AzureAppServiceEnvironmentResource.cs (2)
15public class AzureAppServiceEnvironmentResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) : 45public override ProvisionableResource AddAsExistingResource(AzureResourceInfrastructure infra)
AzureAppServiceWebsiteContext.cs (3)
31private AzureResourceInfrastructure? _infrastructure; 32public AzureResourceInfrastructure Infra => _infrastructure ?? throw new InvalidOperationException("Infra is not set"); 205public void BuildWebSite(AzureResourceInfrastructure infra)
AzureAppServiceWebsiteCustomizationAnnotation.cs (2)
12public sealed class AzureAppServiceWebsiteCustomizationAnnotation(Action<AzureResourceInfrastructure, WebSite> configure) 18public Action<AzureResourceInfrastructure, WebSite> Configure { get; } = configure ?? throw new ArgumentNullException(nameof(configure));
Aspire.Hosting.Azure.CognitiveServices (4)
AzureOpenAIExtensions.cs (2)
37var configureInfrastructure = (AzureResourceInfrastructure infrastructure) => 104private static CognitiveServicesAccountDeployment CreateDeployment(AzureResourceInfrastructure infrastructure, CognitiveServicesAccount cogServicesAccount, CognitiveServicesAccountDeployment? dependency, AzureOpenAIDeployment deployment)
AzureOpenAIResource.cs (2)
14public class AzureOpenAIResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) 63public override ProvisionableResource AddAsExistingResource(AzureResourceInfrastructure infra)
Aspire.Hosting.Azure.ContainerRegistry (3)
AzureContainerRegistryExtensions.cs (1)
33var configureInfrastructure = (AzureResourceInfrastructure infrastructure) =>
AzureContainerRegistryResource.cs (2)
15public class AzureContainerRegistryResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) 35public override ProvisionableResource AddAsExistingResource(AzureResourceInfrastructure infra)
Aspire.Hosting.Azure.CosmosDB (7)
AzureCosmosDBContainerResource.cs (1)
15/// Use <see cref="AzureProvisioningResourceExtensions.ConfigureInfrastructure{T}(IResourceBuilder{T}, Action{AzureResourceInfrastructure})"/> to configure specific <see cref="Azure.Provisioning"/> properties.
AzureCosmosDBDatabaseResource.cs (1)
14/// Use <see cref="AzureProvisioningResourceExtensions.ConfigureInfrastructure{T}(ApplicationModel.IResourceBuilder{T}, Action{AzureResourceInfrastructure})"/> to configure specific <see cref="Azure.Provisioning"/> properties.
AzureCosmosDBExtensions.cs (2)
436private static void ConfigureCosmosDBInfrastructure(AzureResourceInfrastructure infrastructure) 572internal static void AddContributorRoleAssignment(AzureResourceInfrastructure infra, CosmosDBAccount cosmosAccount, BicepValue<Guid> principalId)
AzureCosmosDBResource.cs (3)
17public class AzureCosmosDBResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) 118public override ProvisionableResource AddAsExistingResource(AzureResourceInfrastructure infra) 151var infra = roleAssignmentContext.Infrastructure;
Aspire.Hosting.Azure.EventHubs (5)
AzureEventHubConsumerGroupResource.cs (1)
17/// Use <see cref="AzureProvisioningResourceExtensions.ConfigureInfrastructure{T}(ApplicationModel.IResourceBuilder{T}, Action{AzureResourceInfrastructure})"/> to configure specific <see cref="Azure.Provisioning"/> properties.
AzureEventHubResource.cs (1)
17/// Use <see cref="AzureProvisioningResourceExtensions.ConfigureInfrastructure{T}(ApplicationModel.IResourceBuilder{T}, Action{AzureResourceInfrastructure})"/> to configure specific <see cref="Azure.Provisioning"/> properties.
AzureEventHubsExtensions.cs (1)
45var configureInfrastructure = static (AzureResourceInfrastructure infrastructure) =>
AzureEventHubsResource.cs (2)
15public class AzureEventHubsResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) 128public override ProvisionableResource AddAsExistingResource(AzureResourceInfrastructure infra)
Aspire.Hosting.Azure.KeyVault (4)
AzureKeyVaultResource.cs (2)
15public class AzureKeyVaultResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) 63public override ProvisionableResource AddAsExistingResource(AzureResourceInfrastructure infra)
AzureKeyVaultResourceExtensions.cs (1)
66var configureInfrastructure = static (AzureResourceInfrastructure infrastructure) =>
AzureKeyVaultSecretResource.cs (1)
13/// Use <see cref="AzureProvisioningResourceExtensions.ConfigureInfrastructure{T}(ApplicationModel.IResourceBuilder{T}, Action{AzureResourceInfrastructure})"/> to configure specific <see cref="Azure.Provisioning"/> properties.
Aspire.Hosting.Azure.OperationalInsights (3)
AzureLogAnalyticsWorkspaceExtensions.cs (1)
29var configureInfrastructure = (AzureResourceInfrastructure infrastructure) =>
AzureLogAnalyticsWorkspaceResource.cs (2)
14public class AzureLogAnalyticsWorkspaceResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) 28public override ProvisionableResource AddAsExistingResource(AzureResourceInfrastructure infra)
Aspire.Hosting.Azure.PostgreSQL (8)
AzurePostgresExtensions.cs (4)
40var configureInfrastructure = (AzureResourceInfrastructure infrastructure) => 360private static PostgreSqlFlexibleServer CreatePostgreSqlFlexibleServer(AzureResourceInfrastructure infrastructure, IDistributedApplicationBuilder distributedApplicationBuilder, IReadOnlyDictionary<string, string> databases) 427private static void ConfigurePostgreSqlInfrastructure(AzureResourceInfrastructure infrastructure, IDistributedApplicationBuilder distributedApplicationBuilder) 511internal static PostgreSqlFlexibleServerActiveDirectoryAdministrator AddActiveDirectoryAdministrator(AzureResourceInfrastructure infra, PostgreSqlFlexibleServer postgres, BicepValue<Guid> principalId, BicepValue<PostgreSqlFlexibleServerPrincipalType> principalType, BicepValue<string> principalName)
AzurePostgresFlexibleServerResource.cs (3)
19public class AzurePostgresFlexibleServerResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) 159public override ProvisionableResource AddAsExistingResource(AzureResourceInfrastructure infra) 192var infra = roleAssignmentContext.Infrastructure;
AzurePostgresResource.cs (1)
14public class AzurePostgresResource(PostgresServerResource innerResource, Action<AzureResourceInfrastructure> configureInfrastructure)
Aspire.Hosting.Azure.Redis (8)
AzureRedisCacheResource.cs (3)
17public class AzureRedisCacheResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) 105public override ProvisionableResource AddAsExistingResource(AzureResourceInfrastructure infra) 138var infra = roleAssignmentContext.Infrastructure;
AzureRedisExtensions.cs (4)
36var configureInfrastructure = (AzureResourceInfrastructure infrastructure) => 243private static CdkRedisResource CreateRedisResource(AzureResourceInfrastructure infrastructure) 266private static void ConfigureRedisInfrastructure(AzureResourceInfrastructure infrastructure) 314internal static void AddContributorPolicyAssignment(AzureResourceInfrastructure infra, CdkRedisResource redis, BicepValue<Guid> principalId, BicepValue<string> principalName)
AzureRedisResource.cs (1)
14public class AzureRedisResource(RedisResource innerResource, Action<AzureResourceInfrastructure> configureInfrastructure)
Aspire.Hosting.Azure.Search (3)
AzureSearchExtensions.cs (1)
44void ConfigureSearch(AzureResourceInfrastructure infrastructure)
AzureSearchResource.cs (2)
15public class AzureSearchResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) 38public override ProvisionableResource AddAsExistingResource(AzureResourceInfrastructure infra)
Aspire.Hosting.Azure.ServiceBus (7)
AzureServiceBusExtensions.cs (1)
44var configureInfrastructure = static (AzureResourceInfrastructure infrastructure) =>
AzureServiceBusQueueResource.cs (1)
18/// Use <see cref="AzureProvisioningResourceExtensions.ConfigureInfrastructure{T}(ApplicationModel.IResourceBuilder{T}, Action{AzureResourceInfrastructure})"/> to configure specific <see cref="Azure.Provisioning"/> properties.
AzureServiceBusResource.cs (2)
15public class AzureServiceBusResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) 50public override ProvisionableResource AddAsExistingResource(AzureResourceInfrastructure infra)
AzureServiceBusRule.cs (1)
16/// Use <see cref="AzureProvisioningResourceExtensions.ConfigureInfrastructure{T}(ApplicationModel.IResourceBuilder{T}, Action{AzureResourceInfrastructure})"/> to configure specific <see cref="Azure.Provisioning"/> properties.
AzureServiceBusSubscriptionResource.cs (1)
18/// Use <see cref="AzureProvisioningResourceExtensions.ConfigureInfrastructure{T}(ApplicationModel.IResourceBuilder{T}, Action{AzureResourceInfrastructure})"/> to configure specific <see cref="Azure.Provisioning"/> properties.
AzureServiceBusTopicResource.cs (1)
18/// Use <see cref="AzureProvisioningResourceExtensions.ConfigureInfrastructure{T}(ApplicationModel.IResourceBuilder{T}, Action{AzureResourceInfrastructure})"/> to configure specific <see cref="Azure.Provisioning"/> properties.
Aspire.Hosting.Azure.SignalR (3)
AzureSignalRExtensions.cs (1)
60var configureInfrastructure = (AzureResourceInfrastructure infrastructure) =>
AzureSignalRResource.cs (2)
15public class AzureSignalRResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) 44public override ProvisionableResource AddAsExistingResource(AzureResourceInfrastructure infra)
Aspire.Hosting.Azure.Sql (9)
AzureSqlExtensions.cs (5)
26var configureInfrastructure = (AzureResourceInfrastructure infrastructure) => 82var configureInfrastructure = (AzureResourceInfrastructure infrastructure) => 214AzureResourceInfrastructure infrastructure, 229AzureResourceInfrastructure infrastructure, 268private static SqlServer CreateSqlServerResourceOnly(AzureResourceInfrastructure infrastructure,
AzureSqlServerResource.cs (4)
27public AzureSqlServerResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) 36public AzureSqlServerResource(SqlServerServerResource innerResource, Action<AzureResourceInfrastructure> configureInfrastructure) 116public override ProvisionableResource AddAsExistingResource(AzureResourceInfrastructure infra) 153var infra = roleAssignmentContext.Infrastructure;
Aspire.Hosting.Azure.Storage (3)
AzureStorageExtensions.cs (1)
45var configureInfrastructure = (AzureResourceInfrastructure infrastructure) =>
AzureStorageResource.cs (2)
15public class AzureStorageResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) 105public override ProvisionableResource AddAsExistingResource(AzureResourceInfrastructure infra)
Aspire.Hosting.Azure.Tests (55)
AzureAIFoundryExtensionsTests.cs (1)
158var infrastructure = new AzureResourceInfrastructure(aiFoundryResource, "test-foundry");
AzureAppConfigurationExtensionsTests.cs (1)
99var infrastructure = new AzureResourceInfrastructure(appConfigurationResource, "test-app-config");
AzureAppServiceEnvironmentExtensionsTests.cs (1)
15var infrastructure = new AzureResourceInfrastructure(appServiceEnvironmentResource, "test-app-service-env");
AzureBicepResourceTests.cs (1)
35static void CreateInfrastructure(AzureResourceInfrastructure infrastructure)
AzureContainerAppEnvironmentExtensionsTests.cs (1)
17var infrastructure = new AzureResourceInfrastructure(containerAppEnvironmentResource, "test-container-app-env");
AzureContainerRegistryTests.cs (1)
101var infrastructure = new AzureResourceInfrastructure(containerRegistryResource, "test-acr");
AzureCosmosDBExtensionsTests.cs (1)
558var infrastructure = new AzureResourceInfrastructure(cosmosDBResource, "test-cosmosdb");
AzureEventHubsExtensionsTests.cs (1)
626var infrastructure = new AzureResourceInfrastructure(eventHubsResource, "test-eventhubs");
AzureInfrastructureExtensionsTests.cs (2)
40AzureResourceInfrastructure? moduleInfrastructure = null; 79AzureResourceInfrastructure? moduleInfrastructure = null;
AzureKeyVaultTests.cs (1)
349var infrastructure = new AzureResourceInfrastructure(keyVaultResource, "test-keyvault");
AzureLogAnalyticsWorkspaceExtensionsTests.cs (1)
37var infrastructure = new AzureResourceInfrastructure(logAnalyticsWorkspaceResource, "test-log-workspace");
AzureOpenAIExtensionsTests.cs (1)
115var infrastructure = new AzureResourceInfrastructure(openAIResource, "test-openai");
AzurePostgresExtensionsTests.cs (1)
552var infrastructure = new AzureResourceInfrastructure(postgresResource, "test-postgres");
AzureRedisExtensionsTests.cs (1)
272var infrastructure = new AzureResourceInfrastructure(redisResource, "test-redis");
AzureSearchExtensionsTests.cs (1)
104var infrastructure = new AzureResourceInfrastructure(searchResource, "test-search");
AzureServiceBusExtensionsTests.cs (1)
847var infrastructure = new AzureResourceInfrastructure(serviceBusResource, "test-servicebus");
AzureSignalRExtensionsTests.cs (1)
74var infrastructure = new AzureResourceInfrastructure(signalRResource, "test-signalr");
AzureSqlExtensionsTests.cs (1)
305var infrastructure = new AzureResourceInfrastructure(sqlResource, "test-sql");
AzureStorageExtensionsTests.cs (1)
898var infrastructure = new AzureResourceInfrastructure(storageResource, "test-storage");
AzureUserAssignedIdentityTests.cs (1)
337var infrastructure = new AzureResourceInfrastructure(userAssignedIdentityResource, "test-identity");
AzureWebPubSubExtensionsTests.cs (1)
358var infrastructure = new AzureResourceInfrastructure(webPubSubResource, "test-webpubsub");
PublicApiTests\AppConfigurationPublicApiTests.cs (2)
44Action<AzureResourceInfrastructure> configureInfrastructure = (c) => { }; 58Action<AzureResourceInfrastructure> configureInfrastructure = null!;
PublicApiTests\AppContainersPublicApiTests.cs (7)
17Action<AzureResourceInfrastructure, ContainerApp> configure = (r, c) => { }; 30Action<AzureResourceInfrastructure, ContainerApp> configure = null!; 41Action<AzureResourceInfrastructure, ContainerApp> configure = null!; 53Action<AzureResourceInfrastructure, ContainerApp> configure = (r, c) => { }; 66Action<AzureResourceInfrastructure, ContainerApp> configure = null!; 94Action<AzureResourceInfrastructure, ContainerApp> configure = (r, c) => { }; 107Action<AzureResourceInfrastructure, ContainerApp> configure = null!;
PublicApiTests\ApplicationInsightsPublicApiTests.cs (2)
61Action<AzureResourceInfrastructure> configureInfrastructure = (_) => { }; 75Action<AzureResourceInfrastructure> configureInfrastructure = null!;
PublicApiTests\CosmosDBPublicApiTests.cs (2)
256var configureInfrastructure = (AzureResourceInfrastructure _) => { }; 270Action<AzureResourceInfrastructure> configureInfrastructure = null!;
PublicApiTests\EventHubsPublicApiTests.cs (2)
386Action<AzureResourceInfrastructure> configureInfrastructure = (_) => { }; 400Action<AzureResourceInfrastructure> configureInfrastructure = null!;
PublicApiTests\KeyVaultPublicApiTests.cs (2)
16Action<AzureResourceInfrastructure> configureInfrastructure = (_) => { }; 30Action<AzureResourceInfrastructure> configureInfrastructure = null!;
PublicApiTests\OperationalInsightsPublicApiTests.cs (2)
16Action<AzureResourceInfrastructure> configureInfrastructure = (_) => { }; 30Action<AzureResourceInfrastructure> configureInfrastructure = null!;
PublicApiTests\PostgreSQLPublicApiTests.cs (4)
126Action<AzureResourceInfrastructure> configureInfrastructure = (_) => { }; 141Action<AzureResourceInfrastructure> configureInfrastructure = null!; 202Action<AzureResourceInfrastructure> configureInfrastructure = (_) => { }; 216Action<AzureResourceInfrastructure> configureInfrastructure = null!;
PublicApiTests\RedisPublicApiTests.cs (4)
17Action<AzureResourceInfrastructure> configureInfrastructure = (_) => { }; 31Action<AzureResourceInfrastructure> configureInfrastructure = null!; 127Action<AzureResourceInfrastructure> configureInfrastructure = (_) => { }; 140Action<AzureResourceInfrastructure> configureInfrastructure = null!;
PublicApiTests\SearchPublicApiTests.cs (2)
44Action<AzureResourceInfrastructure> configureInfrastructure = (_) => { }; 58Action<AzureResourceInfrastructure> configureInfrastructure = null!;
PublicApiTests\SignalRPublicApiTests.cs (2)
83Action<AzureResourceInfrastructure> configureInfrastructure = (_) => { }; 97Action<AzureResourceInfrastructure> configureInfrastructure = null!;
PublicApiTests\WebPubSubPublicApiTests.cs (2)
161Action<AzureResourceInfrastructure> configureInfrastructure = (_) => { }; 175Action<AzureResourceInfrastructure> configureInfrastructure = null!;
Aspire.Hosting.Azure.WebPubSub (3)
AzureWebPubSubExtensions.cs (1)
39var configureInfrastructure = (AzureResourceInfrastructure infrastructure) =>
AzureWebPubSubResource.cs (2)
15public class AzureWebPubSubResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) 36public override ProvisionableResource AddAsExistingResource(AzureResourceInfrastructure infra)