| File: RoleAssignmentResourceAnnotation.cs | Web Access |
| Project: src\src\Aspire.Hosting.Azure\Aspire.Hosting.Azure.csproj (Aspire.Hosting.Azure) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Aspire.Hosting.ApplicationModel; namespace Aspire.Hosting.Azure; /// <summary> /// An annotation that points to the resource that contains the role assignments for an Azure resource. /// </summary> internal sealed class RoleAssignmentResourceAnnotation(AzureRoleAssignmentResource rolesResource) : IResourceAnnotation { /// <summary> /// The resource that contains the role assignments for the Azure resource. /// </summary> public AzureRoleAssignmentResource RolesResource { get; } = rolesResource; }