class Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentProperties
Role assignment properties.
Attributes
principal_id[RW]
@return [String] The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group.
role_definition_id[RW]
@return [String] The role definition ID used in the role assignment.
Private Class Methods
mapper()
click to toggle source
Mapper for RoleAssignmentProperties
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2015-07-01/generated/azure_mgmt_authorization/models/role_assignment_properties.rb, line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RoleAssignmentProperties', type: { name: 'Composite', class_name: 'RoleAssignmentProperties', model_properties: { role_definition_id: { client_side_validation: true, required: true, serialized_name: 'roleDefinitionId', type: { name: 'String' } }, principal_id: { client_side_validation: true, required: true, serialized_name: 'principalId', type: { name: 'String' } } } } } end