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