Class KeyVaultRoleDefinition
java.lang.Object
com.azure.security.keyvault.administration.models.KeyVaultRoleDefinition
A class that defines a role.
-
Constructor Summary
ConstructorsConstructorDescriptionKeyVaultRoleDefinition(String id, String name, KeyVaultRoleDefinitionType type, String roleName, String description, KeyVaultRoleType roleType, List<KeyVaultPermission> permissions, List<KeyVaultRoleScope> assignableScopes) Creates a newrole definitionwith the specified details. -
Method Summary
Modifier and TypeMethodDescriptionGet therole definition's assignable scopes.Get the role description.getId()Get therole definitionID.getName()Get therole definitionname.Get therole definition'spermissions.Get the role name.Get the role type.getType()Get therole definition type.
-
Constructor Details
-
KeyVaultRoleDefinition
public KeyVaultRoleDefinition(String id, String name, KeyVaultRoleDefinitionType type, String roleName, String description, KeyVaultRoleType roleType, List<KeyVaultPermission> permissions, List<KeyVaultRoleScope> assignableScopes) Creates a newrole definitionwith the specified details.- Parameters:
id- The ID for thisrole definition.name- The name for thisrole definition.type- The type of thisrole definition.roleName- The name of the role.description- The description of thisrole definition.roleType- The type of the role.permissions- Thepermissionstherole definitionhas.assignableScopes- The assignable scopes of therole definition.
-
-
Method Details
-
getId
Get therole definitionID.- Returns:
- The
role definitionID.
-
getName
Get therole definitionname.- Returns:
- The
role definitionname.
-
getType
Get therole definition type.- Returns:
- The
role definition type.
-
getRoleName
Get the role name.- Returns:
- The role name.
-
getDescription
Get the role description.- Returns:
- The role description.
-
getRoleType
Get the role type.- Returns:
- The role type.
-
getPermissions
Get therole definition'spermissions.- Returns:
- The
role definition'spermissions.
-
getAssignableScopes
Get therole definition's assignable scopes.- Returns:
- The
role definition's assignable scopes.
-