RoleAssignmentInner Constructors

Definition

Overloads

RoleAssignmentInner()

Initializes a new instance of the RoleAssignmentInner class.

RoleAssignmentInner(String, String, String, String, String, String, PrincipalType, Nullable<Boolean>)

Initializes a new instance of the RoleAssignmentInner class.

RoleAssignmentInner()

Initializes a new instance of the RoleAssignmentInner class.

public RoleAssignmentInner ();
Public Sub New ()

Applies to

RoleAssignmentInner(String, String, String, String, String, String, PrincipalType, Nullable<Boolean>)

Initializes a new instance of the RoleAssignmentInner class.

public RoleAssignmentInner (string id = default, string name = default, string type = default, string scope = default, string roleDefinitionId = default, string principalId = default, Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.PrincipalType principalType = default, bool? canDelegate = default);
new Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.RoleAssignmentInner : string * string * string * string * string * string * Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.PrincipalType * Nullable<bool> -> Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.RoleAssignmentInner
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional scope As String = Nothing, Optional roleDefinitionId As String = Nothing, Optional principalId As String = Nothing, Optional principalType As PrincipalType = Nothing, Optional canDelegate As Nullable(Of Boolean) = Nothing)

Parameters

id
String

The role assignment ID.

name
String

The role assignment name.

type
String

The role assignment type.

scope
String

The role assignment scope.

roleDefinitionId
String

The role definition ID.

principalId
String

The principal ID.

principalType
PrincipalType

The principal type of the assigned principal ID. Possible values include: 'User', 'Group', 'ServicePrincipal', 'Unknown', 'DirectoryRoleTemplate', 'ForeignGroup', 'Application', 'MSI', 'DirectoryObjectOrGroup', 'Everyone'

canDelegate
Nullable<Boolean>

The Delegation flag for the role assignment

Applies to