1 implementation of IAppIdentityResource
Aspire.Hosting.Azure (1)
AzureUserAssignedIdentityResource.cs (1)
14: AzureProvisioningResource(name, ConfigureAppIdentityInfrastructure), IAppIdentityResource
11 references to IAppIdentityResource
Aspire.Hosting.Azure (2)
AppIdentityAnnotation.cs (2)
15public class AppIdentityAnnotation(IAppIdentityResource identityResource) : IResourceAnnotation 20public IAppIdentityResource IdentityResource { get; } = identityResource;
Aspire.Hosting.Azure.AppContainers (3)
BaseContainerAppContext.cs (1)
70protected void AddAzureClientId(IAppIdentityResource? appIdentityResource, BicepList<ContainerAppEnvironmentVariable> env)
ContainerAppContext.cs (1)
46var appIdentityResource = appIdentityAnnotation.IdentityResource;
ContainerAppJobContext.cs (1)
42var appIdentityResource = appIdentityAnnotation.IdentityResource;
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceWebsiteContext.cs (1)
538var appIdentityResource = appIdentityAnnotation.IdentityResource;
Aspire.Hosting.Foundry (5)
Project\CogSvcFunction.cs (3)
13internal static ManagedServiceIdentity GetManagedServiceIdentity(IAppIdentityResource resource) 32internal static ManagedServiceIdentity GetManagedServiceIdentity(IEnumerable<IAppIdentityResource> resources) 42foreach (var resource in resources)
Project\ProjectBuilderExtension.cs (1)
230if (aspireResource.TryGetAppIdentityResource(out var idResource) && idResource is AzureUserAssignedIdentityResource identityResource)
Project\ProjectResource.cs (1)
213public bool TryGetAppIdentityResource([NotNullWhen(true)] out IAppIdentityResource? identity)