1 type derived from AzureProvisioningResource
Aspire.Hosting.Azure.Sql (1)
AzureSqlServerResource.cs (1)
11
public 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.
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)
89
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 (28)
AzureBicepResourceTests.cs (2)
99
if (azureResourceBuilder.Resource is not
AzureProvisioningResource
bicepResource)
120
if (azureResourceBuilder.Resource is not
AzureProvisioningResource
bicepResource)
AzureContainerAppsTests.cs (26)
39
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
135
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
239
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
383
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
524
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
779
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
989
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
1140
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
1298
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
1387
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
1485
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
1590
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;
1688
var
resource = target?.DeploymentTarget as
AzureProvisioningResource
;