12 references to IdentityResource
Aspire.Hosting.Azure (2)
AzureResourcePreparer.cs (2)
196
existingAppIdentityAnnotation.
IdentityResource
!= identityResource)
273
appIdentityAnnotation.
IdentityResource
is AzureUserAssignedIdentityResource existingAppIdentity)
Aspire.Hosting.Azure.AppContainers (2)
ContainerAppContext.cs (2)
68
var appIdentityResource = appIdentityAnnotation.
IdentityResource
;
111
AddAzureClientId(appIdentityAnnotation?.
IdentityResource
, containerAppContainer);
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceWebsiteContext.cs (1)
290
var appIdentityResource = appIdentityAnnotation.
IdentityResource
;
Aspire.Hosting.Azure.Tests (5)
AzureUserAssignedIdentityTests.cs (5)
124
Assert.Same(identity.Resource, identityAnnotation.
IdentityResource
);
170
Assert.Same(identity.Resource, identityAnnotation.
IdentityResource
);
225
Assert.Same(identity.Resource, identityAnnotation.
IdentityResource
);
305
Assert.Same(identity.Resource, identityAnnotation.
IdentityResource
);
306
Assert.Same(identity.Resource, identityAnnotation2.
IdentityResource
);
AzureAppService.AppHost (1)
Program.cs (1)
41
context.EnvironmentVariables["AZURE_PRINCIPAL_NAME"] = identity.
IdentityResource
.PrincipalName;
AzureContainerApps.AppHost (1)
Program.cs (1)
52
context.EnvironmentVariables["AZURE_PRINCIPAL_NAME"] = identity.
IdentityResource
.PrincipalName;