RoleDefinition Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RoleDefinition() |
Initializes a new instance of the RoleDefinition class. |
RoleDefinition(String, String, String, String, String, String, 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, String, String, String, String, IList<Permission>, IList<String>)
Initializes a new instance of the RoleDefinition class.
public RoleDefinition (string id = default, string name = default, string type = default, string roleName = default, string description = default, string roleType = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Authorization.Models.Permission> permissions = default, System.Collections.Generic.IList<string> assignableScopes = default);
new Microsoft.Azure.Management.Authorization.Models.RoleDefinition : string * string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Authorization.Models.Permission> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Authorization.Models.RoleDefinition
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional roleName As String = Nothing, Optional description As String = Nothing, Optional roleType As String = Nothing, Optional permissions As IList(Of Permission) = Nothing, Optional assignableScopes As IList(Of String) = Nothing)
Parameters
- id
- String
The role definition ID.
- name
- String
The role definition name.
- type
- String
The role definition type.
- roleName
- String
The role name.
- description
- String
The role definition description.
- roleType
- String
The role type.
- permissions
- IList<Permission>
Role definition permissions.
Applies to
Azure SDK for .NET