1 write to AspireResource
Aspire.Hosting.Azure (1)
AzureResourceInfrastructure.cs (1)
16AspireResource = resource;
41 references to AspireResource
Aspire.Hosting.Azure (4)
AzureProvisioningResourceExtensions.cs (4)
74infrastructure.AspireResource.Parameters[parameterName] = parameterResourceBuilder.Resource; 103infrastructure.AspireResource.Parameters[parameterName] = outputReference; 129infrastructure.AspireResource.Parameters[parameterName] = endpointReference; 155infrastructure.AspireResource.Parameters[parameterName] = expression;
Aspire.Hosting.Azure.AppConfiguration (2)
AzureAppConfigurationExtensions.cs (2)
28var store = new AppConfigurationStore(infrastructure.AspireResource.GetBicepIdentifier()) 32Tags = { { "aspire-resource-name", infrastructure.AspireResource.Name } }
Aspire.Hosting.Azure.AppContainers (1)
AzureContainerAppsInfrastructure.cs (1)
219c.AspireResource.Parameters[key] = value;
Aspire.Hosting.Azure.ApplicationInsights (1)
AzureApplicationInsightsExtensions.cs (1)
53var appInsights = new ApplicationInsightsComponent(infrastructure.AspireResource.GetBicepIdentifier())
Aspire.Hosting.Azure.CognitiveServices (4)
AzureOpenAIExtensions.cs (4)
29var cogServicesAccount = new CognitiveServicesAccount(infrastructure.AspireResource.GetBicepIdentifier()) 38CustomSubDomainName = ToLower(Take(Concat(infrastructure.AspireResource.Name, GetUniqueString(GetResourceGroup().Id)), 24)), 43Tags = { { "aspire-resource-name", infrastructure.AspireResource.Name } } 59var resource = (AzureOpenAIResource)infrastructure.AspireResource;
Aspire.Hosting.Azure.CosmosDB (3)
AzureCosmosDBExtensions.cs (3)
43var cosmosAccount = new CosmosDBAccount(infrastructure.AspireResource.GetBicepIdentifier()) 59Tags = { { "aspire-resource-name", infrastructure.AspireResource.Name } } 63var azureResource = (AzureCosmosDBResource)infrastructure.AspireResource;
Aspire.Hosting.Azure.EventHubs (3)
AzureEventHubsExtensions.cs (3)
40var eventHubsNamespace = new EventHubsNamespace(infrastructure.AspireResource.GetBicepIdentifier()) 46Tags = { { "aspire-resource-name", infrastructure.AspireResource.Name } } 59var azureResource = (AzureEventHubsResource)infrastructure.AspireResource;
Aspire.Hosting.Azure.KeyVault (2)
AzureKeyVaultResourceExtensions.cs (2)
29var keyVault = new KeyVaultService(infrastructure.AspireResource.GetBicepIdentifier()) 49keyVault.Tags["aspire-resource-name"] = infrastructure.AspireResource.Name;
Aspire.Hosting.Azure.OperationalInsights (1)
AzureLogAnalyticsWorkspaceExtensions.cs (1)
28var workspace = new OperationalInsightsWorkspace(infrastructure.AspireResource.GetBicepIdentifier())
Aspire.Hosting.Azure.PostgreSQL (3)
AzurePostgresExtensions.cs (3)
312var postgres = new PostgreSqlFlexibleServer(infrastructure.AspireResource.GetBicepIdentifier()) 331Tags = { { "aspire-resource-name", infrastructure.AspireResource.Name } } 373var azureResource = (AzurePostgresFlexibleServerResource)infrastructure.AspireResource;
Aspire.Hosting.Azure.Redis (3)
AzureRedisExtensions.cs (3)
201var redisCache = new CdkRedisResource(infrastructure.AspireResource.GetBicepIdentifier()) 211Tags = { { "aspire-resource-name", infrastructure.AspireResource.Name } } 222var redisResource = (AzureRedisCacheResource)infrastructure.AspireResource;
Aspire.Hosting.Azure.Search (1)
AzureSearchExtensions.cs (1)
33var search = new SearchService(infrastructure.AspireResource.GetBicepIdentifier())
Aspire.Hosting.Azure.ServiceBus (3)
AzureServiceBusExtensions.cs (3)
34var serviceBusNamespace = new ServiceBusNamespace(infrastructure.AspireResource.GetBicepIdentifier()) 41Tags = { { "aspire-resource-name", infrastructure.AspireResource.Name } } 54var azureResource = (AzureServiceBusResource)infrastructure.AspireResource;
Aspire.Hosting.Azure.SignalR (2)
AzureSignalRExtensions.cs (2)
28var service = new SignalRService(infrastructure.AspireResource.GetBicepIdentifier()) 45Tags = { { "aspire-resource-name", infrastructure.AspireResource.Name } }
Aspire.Hosting.Azure.Sql (3)
AzureSqlExtensions.cs (3)
81var azureResource = (AzureSqlServerResource)infrastructure.AspireResource; 203var sqlServer = new SqlServer(infrastructure.AspireResource.GetBicepIdentifier()) 216Tags = { { "aspire-resource-name", infrastructure.AspireResource.Name } }
Aspire.Hosting.Azure.Storage (2)
AzureStorageExtensions.cs (2)
33var storageAccount = new StorageAccount(infrastructure.AspireResource.GetBicepIdentifier()) 51Tags = { { "aspire-resource-name", infrastructure.AspireResource.Name } }
Aspire.Hosting.Azure.WebPubSub (3)
AzureWebPubSubExtensions.cs (3)
45var service = new WebPubSubService(infrastructure.AspireResource.GetBicepIdentifier()) 52Tags = { { "aspire-resource-name", infrastructure.AspireResource.Name } } 65var resource = (AzureWebPubSubResource)infrastructure.AspireResource;