다음을 통해 공유


KeyVaultAdministrationModelFactory.RoleDefinition Method

Definition

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