Class: Azure::KeyVault::V7_2_preview::Models::RoleDefinitionProperties
- Inherits:
-
Object
- Object
- Azure::KeyVault::V7_2_preview::Models::RoleDefinitionProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/7.2-preview/generated/azure_key_vault/models/role_definition_properties.rb
Overview
Role definition properties.
Instance Attribute Summary collapse
-
#assignable_scopes ⇒ Array<RoleScope>
Role definition assignable scopes.
-
#description ⇒ String
The role definition description.
-
#permissions ⇒ Array<Permission>
Role definition permissions.
-
#role_name ⇒ String
The role name.
-
#role_type ⇒ RoleType
‘BuiltInRole’, ‘CustomRole’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RoleDefinitionProperties class as Ruby Hash.
Instance Attribute Details
#assignable_scopes ⇒ Array<RoleScope>
Returns Role definition assignable scopes.
29 30 31 |
# File 'lib/7.2-preview/generated/azure_key_vault/models/role_definition_properties.rb', line 29 def assignable_scopes @assignable_scopes end |
#description ⇒ String
Returns The role definition description.
19 20 21 |
# File 'lib/7.2-preview/generated/azure_key_vault/models/role_definition_properties.rb', line 19 def description @description end |
#permissions ⇒ Array<Permission>
Returns Role definition permissions.
26 27 28 |
# File 'lib/7.2-preview/generated/azure_key_vault/models/role_definition_properties.rb', line 26 def end |
#role_name ⇒ String
Returns The role name.
16 17 18 |
# File 'lib/7.2-preview/generated/azure_key_vault/models/role_definition_properties.rb', line 16 def role_name @role_name end |
#role_type ⇒ RoleType
‘BuiltInRole’, ‘CustomRole’
23 24 25 |
# File 'lib/7.2-preview/generated/azure_key_vault/models/role_definition_properties.rb', line 23 def role_type @role_type end |
Class Method Details
.mapper ⇒ Object
Mapper for RoleDefinitionProperties class as Ruby Hash. This will be used for serialization/deserialization.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'lib/7.2-preview/generated/azure_key_vault/models/role_definition_properties.rb', line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RoleDefinitionProperties', type: { name: 'Composite', class_name: 'RoleDefinitionProperties', model_properties: { role_name: { client_side_validation: true, required: false, serialized_name: 'roleName', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'description', type: { name: 'String' } }, role_type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'String' } }, permissions: { client_side_validation: true, required: false, serialized_name: 'permissions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'PermissionElementType', type: { name: 'Composite', class_name: 'Permission' } } } }, assignable_scopes: { client_side_validation: true, required: false, serialized_name: 'assignableScopes', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'RoleScopeElementType', type: { name: 'String' } } } } } } } end |