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, 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.
- permissions
- IList<Permission>
Role definition permissions.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET