Share via


DefaultRoleAssignmentsAnnotation Class

Definition

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 : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type DefaultRoleAssignmentsAnnotation = class
    interface IResourceAnnotation
Public Class DefaultRoleAssignmentsAnnotation
Implements IResourceAnnotation
Inheritance
DefaultRoleAssignmentsAnnotation
Implements

Constructors

DefaultRoleAssignmentsAnnotation(IReadOnlySet<RoleDefinition>)

Specifies the default role assignments to be applied to an Azure resource when no specific role assignments (i.e., RoleAssignmentAnnotation) are provided.

Properties

Roles

Gets the set of roles to use by default for an Azure resource.

Applies to