KeyVaultAdministrationModelFactory.KeyVaultRoleAssignmentProperties 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 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.