다음을 통해 공유


KeyVaultAdministrationModelFactory.KeyVaultRoleAssignmentProperties Method

Definition

Initializes a new instance of KeyVaultRoleAssignmentProperties.

public static Azure.Security.KeyVault.Administration.KeyVaultRoleAssignmentProperties KeyVaultRoleAssignmentProperties (Azure.Security.KeyVault.Administration.KeyVaultRoleScope? scope = default, string roleDefinitionId = default, string principalId = default);
static member KeyVaultRoleAssignmentProperties : Nullable<Azure.Security.KeyVault.Administration.KeyVaultRoleScope> * string * string -> Azure.Security.KeyVault.Administration.KeyVaultRoleAssignmentProperties
Public Shared Function KeyVaultRoleAssignmentProperties (Optional scope As Nullable(Of KeyVaultRoleScope) = Nothing, Optional roleDefinitionId As String = Nothing, Optional principalId As String = Nothing) As KeyVaultRoleAssignmentProperties

Parameters

scope
Nullable<KeyVaultRoleScope>

The role scope.

roleDefinitionId
String

The role definition ID.

principalId
String

The principal ID.

Returns

A new KeyVaultRoleAssignmentProperties instance for mocking.

Applies to