Class RoleAssignmentCreateRequest
- Namespace
 - FoundationaLLM.Common.Models.Authorization
 
- Assembly
 - FoundationaLLM.Common.dll
 
Represents a request to create a new role assignment.
public class RoleAssignmentCreateRequest
  - Inheritance
 - 
      
      RoleAssignmentCreateRequest
 
- Inherited Members
 
- Extension Methods
 
Properties
CreatedBy
The entity who created the role assignment request.
[JsonPropertyName("created_by")]
[JsonPropertyOrder(502)]
public string? CreatedBy { get; set; }
  Property Value
Description
The description of the resource.
[JsonPropertyName("description")]
[JsonPropertyOrder(-2)]
public string? Description { get; set; }
  Property Value
Name
The name of the resource.
[JsonPropertyName("name")]
[JsonPropertyOrder(-5)]
public required string Name { get; set; }
  Property Value
ObjectId
The unique identifier of the resource.
[JsonPropertyName("object_id")]
public string? ObjectId { get; set; }
  Property Value
PrincipalId
The unique identifier of the security principal to which the role is assigned.
[JsonPropertyName("principal_id")]
public required string PrincipalId { get; set; }
  Property Value
PrincipalType
The type of the security principal to which the role is assigned. Can be User, Group, or ServicePrincipal.
[JsonPropertyName("principal_type")]
public required string PrincipalType { get; set; }
  Property Value
RoleDefinitionId
The unique identifier of the role definition.
[JsonPropertyName("role_definition_id")]
public required string RoleDefinitionId { get; set; }
  Property Value
Scope
The scope at which the role is assigned.
[JsonPropertyName("scope")]
public required string Scope { get; set; }