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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET