Skip to content
Docs Try Aspire

RoleAssignmentAnnotation

Class net8.0
📦 Aspire.Hosting.Azure v13.2.0
Specifies the roles that the current resource should be assigned to the target Azure resource.
namespace Aspire.Hosting.Azure;
public class RoleAssignmentAnnotation
: Aspire.Hosting.ApplicationModel.IResourceAnnotation
{
// ...
}
IResourceAnnotation
This annotation is applied to compute resources (e.g., Projects or Containers) that need to interact with Azure resources.