Class KeyVaultPermission
java.lang.Object
com.azure.security.keyvault.administration.models.KeyVaultPermission
A class describing allowed and forbidden actions and data actions of a
KeyVaultRoleDefinition
.-
Constructor Summary
ConstructorDescriptionKeyVaultPermission
(List<String> actions, List<String> notActions, List<KeyVaultDataAction> dataActions, List<KeyVaultDataAction> notDataActions) Creates a newKeyVaultPermission
with the specified allowed and forbidden actions and data actions. -
Method Summary
Modifier and TypeMethodDescriptionGet the action permissions that are granted.Get the data action permissions that are granted.Get the action permissions that are excluded but not denied.Get the data action permissions that are excluded but not denied.
-
Constructor Details
-
KeyVaultPermission
public KeyVaultPermission(List<String> actions, List<String> notActions, List<KeyVaultDataAction> dataActions, List<KeyVaultDataAction> notDataActions) Creates a newKeyVaultPermission
with the specified allowed and forbidden actions and data actions.- Parameters:
actions
- Action permissions that are granted.notActions
- Action permissions that are excluded but not denied. They may be granted by other role definitions assigned to a principal.dataActions
- Data action permissions that are granted.notDataActions
- Data action permissions that are excluded but not denied. They may be granted by other role definitions assigned to a principal.
-
-
Method Details
-
getActions
Get the action permissions that are granted.- Returns:
- The action permissions that are granted.
-
getNotActions
Get the action permissions that are excluded but not denied. They may be granted by other role definitions assigned to a principal- Returns:
- The action permissions that are excluded but not denied.
-
getDataActions
Get the data action permissions that are granted.- Returns:
- The data action permissions that are granted.
-
getNotDataActions
Get the data action permissions that are excluded but not denied.- Returns:
- The data action permissions that are excluded but not denied.
-