DefaultRoleAssignmentsAnnotation(IReadOnlySet<RoleDefinition>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the default role assignments to be applied to an Azure resource when no specific role assignments (i.e., RoleAssignmentAnnotation) are provided.
public DefaultRoleAssignmentsAnnotation(System.Collections.Generic.IReadOnlySet<Aspire.Hosting.Azure.RoleDefinition> roles);
new Aspire.Hosting.Azure.DefaultRoleAssignmentsAnnotation : System.Collections.Generic.IReadOnlySet<Aspire.Hosting.Azure.RoleDefinition> -> Aspire.Hosting.Azure.DefaultRoleAssignmentsAnnotation
Public Sub New (roles As IReadOnlySet(Of RoleDefinition))
Parameters
- roles
- IReadOnlySet<RoleDefinition>
The default set of roles for an Azure resource.