Compartir a través de


KeyVaultAdministrationModelFactory.RoleDefinition Método

Definición

Inicializa una nueva instancia de 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

Parámetros

id
String

Identificador de la definición de roles.

name
String

Nombre de la definición de rol.

type
String

Tipo de definición de rol.

roleName
String

Nombre del rol.

description
String

Descripción de la definición de roles.

roleType
String

Tipo de rol.

permissions
IList<KeyVaultPermission>

Permisos de definición de roles.

assignableScopes
IList<KeyVaultRoleScope>

Ámbitos asignables de definición de roles.

Devoluciones

Se aplica a