KeyVaultAdministrationModelFactory.KeyVaultRoleDefinition 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 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
Parameters
- id
- String
The role definition ID.
- name
- String
The role definition name.
The role definition type.
- roleName
- String
The role name.
- description
- String
The role definition description.
- roleType
- Nullable<KeyVaultRoleType>
The role type.
- permissions
- IEnumerable<KeyVaultPermission>
Role definition permissions.
- assignableScopes
- IEnumerable<KeyVaultRoleScope>
Role definition assignable scopes.
Returns
A new KeyVaultRoleDefinition instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET