77 references to AzureResourceInfrastructure
Aspire.Hosting.Azure (16)
AzureProvisioningResource.cs (4)
15public class AzureProvisioningResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) : AzureBicepResource(name, templateFile: $"{name}.module.bicep") 20public Action<AzureResourceInfrastructure> ConfigureInfrastructure { get; internal set; } = configureInfrastructure; 31var infrastructure = new AzureResourceInfrastructure(this, Name); 66private void EnsureParametersAlign(AzureResourceInfrastructure infrastructure)
AzureProvisioningResourceExtensions.cs (11)
23public 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) 57/// <param name="infrastructure">The <see cref="AzureResourceInfrastructure"/> that contains the <see cref="ProvisioningParameter"/>.</param> 67public static ProvisioningParameter AsProvisioningParameter(this IResourceBuilder<ParameterResource> parameterResourceBuilder, AzureResourceInfrastructure infrastructure, string? parameterName = null) 86/// <param name="infrastructure">The <see cref="AzureResourceInfrastructure"/> that contains the <see cref="ProvisioningParameter"/>.</param> 96public static ProvisioningParameter AsProvisioningParameter(this BicepOutputReference outputReference, AzureResourceInfrastructure infrastructure, string? parameterName = null) 115/// <param name="infrastructure">The <see cref="AzureResourceInfrastructure"/> that contains the <see cref="ProvisioningParameter"/>.</param> 123public static ProvisioningParameter AsProvisioningParameter(this EndpointReference endpointReference, AzureResourceInfrastructure infrastructure, string parameterName) 141/// <param name="infrastructure">The <see cref="AzureResourceInfrastructure"/> that contains the <see cref="ProvisioningParameter"/>.</param> 149public static ProvisioningParameter AsProvisioningParameter(this ReferenceExpression expression, AzureResourceInfrastructure infrastructure, string parameterName) 160private 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.
Aspire.Hosting.Azure.AppConfiguration (2)
AzureAppConfigurationExtensions.cs (1)
26var configureInfrastructure = (AzureResourceInfrastructure infrastructure) =>
AzureAppConfigurationResource.cs (1)
13public class AzureAppConfigurationResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) :
Aspire.Hosting.Azure.AppContainers (10)
AzureContainerAppContainerExtensions.cs (1)
34public static IResourceBuilder<T> PublishAsAzureContainerApp<T>(this IResourceBuilder<T> container, Action<AzureResourceInfrastructure, ContainerApp> configure) where T : ContainerResource
AzureContainerAppCustomizationAnnotation.cs (2)
12public sealed class AzureContainerAppCustomizationAnnotation(Action<AzureResourceInfrastructure, ContainerApp> configure) : IResourceAnnotation 17public Action<AzureResourceInfrastructure, ContainerApp> Configure { get; } = configure;
AzureContainerAppExecutableExtensions.cs (1)
34public static IResourceBuilder<T> PublishAsAzureContainerApp<T>(this IResourceBuilder<T> executable, Action<AzureResourceInfrastructure, ContainerApp> configure) where T : ExecutableResource
AzureContainerAppProjectExtensions.cs (1)
34public static IResourceBuilder<T> PublishAsAzureContainerApp<T>(this IResourceBuilder<T> project, Action<AzureResourceInfrastructure, ContainerApp> configure)
AzureContainerAppsInfrastructure.cs (1)
137public void BuildContainerApp(AzureResourceInfrastructure c)
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})"/> 44/// method via the <see cref="AzureContainerAppContainerExtensions.PublishAsAzureContainerApp{T}(IResourceBuilder{T}, Action{AzureResourceInfrastructure, ContainerApp})"/> 60if (app.ParentInfrastructure is not AzureResourceInfrastructure module)
Aspire.Hosting.Azure.ApplicationInsights (2)
AzureApplicationInsightsExtensions.cs (1)
39var configureInfrastructure = (AzureResourceInfrastructure infrastructure) =>
AzureApplicationInsightsResource.cs (1)
13public class AzureApplicationInsightsResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) :
Aspire.Hosting.Azure.CognitiveServices (2)
AzureOpenAIExtensions.cs (1)
27var configureInfrastructure = (AzureResourceInfrastructure infrastructure) =>
AzureOpenAIResource.cs (1)
12public class AzureOpenAIResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) :
Aspire.Hosting.Azure.CosmosDB (4)
AzureCosmosDBExtensions.cs (1)
299private static void ConfigureCosmosDBInfrastructure(AzureResourceInfrastructure infrastructure)
AzureCosmosDBResource.cs (1)
14public class AzureCosmosDBResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) :
CosmosDBContainer.cs (1)
10/// Use <see cref="AzureProvisioningResourceExtensions.ConfigureInfrastructure{T}(ApplicationModel.IResourceBuilder{T}, Action{AzureResourceInfrastructure})"/> to configure specific <see cref="Azure.Provisioning"/> properties.
CosmosDBDatabase.cs (1)
10/// Use <see cref="AzureProvisioningResourceExtensions.ConfigureInfrastructure{T}(ApplicationModel.IResourceBuilder{T}, Action{AzureResourceInfrastructure})"/> to configure specific <see cref="Azure.Provisioning"/> properties.
Aspire.Hosting.Azure.EventHubs (4)
AzureEventHubsExtensions.cs (1)
33var configureInfrastructure = static (AzureResourceInfrastructure infrastructure) =>
AzureEventHubsResource.cs (1)
14public class AzureEventHubsResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) :
EventHub.cs (1)
13/// Use <see cref="AzureProvisioningResourceExtensions.ConfigureInfrastructure{T}(ApplicationModel.IResourceBuilder{T}, Action{AzureResourceInfrastructure})"/> to configure specific <see cref="Azure.Provisioning"/> properties.
EventHubConsumerGroup.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.Functions (1)
AzureFunctionsProjectResourceExtensions.cs (1)
52var configureInfrastructure = (AzureResourceInfrastructure infrastructure) =>
Aspire.Hosting.Azure.KeyVault (2)
AzureKeyVaultResource.cs (1)
13public class AzureKeyVaultResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) : AzureProvisioningResource(name, configureInfrastructure), IResourceWithConnectionString
AzureKeyVaultResourceExtensions.cs (1)
27var configureInfrastructure = static (AzureResourceInfrastructure infrastructure) =>
Aspire.Hosting.Azure.OperationalInsights (2)
AzureLogAnalyticsWorkspaceExtensions.cs (1)
26var configureInfrastructure = (AzureResourceInfrastructure infrastructure) =>
AzureLogAnalyticsWorkspaceResource.cs (1)
11public class AzureLogAnalyticsWorkspaceResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) :
Aspire.Hosting.Azure.PostgreSQL (5)
AzurePostgresExtensions.cs (3)
37var configureInfrastructure = (AzureResourceInfrastructure infrastructure) => 310private static PostgreSqlFlexibleServer CreatePostgreSqlFlexibleServer(AzureResourceInfrastructure infrastructure, IDistributedApplicationBuilder distributedApplicationBuilder, IReadOnlyDictionary<string, string> databases) 371private static void ConfigurePostgreSqlInfrastructure(AzureResourceInfrastructure infrastructure, IDistributedApplicationBuilder distributedApplicationBuilder)
AzurePostgresFlexibleServerResource.cs (1)
14public class AzurePostgresFlexibleServerResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) :
AzurePostgresResource.cs (1)
14public class AzurePostgresResource(PostgresServerResource innerResource, Action<AzureResourceInfrastructure> configureInfrastructure) :
Aspire.Hosting.Azure.Redis (5)
AzureRedisCacheResource.cs (1)
14public class AzureRedisCacheResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) :
AzureRedisExtensions.cs (3)
36var configureInfrastructure = (AzureResourceInfrastructure infrastructure) => 199private static CdkRedisResource CreateRedisResource(AzureResourceInfrastructure infrastructure) 218private static void ConfigureRedisInfrastructure(AzureResourceInfrastructure infrastructure)
AzureRedisResource.cs (1)
14public class AzureRedisResource(RedisResource innerResource, Action<AzureResourceInfrastructure> configureInfrastructure) :
Aspire.Hosting.Azure.Search (2)
AzureSearchExtensions.cs (1)
31void ConfigureSearch(AzureResourceInfrastructure infrastructure)
AzureSearchResource.cs (1)
13public class AzureSearchResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) :
Aspire.Hosting.Azure.ServiceBus (6)
AzureServiceBusExtensions.cs (1)
33var configureInfrastructure = static (AzureResourceInfrastructure infrastructure) =>
AzureServiceBusResource.cs (1)
14public class AzureServiceBusResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure)
ServiceBusQueue.cs (1)
14/// Use <see cref="AzureProvisioningResourceExtensions.ConfigureInfrastructure{T}(ApplicationModel.IResourceBuilder{T}, Action{AzureResourceInfrastructure})"/> to configure specific <see cref="Azure.Provisioning"/> properties.
ServiceBusRule.cs (1)
13/// Use <see cref="AzureProvisioningResourceExtensions.ConfigureInfrastructure{T}(ApplicationModel.IResourceBuilder{T}, Action{AzureResourceInfrastructure})"/> to configure specific <see cref="Azure.Provisioning"/> properties.
ServiceBusSubscription.cs (1)
14/// Use <see cref="AzureProvisioningResourceExtensions.ConfigureInfrastructure{T}(ApplicationModel.IResourceBuilder{T}, Action{AzureResourceInfrastructure})"/> to configure specific <see cref="Azure.Provisioning"/> properties.
ServiceBusTopic.cs (1)
14/// Use <see cref="AzureProvisioningResourceExtensions.ConfigureInfrastructure{T}(ApplicationModel.IResourceBuilder{T}, Action{AzureResourceInfrastructure})"/> to configure specific <see cref="Azure.Provisioning"/> properties.
Aspire.Hosting.Azure.SignalR (2)
AzureSignalRExtensions.cs (1)
38var configureInfrastructure = (AzureResourceInfrastructure infrastructure) =>
AzureSignalRResource.cs (1)
13public class AzureSignalRResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) :
Aspire.Hosting.Azure.Sql (5)
AzureSqlExtensions.cs (3)
22var configureInfrastructure = (AzureResourceInfrastructure infrastructure) => 79var configureInfrastructure = (AzureResourceInfrastructure infrastructure) => 194AzureResourceInfrastructure infrastructure,
AzureSqlServerResource.cs (2)
21public AzureSqlServerResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) 30public AzureSqlServerResource(SqlServerServerResource innerResource, Action<AzureResourceInfrastructure> configureInfrastructure)
Aspire.Hosting.Azure.Storage (2)
AzureStorageExtensions.cs (1)
33var configureInfrastructure = (AzureResourceInfrastructure infrastructure) =>
AzureStorageResource.cs (1)
13public class AzureStorageResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) :
Aspire.Hosting.Azure.Tests (3)
AzureBicepResourceTests.cs (3)
45static void CreateInfrastructure(AzureResourceInfrastructure infrastructure) 1036AzureResourceInfrastructure? moduleInfrastructure = null; 1075AzureResourceInfrastructure? moduleInfrastructure = null;
Aspire.Hosting.Azure.WebPubSub (2)
AzureWebPubSubExtensions.cs (1)
29var configureInfrastructure = (AzureResourceInfrastructure infrastructure) =>
AzureWebPubSubResource.cs (1)
13public class AzureWebPubSubResource(string name, Action<AzureResourceInfrastructure> configureInfrastructure) :