RoleAssignmentAnnotation Class
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 roles that the current resource should be assigned to the target Azure resource.
public class RoleAssignmentAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type RoleAssignmentAnnotation = class
interface IResourceAnnotation
Public Class RoleAssignmentAnnotation
Implements IResourceAnnotation
- Inheritance
-
RoleAssignmentAnnotation
- Implements
Remarks
This annotation is applied to compute resources (e.g., Projects or Containers) that need to interact with Azure resources.
Constructors
RoleAssignmentAnnotation(AzureProvisioningResource, IReadOnlySet<RoleDefinition>) |
Specifies the roles that the current resource should be assigned to the target Azure resource. |
Properties
Roles |
Gets the set of roles the current resource should be assigned to the target Azure resource. |
Target |
The Azure resource that the current resource will interact with. |