Skip to content
Docs Try Aspire

DefaultRoleAssignmentsAnnotation Constructors

Class Constructors 1 member
Specifies the default role assignments to be applied to an Azure resource when no specific role assignments (i.e., RoleAssignmentAnnotation) are provided.
Constructor(IReadOnlySet<RoleDefinition>) Section titled Constructor(IReadOnlySet<RoleDefinition>)
Specifies the default role assignments to be applied to an Azure resource when no specific role assignments (i.e., RoleAssignmentAnnotation) are provided.
public class DefaultRoleAssignmentsAnnotation
{
public DefaultRoleAssignmentsAnnotation(
IReadOnlySet<RoleDefinition> roles)
{
// ...
}
}
roles IReadOnlySet<RoleDefinition> The default set of roles for an Azure resource.