21 references to IAzureResource
Aspire.Hosting.Azure (21)
AzureBicepResource.cs (1)
22
IAzureResource
AzureResourceExtensions.cs (2)
21
where T :
IAzureResource
, IResourceWithConnectionString
32
public static string GetBicepIdentifier(this
IAzureResource
resource) =>
BicepResourceAnnotation.cs (1)
14
/// The <see cref="AzureProvisioner"/> is only capable of deploying resources that implement <see cref="
IAzureResource
"/>
Provisioning\AzureProvisionerExtensions.cs (1)
39
where TResource :
IAzureResource
Provisioning\Provisioners\AzureProvisioner.cs (9)
45
private static List<(IResource Resource,
IAzureResource
AzureResource)> GetAzureResourcesFromAppModel(DistributedApplicationModel appModel)
52
var azureResources = new List<(IResource,
IAzureResource
)>();
59
else if (resource is
IAzureResource
azureResource)
103
IAzureResource
ar => ar,
112
async Task UpdateStateAsync((IResource Resource,
IAzureResource
AzureResource) resource, Func<CustomResourceSnapshot, CustomResourceSnapshot> stateFactory)
134
async Task AfterProvisionAsync((IResource Resource,
IAzureResource
AzureResource) resource)
198
IList<(IResource Resource,
IAzureResource
AzureResource)> azureResources,
255
private async Task ProcessResourceAsync(IConfiguration configuration, Lazy<Task<ProvisioningContext>> provisioningContextLazy, (IResource Resource,
IAzureResource
AzureResource) resource, CancellationToken cancellationToken)
260
IAzureResourceProvisioner? SelectProvisioner(
IAzureResource
resource)
Provisioning\Provisioners\AzureResourceProvisionerOfT.cs (7)
42
Task<bool> ConfigureResourceAsync(IConfiguration configuration,
IAzureResource
resource, CancellationToken cancellationToken);
44
bool ShouldProvision(IConfiguration configuration,
IAzureResource
resource);
47
IAzureResource
resource,
53
where TResource :
IAzureResource
55
Task<bool> IAzureResourceProvisioner.ConfigureResourceAsync(IConfiguration configuration,
IAzureResource
resource, CancellationToken cancellationToken) =>
58
bool IAzureResourceProvisioner.ShouldProvision(IConfiguration configuration,
IAzureResource
resource) =>
62
IAzureResource
resource,