Compartir a través de


KeyVaultAdministrationModelFactory.KeyVaultRoleDefinition Método

Definición

Inicializa una nueva instancia de KeyVaultRoleDefinition.

public static Azure.Security.KeyVault.Administration.KeyVaultRoleDefinition KeyVaultRoleDefinition (string id = default, string name = default, Azure.Security.KeyVault.Administration.KeyVaultRoleDefinitionType? type = default, string roleName = default, string description = default, Azure.Security.KeyVault.Administration.KeyVaultRoleType? roleType = default, System.Collections.Generic.IEnumerable<Azure.Security.KeyVault.Administration.KeyVaultPermission> permissions = default, System.Collections.Generic.IEnumerable<Azure.Security.KeyVault.Administration.KeyVaultRoleScope> assignableScopes = default);
static member KeyVaultRoleDefinition : string * string * Nullable<Azure.Security.KeyVault.Administration.KeyVaultRoleDefinitionType> * string * string * Nullable<Azure.Security.KeyVault.Administration.KeyVaultRoleType> * seq<Azure.Security.KeyVault.Administration.KeyVaultPermission> * seq<Azure.Security.KeyVault.Administration.KeyVaultRoleScope> -> Azure.Security.KeyVault.Administration.KeyVaultRoleDefinition
Public Shared Function KeyVaultRoleDefinition (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As Nullable(Of KeyVaultRoleDefinitionType) = Nothing, Optional roleName As String = Nothing, Optional description As String = Nothing, Optional roleType As Nullable(Of KeyVaultRoleType) = Nothing, Optional permissions As IEnumerable(Of KeyVaultPermission) = Nothing, Optional assignableScopes As IEnumerable(Of KeyVaultRoleScope) = Nothing) As KeyVaultRoleDefinition

Parámetros

id
String

Identificador de la definición de roles.

name
String

Nombre de la definición de rol.

type
Nullable<KeyVaultRoleDefinitionType>

Tipo de definición de rol.

roleName
String

Nombre del rol.

description
String

Descripción de la definición de roles.

roleType
Nullable<KeyVaultRoleType>

Tipo de rol.

permissions
IEnumerable<KeyVaultPermission>

Permisos de definición de roles.

assignableScopes
IEnumerable<KeyVaultRoleScope>

Ámbitos asignables de definición de roles.

Devoluciones

KeyVaultRoleDefinition Nueva instancia de para simular.

Se aplica a