Class: Azure::ARM::Authorization::Models::RoleAssignmentPropertiesWithScope
- Inherits:
-
Object
- Object
- Azure::ARM::Authorization::Models::RoleAssignmentPropertiesWithScope
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_authorization/models/role_assignment_properties_with_scope.rb
Overview
Role assignment properties with scope.
Instance Attribute Summary collapse
-
#principal_id ⇒ String
The principal ID.
-
#role_definition_id ⇒ String
The role definition ID.
-
#scope ⇒ String
The role assignment scope.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RoleAssignmentPropertiesWithScope class as Ruby Hash.
Instance Attribute Details
#principal_id ⇒ String
Returns The principal ID.
22 23 24 |
# File 'lib/generated/azure_mgmt_authorization/models/role_assignment_properties_with_scope.rb', line 22 def principal_id @principal_id end |
#role_definition_id ⇒ String
Returns The role definition ID.
19 20 21 |
# File 'lib/generated/azure_mgmt_authorization/models/role_assignment_properties_with_scope.rb', line 19 def role_definition_id @role_definition_id end |
#scope ⇒ String
Returns The role assignment scope.
16 17 18 |
# File 'lib/generated/azure_mgmt_authorization/models/role_assignment_properties_with_scope.rb', line 16 def scope @scope end |
Class Method Details
.mapper ⇒ Object
Mapper for RoleAssignmentPropertiesWithScope class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 33 34 35 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 |
# File 'lib/generated/azure_mgmt_authorization/models/role_assignment_properties_with_scope.rb', line 29 def self.mapper() { required: false, serialized_name: 'RoleAssignmentPropertiesWithScope', type: { name: 'Composite', class_name: 'RoleAssignmentPropertiesWithScope', model_properties: { scope: { required: false, serialized_name: 'scope', type: { name: 'String' } }, role_definition_id: { required: false, serialized_name: 'roleDefinitionId', type: { name: 'String' } }, principal_id: { required: false, serialized_name: 'principalId', type: { name: 'String' } } } } } end |