12 references to Roles
Aspire.Hosting.Azure (2)
AzureResourcePreparer.cs (2)
289AppendGlobalRoleAssignments(globalRoleAssignments, azureReference, roleAssignments.SelectMany(a => a.Roles)); 426result[g.Key] = g.SelectMany(r => r.Roles).Distinct();
Aspire.Hosting.Azure.Kubernetes.Tests (3)
AzureKubernetesEnvironmentExtensionsTests.cs (3)
778annotation => Assert.Collection(annotation.Roles, 781annotation => Assert.Collection(annotation.Roles, 988Assert.Collection(annotation.Roles,
Aspire.Hosting.Azure.Tests (7)
AzureResourcePreparerTests.cs (7)
214Assert.Equal(defaultAssignments.Roles, apiRoleAssignments.Roles); 258Assert.Collection(apiRoleAssignments.Roles, 264Assert.Single(api2RoleAssignments.Roles, 315Assert.Equal(defaultAssignments.Roles, apiRoleAssignments.Roles); 672Assert.Single(consumerRoleAssignments.Roles, role => role.Id == StorageBuiltInRole.StorageBlobDataReader.ToString()); 791.SelectMany(a => a.Roles) 832.SelectMany(a => a.Roles)