AzureRoleAssignmentResource Properties
ClassProperties3 members
Represents a set of Azure role assignments granted on a target Azure resource.
Gets the user-assigned managed identity whose principal receives the role assignments, or
null for global role assignments that are granted to the deployment principal. public AzureUserAssignedIdentityResource? IdentityResource { get; } Gets the Aspire resource that owns this set of role assignments, or
null for global role assignments that are granted to the deployment principal. public IResource? OwnerResource { get; }Remarks
This is the resource on which
WithRoleAssignments was called. Its managed identity is exposed via AzureRoleAssignmentResource.IdentityResource . When WithRoleAssignments is called using an AzureUserAssignedIdentityResource , OwnerResource and IdentityResource are the same. Gets the Azure resource that the roles are assigned on.
public AzureProvisioningResource TargetAzureResource { get; }