IAddRoleAssignmentsContext Properties
Interface Properties 6 members
Context for adding role assignments to an Azure resource.
Gets the execution context for distributed application.
public abstract DistributedApplicationExecutionContext ExecutionContext { get; } Gets the Azure resource infrastructure to add the role assignments into.
public abstract AzureResourceInfrastructure Infrastructure { get; } Gets the principal ID to use in the role assignment.
public abstract BicepValue<Guid> PrincipalId { get; } Gets the principal name to use in the role assignment.
public abstract BicepValue<string> PrincipalName { get; }Remarks
Not all role assignments require/use a principal name.
Gets the principal type to use in the role assignment.
public abstract BicepValue<RoleManagementPrincipalType> PrincipalType { get; } Gets the roles to be assigned.
public abstract IEnumerable<RoleDefinition> Roles { get; }