Table of Contents

Class RoleAssignmentRequest

Namespace
FoundationaLLM.Common.Models.Authorization
Assembly
FoundationaLLM.Common.dll

Represents a role assignment request.

public class RoleAssignmentRequest
Inheritance
RoleAssignmentRequest
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

string

Description

The description of the resource.

[JsonPropertyName("description")]
[JsonPropertyOrder(-2)]
public string? Description { get; set; }

Property Value

string

Name

The name of the resource.

[JsonPropertyName("name")]
[JsonPropertyOrder(-5)]
public required string Name { get; set; }

Property Value

string

ObjectId

The unique identifier of the resource.

[JsonPropertyName("object_id")]
public string? ObjectId { get; set; }

Property Value

string

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

string

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

string

RoleDefinitionId

The unique identifier of the role definition.

[JsonPropertyName("role_definition_id")]
public required string RoleDefinitionId { get; set; }

Property Value

string

Scope

The scope at which the role is assigned.

[JsonPropertyName("scope")]
public required string Scope { get; set; }

Property Value

string