1 type derived from AzureProvisioningResource
Aspire.Hosting.Azure.Sql (1)
AzureSqlServerResource.cs (1)
11public class AzureSqlServerResource : AzureProvisioningResource, IResourceWithConnectionString
38 references to AzureProvisioningResource
Aspire.Hosting.Azure (9)
AzureProvisioningResourceExtensions.cs (5)
12/// Extensions for working with <see cref="AzureProvisioningResource"/> and related types. 23public static IResourceBuilder<AzureProvisioningResource> AddAzureInfrastructure(this IDistributedApplicationBuilder builder, [ResourceName] string name, Action<AzureResourceInfrastructure> configureInfrastructure) 27var resource = new AzureProvisioningResource(name, configureInfrastructure); 35/// <typeparam name="T">Type of the <see cref="AzureProvisioningResource"/> resource.</typeparam> 40where T : AzureProvisioningResource
AzureResourceInfrastructure.cs (3)
14internal AzureResourceInfrastructure(AzureProvisioningResource resource, string name) : base(name) 29/// The Aspire <see cref="AzureProvisioningResource"/> resource that this <see cref="AzureResourceInfrastructure"/> represents. 31public AzureProvisioningResource AspireResource { get; }
Provisioning\Provisioners\AzureProvisioner.cs (1)
90if (r.AzureResource is AzureProvisioningResource provisioningResource)
Aspire.Hosting.Azure.AppContainers (1)
AzureContainerAppsInfrastructure.cs (1)
85var provisioningResource = new AzureProvisioningResource(resource.Name, context.BuildContainerApp);
Aspire.Hosting.Azure.Tests (28)
AzureBicepResourceTests.cs (2)
99if (azureResourceBuilder.Resource is not AzureProvisioningResource bicepResource) 120if (azureResourceBuilder.Resource is not AzureProvisioningResource bicepResource)
AzureContainerAppsTests.cs (26)
39var resource = target?.DeploymentTarget as AzureProvisioningResource; 135var resource = target?.DeploymentTarget as AzureProvisioningResource; 239var resource = target?.DeploymentTarget as AzureProvisioningResource; 383var resource = target?.DeploymentTarget as AzureProvisioningResource; 524var resource = target?.DeploymentTarget as AzureProvisioningResource; 779var resource = target?.DeploymentTarget as AzureProvisioningResource; 989var resource = target?.DeploymentTarget as AzureProvisioningResource; 1140var resource = target?.DeploymentTarget as AzureProvisioningResource; 1298var resource = target?.DeploymentTarget as AzureProvisioningResource; 1387var resource = target?.DeploymentTarget as AzureProvisioningResource; 1485var resource = target?.DeploymentTarget as AzureProvisioningResource; 1590var resource = target?.DeploymentTarget as AzureProvisioningResource; 1688var resource = target?.DeploymentTarget as AzureProvisioningResource;