Class KeyVaultRoleDefinition
java.lang.Object
com.azure.security.keyvault.administration.models.KeyVaultRoleDefinition
A class that defines a role.
-
Constructor Summary
ConstructorDescriptionKeyVaultRoleDefinition
(String id, String name, KeyVaultRoleDefinitionType type, String roleName, String description, KeyVaultRoleType roleType, List<KeyVaultPermission> permissions, List<KeyVaultRoleScope> assignableScopes) Creates a newrole definition
with the specified details. -
Method Summary
Modifier and TypeMethodDescriptionGet therole definition
's assignable scopes.Get the role description.getId()
Get therole definition
ID.getName()
Get therole definition
name.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 definition
with 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
- Thepermissions
therole definition
has.assignableScopes
- The assignable scopes of therole definition
.
-
-
Method Details
-
getId
Get therole definition
ID.- Returns:
- The
role definition
ID.
-
getName
Get therole definition
name.- Returns:
- The
role definition
name.
-
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.
-