27 references to TargetAzureResource
Aspire.Hosting.Azure (2)
AzureResourcePreparer.cs (2)
517existingRoleAssignmentResource.TargetAzureResource == roleAssignmentResource.TargetAzureResource &&
Aspire.Hosting.Azure.Tests (25)
AzureAppServiceEnvironmentExtensionsTests.cs (3)
126Assert.Same(finalRegistry.Resource, roles.TargetAzureResource); 211Assert.Same(registry.Resource, rolesEast.TargetAzureResource); 212Assert.Same(registry.Resource, rolesWest.TargetAzureResource);
AzureContainerAppEnvironmentExtensionsTests.cs (3)
279Assert.Same(finalRegistry.Resource, roles.TargetAzureResource); 456Assert.Same(registry.Resource, rolesEast.TargetAzureResource); 457Assert.Same(registry.Resource, rolesWest.TargetAzureResource);
AzureResourcePreparerTests.cs (13)
94Assert.Same(storage.Resource, storageRoles.TargetAzureResource); 140Assert.Same(storage.Resource, storageRoles.TargetAzureResource); 239Assert.Same(storage.Resource, roleAssignmentResource.TargetAzureResource); 272.Where(resource => resource.TargetAzureResource == keyVault.Resource) 287Assert.Same(keyVault.Resource, resource.TargetAzureResource); 293Assert.Same(keyVault.Resource, resource.TargetAzureResource); 299resource => resource.TargetAzureResource == storage.Resource); 329.Where(resource => resource.TargetAzureResource == signalR.Resource) 344Assert.Same(signalR.Resource, resource.TargetAzureResource); 350Assert.Same(signalR.Resource, resource.TargetAzureResource); 381Assert.Same(storage.Resource, storageRoles.TargetAzureResource); 591Assert.Same(storage.Resource, storageRoles.TargetAzureResource); 647Assert.Same(storage.Resource, roleAssignmentResource.TargetAzureResource);
AzureUserAssignedIdentityTests.cs (5)
92Assert.Same(registryResource, identityRoleAssignments.TargetAzureResource); 179Assert.Same(storage.Resource, roleAssignmentResource.TargetAzureResource); 237Assert.Same(storage.Resource, roleAssignmentResource.TargetAzureResource); 323Assert.Same(storage.Resource, roleAssignmentResource.TargetAzureResource); 325Assert.Same(storage.Resource, roleAssignmentResource2.TargetAzureResource);
RoleAssignmentTests.cs (1)
357Assert.Same(targetAzureResource, projRoles.TargetAzureResource);