class Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleAssignmentCreateParameters
Role assignment create parameters.
Attributes
can_delegate[RW]
@return [Boolean] The delgation flag used for creating a role assignment
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.
Public Class Methods
mapper()
click to toggle source
Mapper for RoleAssignmentCreateParameters
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-01-01-preview/generated/azure_mgmt_authorization/models/role_assignment_create_parameters.rb, line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RoleAssignmentCreateParameters', type: { name: 'Composite', class_name: 'RoleAssignmentCreateParameters', model_properties: { role_definition_id: { client_side_validation: true, required: true, serialized_name: 'properties.roleDefinitionId', type: { name: 'String' } }, principal_id: { client_side_validation: true, required: true, serialized_name: 'properties.principalId', type: { name: 'String' } }, can_delegate: { client_side_validation: true, required: false, serialized_name: 'properties.canDelegate', type: { name: 'Boolean' } } } } } end