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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET