Skip to content
DocsTry Aspire
DocsTry

ReferenceRoleAssignmentAnnotation Properties

ClassProperties2 members
Declares that any compute resource referencing the annotated resource should be granted ReferenceRoleAssignmentAnnotation.Roles on the Azure resource ReferenceRoleAssignmentAnnotation.Target.
Gets the set of roles that resources referencing the annotated resource should be assigned on ReferenceRoleAssignmentAnnotation.Target.
public IReadOnlySet<RoleDefinition> Roles { get; }
Gets the Azure resource that resources referencing the annotated resource should be granted roles on.
public AzureProvisioningResource Target { get; }