1 type derived from AzureProvisioningResource
Aspire.Hosting.Azure.Sql (1)
AzureSqlServerResource.cs (1)
11
public 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.
23
public static IResourceBuilder<
AzureProvisioningResource
> AddAzureInfrastructure(this IDistributedApplicationBuilder builder, [ResourceName] string name, Action<AzureResourceInfrastructure> configureInfrastructure)
27
var
resource = new AzureProvisioningResource(name, configureInfrastructure);
35
/// <typeparam name="T">Type of the <see cref="
AzureProvisioningResource
"/> resource.</typeparam>
40
where T :
AzureProvisioningResource
AzureResourceInfrastructure.cs (3)
14
internal AzureResourceInfrastructure(
AzureProvisioningResource
resource, string name) : base(name)
29
/// The Aspire <see cref="
AzureProvisioningResource
"/> resource that this <see cref="AzureResourceInfrastructure"/> represents.
31
public
AzureProvisioningResource
AspireResource { get; }
Provisioning\Provisioners\AzureProvisioner.cs (1)
90
if (r.AzureResource is
AzureProvisioningResource
provisioningResource)
Aspire.Hosting.Azure.AppContainers (1)
AzureContainerAppsInfrastructure.cs (1)
85
var
provisioningResource = new AzureProvisioningResource(resource.Name, context.BuildContainerApp);
Aspire.Hosting.Azure.Tests (32)
AzureBicepResourceTests.cs (2)
99
if (azureResourceBuilder.Resource is not
AzureProvisioningResource
bicepResource)
120
if (azureResourceBuilder.Resource is not
AzureProvisioningResource
bicepResource)
AzureContainerAppsTests.cs (30)
39
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
135
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
239
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
381
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
492
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
608
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
749
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
990
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
1200
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
1351
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
1509
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
1598
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
1696
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
1801
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
1899
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;