1 type derived from AzureProvisioningResource
Aspire.Hosting.Azure.Sql (1)
AzureSqlServerResource.cs (1)
11public class AzureSqlServerResource : AzureProvisioningResource, IResourceWithConnectionString
42 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 (32)
AzureBicepResourceTests.cs (2)
99if (azureResourceBuilder.Resource is not AzureProvisioningResource bicepResource) 120if (azureResourceBuilder.Resource is not AzureProvisioningResource bicepResource)
AzureContainerAppsTests.cs (30)
39var resource = target?.DeploymentTarget as AzureProvisioningResource; 135var resource = target?.DeploymentTarget as AzureProvisioningResource; 239var resource = target?.DeploymentTarget as AzureProvisioningResource; 381var resource = target?.DeploymentTarget as AzureProvisioningResource; 492var resource = target?.DeploymentTarget as AzureProvisioningResource; 608var resource = target?.DeploymentTarget as AzureProvisioningResource; 749var resource = target?.DeploymentTarget as AzureProvisioningResource; 990var resource = target?.DeploymentTarget as AzureProvisioningResource; 1200var resource = target?.DeploymentTarget as AzureProvisioningResource; 1351var resource = target?.DeploymentTarget as AzureProvisioningResource; 1509var resource = target?.DeploymentTarget as AzureProvisioningResource; 1598var resource = target?.DeploymentTarget as AzureProvisioningResource; 1696var resource = target?.DeploymentTarget as AzureProvisioningResource; 1801var resource = target?.DeploymentTarget as AzureProvisioningResource; 1899var resource = target?.DeploymentTarget as AzureProvisioningResource;