Partager via


IKeyVaultDataServiceClient.CreateHsmRoleAssignment Method

Definition

public Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultRoleAssignment CreateHsmRoleAssignment (string hsmName, string scope, string roleDefinitionId, string principalId);
abstract member CreateHsmRoleAssignment : string * string * string * string -> Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultRoleAssignment
Public Function CreateHsmRoleAssignment (hsmName As String, scope As String, roleDefinitionId As String, principalId As String) As PSKeyVaultRoleAssignment

Parameters

hsmName
String
scope
String
roleDefinitionId
String
principalId
String

Returns

Applies to