Condividi tramite


RoleDefinition Constructors

Definition

Overloads

RoleDefinition()

Initializes a new instance of the RoleDefinition class.

RoleDefinition(String, String, Nullable<Boolean>, IList<Permission>, IList<String>)

Initializes a new instance of the RoleDefinition class.

RoleDefinition()

Initializes a new instance of the RoleDefinition class.

public RoleDefinition ();
Public Sub New ()

Applies to

RoleDefinition(String, String, Nullable<Boolean>, IList<Permission>, IList<String>)

Initializes a new instance of the RoleDefinition class.

public RoleDefinition (string id = default, string name = default, bool? isServiceRole = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceManager.Models.Permission> permissions = default, System.Collections.Generic.IList<string> scopes = default);
new Microsoft.Azure.Management.ResourceManager.Models.RoleDefinition : string * string * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceManager.Models.Permission> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.ResourceManager.Models.RoleDefinition
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional isServiceRole As Nullable(Of Boolean) = Nothing, Optional permissions As IList(Of Permission) = Nothing, Optional scopes As IList(Of String) = Nothing)

Parameters

id
String

The role definition ID.

name
String

The role definition name.

isServiceRole
Nullable<Boolean>

If this is a service role.

permissions
IList<Permission>

Role definition permissions.

scopes
IList<String>

Role definition assignable scopes.

Applies to