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