def get_by_id(role_assignment_id, custom_headers:nil)
      response = get_by_id_async(role_assignment_id, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def get_by_id(role_assignment_id, custom_headers:nil)
      response = get_by_id_async(role_assignment_id, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Gets a role assignment by ID.

 @param role_assignment_id [String] The fully qualified ID of the role
 assignment, including the scope, resource name and resource type. Use the
 format,
 /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}.
 Example:
 /subscriptions/{subId}/resourcegroups/{rgname}//providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [RoleAssignment] operation results.