// 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 AzureProvisioningResource that contains the role assignments for an Azure resource.
/// </summary>
internal sealed class RoleAssignmentResourceAnnotation(AzureProvisioningResource rolesResource) : IResourceAnnotation
{
/// <summary>
/// The AzureProvisioningResource that contains the role assignments for the Azure resource.
/// </summary>
public AzureProvisioningResource RolesResource { get; } = rolesResource;
}
|