Watch Aspire live streamsDocsTry Aspire

AzureRoleAssignmentResource

Classsealednet10.0
📦 Aspire.Hosting.Azure v13.6.0
Represents a set of Azure role assignments granted on a target Azure resource.
namespace Aspire.Hosting.Azure;
public sealed class AzureRoleAssignmentResource
: Aspire.Hosting.Azure.AzureProvisioningResource
{
// ...
}
When AzureRoleAssignmentResource.OwnerResource is non- null, the role assignments are granted to the managed identity ( AzureRoleAssignmentResource.IdentityResource) owned by that Aspire resource. When AzureRoleAssignmentResource.OwnerResource is null, the role assignments are global and are granted to the deployment principal.
View all constructors
View all properties