KeyVaultAdministrationModelFactory.RoleDefinition Method
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.
Initializes a new instance of RoleDefinition.
public static Azure.Security.KeyVault.Administration.KeyVaultRoleDefinition RoleDefinition (string id, string name, string type, string roleName, string description, string roleType, System.Collections.Generic.IList<Azure.Security.KeyVault.Administration.KeyVaultPermission> permissions, System.Collections.Generic.IList<Azure.Security.KeyVault.Administration.KeyVaultRoleScope> assignableScopes);
static member RoleDefinition : string * string * string * string * string * string * System.Collections.Generic.IList<Azure.Security.KeyVault.Administration.KeyVaultPermission> * System.Collections.Generic.IList<Azure.Security.KeyVault.Administration.KeyVaultRoleScope> -> Azure.Security.KeyVault.Administration.KeyVaultRoleDefinition
Public Shared Function RoleDefinition (id As String, name As String, type As String, roleName As String, description As String, roleType As String, permissions As IList(Of KeyVaultPermission), assignableScopes As IList(Of KeyVaultRoleScope)) As KeyVaultRoleDefinition
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<KeyVaultPermission>
Role definition permissions.
- assignableScopes
- IList<KeyVaultRoleScope>
Role definition assignable scopes.
Returns
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