RoleAssignmentAnnotation
Classnet10.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
Remarks
Section titled Remarks This annotation is applied to compute resources (e.g., Projects or Containers) that need to interact with Azure resources.
Constructors1
Section titled Constructors Specifies the roles that the current resource should be assigned to the target Azure resource.
Properties2
Section titled PropertiesRolesget Gets the set of roles the current resource should be assigned to the target Azure resource.