Base:
method
AddAsExistingResource
Aspire.Hosting.Azure.AzureProvisioningResource.AddAsExistingResource(Aspire.Hosting.Azure.AzureResourceInfrastructure)
5 references to AddAsExistingResource
Aspire.Hosting.Azure.Sql (1)
AzureSqlServerResource.cs (1)
262var existingStorageAccount = (StorageAccount)DeploymentScriptStorage.AddAsExistingResource(infra);
Aspire.Hosting.Azure.Tests (3)
AzureStorageExtensionsTests.cs (3)
903var firstResult = storageResource.AddAsExistingResource(infrastructure); 904var secondResult = storageResource.AddAsExistingResource(infrastructure); 922_ = storage.Resource.AddAsExistingResource(infra);
Aspire.Hosting.Foundry (1)
Project\ProjectBuilderExtension.cs (1)
419var storage = (StorageAccount)capHostConfig.Storage!.AddAsExistingResource(infra);